원시데이터 수집 시스템
선정목록으로

Real-Time Yarn Breakage Detection in the Warping Machine

간접 관련 산업용 섬유 · (17) 스펀본드 부직포 (1) 에어백(24) 패션(코오롱FnC)

기본 정보

저자
  1. Marcin Idzik — Institute of Automatic Control, Lodz University of Technology, Lodz, Poland
  2. Tomasz Rybicki — Institute of Automatic Control, Lodz University of Technology, Lodz, Poland
DOI
10.1109/access.2023.3275020
저널
IEEE Access
발행년도
2023
발행기관
Institute of Electrical and Electronics Engineers
피인용수
2
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2023.3275020
토픽
Color Science and Applications
OpenAlex ID
W4382728208

평가 내용

관련도
간접 관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
(1) 에어백, (24) 패션(코오롱FnC)
R&D 측면
공정·제조
확신도
0.80
근거 용어
Warping machine, yarn breakage detection, image analysis, production efficiency, real-time
판단 근거
본 논문은 정경기(Warping machine) 공정 중 실 끊어짐을 실시간으로 감지하는 영상 처리 기술을 다룹니다. 이는 코오롱인더스트리의 산업용 섬유 및 부직포 제조 공정의 효율성과 품질 관리에 적용 가능한 스마트 팩토리/공정 자동화 기술입니다.
R&D 활용 포인트
산업용 섬유(에어백, 타이어코드 등) 및 부직포 생산 라인의 자동화 검사 시스템 구축 시, 영상 기반의 실 끊어짐 감지 및 위치 추적 알고리즘을 도입하여 공정 효율을 높이고 불량률을 낮추는 데 활용할 수 있습니다.
평가 입력
본문 42,342자 중 30,032자 발췌

초록

In the warping process, one of the most crucial elements determining production efficiency are break detectors. Due to the high warping speeds, they must ensure not only reliability but also very low response times. Currently, the most commonly used detectors are mechanical systems that detect the lack of yarn tension, and with the development of electronic systems, it has also become possible to measure the tension directly in the tensioners themselves. To significantly reduce the costs of such systems, a method has been proposed that will allow for the analysis of the recorded image and, on this basis, to determine not only the fact of breaking but also to indicate the exact location of the broken ends of the yarn, which will provide the operator or robotic systems in the future with a completely new, unobtainable earlier information. In this interdisciplinary project, the goal was to achieve the highest possible speed of real-time analysis. To achieve this, the techniques of filtration, adaptive thresholding, morphological transformations were used, and the thinning process, which had been used for years, was improved. During the experimental work, the possibility of detecting breaks for different types of yarns, both with different linear densities and colors, was examined. The results showed that this method worked well, but more importantly, it also tested and identified its limitations. The final results also showed that this method allows not only the installation of such solutions on new machines but also the modernization of old ones.

본문 42,342자

본문 펼치기
Received 6 April 2023, accepted 30 April 2023, date of publication 10 May 2023, date of current version 18 May 2023. _Digital Object Identifier 10.1109/ACCESS.2023.3275020_ # Real-Time Yarn Breakage Detection in the Warping Machine MARCIN IDZIK 1,2 AND TOMASZ RYBICKI1 1Institute of Automatic Control, Lodz University of Technology, 90-924 Lodz, Poland 2Łukasiewicz Research Network–Lodz Institute of Technology, 90-570 Lodz, Poland Corresponding author: Marcin Idzik (marcin.idzik@lit.lukasiewicz.gov.pl) ABSTRACT In the warping process, one of the most crucial elements determining production efficiency are break detectors. Due to the high warping speeds, they must ensure not only reliability but also very low response times. Currently, the most commonly used detectors are mechanical systems that detect the lack of yarn tension, and with the development of electronic systems, it has also become possible to measure the tension directly in the tensioners themselves. To significantly reduce the costs of such systems, a method has been proposed that will allow for the analysis of the recorded image and, on this basis, to determine not only the fact of breaking but also to indicate the exact location of the broken ends of the yarn, which will provide the operator or robotic systems in the future with a completely new, unobtainable earlier information. In this interdisciplinary project, the goal was to achieve the highest possible speed of real-time analysis. To achieve this, the techniques of filtration, adaptive thresholding, morphological transformations were used, and the thinning process, which had been used for years, was improved. During the experimental work, the possibility of detecting breaks for different types of yarns, both with different linear densities and colors, was examined. The results showed that this method worked well, but more importantly, it also tested and identified its limitations. The final results also showed that this method allows not only the installation of such solutions on new machines but also the modernization of old ones. INDEX TERMS Warping machine, yarn, detection, morphological operations. I. INTRODUCTION The system that effectively detects the breakage of the yarns during warping is one of the key systems allowing to maintain the quality of production. Therefore, over the years, dozens of different prototypes and concepts have been developed to improve the performance of yarn break detection [1], [2]. In addition to the efficiency understood as faultless operation, extremely important parameters are failure-free and reliable operation, complexity, and cost of making the system. Since a typical frame can handle up to 1,000 yarns or more, breakage detection systems should be either cheap and simple to construct for each yarn individually, or designed to allow multiple yarns to be checked in a group at the same time. The problem related to yarn breaks at any stage of production, The associate editor coordinating the review of this manuscript and approving it for publication was Abdel-Hamid Soliman . despite years of research, is still valid and has a major impact on the development of performance models [3], [4]. Many types of yarn breakage detectors at the end of the frame have been developed over the years. The method that has probably gained the most popularity (and is still widely used today) is to place the eyelet on a metal cam through which the yarn is passed. When the break occurs, the cam with the eye drops (by gravity or spring-assisted) and falls on two beams, shorting the electric circuit between them [5]. Due to the dynamic increase in the importance of vision systems and the systematic decrease in the costs of their applications, several concepts based on CCD (charge-coupled device image sensor) or CIS (contact-type image sensor) cameras have been developed. In their assumptions, the yarn moves across the table (of the appropriate color, contrasting with the color of the yarn). It is illuminated from above by two lamps, and a camera is installed between them, which records the movement of the yarn under it. When the yarn is broken This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4 0 License and disappeared from the camera’s field of view, a signal about this event is sent to the monitoring device [6], [7]. Another, often analyzed phenomenon in proposals for yarn break sensors is the use of photosensitive elements that are obscured or exposed by yarns. One example of such an approach is a sensor located downstream of the yarn separator, which, while moving across the line of yarns, analyses the light from a row of diodes, which illuminate the yarns from underneath [8], [9]. Along with the significant spread of lasers, research began on them also in the context of detecting the yarn moving between the generator and the receiver [10], [11]. Depending on the linear density of the yarn, its beam width should be fine-tuned and it is necessary to use systems ensuring the stabilization of the yarn run through the point of the space through which the light passes The difficulties encountered stopped further development of such solutions. Research has also been conducted on indirect yarn observation techniques. In one of the papers, the concept was presented according to which the yarns are to be illuminated by a laser beam. This beam is reflected on the screen, at which the camera is also directed. Thanks to this technique, the software can search for the appropriate number of shadows visible on the laser beam, which shadows symbolize the yarns obscuring the beam. This solution allowed for the elimination of the role of the structure and color of the yarn [12], [13]. Another solution is a yarn break detector based on the piezoelectric effect. The yarn passing through the eyelet transmits the vibrations generated in the winding process. These vibrations are transferred using fixing the eyelet onto a piezoelectric material in which the voltage is measured. The cessation of this process is treated as a break. Thanks to this, it is possible to eliminate mechanical sensors, which, after a yarn break, have to rotate and short the electric circuit, and thus extend the detection time [2], [14]. Experimental studies were carried out on various other forms of indirect yarn break detection techniques, such as the use of light (lamps, diodes or lasers), electromagnetism, or MEMS sensors (micro-electro-mechanicalsensors) [15], [16]. Work was also carried out on the use of cameras, but only as a very narrow space analyzer [17], [18]. One example of this type of solution is the Broken Filaments Detection Device, which analyses an enlarged image of a viscose yarn in search of broken fibers that stick out from the yarn [19]. Devices have also been designed that are able to analyze the image of an already woven fabric and find broken yarns on it, which are defects in the finished product [20]. Considering the above, it seems reasonable to conduct research on the implementation of image analysis methods to detect the formation of yarn breaks in the entire length of the warping machine frame. This solution would allow not only the detection of the yarn break but most of all its location. This would facilitate the operation of the machine to quickly repair the resulting yarn breaks, what’s more, it would open up a wide range of possibilities for creating further automation systems that would enable the removal of the detected yarn break without the presence of a human being. In this paper, the idea of a visual yarn breakage detection system is presented. It includes both the modification process of the warping machine and the original image processing algorithm. The obtained results are encouraging for replacing the electro-mechanical break detectors with the visual system solution. The solution proposed in the article provides the user/machine system with information about the location of the broken ends of the yarn, so the information is unavailable using the solutions developed so far. Thanks to this, it opens up a wide range of possibilities for creating further automation systems that would enable the removal of the detected yarn breakage without the presence of an operator or the support of human work with frames that are several dozen meters long. This work is divided into five main parts. Part One: ‘‘Introduction’’ has been described above. The second part: ‘‘Materials’’ presents the elements used in the project, while the ‘‘Methods’’ part describes the idea and the way of implementing the project. Part 4, entitled ‘‘Results and Discussion’’, contains a detailed description of the research carried out and their discussion, while the last part, entitled ‘‘Conclusions’’, summarizes all the research and work done during the implementation of this interdisciplinary project. II. MATERIALS _A._ _WARPING MACHINE_ The research work was carried out on a direct action warping machine, type DS. 14 P, produced by KARL MAYER Textilmaschinenfabrik GmbH [21]. The machine allows for the preparation of 320 warps from 8 to 15 inches wide from natural and semi and fully synthetic yarns. The machine is also equipped with a yarn compensator for faster warping speeds. The warping machine presented in the article is a type of direct, which is intended for the production of a long warp of uniform color (for efficiency reasons, it is recommended that the admixture of other yarn colors in the frame should not exceed 15%). The frame is a type of magazine frame that has double bobbin slots - during operation, when one bobbin ends, the yarn, thanks to the tying-in of two bobbins, begins to unwind from the other. On the market, in addition to direct warping machines, there are also indirect warping machines intended for multicolored yarns. This type has no direct effect on the exact construction of the frame, but only on the number of yarn colors used, which was examined in the article. The frames themselves also have many sub-types, differing in the way they are loaded: single, fixed (one side of the frame is working, and the other is loaded by the crew), magazine (more than one bobbin slot is dedicated to one tensioner), duplicate (consists of two separate mobile frames), swiveling (allows the rotation of the bobbin holders, one side is loaded while the other is in production) and with mobile bobbin trolleys (the trolleys can be taken out of the frame and loaded next to it) [1]. _B._ _CAMERA_ The camera used during the work was the Sony IMX586, which worked with the Xaomi Mi 9T Pro smartphone. It is a camera with a resolution of 48 megapixels, with a pixel size of 0.8 µm and a maximum resolution of 8000 × 6000 (horizontal x vertical) [22]. _C._ _YARNS_ The work used yarns of various colors, made of 100% cotton. The yarns had a different twist as well as a linear density ranging from 20 to 1200 TEX (linear density, grams per 1000 meters). Yarns with densities greater than 800 TEX were constructed by twisting together three to four lighter yarns. _D._ _LIGHTING THE RESEARCH STAND_ The LED floodlight on a tripod with an electrical power of 2 × 50 W and a light intensity of 2 × 4500 lumens, cold white 6400K was used as lighting for the test stand, enabling the correct recording of the image by the camera. _E._ _SOFTWARE_ During the research work, two supporting software packages were used. The first was the AutoCAD program used to design the test stand, while the second was the Matlab [27] program used as a base for creating software that analyses the image from the camera. III. METHODS _A._ _THE IDEA OF VISUAL SYSTEM MEASUREMENT_ Nowadays working on the warping machine is largely nonautomated. One of the most time-consuming activities while operating the machine is tying the new bob-bins to the old yarns. Depending on the production needs and machine model, several hundred to even over a thousand yarns must be tied each time. An additional difficulty is the formation of yarn breaks during operation. This causes breaks in the machine’s operation and the need for the crew to intervene, who must find which yarn has been broken and where both ends are located [23], [24], [25]. Due to the above difficulties, a project was developed to create a system that would allow automatic detection of the formation of yarn breaks along the frame of the warping machine. It assumes that it is possible to detect the formation of a break along the frame of the warping machine and to determine the exact position of the broken yarn ends. Such a system will be able to some extent to improve and simplify the work of the warping machine and increase its efficiency. _B._ _CAMERA PLACEMENT_ The initial stage of work was to determine the base location of the cameras that would allow observation of the device while taking into account their resolution. For this purpose, a project in the AutoCAD [26] design support program was created, which is shown in Figure 1 on the left. It shows a schematic side view of the frame where all the tensioners and the two lines of the yarn support systems are marked. Because the cameras can observe the surroundings with angles up to 120 degrees (‘‘ultra-wide-angle’’ devices with the ability to record images up to 150-160 degrees are not included here), the obtained value was about 1698 mm from the side of the frame to the camera, so that the entire width of the frame fits in the recorded image. Next, the front view of the frame shown in Figure 1 on the right was made. When marking the possible positions of the cameras on it, the permissible viewing angles were taken into account, in which the successive rows of yarns would not obstruct each other. On this basis, it was found that the minimum distance from the frame must be 5040 mm and this point is at a height of 4377 mm. Additionally, the most unfavorable viewing angle will be 25 degrees. Based on these observations, it was decided to use the Sony IMX586 camera with a viewing angle of 100 degrees for the tests [22]. With such camera settings, the recorded image will be about 6270 mm wide and, importantly, about 3075 mm high. Converting it to real values, assuming the use of the 4K standard (3840 × 2160 pixels), the resolution will be 1,4 mm/pixel. The yarns are spaced from each other in the real machine by approximately 10 mm, however, additionally taking into account the image registration angle and the non-alignment of the yarns perfectly in line, this value in the image drops to approximately 3 mm. In the recorded image, the gaps between individual yarns (assuming a perfect image registration, no noise, with good lighting, contrasting background, etc.) will be approximately 2 pixels, which is too small a value. For this reason, it was decided to reduce this distance to approximately 2340 mm and ultimately use two cameras - one recording the lower half of the frame, and the other its upper part. Such an image will register about 1500 mm in height, which with the standard of 3840 × 2160 pixels gives about 0.69 mm/pixel. Therefore, the gaps between the yarns will be 4-5 pixels at best, which gives much more possibilities for their graphical separation, especially under non-ideal conditions. Additionally, based on experimental research, it was proved that on the image recorded from such a distance, it is possible to distinguish individual yarns from each other at the most unfavorable viewing angle. _C._ _WARPING MACHINE ADAPTATION_ The main difficulty in registering the image of yarns is achieving a satisfactory level of contrast. The main elements that can introduce disturbances are the bobbins of yarns that are installed on the warping machine frame and are in the background of the recorded image. In addition, the color of the frame elements is also important, which can be very similar to the color of the yarns. To prevent overlapping of the same or similar colors (the white yarn will not be visible on the white or grey background), a black non-woven fabric has been placed under the routes through which the yarns travel. The black color was chosen due to the more frequent use of light colors, especially white, during production processes. It is important, however, FIGURE 1. Diagram of the side (left) and front (right) view of the warping machine frame. solution is the reduction of image blur while maintaining the level of filtration [28]. The formula representing the calculation of weights is presented below (1). In the case under consideration, due to the width of the yarns in the image of a few pixels, a 3 × 3 window was used [29]. FIGURE 2. Warping machine frame. that the color of the non-woven fabric is contrasted with the color of the warping yarns. To illustrate the appearance of the test stand, Figure 2 shows the actual appearance of the warping machine frame with black strips of non-woven fabric and white yarn placed above them. _D._ _YARN BREAKS DETECTION PROGRAM_ After the correct image acquisition stage and the technical preparation of the machine were completed, work on the algorithm enabling its interpretation began. The algorithm for analyzing the camera image has been divided into three main sections, which are described below. A block diagram showing the structure of the algorithm presented in Figure 3 has also been prepared Preparation section - captures one frame of the image, transforms it into a grey scale, and trims and rotates with the appropriate matrix. The result of this process is shown in Figure 4. Transformtion section - consists of a series of steps that transform the image of the yarns into single-pixel lines. It consists of a series of operations described below. The first operation is to apply a Gaussian filter to the entire image (Figure 5), which is designed to remove noise from it. This filter, unlike the average filter, is characterized by the use of different weights for pixels located in the filtering window (the farther the pixel is from the center of the window, the less it affects the filtering result). The advantage of using such a Image filtering (Figure 8) consists of summing up the elements of the multiplication of the surroundings of the pixel in question by the matrix and determining the new pixel value as the value of this sum. This operation is extremely useful for filtering the image of known shapes of foreground objects, which allows them to be significantly sharpened, distinguishing them from the background. The matrix presented in (4) _h (x, y)_ = _e_ _<u>x</u>_ <sup>2</sup> <u>+</u> _<u>y</u>_ <sup>2</sup> 2 _σ_ <sup>2</sup> (1) where: x and y are the positions in the box and _σ_ is the standard deviation. Erosion (⊖) removes the individual foreground (white) pixels left in the image (as scalar function f). The erosion algorithm consists of checking whether all pixels in the range of the considered frame (B) whose center is the considered pixel are 1. If not, the pixel value is changed to zero. This allows the removal of white noise from the image and allows the removal of the sharp edges of objects (2). Dilation (⊕) is the opposite of erosion. When any pixel in the frame is 1, then the pixel in question is also changed to 1 (3) [30]. Both operations were carried out using a 3 × 3 convolution kernel - due to the small size of the foreground elements. The results of the erosion and dilatation process are shown in Figures 6 and 7. - _x_ + _x_ <sup>′�</sup> - _x_ - _x_ <sup>′�</sup> : _x_ <sup>′</sup> ∈ _B and_ : _x_ <sup>′</sup> ∈ _B and_ ∈ _�_ (2) ∈ _�_ (3) - _x_ + _x_ <sup>′�</sup> - _x_ - _x_ <sup>′�</sup> _(f_ ⊖ _B) (x)_ = _sup_ _(f_ ⊕ _B) (x)_ = _sup_ where: _�_ ⊂ R <sup>2</sup> - _f_ - _f_ FIGURE 3. Schematic diagram of the yarn break detection program. FIGURE 4. A cut-out of the image after the preparation process. FIGURE 5. A cut-out of the image after the Gaussian filter. FIGURE 6. A cut-out of the image after the erosion process. FIGURE 7. A cut-out of the image after the dilatation process. was used in the project. FIGURE 8. A cut-out of the image after the filtering process. full white or black to the considered pixel (0 or 255 in 8-bit coding) depending on the value of its color and the threshold value (i.e. below the threshold value, the pixel becomes white, and when it is exceeded, it becomes black) as shown in (5). _Pv (x, y)_ = 255 _if_ _Pg (x, y) > T_ ( _x, y_ ) (5) 0 _if_ _Pg (x, y)_ ≤ _T_ ( _x, y_ ) 0 −1 0 1 1 1 0 −1 0 where: Pv is a binary output value of the considered pixel, Pg is a grey scale input value of the considered pixel, x and y are the position of the pixel on the image and T is a thresholding value. The threshold is determined adaptively, i.e. it is different for each pixel. It is calculated based on the weighted average of the group of adjacent pixels to the considered one. It was presented in (6). At the end of the method, a constant C is subtracted from the result of the weighted average. This value is important when thresholding a surface with a nearly uniform grey level, because, without it, the noise of white and black pixels are generated. It generates a white shift for positive values and a black shift for negative values. In the case under consideration, it was set at −5, because it mostly eliminates noise, and with very thin or very thick yarns, especially colored ones, too high a value of C may generate spot blurring of the yarn image after thresholding. Equation (7) shows, that the weights, on the other hand, have   (4) _K_ =   The above steps are essential to produce similar images of whether the sample contains a high or low thickness of yarns. The next stage of image transformation implements the process of binary adaptive thresholding based on the Gaussian weighted sum [31], which allows to sharpen the visibility of individual yarns and separates them from the image of the environment. The thresholding process consists of assigning FIGURE 9. A cut-out of the image after the adaptive thresholding process. FIGURE 10. A cut-out of the image after the opening process. a Gaussian distribution (normal distribution), so the further a pixel is from the currently considered one, the smaller its weight is. In the considered case, the value of B is 39. Too low value causes: for low TEX, an image of ‘‘additional’’ yarns is created in the gaps between real yarns - which is erroneously detected by the algorithm, while too high value blurs the image of yarns for low TEX or ‘‘connects’’ yarns together at high TEX [32]. FIGURE 11. A cut-out of the image after the closing process. FIGURE 12. A cut-out of the image after the thinning process. study and takes about 82% of the working time. It consists in reducing all foreground objects to one-pixel lines. In the research, it was decided to use the Zhang-Suen method of thinning. It consists of repeated image analysis (until the cessation of any changes), carried out in two phases [35], [36]. Pixel numbering is shown in (10), and the result of the operation in figure 12. _P_ 9 _P_ 2 _P_ 3 _P_ 8 _P_ 1 _P_ 4 _P_ 7 _P_ 6 _P_ 5   (10) _T_ _(x, y)_ = - _ni_ <u>=1</u> <sup>_wiPg,i_</sup> <u>�</u> _<u>ni</u>_ =1 <sup>_wi_</sup> - _C_ (6)   - 2 _π_ ��� _Pg_ - _Pg,i_ ��� _B_ �� (7) _wi_ = <sup><u>1</u></sup> 2 1 + _cos_ Phase 1 - The pixel P1 is white and has eight neighbors - A = 1 - 2 _<_ = B _<_ = 6 - At least one of the pixels: P2, P4, P6 is black - At least one of the pixels: P4, P6, P8 is black Phase 2 - The pixel is white and has eight neighbors - A = 1 - 2 _<_ = B _<_ = 6 - At least one of the pixels: P2, P4, P8 is black - At least one of the pixels: P2, P6, P8 is black Value A corresponds to the sum of changes in pixel values (0- _>_ 1) surrounding the analyzed pixel (P2:P9). B is the sum of the pixel values surrounding the pixel in question (P2:P9). To speed up the execution of this algorithm, the first condition was modified, formulating it as follows: - A pixel P1 is white with eight neighbors (P2:P9) and all corner neighbors (P3, P5, P7, P9) are black and any of the P2, P4, P6, P8 neighbors are white. By making such a change, the algorithm does not analyze pixels that already represent single-pixel lines. This allows for speeding up the work of the program since the process of thinning of yarns ends in a few iterations, while the thinning of tensioners and structural elements of the warping machine frame visible in the image takes several iterations. Based on a series of trials, it was determined that changing the first condition speeds up the execution of the thinning code by 6.9%. Analysis section - this section is responsible for finding yarn breaks in the image. It analyses the difference in the sum of the columns between the current image and the one recorded from one to 10 frames ago. In the case of a yarn break, individual frames start to differ from each other by where: wi is the value of weight, C is the constant value, B is the block size around the pixel under consideration, Pg _,_ i is a value of the pixel around the considered pixel. Thanks to the adaptive method, the thresholding process runs correctly even with an unevenly exposed image, and full control over the block size of the pixels under consideration to determine the threshold and the value of the constant makes it possible to adjust the method to changing conditions. The result of this method is shown in Figure 9. The opening operation consists of two processes: erosion and dilation, which were described earlier (8). This operation allows the removal of small elements of the foreground from the image, while not affecting all the features of large bright areas. The most important thing in the opening operation is the proper selection of the convolution kernel so that its size and shape do not affect the elements of the foreground. Thanks to this, it is possible to preserve the image of the yarns, while removing the remaining noise. The closing operation is the opposite of opening, it removes the small pixels representing the background from the foreground objects (9). This operation allows the removal of the image imperfections of the yarns created during the process of adaptive thresholding and is sometimes enhanced by the opening operation [33], [34]. The results obtained using both methods described are shown in Figures 10 and 11. _f_ - _B_ = _(f_ ⊖ _B)_ ⊕ _B_ (8) _f_ - _B_ = _(f_ ⊕ _B)_ ⊖ _B_ (9) Thinning ensures the universality of transformations, the resulting image is almost identical for yarns with different linear weights. This is by far the longest process of all in this FIGURE 13. Plot of the difference of pixel sums in columns between two image frames. one pixel to a certain extent, which is interpreted as a break. To determine the number of yarns that has broken, the algorithm compares the end of the detected difference area with the number of the tensioner. Figure 13 shows an example of the difference in pixel sums in columns for two image frames with a gap between them. The horizontal axis of the graph represents the number of consecutive columns of pixels in the image (the image is 3800 pixels wide, which is the same as the graph), while the vertical axis shows the described difference value. By applying the image transformation steps described in the transformation section, a stable thinning image was obtained between successive frames. Subsequently, a simple algorithm can provide information about the location of this break along the frame and determine the number of broken yarns. IV. RESULTS AND DISCUSSION _A._ _ALGORITHM RUNNING TIME_ The main challenge facing the developed algorithm is its speed. Therefore, 10 trials were carried out for different yarn images, which consisted of running the full program loop 1000 times. This value was selected in such a way that the obtained result was as averaged as possible and the result was easily convertible to milliseconds (1 second for 1000 loops is equal to 1ms on average for 1 loop). Table 1 contains a summary of the obtained results. The results show that the maximum time needed to perform one loop (analysis of one image frame) is 1.629 ms. It can be assumed that the highest warping speeds are about 1000 m/min, which means that in 1.629 ms the yarn covers a distance of 27 mm. Recording the image at a speed of 120 Hz means that the next image frames appear every 8.333 ms. It follows that in the worst case, a break will be detected after 9.962 ms, which corresponds to a distance of 166mm. Thanks to such high analysis speeds, it can be said that the detection takes place in real time. TABLE 1. Program running time. TABLE 2. Mechanical break detector activation times. Measurements were also made of the fall time of classic mechanical break detectors from various machines. The results of the experiment are listed in Table 2. The obtained experiments show that mechanical detectors need a minimum of 115 ms to detect a break, which is about 11.5 times longer than the algorithm. _B._ _DETECTION OF YARNS WITH DIFFERENT TEX VALUES_ The main parameter influencing the detectability of the yarns in the picture is their thickness. However, given that the yarn consists of a series of twisted fibers, it does not have a uniform and easily measurable thickness. Instead, the unit of measurement TEX (linear density) was introduced, which corresponds to the number of grams per 1000 m of yarn. Taking the above into account, it was decided to conduct research on the correctness of detecting yarns by the FIGURE 14. Program result for 60 TEX yarn (image scaled vertically for a better view - the original image is 3800 × 180 pixels). FIGURE 15. Program result for 20 TEX yarn (image scaled vertically for a better view - the original image is 3800 × 180 pixels). FIGURE 16. Program result for 1000 TEX yarn. developed algorithm for cotton yarns with different tex density values. Before starting the research, two risks to the correct operation of the program, which may occur during operation, were characterized. The first one is the insufficient image quality that will not allow the yarns to be captured well enough. This mainly applies to fine yarns. The second risk is that the image of the yarns is overlapping due to their excessively thick yarns. Taking the above risks into account, it was decided to carry out tests on two sets of yarns, with small linear densities: 20, 40 and 60 tex and large linear densities: 800, 1000 and 1200 tex. The test consists in checking whether in the image after the thinning process, all yarns are correctly represented as lines with a diameter of one pixel. Exemplary test results are presented in Figures 14 and 15, which show the results obtained for yarns with a linear density of 20 and 60 TEX. All experiments with 20, 40, 60 and 800 TEX yarns were completed with positive results. Above 800 TEX there are problems with the visual joining of the yarns together. Data will be collected through sensor readings, notes with records of the results and correctness of experiments, and data generated by the developed software. This leads to the detection of only one yarn in the thinning process, which is shown in Figure 16. Despite the obvious limitation in the operation of the algorithm, this was not considered significant. Yarns with values above 800 TEX are extremely thick yarns, used extremely rarely. Based on the conducted research, it has been proven that the detection algorithm works equally well for yarns with a small and high linear density, making it universal. V. CONCLUSION Summing up the obtained results, this interdisciplinary project met the requirements set for it. The most important feature is that the developed program works about 11,5 times faster than the tested mechanical break detectors. It follows the path that the yarn travels from the moment of breakage to detection from the minimum value of 1920mm to the maximum value of 166mm. Real-time operation is very important for the warping machine’s work because the sooner the break is detected, the shorter the braking distance of the yarns will be. This leads to the possibility of increasing the speed of the machines. The second important parameter is the universality in detecting breaks for the different linear densities (practically approximately thickness) of yarns. The linear density of the yarns does not affect the mechanical breakage detectors, which is why their undoubted advantage is their great versatility. This feature is not so obvious for systems analyzing the image from the camera. The research presented in this paper proved that it is possible to obtain such universality, but only to a certain extent. Research has shown that yarns with values above 800 TEX are not correctly detected, which, however, does not strongly affect the usability of the proposed solution. Yarns of this thickness are not used very often, and the machine on which the tests were carried out is not adapted to work with such yarns. One of the further directions of development of the system presented in the article may be the development of a solution that automatically adjusts the contrast to the currently processed yarn. This will allow working with all colors, and not just the part of them that contrasts with the installed background. First of all, providing information about the exact break point will enable development in the field of building an automatic system connecting detected ends of broken yarn. ACKNOWLEDGMENT The author Marcin Idzik was with the Interdisciplinary Doctoral School, Lodz University of Technology, Poland. REFERENCES [1] K. L. Gandhi, ‘‘Yarn preparation for weaving—Warping,’’ in _Woven_ _Textiles_ . Sawston, U.K.: Woodhead Publishing Limited, 2012, doi: [10.1016/B978-0-08-102497-3.00003-9.](http://dx.doi.org/10.1016/B978-0-08-102497-3.00003-9) [2] Y. Kitamura, ‘‘Snail wire arrangement for yarn breakage detection in ring frames,’’ U.S. Patent 4 393 647, 1983. [3] S. Praček, N. Pušnik, B. Simoncic, and P. F. Tavcer, ‘‘Model for simulating yarn unwinding from packages,’’ _Fibres_ _Textiles_ _Eastern_ _Eur._, vol. 23, no. 2, pp. 25–32, 2015. [4] Z. Bo, ‘‘The prediction of warp breakage rate of weaving by con sidering sized yarn quality using artificial neural network theory,’’ in _Proc._ _Int._ _Conf._ _Comput._ _Design_ _Appl._, Jun. 2010, pp. 1–10, doi: [10.1109/ICCDA.2010.5541337.](http://dx.doi.org/10.1109/ICCDA.2010.5541337) [5] F. Abe, J. V. Cauthen, and D. W. McCoy, ‘‘Apparatus for stopping textile machinery upon detection of yarn-break and for indicating location therefor,’’ U.S. Patent 3 456 310, 1969. [6] H. Xianbin, Z. Min, C. Jie, L. Kelin, L. Zhen, and Y. Baoqi, ‘‘Broken yarn self-stop device for warping machine,’’ China Patent 202 039 177 U, 2011. [7] P. Jiangpeng, B. Wentao, and L. Jiangtao, ‘‘Warping machine broken yarn detection device based on machine vision, collective work,’’ China Patent 202 576 745 U, 2012. [8] S. Mizuuchi and S. Nishimura, ‘‘Warp yarn breakage detecting system,’’ U.S. Patent 5 313 692, 1994. [9] W. Yunsong, ‘‘Yarn broken sensor of warping machine, China, collective work,’’ Patent CN 203 487 311 U, 2014. [10] G. Shan, ‘‘Laser broken yarn monitoring device for warp knitting machine,’’ China patent 103 215 745 B, 2015. [11] Y. Cheng, C. Lin, and L. Jiangatao, ‘‘Novel laser-based broken yarn detection device,’’ China Patent CN 202 548 067 U, 2012. [12] E. Musa, ‘‘Line laser-based break sensor that detects light spots on yarns,’’ _Opt._ _Lasers_ _Eng._, vol. 47, nos. 7–8, pp. 741–746, 2009, doi: [10.1016/j.optlaseng.2009.03.009.](http://dx.doi.org/10.1016/j.optlaseng.2009.03.009) [13] E. Musa, ‘‘Line-laser-based yarn shadow sensing break sensor,’’ _Opt._ _Lasers_ _Eng._, vol. 49, no. 3, pp. 313–317, Mar. 2011, doi: [10.1016/j.optlaseng.2010.10.003.](http://dx.doi.org/10.1016/j.optlaseng.2010.10.003) [14] (Jun. 28, 2022). _Eltex_ _of_ _Sweden_ _AB_ . [Online]. Available: https://eltex. se/warping-winding/ [15] J. H. Lee, A. M. Seyam, G. Hodge, W. Oxenham, and E. Grant, ‘‘Warp breaks detection in jacquard weaving using MEMS: System development,’’ _J._ _Textile_ _Inst._, vol. 98, no. 3, pp. 275–280, Aug. 2007, doi: [10.1080/00405000701462559.](http://dx.doi.org/10.1080/00405000701462559) [16] Y. Tong, ‘‘Dynamic technique control on sectional warping machine by means of sensors,’’ _Appl._ _Mech._ _Mater._, vols. 336–338, pp. 168–171, Jul. 2013. [17] W. Wang, P. Zhou, and X. Lin, ‘‘Development of yarn breakage detection software system based on machine vision,’’ in _Proc._ _AIP_ _Conf._, 2017, [pp. 1–12, doi: 10.1063/1.5005295.](http://dx.doi.org/10.1063/1.5005295) [18] X. Yan, ‘‘Design of the break yarn online detecting system for textile machine,’’ _Int. Core J. Eng._, vol. 5, no. 5, pp. 113–117, 2019. [19] L. D. Jun, ‘‘The research of broken filaments detection device on vis cose filament yarn,’’ in _Proc. Int. Conf. Comput. Intell. Secur. Workshops_ _(CISW)_ [, Dec. 2007, pp. 910–913, doi: 10.1109/CISW.2007.4425643.](http://dx.doi.org/10.1109/CISW.2007.4425643) [20] Y. Chen, T. Yu, K. Wan, and J. Yuan, ‘‘Real-time detection of the broken thread of textile products,’’ in _Proc._ _IEEE_ _Int._ _Conf._ _Adv._ _Electr._ _Eng._ _Comput._ _Appl._ _(AEECA)_, Aug. 2021, pp. 988–991, doi: [10.1109/AEECA52519.2021.9574262.](http://dx.doi.org/10.1109/AEECA52519.2021.9574262) [21] _Technical and Operational Documentation_, KARL MAYER STOLL Tex tilmaschinenfabrik GmbH, Obertshausen, Germany. [22] (Jul. 4, 2022). _Sony Group Corporation_ . [Online]. Available: https://www. sony.com/en/SonyInfo/News/Press/201807/18-060E/ [23] A. Thakkar and S. Bhattacharya, ‘‘Analysis of design aspects of textile warping: Part I: Review of literature,’’ _Int. J. Eng. Technol. Sci. Res._, vol. 9, no. 9, pp. 897–900, 2017. [24] A. A. Almetwally, M. M. Mourand, and M. A. E. Eldosky, ‘‘A study of yarn breaks on warping machines,’’ _Life Sci. J._, vol. 10, no. 1, pp. 108–114, 2013. [25] A. Thakkar and S. Bhattacharya, ‘‘Mechanical developments in design aspects of textile warping machines,’’ _Int. J. Eng. Technol. Sci. Res._, vol. 5, pp. 1623–1626, Jan. 2018. [26] Autodesk Inc. (Sep. 24, 2022). [Online]. Available: https://www.autodesk. eu/products/autocad [27] (Feb. 21, 2023). _MathWorks_ . [Online]. Available: https://www.mathworks. com/products/matlab.html [28] F. Cabello, J. Leon, Y. Iano, and R. Arthur, ‘‘Implementation of a fixed point 2D Gaussian filter for image processing based on FPGA,’’ in _Proc._ _Signal_ _Process.,_ _Algorithms,_ _Archit.,_ _Arrangements,_ _Appl._ _(SPA)_, [Sep. 2015, pp. 28–33, doi: 10.1109/SPA.2015.7365108.](http://dx.doi.org/10.1109/SPA.2015.7365108) [29] M. Wang, S. Zheng, X. Li, and X. Qin, ‘‘A new image denoising method based on Gaussian filter,’’ in _Proc._ _Int._ _Conf._ _Inf._ _Sci.,_ _Electron._ _Electr._ _Eng._ [, Apr. 2014, pp. 163–167, doi: 10.1109/InfoSEEE.2014.6948089.](http://dx.doi.org/10.1109/InfoSEEE.2014.6948089) [30] K. A. M. Said and A. B. Jambek, ‘‘Analysis of image processing using morphological erosion and dilation,’’ _J. Phys., Conf. Ser._, vol. 2071, no. 1, Oct. 2021, Art. no. 012033. [31] P. Roy, S. Dutta, N. Dey, G. Dey, S. Chakraborty, and R. Ray, ‘‘Adaptive thresholding: A comparative study,’’ in _Proc. Int. Conf. Control, Instrum.,_ _Commun._ _Comput._ _Technol._ _(ICCICCT)_, Jul. 2014, pp. 1182–1186, doi: [10.1109/ICCICCT.2014.6993140.](http://dx.doi.org/10.1109/ICCICCT.2014.6993140) [32] J.-A. Jiang, H.-Y. Chang, K.-H. Wu, C.-S. Ouyang, M.-M. Yang, E.-C. Yang, T.-W. Chen, and T.-T. Lin, ‘‘An adaptive image segmentation algorithm for X-ray quarantine inspection of selected fruits,’’ _Com-_ _put._ _Electron._ _Agricult._, vol. 60, no. 2, pp. 190–200, Mar. 2008, doi: [10.1016/j.compag.2007.08.006.](http://dx.doi.org/10.1016/j.compag.2007.08.006) [33] M. Kahra, V. Sridhar, and M. Breuß, ‘‘Fast morphological dilation and erosion for grey scale images using the Fourier transform,’’ in _Scale Space_ _and Variational Methods in Computer Vision_ (Scale Space and Variational Methods in Computer Vision), vol. 12679, A. Elmoataz, J. Fadili, J. Rabin, [and L. Simon, Eds. Cham, Switzerland: Springer, 2021, doi: 10.1007/978-](http://dx.doi.org/10.1007/978-3-030-75549-2_6) [3-030-75549-2_6.](http://dx.doi.org/10.1007/978-3-030-75549-2_6) [34] R. Supriyanti, G. P. Satrio, Y. Ramadhani, and W. Siswandari, ‘‘Contour detection of leukocyte cell nucleus using morphological image,’’ _J. Phys.,_ _Conf. Ser._, vol. 824, Apr. 2017, Art. no. 012069. [35] T. Y. Zhang and C. Y. Suen, ‘‘A fast parallel algorithm for thinning digital patterns,’’ _Commun. ACM_, vol. 27, no. 3, pp. 236–239, Mar. 1984. [36] D. H. Ko, A. U. Hassan, S. Majeed, and J. Choi, ‘‘SkelGAN: A font image skeletonization method,’’ _J._ _Inf._ _Process._ _Syst._, vol. 17, no. 1, pp. 1–13, Feb. 2021. MARCIN IDZIK received the M.Sc. degree in automatic control and robotics from the Faculty of Electrical, Electronic, Computer and Control Engineering, Lodz University of Technology (LUT), in 2020. He is currently pursuing the Ph.D. degree with the Automation Institute, Lodz University of Technology. He is an Engineer with the Łukasiewicz Research Network–Lodz Institute of Technology. He is the author of many patents for solutions that increase the efficiency and quality of yarns and nonwoven production. His research interest includes the automation of textile processes. TOMASZ RYBICKI received the M.Sc. degree in electrical engineering (control engineering and electrical metrology) from the Faculty of Electrical and Electronic Engineering, Lodz University of Technology (LUT), in 1993, and the Ph.D. degree in automatic control and robotics from the Faculty of Electrical Engineering, LUT, in 2003. He is currently an Adjunct Professor with the Institute of Automatic Control, LUT. His research interests include various aspects of industrial automatic control systems, robust control methods using fractional calculus, interdisciplinary research concerning the textile-based electromagnetic shields with conducting polymers, and their modeling.

섹션 본문 54문단 · 31,555자

(제목 없음)

1In the warping process, one of the most crucial elements determining production efficiency are break detectors. Due to the high warping speeds, they must ensure not only reliability but also very low response times. Currently, the most commonly used detectors are mechanical systems that detect the lack of yarn tension, and with the development of electronic systems, it has also become possible to measure the tension directly in the tensioners themselves. To significantly reduce the costs of such systems, a method has been proposed that will allow for the analysis of the recorded image and, on this basis, to determine not only the fact of breaking but also to indicate the exact location of the broken ends of the yarn, which will provide the operator or robotic systems in the future with a completely new, unobtainable earlier information. In this interdisciplinary project, the goal was to achieve the highest possible speed of real-time analysis. To achieve this, the techniques of filtration, adaptive thresholding, morphological transformations were used, and the thinning process, which had been used for years, was improved. During the experimental work, the possibility of detecting breaks for different types of yarns, both with different linear densities and colors, was examined. The results showed that this method worked well, but more importantly, it also tested and identified its limitations. The final results also showed that this method allows not only the installation of such solutions on new machines but also the modernization of old ones.INDEX TERMSWarping machine, yarn, detection, morphological operations. VOLUME 11, 2023 This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4.0/ 47501 Authorized licensed use limited to the terms of the applicable license agreement with IEEE. Restrictions apply.

I. INTRODUCTION

2The system that effectively detects the breakage of the yarns during warping is one of the key systems allowing to maintain the quality of production. Therefore, over the years, dozens of different prototypes and concepts have been developed to improve the performance of yarn break detection [1], [2]. In addition to the efficiency understood as faultless operation, extremely important parameters are failure-free and reliable operation, complexity, and cost of making the system. Since a typical frame can handle up to 1,000 yarns or more, breakage detection systems should be either cheap and simple to construct for each yarn individually, or designed to allow multiple yarns to be checked in a group at the same time. The problem related to yarn breaks at any stage of production, The associate editor coordinating the review of this manuscript and approving it for publication was Abdel-Hamid Soliman . despite years of research, is still valid and has a major impact on the development of performance models [3], [4].

3Many types of yarn breakage detectors at the end of the frame have been developed over the years. The method that has probably gained the most popularity (and is still widely used today) is to place the eyelet on a metal cam through which the yarn is passed. When the break occurs, the cam with the eye drops (by gravity or spring-assisted) and falls on two beams, shorting the electric circuit between them [5].

4Due to the dynamic increase in the importance of vision systems and the systematic decrease in the costs of their applications, several concepts based on CCD (charge-coupled device image sensor) or CIS (contact-type image sensor) cameras have been developed. In their assumptions, the yarn moves across the table (of the appropriate color, contrasting with the color of the yarn). It is illuminated from above by two lamps, and a camera is installed between them, which records the movement of the yarn under it. When the yarn is broken and disappeared from the camera's field of view, a signal about this event is sent to the monitoring device [6], [7].

5Another, often analyzed phenomenon in proposals for yarn break sensors is the use of photosensitive elements that are obscured or exposed by yarns. One example of such an approach is a sensor located downstream of the yarn separator, which, while moving across the line of yarns, analyses the light from a row of diodes, which illuminate the yarns from underneath [8], [9].

6Along with the significant spread of lasers, research began on them also in the context of detecting the yarn moving between the generator and the receiver [10], [11]. Depending on the linear density of the yarn, its beam width should be fine-tuned and it is necessary to use systems ensuring the stabilization of the yarn run through the point of the space through which the light passes The difficulties encountered stopped further development of such solutions. Research has also been conducted on indirect yarn observation techniques. In one of the papers, the concept was presented according to which the yarns are to be illuminated by a laser beam. This beam is reflected on the screen, at which the camera is also directed. Thanks to this technique, the software can search for the appropriate number of shadows visible on the laser beam, which shadows symbolize the yarns obscuring the beam. This solution allowed for the elimination of the role of the structure and color of the yarn [12], [13].

7Another solution is a yarn break detector based on the piezoelectric effect. The yarn passing through the eyelet transmits the vibrations generated in the winding process. These vibrations are transferred using fixing the eyelet onto a piezoelectric material in which the voltage is measured. The cessation of this process is treated as a break. Thanks to this, it is possible to eliminate mechanical sensors, which, after a yarn break, have to rotate and short the electric circuit, and thus extend the detection time [2], [14].

8Experimental studies were carried out on various other forms of indirect yarn break detection techniques, such as the use of light (lamps, diodes or lasers), electromagnetism, or MEMS sensors (micro-electro-mechanicalsensors) [15], [16]. Work was also carried out on the use of cameras, but only as a very narrow space analyzer [17], [18]. One example of this type of solution is the Broken Filaments Detection Device, which analyses an enlarged image of a viscose yarn in search of broken fibers that stick out from the yarn [19]. Devices have also been designed that are able to analyze the image of an already woven fabric and find broken yarns on it, which are defects in the finished product [20].

9Considering the above, it seems reasonable to conduct research on the implementation of image analysis methods to detect the formation of yarn breaks in the entire length of the warping machine frame. This solution would allow not only the detection of the yarn break but most of all its location. This would facilitate the operation of the machine to quickly repair the resulting yarn breaks, what's more, it would open up a wide range of possibilities for creating further automation systems that would enable the removal of the detected yarn break without the presence of a human being.

10In this paper, the idea of a visual yarn breakage detection system is presented. It includes both the modification process of the warping machine and the original image processing algorithm. The obtained results are encouraging for replacing the electro-mechanical break detectors with the visual system solution. The solution proposed in the article provides the user/machine system with information about the location of the broken ends of the yarn, so the information is unavailable using the solutions developed so far. Thanks to this, it opens up a wide range of possibilities for creating further automation systems that would enable the removal of the detected yarn breakage without the presence of an operator or the support of human work with frames that are several dozen meters long.

11This work is divided into five main parts. Part One: ''Introduction'' has been described above. The second part: ''Materials'' presents the elements used in the project, while the ''Methods'' part describes the idea and the way of implementing the project. Part 4, entitled ''Results and Discussion'', contains a detailed description of the research carried out and their discussion, while the last part, entitled ''Conclusions'', summarizes all the research and work done during the implementation of this interdisciplinary project.

A. WARPING MACHINE

12The research work was carried out on a direct action warping machine, type DS. 14 P, produced by KARL MAYER Textilmaschinenfabrik GmbH [21]. The machine allows for the preparation of 320 warps from 8 to 15 inches wide from natural and semi and fully synthetic yarns. The machine is also equipped with a yarn compensator for faster warping speeds. The warping machine presented in the article is a type of direct, which is intended for the production of a long warp of uniform color (for efficiency reasons, it is recommended that the admixture of other yarn colors in the frame should not exceed 15%). The frame is a type of magazine frame that has double bobbin slots -during operation, when one bobbin ends, the yarn, thanks to the tying-in of two bobbins, begins to unwind from the other.

13On the market, in addition to direct warping machines, there are also indirect warping machines intended for multicolored yarns. This type has no direct effect on the exact construction of the frame, but only on the number of yarn colors used, which was examined in the article.

14The frames themselves also have many sub-types, differing in the way they are loaded: single, fixed (one side of the frame is working, and the other is loaded by the crew), magazine (more than one bobbin slot is dedicated to one tensioner), duplicate (consists of two separate mobile frames), swiveling (allows the rotation of the bobbin holders, one side is loaded while the other is in production) and with mobile bobbin trolleys (the trolleys can be taken out of the frame and loaded next to it) [1].

B. CAMERA

15The camera used during the work was the Sony IMX586, which worked with the Xaomi Mi 9T Pro smartphone. It is a camera with a resolution of 48 megapixels, with a pixel size of 0.8 µm and a maximum resolution of 8000 × 6000 (horizontal x vertical) [22].

C. YARNS

16The work used yarns of various colors, made of 100% cotton. The yarns had a different twist as well as a linear density ranging from 20 to 1200 TEX (linear density, grams per 1000 meters). Yarns with densities greater than 800 TEX were constructed by twisting together three to four lighter yarns.

D. LIGHTING THE RESEARCH STAND

17The LED floodlight on a tripod with an electrical power of 2 × 50 W and a light intensity of 2 × 4500 lumens, cold white 6400K was used as lighting for the test stand, enabling the correct recording of the image by the camera.

E. SOFTWARE

18During the research work, two supporting software packages were used. The first was the AutoCAD program used to design the test stand, while the second was the Matlab [27] program used as a base for creating software that analyses the image from the camera.

A. THE IDEA OF VISUAL SYSTEM MEASUREMENT

19Nowadays working on the warping machine is largely nonautomated. One of the most time-consuming activities while operating the machine is tying the new bob-bins to the old yarns. Depending on the production needs and machine model, several hundred to even over a thousand yarns must be tied each time. An additional difficulty is the formation of yarn breaks during operation. This causes breaks in the machine's operation and the need for the crew to intervene, who must find which yarn has been broken and where both ends are located [23], [24], [25].

20Due to the above difficulties, a project was developed to create a system that would allow automatic detection of the formation of yarn breaks along the frame of the warping machine. It assumes that it is possible to detect the formation of a break along the frame of the warping machine and to determine the exact position of the broken yarn ends. Such a system will be able to some extent to improve and simplify the work of the warping machine and increase its efficiency.

B. CAMERA PLACEMENT

21The initial stage of work was to determine the base location of the cameras that would allow observation of the device while taking into account their resolution. For this purpose, a project in the AutoCAD [26] design support program was created, which is shown in Figure 1 on the left. It shows a schematic side view of the frame where all the tensioners and the two lines of the yarn support systems are marked. Because the cameras can observe the surroundings with angles up to 120 degrees (''ultra-wide-angle'' devices with the ability to record images up to 150-160 degrees are not included here), the obtained value was about 1698 mm from the side of the frame to the camera, so that the entire width of the frame fits in the recorded image. Next, the front view of the frame shown in Figure 1 on the right was made. When marking the possible positions of the cameras on it, the permissible viewing angles were taken into account, in which the successive rows of yarns would not obstruct each other. On this basis, it was found that the minimum distance from the frame must be 5040 mm and this point is at a height of 4377 mm. Additionally, the most unfavorable viewing angle will be 25 degrees. Based on these observations, it was decided to use the Sony IMX586 camera with a viewing angle of 100 degrees for the tests [22].

22With such camera settings, the recorded image will be about 6270 mm wide and, importantly, about 3075 mm high. Converting it to real values, assuming the use of the 4K standard (3840 × 2160 pixels), the resolution will be 1,4 mm/pixel. The yarns are spaced from each other in the real machine by approximately 10 mm, however, additionally taking into account the image registration angle and the non-alignment of the yarns perfectly in line, this value in the image drops to approximately 3 mm. In the recorded image, the gaps between individual yarns (assuming a perfect image registration, no noise, with good lighting, contrasting background, etc.) will be approximately 2 pixels, which is too small a value. For this reason, it was decided to reduce this distance to approximately 2340 mm and ultimately use two cameras -one recording the lower half of the frame, and the other its upper part. Such an image will register about 1500 mm in height, which with the standard of 3840 × 2160 pixels gives about 0.69 mm/pixel. Therefore, the gaps between the yarns will be 4-5 pixels at best, which gives much more possibilities for their graphical separation, especially under non-ideal conditions. Additionally, based on experimental research, it was proved that on the image recorded from such a distance, it is possible to distinguish individual yarns from each other at the most unfavorable viewing angle.

C. WARPING MACHINE ADAPTATION

23The main difficulty in registering the image of yarns is achieving a satisfactory level of contrast. The main elements that can introduce disturbances are the bobbins of yarns that are installed on the warping machine frame and are in the background of the recorded image. In addition, the color of the frame elements is also important, which can be very similar to the color of the yarns.

24To prevent overlapping of the same or similar colors (the white yarn will not be visible on the white or grey background), a black non-woven fabric has been placed under the routes through which the yarns travel. The black color was chosen due to the more frequent use of light colors, especially white, during production processes. It is important, however, VOLUME 11, 2023 that the color of the non-woven fabric is contrasted with the color of the warping yarns. To illustrate the appearance of the test stand, Figure 2 shows the actual appearance of the warping machine frame with black strips of non-woven fabric and white yarn placed above them.

D. YARN BREAKS DETECTION PROGRAM

25After the correct image acquisition stage and the technical preparation of the machine were completed, work on the algorithm enabling its interpretation began. The algorithm for analyzing the camera image has been divided into three main sections, which are described below. A block diagram showing the structure of the algorithm presented in Figure 3 has also been prepared Preparation section -captures one frame of the image, transforms it into a grey scale, and trims and rotates with the appropriate matrix. The result of this process is shown in Figure 4.

26Transformtion section -consists of a series of steps that transform the image of the yarns into single-pixel lines. It consists of a series of operations described below.

27The first operation is to apply a Gaussian filter to the entire image ( Figure 5), which is designed to remove noise from it. This filter, unlike the average filter, is characterized by the use of different weights for pixels located in the filtering window (the farther the pixel is from the center of the window, the less it affects the filtering result). The advantage of using such a solution is the reduction of image blur while maintaining the level of filtration [28]. The formula representing the calculation of weights is presented below (1). In the case under consideration, due to the width of the yarns in the image of a few pixels, a 3 × 3 window was used [29].

28where: x and y are the positions in the box and σ is the standard deviation. Erosion (⊖) removes the individual foreground (white) pixels left in the image (as scalar function f). The erosion algorithm consists of checking whether all pixels in the range of the considered frame (B) whose center is the considered pixel are 1. If not, the pixel value is changed to zero. This allows the removal of white noise from the image and allows the removal of the sharp edges of objects (2). Dilation (⊕) is the opposite of erosion. When any pixel in the frame is 1, then the pixel in question is also changed to 1 (3) [30]. Both operations were carried out using a 3 × 3 convolution kernel -due to the small size of the foreground elements. The results of the erosion and dilatation process are shown in Figures 6 and 7.

29where: ⊂ R 2 Image filtering ( Figure 8) consists of summing up the elements of the multiplication of the surroundings of the pixel in question by the matrix and determining the new pixel value as the value of this sum. This operation is extremely useful for filtering the image of known shapes of foreground objects, which allows them to be significantly sharpened, distinguishing them from the background. The matrix presented in (4) was used in the project.

30The above steps are essential to produce similar images of whether the sample contains a high or low thickness of yarns.

31The next stage of image transformation implements the process of binary adaptive thresholding based on the Gaussian weighted sum [31], which allows to sharpen the visibility of individual yarns and separates them from the image of the environment. The thresholding process consists of assigning full white or black to the considered pixel (0 or 255 in 8-bit coding) depending on the value of its color and the threshold value (i.e. below the threshold value, the pixel becomes white, and when it is exceeded, it becomes black) as shown in (5).

32where: P v is a binary output value of the considered pixel, P g is a grey scale input value of the considered pixel, x and y are the position of the pixel on the image and T is a thresholding value. The threshold is determined adaptively, i.e. it is different for each pixel. It is calculated based on the weighted average of the group of adjacent pixels to the considered one. It was presented in (6). At the end of the method, a constant C is subtracted from the result of the weighted average. This value is important when thresholding a surface with a nearly uniform grey level, because, without it, the noise of white and black pixels are generated. It generates a white shift for positive values and a black shift for negative values. In the case under consideration, it was set at −5, because it mostly eliminates noise, and with very thin or very thick yarns, especially colored ones, too high a value of C may generate spot blurring of the yarn image after thresholding. Equation (7) shows, that the weights, on the other hand, have a Gaussian distribution (normal distribution), so the further a pixel is from the currently considered one, the smaller its weight is. In the considered case, the value of B is 39. Too low value causes: for low TEX, an image of ''additional'' yarns is created in the gaps between real yarns -which is erroneously detected by the algorithm, while too high value blurs the image of yarns for low TEX or ''connects'' yarns together at high TEX [32].

33where: w i is the value of weight, C is the constant value, B is the block size around the pixel under consideration, P g,i is a value of the pixel around the considered pixel. Thanks to the adaptive method, the thresholding process runs correctly even with an unevenly exposed image, and full control over the block size of the pixels under consideration to determine the threshold and the value of the constant makes it possible to adjust the method to changing conditions. The result of this method is shown in Figure 9.

34The opening operation consists of two processes: erosion and dilation, which were described earlier (8). This operation allows the removal of small elements of the foreground from the image, while not affecting all the features of large bright areas. The most important thing in the opening operation is the proper selection of the convolution kernel so that its size and shape do not affect the elements of the foreground. Thanks to this, it is possible to preserve the image of the yarns, while removing the remaining noise.

35The closing operation is the opposite of opening, it removes the small pixels representing the background from the foreground objects (9). This operation allows the removal of the image imperfections of the yarns created during the process of adaptive thresholding and is sometimes enhanced by the opening operation [33], [34]. The results obtained using both methods described are shown in Figures 10 and 11.

36Thinning ensures the universality of transformations, the resulting image is almost identical for yarns with different linear weights. This is by far the longest process of all in this study and takes about 82% of the working time. It consists in reducing all foreground objects to one-pixel lines. In the research, it was decided to use the Zhang-Suen method of thinning. It consists of repeated image analysis (until the cessation of any changes), carried out in two phases [35], [36]. Pixel numbering is shown in (10), and the result of the operation in figure 12.

37Phase 1

38• The pixel P1 is white and has eight neighbors To speed up the execution of this algorithm, the first condition was modified, formulating it as follows:

39• A pixel P1 is white with eight neighbors (P2:P9) and all corner neighbors (P3, P5, P7, P9) are black and any of the P2, P4, P6, P8 neighbors are white. By making such a change, the algorithm does not analyze pixels that already represent single-pixel lines. This allows for speeding up the work of the program since the process of thinning of yarns ends in a few iterations, while the thinning of tensioners and structural elements of the warping machine frame visible in the image takes several iterations. Based on a series of trials, it was determined that changing the first condition speeds up the execution of the thinning code by 6.9%.

40Analysis section -this section is responsible for finding yarn breaks in the image. It analyses the difference in the sum of the columns between the current image and the one recorded from one to 10 frames ago. In the case of a yarn break, individual frames start to differ from each other by one pixel to a certain extent, which is interpreted as a break.

41To determine the number of yarns that has broken, the algorithm compares the end of the detected difference area with the number of the tensioner. Figure 13 shows an example of the difference in pixel sums in columns for two image frames with a gap between them. The horizontal axis of the graph represents the number of consecutive columns of pixels in the image (the image is 3800 pixels wide, which is the same as the graph), while the vertical axis shows the described difference value. By applying the image transformation steps described in the transformation section, a stable thinning image was obtained between successive frames. Subsequently, a simple algorithm can provide information about the location of this break along the frame and determine the number of broken yarns.

A. ALGORITHM RUNNING TIME

42The main challenge facing the developed algorithm is its speed. Therefore, 10 trials were carried out for different yarn images, which consisted of running the full program loop 1000 times. This value was selected in such a way that the obtained result was as averaged as possible and the result was easily convertible to milliseconds (1 second for 1000 loops is equal to 1ms on average for 1 loop). Table 1 contains a summary of the obtained results.

43The results show that the maximum time needed to perform one loop (analysis of one image frame) is 1.629 ms. It can be assumed that the highest warping speeds are about 1000 m/min, which means that in 1.629 ms the yarn covers a distance of 27 mm. Recording the image at a speed of 120 Hz means that the next image frames appear every 8.333 ms. It follows that in the worst case, a break will be detected after 9.962 ms, which corresponds to a distance of 166mm. Thanks to such high analysis speeds, it can be said that the detection takes place in real time. Measurements were also made of the fall time of classic mechanical break detectors from various machines. The results of the experiment are listed in Table 2.

44The obtained experiments show that mechanical detectors need a minimum of 115 ms to detect a break, which is about 11.5 times longer than the algorithm.

B. DETECTION OF YARNS WITH DIFFERENT TEX VALUES

45The main parameter influencing the detectability of the yarns in the picture is their thickness. However, given that the yarn consists of a series of twisted fibers, it does not have a uniform and easily measurable thickness. Instead, the unit of measurement TEX (linear density) was introduced, which corresponds to the number of grams per 1000 m of yarn. Taking the above into account, it was decided to conduct research on the correctness of detecting yarns by the developed algorithm for cotton yarns with different tex density values.

46Before starting the research, two risks to the correct operation of the program, which may occur during operation, were characterized. The first one is the insufficient image quality that will not allow the yarns to be captured well enough. This mainly applies to fine yarns. The second risk is that the image of the yarns is overlapping due to their excessively thick yarns. Taking the above risks into account, it was decided to carry out tests on two sets of yarns, with small linear densities: 20, 40 and 60 tex and large linear densities: 800, 1000 and 1200 tex. The test consists in checking whether in the image after the thinning process, all yarns are correctly represented as lines with a diameter of one pixel.

47Exemplary test results are presented in Figures 14 and 15, which show the results obtained for yarns with a linear density of 20 and 60 TEX. All experiments with 20, 40, 60 and 800 TEX yarns were completed with positive results. Above 800 TEX there are problems with the visual joining of the yarns together. Data will be collected through sensor readings, notes with records of the results and correctness of experiments, and data generated by the developed software. This leads to the detection of only one yarn in the thinning process, which is shown in Figure 16. Despite the obvious limitation in the operation of the algorithm, this was not considered significant. Yarns with values above 800 TEX are extremely thick yarns, used extremely rarely.

48Based on the conducted research, it has been proven that the detection algorithm works equally well for yarns with a small and high linear density, making it universal.

V. CONCLUSION

49Summing up the obtained results, this interdisciplinary project met the requirements set for it. The most important feature is that the developed program works about 11,5 times faster than the tested mechanical break detectors. It follows the path that the yarn travels from the moment of breakage to detection from the minimum value of 1920mm to the maximum value of 166mm. Real-time operation is very important for the warping machine's work because the sooner the break is detected, the shorter the braking distance of the yarns will be. This leads to the possibility of increasing the speed of the machines.

50The second important parameter is the universality in detecting breaks for the different linear densities (practically approximately thickness) of yarns. The linear density of the yarns does not affect the mechanical breakage detectors, which is why their undoubted advantage is their great versatility. This feature is not so obvious for systems analyzing the image from the camera. The research presented in this paper proved that it is possible to obtain such universality, but only to a certain extent. Research has shown that yarns with values above 800 TEX are not correctly detected, which, however, does not strongly affect the usability of the proposed solution. Yarns of this thickness are not used very often, and the machine on which the tests were carried out is not adapted to work with such yarns.

51One of the further directions of development of the system presented in the article may be the development of a solution that automatically adjusts the contrast to the currently processed yarn. This will allow working with all colors, and not just the part of them that contrasts with the installed background. First of all, providing information about the exact break point will enable development in the field of building an automatic system connecting detected ends of broken yarn.

ACKNOWLEDGMENT

52The author Marcin Idzik was with the Interdisciplinary Doctoral School, Lodz University of Technology, Poland.

53MARCIN IDZIK received the M.Sc. degree in automatic control and robotics from the Faculty of Electrical, Electronic, Computer and Control Engineering, Lodz University of Technology (LUT), in 2020. He is currently pursuing the Ph.D. degree with the Automation Institute, Lodz University of Technology. He is an Engineer with the Łukasiewicz Research Network-Lodz Institute of Technology. He is the author of many patents for solutions that increase the efficiency and quality of yarns and nonwoven production. His research interest includes the automation of textile processes.

54TOMASZ RYBICKI received the M.Sc. degree in electrical engineering (control engineering and electrical metrology) from the Faculty of Electrical and Electronic Engineering, Lodz University of Technology (LUT), in 1993, and the Ph.D. degree in automatic control and robotics from the Faculty of Electrical Engineering, LUT, in 2003. He is currently an Adjunct Professor with the Institute of Automatic Control, LUT. His research interests include various aspects of industrial automatic control systems, robust control methods using fractional calculus, interdisciplinary research concerning the textile-based electromagnetic shields with conducting polymers, and their modeling.

참고문헌 19건

  1. The prediction of warp breakage rate of weaving by considering sized yarn quality using artificial neural network theory 2010 10.1109/iccda.2010.5541337
  2. Line laser-based break sensor that detects light spots on yarns Optics and Lasers in Engineering · Elsevier BV · 2009 10.1016/j.optlaseng.2009.03.009
  3. A fast parallel algorithm for thinning digital patterns Communications of the ACM · Association for Computing Machinery · 1984 10.1145/357994.358023
  4. A new image denoising method based on Gaussian filter International Conference on Information Science, Electronics and Electrical Engineering · 2014 10.1109/infoseee.2014.6948089
  5. Line-laser-based yarn shadow sensing break sensor Optics and Lasers in Engineering · Elsevier BV · 2010 10.1016/j.optlaseng.2010.10.003
  6. Adaptive thresholding: A comparative study 2014 10.1109/iccicct.2014.6993140
  7. An adaptive image segmentation algorithm for X-ray quarantine inspection of selected fruits Computers and Electronics in Agriculture · Elsevier BV · 2007 10.1016/j.compag.2007.08.006
  8. Warp breaks detection in Jacquard weaving using MEMS: System development Journal of the Textile Institute · Taylor & Francis · 2007 10.1080/00405000701462559
  9. Dynamic Technique Control on Sectional Warping Machine by Means of Sensors Applied Mechanics and Materials · Trans Tech Publications · 2013 10.4028/www.scientific.net/amm.336-338.168
  10. Implementation of a fixed-point 2D Gaussian Filter for Image Processing based on FPGA 2015 10.1109/spa.2015.7365108
  11. Yarn preparation for weaving: warping Elsevier eBooks · Elsevier BV · 2012 10.1533/9780857095589.1.62
  12. Contour Detection of Leukocyte Cell Nucleus Using Morphological Image Journal of Physics Conference Series · IOP Publishing · 2017 10.1088/1742-6596/824/1/012069
  13. Model for Simulating Yarn Unwinding from Packages Fibres and Textiles in Eastern Europe · Index Copernicus International S.A. · 2015
  14. Development of yarn breakage detection software system based on machine vision AIP conference proceedings · American Institute of Physics · 2017 10.1063/1.5005295
  15. SkelGAN: A Font Image Skeletonization Method Journal of Information Processing Systems · 2021 10.3745/jips.02.0152
  16. Fast Morphological Dilation and Erosion for Grey Scale Images Using the Fourier Transform Lecture notes in computer science · Springer Science+Business Media · 2021 10.1007/978-3-030-75549-2_6
  17. Real-time detection of the broken thread of textile products 2022 IEEE International Conference on Advances in Electrical Engineering and Computer Applications (AEECA) · 2021 10.1109/aeeca52519.2021.9574262
  18. Analysis of Image Processing Using Morphological Erosion and Dilation Journal of Physics Conference Series · IOP Publishing · 2021 10.1088/1742-6596/2071/1/012033
  19. The Research of Broken Filaments Detection Device on Viscose Filament Yarn 2007 International Conference on Computational Intelligence and Security Workshops (CISW 2007) · 2007 10.1109/cisw.2007.4425643