Conveyor belt longitudinal tear detection system and method based on image matching

Through a detection system based on image matching, a red laser and a CCD camera are used to capture the surface changes of the conveyor belt, and the video processing and image matching algorithm are combined to accurately determine the longitudinal tear of the conveyor belt, solving the problem of low detection accuracy in the existing technology. problem, enabling timely tear alerts and loss reduction.

CN115535525BActive Publication Date: 2024-10-29山东大友机电科技有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202211092351.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-08
Publication Date
2024-10-29
Estimated Expiration
2042-09-08

AI Technical Summary

Technical Problem

The accuracy of the conveyor belt longitudinal tear detection method in the prior art is not high, which makes it difficult to detect tearing accidents in time in industrial production, resulting in economic and equipment losses.

Method used

A detection system based on image matching is adopted, using a straight-line red laser generator and a high-speed CCD camera to capture the laser line changes on the surface of the conveyor belt. Through video processing and image matching algorithms, a template image is generated and compared with the current video, and the feature differences are analyzed to determine Longitudinal tearing is determined based on area, length and tilt angle, and an alarm message is issued.

Benefits of technology

It achieves accurate detection of longitudinal tears of the conveyor belt, reduces economic and equipment losses caused by tearing accidents, and improves the accuracy and timeliness of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115535525B_ABST
    Figure CN115535525B_ABST
Patent Text Reader

Abstract

A conveyor belt longitudinal tear detection system and method based on image matching, which relates to the fields of machine vision and image processing technology, including a conveyor belt and a tear detection system, wherein the tear detection system includes a straight red laser generator, a high-speed CCD camera, an alarm, and computer processing software. The straight red laser generator is tiltedly arranged below the conveyor belt, and the laser line emitted by the straight red laser generator is perpendicular to the running direction of the conveyor belt. The high-speed CCD camera is arranged below the conveyor belt to capture the laser line, and the high-speed CCD camera signal is connected to the computer processing software, and the computer processing software signal is connected to the alarm. With the characteristics of good monochromaticity, high contrast, and strong directionality of the straight red laser line, it appears as a bright monochromatic thin line on the surface of the conveyor belt, which further highlights the surface features of the conveyor belt and is more conducive to image recognition processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of machine vision and image processing, and in particular to a conveyor belt longitudinal tear detection system and method based on image matching. Background Art

[0002] Conveyors are key equipment for transporting coal, ore, etc., and the cost of conveyor belts is relatively high, accounting for about half of the overall cost of conveyors. During the long-term, high-load operation of belt conveyors, conveyor belts face risks such as friction between rollers and drums, material jamming, impact from falling materials, scratches and punctures from foreign objects mixed with materials, etc., which may cause accidents such as conveyor belt tearing. Conveyors run at high speeds and over long distances. Once a tearing accident occurs, it must be detected and shut down in a timely manner. If it is not effectively resolved, it will cause major safety accidents such as longitudinal tearing, which usually causes damage to tens or even hundreds of meters of conveyor belts, leading to production suspension, equipment damage, casualties, and huge economic losses, seriously affecting production safety.

[0003] The existing mainstream methods for detecting abnormal conditions such as conveyor belt tearing include three categories: manual detection, contact detection, and non-contact detection. Manual detection methods are inefficient, subjective, and have high labor costs; contact detection methods such as leakage detection and pressure testing, although the structure is simple, the accuracy is low, it is easy to damage, and it is easy to miss or misdetect; non-contact detection methods such as embedding, ultrasonic, X-ray detection, radio frequency, and machine vision. Although the embedding, ultrasonic, and radio frequency methods are reliable, they are expensive and complex in structure; X-ray detection has high accuracy, but it has radiation effects on the human body. During the operation of the conveyor belt, the longitudinal tearing of the conveyor belt has an uncertain fault model, random time, complex causal relationship, and imperfect fault diagnosis and detection theory, which seriously affects the safe production and life of the transportation system. New theoretical methods are needed for the online detection of longitudinal tearing of the conveyor belt. In the current related technologies, the more novel methods for tearing fault detection all use image processing for detection, but due to the complexity of the industrial site background and the possible interference of the conveyor belt itself, the existing detection methods are not accurate. Summary of the invention

[0004] In view of the above defects, the purpose of the present invention is to provide a conveyor belt longitudinal tear detection system and method based on image matching. This conveyor belt longitudinal tear detection system and method based on image matching can accurately detect the longitudinal tear problem of the conveyor belt, and can promptly give tear alarm information in industrial production, thereby reducing the economic and equipment losses caused by tearing accidents.

[0005] In order to achieve the above object, the technical solution of the present invention is:

[0006] A conveyor belt longitudinal tear detection system based on image matching includes a conveyor belt and a tear detection system, and is characterized in that the tear detection system includes a laser generator, a CCD camera, an alarm, and computer processing software, the laser generator is obliquely arranged below the conveyor belt, the laser line emitted by the laser generator is perpendicular to the running direction of the conveyor belt, the CCD camera is arranged below the conveyor belt to capture the laser line, the CCD camera signal is connected to the computer processing software, and the computer processing software signal is connected to the alarm.

[0007] The method comprises the following steps: S1: using a red laser generator to emit a red laser line as an auxiliary laser source, using a high-speed CCD camera in combination with the red laser line, and extracting a continuous video of the normal operation of the conveyor belt through the CCD camera; S2: transmitting the continuous video extracted by the above-mentioned CCD camera to a computer processing software for video processing. When no tearing occurs, the red laser line is a continuous curve, and at the tearing location, the red laser line will have discontinuous breakpoints. After video processing, a current status video with the surface features of the conveyor belt in the initial state is obtained, and after the tearing is judged, the current status video of the next section of the conveyor belt is obtained for dynamic update; S3: comparing the current status video with a template image formed when the conveyor belt in the initial state runs one circle after daily maintenance, and after obtaining the template image of the surface features of the conveyor belt and the current status comparison diagram, it is necessary to use an image matching algorithm to accurately locate the current status video of the conveyor belt on the template image, and then analyze the feature differences between the current status video and the template image, and finally analyze whether these differences indicate that longitudinal tearing has occurred.

[0008] Wherein, the video processing described in S2 includes the following steps: Step 1: extracting a single-frame conveyor belt cross-section feature image from the continuous video of the normal operation of the conveyor belt extracted by the CCD camera, and then performing RGV grayscale processing on each frame of the conveyor belt cross-section feature image; Step 2: performing noise reduction processing on the single-frame conveyor belt cross-section feature image after RGV grayscale processing in Step 1, and the noise reduction processing adopts a weighted fast median filtering algorithm; Step 3: using an automatic threshold optimization regional segmentation algorithm to segment the conveyor belt cross-section feature curve region for the video processed in Step 2; Step 4: removing the background image from the video in Step 3; Step 5: after removing the conveyor belt background, performing segmented slope curve correction on the conveyor belt cross-section feature curve;

[0009] Step 6: Stitching correction of the conveyor belt surface feature image, which includes jitter correction and size correction. Then, an image stitching algorithm is used to stitch each frame of the image to obtain a current video with the surface features of the conveyor belt in its initial state. Step 7: After the tearing judgment, the current video of the next section of the conveyor belt is obtained for dynamic update.

[0010] Among them, the template image generation step includes using the code disk for positioning after the daily maintenance of the conveyor belt system, collecting the video of the conveyor belt in its initial state when it is empty for one circle, and performing RGV grayscale, weighted fast median filtering, automatic threshold optimization region segmentation algorithm, background removal, jitter correction and size correction on each frame of the image, and finally splicing the video into a template image with the surface features of the conveyor belt in the initial state.

[0011] Among them, the process of comparing the current situation video with the template image includes the following steps: performing graphic matching on the current situation video in the template image, finding the surface features of the initial state of the conveyor belt corresponding to the current situation video, and judging which feature areas in the current situation video are newly added areas, performing area filtering on the newly added areas, excluding areas with smaller areas in the newly added areas, and performing length filtering detection on the remaining newly added areas. If the length of the newly added feature area exceeds the tear alarm threshold set in advance, it can be determined that the conveyor belt has been longitudinally torn, and the code disk is used to locate the current situation video, and an alarm message is issued through the alarm.

[0012] Wherein, the graphic matching adopts an improved normalized cross-correlation matching algorithm.

[0013] The implementation method of the area filter is as follows: 1. Using a morphological marking algorithm, a binary image with conveyor belt surface features is Perform 8-neighborhood calibration, mark each feature area with different gray levels in the order of positive integers, and let the number of marked areas be q, then the maximum gray level of the marked area is q; 2. Calculate the number of each gray level, and thus calculate the area of ​​each feature area Size; 3. When the area of ​​the feature area When it is smaller than the preset area critical threshold Tm, the corresponding gray level is cleared.

[0014] Among them, the implementation method of length filter detection is: 1. Use morphological marking algorithm to detect the binary image with conveyor belt surface features. 1. Perform 8-neighborhood calibration and mark each feature area with different gray levels in the order of positive integers. Suppose the number of marked areas is q, then the maximum gray level of the marked area is q; 2. Find the maximum and minimum points of each gray level in the vertical direction, and their difference b is the length of the feature area in the vertical direction; 3. When the length b of the feature area is smaller than the preset length critical threshold Tl, the corresponding gray level is cleared.

[0015] Among them, the standard for determining whether the conveyor belt has been longitudinally torn is increased by the tilt angle determination. The tilt angle determination is added after the length filter detection. The method of the tilt angle determination is as follows: 1. Using the morphological marking algorithm, the image of the newly added surface features after area and length determination is calibrated in 8 neighborhoods, and each feature area is marked as a different gray level; 2. Straight line fitting is performed on each gray level to obtain their point slope equations , where k is the slope of the line, and then through the formula Find the tilt angle ; 3. Tilt angle The area between [80,100] meets the longitudinal tearing characteristics and is retained. Feature areas that are not within this range are eliminated.

[0016] The size correction adopts image scaling processing, and the scaling method adopts bilinear interpolation.

[0017] After adopting the above technical solution, the beneficial effects of the present invention are:

[0018] 1. The present invention designs a conveyor belt longitudinal tear detection system and method based on image matching. The system adopts a straight red laser as an auxiliary laser source, and places a line laser transmitter under the conveyor belt so that the irradiated laser line is perpendicular to the conveyor belt and forms a certain angle with the running direction of the conveyor belt. In this way, when a high-speed CCD camera is used for shooting, as the conveyor belt system runs, the laser line formed on the lower surface of the conveyor belt will scan various parts of the conveyor belt. With the advantages of good monochromaticity, high contrast, and strong directionality of the straight red laser line, it appears as a bright monochromatic thin line on the surface of the conveyor belt, which further highlights the surface features of the conveyor belt and is more conducive to image recognition processing.

[0019] 2. The regional segmentation algorithm with automatic threshold optimization solves the problem that the global threshold is difficult to effectively segment the red laser line features. In view of the deformation of the conveyor belt when loaded relative to when unloaded and the left and right jitters and up and down vibrations of the conveyor belt when running, which cause the relative position changes of the feature points, the present invention proposes a method for correcting the curve of the red laser line according to the segmented slope, as well as conveyor belt jitter correction and image size correction methods. These methods can effectively solve the problem of feature position deviation in the conveyor belt cross-sectional template image and the current status video, thereby increasing the accuracy of image matching, so that the system can accurately detect the longitudinal tearing problem of the conveyor belt, and can promptly give tearing alarm information in industrial production, reducing the economic and equipment losses caused by tearing accidents.

[0020] To sum up, the conveyor belt longitudinal tear detection system and method based on image matching of the present invention solves the technical problem of low accuracy of the conveyor belt longitudinal tear detection method in the prior art. The conveyor belt longitudinal tear detection system and method based on image matching of the present invention can accurately detect the longitudinal tear problem of the conveyor belt, and can give tear alarm information in time in industrial production, thereby reducing the economic and equipment losses caused by tearing accidents. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 RGV grayscale image and the effects of three region segmentation algorithms;

[0022] Figure 2 Tear detection system simulation effect;

[0023] Figure 3 Detection system flow chart; DETAILED DESCRIPTION

[0024] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0025] The directions mentioned in this specification are based on the directions shown in the drawings and only represent relative positions, not absolute positions.

[0026] A conveyor belt longitudinal tear detection system based on image matching includes a conveyor belt and a tear detection system. The tear detection system includes a straight red laser generator, a high-speed CCD camera, an alarm, and computer processing software. The straight red laser generator is obliquely arranged below the conveyor belt. The laser line emitted by the straight red laser generator is perpendicular to the running direction of the conveyor belt. The high-speed CCD camera is arranged below the conveyor belt to capture the laser line. The high-speed CCD camera signal is connected to the computer processing software, and the computer processing software signal is connected to the alarm.

[0027] In the data acquisition stage, we first simulate and analyze the tearing of the conveyor belt during operation. When the conveyor belt system is operating normally, if a sudden longitudinal tear occurs, the tear will be notched or overlapped perpendicular to the running direction of the conveyor belt. Based on this characteristic, digital image processing is used to combine a high-speed CCD camera with a red laser source to transmit and process in the form of video. When no tearing occurs, the red laser line is a continuous curve, while at the tearing site, the laser line will have discontinuous breakpoints. In this way, after processing multiple frames of continuous images in the video, by detecting the breakpoint position of the longitudinal tear image of the conveyor belt and comparing it with the template image formed when the conveyor belt runs one circle in the initial state after daily maintenance, it is possible to analyze and determine whether the conveyor belt has a longitudinal tear failure. This experimental method can effectively eliminate interference such as patches and soil, and improve the accuracy of determining whether longitudinal tearing has occurred. The details are as follows:

[0028] A detection method of a conveyor belt longitudinal tear detection system based on image matching, comprising the following steps:

[0029] S1: Use a red laser generator to emit a red laser line as an auxiliary laser source, and use a high-speed CCD camera combined with the red laser line to extract continuous video of the normal operation of the conveyor belt through the CCD camera;

[0030] First, a temporary mining conveyor belt system was built in a company's production plant. The system includes a conveyor belt, a three-phase motor, a code disc, a metal bracket, a series of rollers, a drum, a metal detection system, and a tear detection system. The three-phase motor drives the conveyor belt to rotate, and the tear detection system includes a straight red laser generator, a high-speed CCD camera, an alarm, and computer processing software. The straight red laser generator is placed under the conveyor belt so that the irradiated laser line is perpendicular to the running direction of the conveyor belt and forms a certain angle with the running direction of the conveyor belt, so that the laser line can cover a larger area. The system uses a straight red laser generator as an auxiliary laser source. When the camera is shooting, as the conveyor belt system runs, the laser line formed on the lower surface of the conveyor belt will scan all parts of the conveyor belt. With the characteristics of good monochromaticity, high contrast, and strong directionality of the straight red laser line, it appears as a bright monochrome thin line on the surface of the conveyor belt, which highlights the surface features of the conveyor belt and is more conducive to image recognition processing.

[0031] S2: The continuous video captured by the CCD camera is transmitted to the computer processing software for video processing. When no tearing occurs, the red laser line is a continuous curve, while at the tearing location, the red laser line will have discontinuous breakpoints. After video processing, a current status video with the surface characteristics of the initial state of the conveyor belt is obtained. After the tearing is determined, the current status video of the next section of the conveyor belt is obtained for dynamic update;

[0032] The video processing includes the following steps:

[0033] Step 1: Extract a single-frame conveyor belt cross-section feature image from the continuous video of the normal operation of the conveyor belt captured by the CCD camera, and then perform RGV grayscale processing on each frame of the conveyor belt cross-section feature image;

[0034] The algorithm uses three components, R (red component), G (green component) in the RGB color space model, and V (brightness) in the HSV color space model, and assigns corresponding weights to perform comprehensive calculation of grayscale. The standard grayscale is not very ideal for the grayscale of stains and edges in the conveyor belt image. The grayscale image calculated by RGV grayscale is clearer in details than the standard grayscale, and the edge contrast of the red laser line is more obvious.

[0035] Standard grayscale formula:

[0036]

[0037] (1)

[0038] RGV composite grayscale formula:

[0039]

[0040] (2)

[0041] Step 2: Perform noise reduction processing on the single-frame conveyor belt cross-section feature image after RGV grayscale processing in step 1, and the noise reduction processing adopts a weighted fast median filtering algorithm;

[0042] Due to the complex environment of the mine where the conveyor belt system is located, dust, light and other interferences are relatively large, resulting in interference information in the images collected by the CCD camera, and noise will also be generated during the transmission and storage of the image, so the image needs to be denoised. The standard median filter requires a lot of sorting and comparison work, which is very time-consuming for the calculation of denoising each frame of the conveyor belt image in this study. Therefore, based on the standard median filter, the speed is optimized and the weighted fast median filter algorithm is adopted. The weighted fast median filter algorithm first considers the influence of the grayscale values ​​of the two columns of pixels moved in and out on the median, thereby reducing the sorting calculation amount of similar or even the same pixel grayscale areas. The weighted fast median filter algorithm not only achieves better denoising effect than the standard median filter, but also better preserves the edge information of the original image. According to experimental tests, the weighted fast median filter shortens the time by more than 70% compared with the standard median filter.

[0043] Step 3: Use the automatic threshold optimization regional segmentation algorithm to segment the conveyor belt cross-section characteristic curve region for the video processed in step 2; after comparing the effect diagrams of the Otsu algorithm and the iterative threshold segmentation algorithm, it is found that the algorithm can effectively improve the accuracy of conveyor belt image segmentation.

[0044] The automatic threshold optimization regional segmentation algorithm first uses the image rotation algorithm to keep the conveyor belt running direction in the image from top to bottom or from bottom to top, so as to keep the red laser line on the image belt horizontal in the overall direction. Most traditional conveyor belts are dark, so they will also appear darker in the collected video data. The red laser line is used as an auxiliary laser source. After irradiating the conveyor belt, there will be a long strip of brightness area with higher brightness and element grayscale values ​​than the normal conveyor belt area. It can be found by observation that the pixel grayscale value of the laser line irradiation area is higher than the pixel grayscale value of other irradiation areas in the same column. Taking advantage of this feature, this study divides the conveyor belt into multiple equal-sized areas in the longitudinal direction, and combines the advantages of iterative threshold segmentation and Otsu to perform automatic threshold optimization regional segmentation binarization on the conveyor belt image.

[0045] The calculation method of regional binarization with automatic threshold optimization is as follows:

[0046] It is known that the pixel size of the original grayscale image is [m, a*n]. The image is divided into a parts vertically and the optimal threshold is automatically calculated. The pixel size of each image is [m, n].

[0047] The pixel width of the red laser line in the image is pre-queried as u;

[0048] Let I(i,j) be the grayscale value of the pixel at position (i,j) in the image, where 1 <i<m,1<j<n;

[0049] The optimal threshold Ta for each area of ​​the image is calculated using the following formula:

[0050] 1. The grayscale range of the original grayscale image is [0,1]. Select pixel value 0 as the initial threshold T0 of the entire image. Set the threshold to increase by & after each iteration, that is, the accuracy level of the threshold is &;

[0051] 2. Use the initial threshold T0 to divide the image into two regions. The number of pixels with grayscale greater than T0 is N2, and the number of pixels with grayscale less than or equal to T0 is N1.

[0052] Determine whether the following inequality holds:

[0053] (3)

[0054] 3. If the inequality holds, the new threshold Ti+1 is calculated using the following formula:

[0055] (4)

[0056] 4. Repeat steps 2 and 3 until the inequality is no longer true.

[0057] Step 4: Remove the background image from the video in step 3;

[0058] Removing the high-exposure conveyor belt background: After binarization using the automatic threshold optimization region segmentation algorithm introduced above, large areas of white will appear in the background. With the comprehensive application of some morphological algorithms in digital image processing, the problem of large areas of white background elements caused by high exposure after binarization in the conveyor belt image can be solved.

[0059] Removing the background of low-exposure and normal-exposure conveyor belts: In order to exclude some interference points caused by low exposure outside the cross-sectional characteristic curve, and to accurately segment and locate the cross-sectional characteristic curve of the conveyor belt in the image, it is necessary to perform curve fitting on the binarized image of the conveyor belt. After comparative analysis, an iterative, low-order nonlinear least squares curve fitting algorithm is selected to fit the laser line in the image. The advantage of low-order over high-order is that it does not fit all points of known data into the curve, but while smoothing the curve, it approaches as many data points as possible, so that after one fitting, individual noise points in the image can be excluded, and after multiple low-order fittings, the fitted curve will be as close to the red laser line as possible while excluding interference points.

[0060] Step 5: After removing the conveyor belt background, perform segmented slope curve correction on the conveyor belt cross-section characteristic curve. The segmented slope curve correction can effectively solve the problem of increased curvature of the laser line affecting the aspect ratio of the surface characteristic position of the conveyor belt when the conveyor belt is loaded, thereby increasing the accuracy of image matching, so that the system can detect the tearing problem of the conveyor belt when it is unloaded and loaded.

[0061] The red laser line irradiation area in the conveyor belt image will appear as a straight line or a low-curvature curve when the conveyor belt is unloaded. When loaded, the curvature of the red laser line irradiation area will increase significantly due to the deformation of the conveyor belt. Similarly, the edge of the conveyor belt will shrink inward, causing the pixel width of the conveyor belt in the image to decrease. Therefore, the straight line correction of the laser line cannot be directly used by conventional projection methods. This study designed a segmented curve correction algorithm based on the change law of the curvature of the red laser line in the conveyor belt.

[0062] The specific contents of the algorithm are as follows:

[0063] 1. Divide the conveyor belt image into smaller areas in the longitudinal direction, so that the laser line in each area will be close to a straight line;

[0064] 2. The least square method is used to perform straight line fitting on the laser lines in each area. The fitting formula is (5);

[0065] (5)

[0066] 3. According to the fitted straight line coefficients a and b, the positions of the laser line at both ends of each area are obtained, and the regional image is cropped according to the obtained position information to obtain Figure G;

[0067] 4. According to the slope a of the fitted straight line, use formula (6) to calculate the inclination angle α of the straight line;

[0068] (6)

[0069] 5. Rotate the image G around the center point at an inclination angle α and use the nearest method for neighborhood interpolation, as shown in formula (7), to ensure that a complete rotated image H is generated;

[0070] (7)

[0071] Where x and y are both non-negative integers, and f(x, y) represents the pixel value at (x, y) in the source image.

[0072] 6. The rotated image is cropped around the center point with the same length at twice the pixel width of the laser line to keep the width of all areas of the conveyor belt image uniform;

[0073] 7. The laser line images obtained through the above steps in all areas of the conveyor belt image are horizontally spliced ​​together to obtain an image of the conveyor belt cross-sectional curve correction.

[0074] After the slope correction of the conveyor belt cross-sectional feature image, the length of the cross-sectional feature has been corrected and it is straight, but the edge of the cross-sectional feature is uneven, which is not conducive to the subsequent splicing work. Therefore, the cross-sectional feature needs to be smoothed and corrected. The projection method can be used directly for edge smoothing correction. The projection method is to project the image in a specified direction and achieve the purpose of image processing and analysis based on the characteristics of the projection.

[0075] Assume that the image size is m×n, that is, m rows and n columns, and f(x,y) is the gray value at (x,y). After the region segmentation algorithm with automatic threshold optimization, the image becomes a binary image, where the black (gray value 0) area represents the background or break of the conveyor belt, and the white (gray value 1) area represents the cross-sectional features of the conveyor belt. The gray values ​​of the image f(x,y) are accumulated vertically, the average value is taken, and then projected horizontally to obtain the straight line feature T(y) of the conveyor belt cross section after edge smoothing. The calculation formula is as follows:

[0076] (8)

[0077] Step 6: stitching and correction of the conveyor belt surface feature images. The stitching correction includes jitter correction and size correction. Then, an image stitching algorithm is used to stitch each frame of the image to obtain a current status video with the surface features of the conveyor belt in its initial state.

[0078] During the image acquisition process, the conveyor belt will shake left and right and vibrate up and down. Therefore, in the conveyor belt video recorded by the CCD camera, there will be a certain difference in the distance from the left and right edges of the conveyor belt to the left and right boundaries of the image in each frame image. This will cause the tear position detected in each frame image to have a left and right deviation, so the conveyor belt edge needs to be corrected. This paper corrects the jitter of the conveyor belt cross-section feature image by detecting the initial position of the laser line on both sides of the conveyor belt in the image.

[0079] For the left edge of the laser line, we scan the conveyor belt cross-section feature image from left to right, record the boundary position where the white pixels rise sharply, and thus determine the left edge of the conveyor belt cross-section feature image. For the right edge of the conveyor belt cross-section feature image, we scan the image from right to left, record the boundary position where the white pixels rise sharply, and thus determine the right edge of the conveyor belt cross-section feature image.

[0080] Image size correction: In order to ensure that the number of pixels in each row of the conveyor belt cross-section feature image obtained through the above steps for each frame of the video data is the same and to ensure the success of the following stitching algorithm, the laser line breakpoint image needs to be resized to keep the number of pixels in each row consistent.

[0081] Image scaling is mainly used to change the image size. After the image is scaled, the size of its rows and columns will change accordingly. When the number of rows or columns of the image increases, the pixels of the image will become higher and the image will become blurred; when the number of rows or columns of the image decreases, the smoothness and clarity will increase.

[0082] There are cases where the pixels of the scaled image cannot find corresponding pixels in the original image, so approximation processing must be performed based on the pixel values ​​of the neighborhood. The general processing method is to perform interpolation processing, and common interpolation processing includes nearest neighbor interpolation, bilinear interpolation and bicubic interpolation.

[0083] After extracting the characteristic areas of the conveyor belt surface, the amount of spliced ​​data is large, so the scaling method uses double-line interpolation, which can not only improve the calculation speed but also achieve better processing results.

[0084] After extracting the cross-sectional features of the conveyor belt and performing jitter correction and size correction on each frame of the video, the images are stitched together in the same order, so that the video data is converted into a binary image with the surface features of the conveyor belt. The width of this feature image is the image width set when correcting the size of the conveyor belt cross-sectional feature image, and the number of pixels in the image height is the number of video frames multiplied by the pixel width of the laser line on the conveyor belt image.

[0085] Step 7: After the tear is determined, the current status video of the next conveyor belt is obtained for dynamic update.

[0086] S3: Compare the current status video with the template image formed when the conveyor belt runs one circle in the initial state after routine maintenance. After obtaining the template image of the conveyor belt surface features and the current status comparison diagram, it is necessary to use the image matching algorithm to accurately locate the current status video of the conveyor belt on the template image, and then analyze the feature differences between the current status video and the initial no-load state of the conveyor belt, and finally analyze whether these differences indicate that longitudinal tearing has occurred. It can be analyzed to determine whether the conveyor belt has a longitudinal tearing fault.

[0087] Dynamic generation of the status video of the conveyor belt. The status video dynamically collected during the normal operation of the conveyor belt is also processed according to the RGV grayscale, weighted fast median filtering, segmented automatic optimization of the region segmentation algorithm binarization, morphological background removal, curve fitting, jitter correction and size correction steps introduced above. Finally, the video is spliced ​​into a status video with the surface features of the initial state of the conveyor belt. After the tearing judgment, the status video of the next section of the conveyor belt is obtained for dynamic update.

[0088] Feature area matching and tearing result judgment, match and locate the current video in the template image, find the surface features of the initial state of the conveyor belt corresponding to the current video, and determine which feature areas in the current video are new areas, perform area filtering on the new areas, exclude areas with smaller areas in the new areas, and perform length filtering on the remaining new areas. If the length of the new feature area exceeds the pre-set tear alarm threshold, it can be determined that the conveyor belt has a longitudinal tear. The current video is positioned using the code disk, and an alarm is issued through the alarm. After the template image and the current state comparison diagram of the conveyor belt surface features are obtained through the above algorithm, the image matching algorithm is needed to accurately locate the current video of the conveyor belt on the template image, and then analyze the feature differences between the current video and the initial no-load state of the conveyor belt, and finally analyze whether these differences indicate that longitudinal tearing has occurred.

[0089] The improved normalized cross-correlation matching algorithm is used for image matching. Assume that S(x,y) is a video of the current state with conveyor belt surface features of size m×n. yes Conveyor belt template image with surface features of the conveyor belt in its initial state, where , The current video S is moved on the conveyor belt template image T. The area of ​​the template image covered by the current video is called the template image sub-image. . is the coordinate of the upper left corner pixel of the template image sub-image in the template image T, , , called the reference point. In For the upper left corner, take The template image sub-image of the same size is used to calculate its grayscale similarity with the current video. The current video is traversed over the entire template image to find the template sub-image that is most similar to the current video as the final matching result

[56] . In general, the following algorithm can be used as and Similarity matching algorithm:

[0090] Normalized cross-correlation algorithm (NCC), the formula is as follows:

[0091] (9)

[0092] Among them, E(Ti,j) and E(S) represent the average grayscale of the current video sub-image and the current video at (i,j) respectively.

[0093] (10)

[0094] Since the template image and the current video in this study are binary images after the conveyor belt cross-section feature extraction and splicing, there are fewer black problem feature areas (pixel value is 1) and more white normal conveyor belt areas (pixel value is 0), so the mean difference between the template image and the current video is very small. Therefore, the improved NCC algorithm is used, and formula (11) is used to calculate the grayscale correlation of the two images:

[0095] (11)

[0096] Since the template image and the current video in this study are rectified at the same size when they are stitched together, the widths of the two images are the same. When searching for matching points, it is only necessary to perform top-down matching within a certain range of the template image based on the rough positioning of the code disk to obtain the matching result.

[0097] After the image matching is successful, the program will feedback a position information, which is the position information of the first element in the upper left corner of the conveyor belt status video on the template image. Using this position information, according to the size of the conveyor belt status video, a red border appears on the conveyor belt template image to indicate the corresponding position of the status video.

[0098] Because there is a certain probability that the initial surface state of the conveyor belt is a feature area formed by easily detached objects such as dirt and stains, this part of the area may fall off as the conveyor belt system operates normally, resulting in such feature areas having feature areas on the conveyor belt template image but not on the current status video.

[0099] Therefore, when processing the corresponding feature positions of the current video and the template image, only the feature areas added by the current video need to be retained, and other feature areas are not retained. When comparing the current video of the conveyor belt with the template image, using simple AND or OR operations cannot achieve the required effect.

[0100] This study adopts a method of subtracting the corresponding positions of the current video and the template image, retaining the [0,1] part of the subtraction result and discarding the other results. This method can effectively retain the newly added conveyor belt surface feature area in the current video.

[0101] Area determination: When the conveyor belt system is operating normally, dirt, stains, conveyor belt joints, small patches and other objects may adhere to the surface of the conveyor belt, affecting the continuity of the red laser line and causing spots and small-area feature lines in the conveyor belt status video. Since the area of ​​these feature points is too small, they are not considered to be longitudinal tears. Therefore, before judging the tearing situation, it is necessary to filter out these feature positions with smaller areas using the area filtering method. The threshold of the area filter is set to Tm. Areas smaller than Tm are filtered out, while areas larger than Tm are retained.

[0102] Implementation method of area filtering:

[0103] 1. Use the morphological labeling algorithm to identify the binary image with the conveyor belt surface features. Perform 8-neighborhood calibration, mark each feature area with different gray levels in the order of positive integers, and set the number of marked areas to be q, then the maximum gray level of the marked area is q;

[0104] 2. Calculate the number of gray levels to calculate the area of ​​each feature area size;

[0105] 3. When the area of ​​the feature region When it is smaller than the preset area critical threshold Tm, the corresponding gray level is cleared.

[0106] In this way, the effect of area filtering can be achieved. It can be seen that area filtering can effectively filter out targets with smaller areas in binary images, so the algorithm also has a good filtering effect on the current video representing the surface features of the conveyor belt.

[0107] Length determination. After area filtering, the newly added feature areas with smaller areas in the current video are excluded. What remains is the newly added feature areas with large enough areas. However, this feature area may be a conveyor belt joint, a horizontal patch, etc. In order to eliminate the misjudgment of tearing caused by this situation, it is necessary to perform length filtering detection on the newly added feature areas with larger areas in the current video after area filtering.

[0108] The length filtering method is similar to the area filtering method, except that the area calculation of the middle part is changed to the length calculation, and the threshold Tm of the area filtering is changed to the threshold Tl of the length filtering.

[0109] Implementation method of length filtering:

[0110] 1Use morphological labeling algorithm to identify the binary image with conveyor belt surface features Perform 8-neighborhood calibration, mark each feature area with different gray levels in the order of positive integers, and set the number of marked areas to be q, then the maximum gray level of the marked area is q;

[0111] 2. Find the maximum and minimum points of each gray level in the vertical direction. Their difference b is the length of the feature area in the vertical direction;

[0112] 3. When the feature region length b is smaller than the preset length critical threshold T1, the corresponding gray level is cleared.

[0113] After the length filtering is completed, what remains in the newly added feature region map are the feature regions that meet the tearing conditions in terms of both area and length. However, in order to make the tearing determination more accurate, it is also necessary to determine the tilt angle of the image.

[0114] Tilt angle determination. According to the experience of several senior maintenance workers in the actual application of mine conveyor belt systems, when a conveyor belt fails longitudinally, the tear angle will be between 80 and 100 degrees. After the area and length determination, the area in the newly added feature image whose area and length meet the longitudinal tear characteristics are retained. At this time, the tilt angle of the remaining feature area still needs to be detected and determined. If the slope of the feature area after linear fitting is within and The angle between When the value is between 80 and 100, it can be considered that longitudinal tearing has occurred.

[0115] The method for determining the tilt angle is as follows:

[0116] 1. Use the morphological marking algorithm to perform 8-neighborhood calibration on the image after the area and length of the newly added surface features are determined, and mark each feature area with different gray levels;

[0117] 2. Perform straight line fitting for each gray level and find their point slope equations , where k is the slope of the line, and then the inclination angle is calculated using formula (12): ;

[0118] (12)

[0119] 3. Tilt angle The area between [80,100] meets the longitudinal tearing characteristics and is retained. Feature areas that are not within this range are eliminated.

[0120] After comprehensive application of the three determination methods of area, length and inclination angle, those that meet all three characteristic conditions are identified as tearing features, and it can be determined that longitudinal tearing has occurred, and an alarm message will be issued through the alarm.

[0121] Verification of measured data: In order to verify the feasibility of the solution, we collected simulated experimental data on a conveyor belt system temporarily built in a company's production plant, and verified the algorithm on the corresponding mathematical software in the laboratory.

[0122] The experimental results show that the template image obtained by image matching tear detection analysis on a set of conveyor belt videos is consistent with the current video. Figure 2 As shown in Figure 2, the tear test results are as follows: Figure 2 As shown in (b), the red box is the area determined to be the tearing location. Figure 2 The characteristic area shown in (a), where the blue frame is the characteristic area obtained through feature extraction after interference with the laser line caused by mud, patches, etc., the red frame is the characteristic area caused by cracks, and the green frame is the characteristic position caused by the conveyor belt patch. The characteristic image is matched and compared with the template image to exclude the original characteristic area of ​​the conveyor belt in the initial state. After using the area, length, inclination angle and other judgment methods to exclude the interference caused by newly added small pieces of mud and stains, the remaining characteristic area is the location where the longitudinal tear occurred.

[0123] The present invention describes a conveyor belt longitudinal tear detection system and method based on image matching, which illustrates the superiority of the improved algorithm and the effectiveness of the method through specific experimental data. It better solves the interference problem caused by conveyor belt patches, joints, and soil on the single image tear fault identification, effectively improves the accuracy of conveyor belt tear detection results, and has great significance in the field of machine vision and image processing.

[0124] The present invention is not limited to the above-mentioned specific implementation modes. Various changes made by ordinary technicians in this field based on the above-mentioned concepts without creative work are all within the protection scope of the present invention.

Claims

1. A detection method for a conveyor belt longitudinal tear detection system based on image matching, characterized in that: The following steps are involved: S1: Use a red laser generator to emit a red laser line as an auxiliary laser source, and use a high-speed CCD camera combined with the red laser line to extract continuous video of the normal operation of the conveyor belt through the CCD camera; S2: The continuous video captured by the CCD camera is transmitted to the computer processing software for video processing. When no tearing occurs, the red laser line is a continuous curve, while at the tearing location, the red laser line will have discontinuous breakpoints. After video processing, a current status video with the surface characteristics of the initial state of the conveyor belt is obtained. After the tearing is determined, the current status video of the next section of the conveyor belt is obtained for dynamic update; S3: Compare the current status video with the template image formed when the conveyor belt runs one circle in the initial state after routine maintenance. After obtaining the template image and the current status comparison image of the conveyor belt surface features, it is necessary to use the image matching algorithm to accurately locate the current status video of the conveyor belt on the template image, and then analyze the feature differences between the current status video and the template image, and finally analyze whether these differences indicate that longitudinal tearing has occurred; The video processing in S2 includes the following steps: Step 1: Extract a single-frame conveyor belt cross-section feature image from the continuous video of the normal operation of the conveyor belt captured by the CCD camera, and then perform RGV grayscale processing on each frame of the conveyor belt cross-section feature image; Step 2: Perform noise reduction processing on the single-frame conveyor belt cross-section feature image after RGV grayscale processing in step 1, and the noise reduction processing adopts a weighted fast median filtering algorithm; Step 3: Use the automatic threshold optimization region segmentation algorithm to segment the conveyor belt cross-section characteristic curve region on the video processed in step 2; Step 4: Remove the background image from the video in step 3; Step 5: After removing the conveyor belt background, perform segmented slope curve correction on the conveyor belt cross-section characteristic curve; Step 6: stitching and correction of the conveyor belt surface feature images. The stitching correction includes jitter correction and size correction. Then, an image stitching algorithm is used to stitch each frame of the image to obtain a current status video with the surface features of the conveyor belt in its initial state. Step 7: After the tear is determined, the current status video of the next conveyor belt is obtained for dynamic update; The template image generation step includes using a code disc for positioning after routine maintenance of the conveyor belt system, collecting a video of the conveyor belt in an initial state when it is unloaded for one turn, and performing RGV grayscale conversion, weighted fast median filtering, an automatic threshold optimization region segmentation algorithm, background removal, jitter correction, and size correction on each frame of the image, and finally splicing the video into a template image having the surface features of the conveyor belt in the initial state; The process of comparing the current video with the template image includes the following steps: performing graphic matching on the current video in the template image, finding the surface features of the initial state of the conveyor belt corresponding to the current video, and determining which feature areas in the current video are newly added areas, performing area filtering on the newly added areas, excluding areas with smaller areas in the newly added areas, and performing length filtering detection on the remaining newly added areas. If the length of the newly added feature areas exceeds the tear alarm threshold set in advance, it can be determined that the conveyor belt has been longitudinally torn, and the current video is positioned using the encoder, and an alarm message is issued through the alarm; The graphic matching adopts an improved normalized cross-correlation matching algorithm; A conveyor belt longitudinal tear detection system based on image matching, comprising a conveyor belt and a tear detection system, characterized in that the tear detection system comprises a laser generator, a CCD camera, an alarm, and computer processing software, the laser generator is obliquely arranged below the conveyor belt, the laser line irradiated by the laser generator is perpendicular to the running direction of the conveyor belt, the CCD camera is arranged below the conveyor belt to capture the laser line, the CCD camera signal is connected to the computer processing software, and the computer processing software signal is connected to the alarm; The implementation method of the area filter is as follows: (1) using a morphological labeling algorithm to identify the binary image with the surface features of the conveyor belt. Perform 8-neighborhood calibration and mark each feature region with different gray levels in the order of positive integers. Let the number of marked regions be q, and the maximum gray level of the marked region be q; (2) Calculate the number of each gray level, and thus calculate the area sr of each feature region; (3) When the area sr of the feature region is smaller than the preset area critical threshold Tm, clear the corresponding gray level; Implementation method of length filter detection: (1) Use morphological marking algorithm to detect the binary image with conveyor belt surface features. Perform 8-neighborhood calibration and mark each feature region with different grayscale levels in the order of positive integers. Let the number of marked regions be q, and the maximum grayscale level of the marked region is q; (2) Find the maximum and minimum points of each grayscale level in the vertical direction, and their difference b is the length of the feature region in the vertical direction; (3) When the length b of the feature region is smaller than the preset length critical threshold Tl, clear the corresponding grayscale level; The standard for determining whether the conveyor belt has been longitudinally torn is increased by the inclination angle determination. The inclination angle determination is added after the length filter detection. The method for determining the inclination angle is as follows: (1) Using a morphological marking algorithm, the image of the newly added surface features after area and length determination is calibrated in 8 neighborhoods, and each feature area is marked as a different grayscale level; (2) Straight line fitting is performed on each grayscale level to obtain their point slope equations , where k is the slope of the line, and then through the formula Find the tilt angle (3) The inclination angle a between [80,100] meets the longitudinal tearing characteristics and is retained. Feature areas that are not within this range are eliminated; The size correction adopts image scaling processing, and the scaling method adopts bilinear interpolation.

Citation Information

Cited By

  • Conveying belt longitudinal tearing monitoring system based on laser visual inspection

    CN122464228A

  • Conveyor Belt Longitudinal Tear Monitoring System Based on Laser Vision Inspection

    CN122464228B