A visual detection component and detection method of a bag delivery machine
Through the charter visual inspection components and grayscale symbiosis matrix image detection method, the problem of inaccurate cutting of the charter is solved, and more efficient detection and cutting quality control is achieved, ensuring the accuracy and quality of the discharge process.
Patent Information
- Application Number
- CN202410132147.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-30
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-01-30
AI Technical Summary
The existing charter machines are easily cut to the packing filler during the discharge process, affecting the normal packing processing and production process.
A visual inspection component of the charter machine is designed, and the detection camera and grayscale symbiosis matrix image detection method are used to ensure the quality of the cutting through median filtering and binarization.
Through the combination of visual inspection components and cutting components, the grayscale relationship of the detection area is judged using the grayscale symbiosis matrix, which improves the judgment accuracy and detection quality, ensuring the accuracy and quality of the discharge process.
Smart Images

Figure CN118149712B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of visual detection of a bag delivery machine, and specifically refers to a visual detection component of a bag delivery machine and a detection method thereof. Background Art
[0002] The bagging machine is a kind of equipment used to package products. It plays a key role in ensuring product quality and meeting different packaging requirements. In the food, beverage, medicine, cosmetics and other industries, bagging machines are widely used to meet the growing market demand.
[0003] With the continuous advancement of automation and digitalization technology, bag-dropping machines have become more intelligent. Modern bag-dropping machines are usually equipped with advanced sensors, control systems and human-machine interfaces, which can achieve a higher degree of automation and precise control. The development of bag-dropping machines has made significant progress in improving production efficiency, reducing costs, reducing waste and adapting to market changes. The continuous evolution of technology will continue to drive innovation in this field to meet the ever-changing packaging needs and industry standards.
[0004] However, the current bag throwing machine has the following problems when in use: the existing bag throwing machine often cuts into the bag filler during the material feeding process, which in turn affects the normal bag processing and production process. Summary of the invention
[0005] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a visual inspection component and a detection method for a bag delivery machine. By designing a visual inspection component and using a detection camera for detection, an image detection method is designed based on the grayscale co-occurrence matrix to ensure the quality of material cutting.
[0006] The technical solution adopted by the present invention is as follows: The present invention provides a visual detection component of a bag-dropping machine and a detection method thereof, comprising an external frame, a conveying component is installed on the external frame, a material blanking bag is installed on the conveying component, a visual detection component is provided at one end of the conveying component for material blanking detection of the bag-dropping machine, and a material blanking cutting component is also provided on the external frame.
[0007] Furthermore, the visual inspection component includes a detection camera mounted on the outer frame, a transparent block is provided on the adjacent side of the detection camera, the transparent block is made of transparent material, a light source is installed on one side of the transparent block, and the detection camera is electrically connected to a host computer.
[0008] Furthermore, the unloading material package includes a material package body, a sealing block, and a detection block. The material package body and the sealing block are connected to the conveying component, and the detection block is arranged on the sealing block.
[0009] Furthermore, the width of the detection block is half of the width of the sealing block.
[0010] Furthermore, the conveying assembly includes a first guide wheel, a second guide wheel, a third guide wheel, a fourth guide wheel, a fifth guide wheel and a sixth guide wheel installed on the outer frame, and the unloading bag is connected to the first guide wheel, the second guide wheel, the third guide wheel, the fourth guide wheel, the fifth guide wheel and the sixth guide wheel.
[0011] Furthermore, the blanking and cutting assembly includes a support plate arranged on the outer frame, a cutting knife is slidably provided on the support plate, a guide plate is also provided on the support plate, a feed hole is provided on the guide plate, and the blanking bag enters the transparent block through the feed hole.
[0012] Furthermore, a visual inspection method for a bag delivery machine is provided, using a visual inspection component for a bag delivery machine, and includes the following steps:
[0013] Step 1: The blanking bag is transported to the visual inspection component through the conveying component;
[0014] Step 2: The detection camera takes a photo of the blanking bag to obtain a photo;
[0015] Step 3: The host computer converts the captured photo into a grayscale image;
[0016] Step 4: Use median filtering to denoise the grayscale image;
[0017] Step 5: The host computer performs binarization processing on the denoised image to obtain a detection area map;
[0018] Step 6: Characterize the gray level of the detection area map to ensure the accuracy of the host computer's judgment.
[0019] Furthermore, the median filtering in step 4 adopts the medfilt2 function.
[0020] Furthermore, the gray level of the detection area map is characterized in step 6, which specifically includes the following steps:
[0021] Step 1: Extract gray-level co-occurrence matrix features;
[0022] Step 2: Calculate the sum of the areas with grayscale value 0 in the detection area sub-image;
[0023] Step 3: Get the diagonal elements of the gray-level co-occurrence matrix to reflect the gray-level relationship between adjacent pixels.
[0024] The beneficial effects achieved by the present invention using the above structure are as follows:
[0025] (1) This solution provides a visual inspection component for a bag delivery machine. By designing a material cutting component combined with a visual inspection component, the material cutting component can be controlled to perform cutting based on visual inspection, and the grayscale relationship of the inspection area can be judged based on a grayscale co-occurrence matrix to further ensure the accuracy of the judgment.
[0026] (2) This solution provides a visual inspection component for a bag delivery machine, which can efficiently perform image inspection on the bag delivery machine through median filtering combined with binarization processing to ensure the inspection quality.
[0027] (3) The scheme provides a visual inspection component for a bag-dropping machine, which can ensure the accurate transmission of the bag-dropping process and the quality of the bag-dropping process by designing multiple sets of guide wheels. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The overall structure diagram of a visual detection component of a bag delivery machine provided by the present invention;
[0029] Figure 2 An assembly diagram of a visual inspection component and a transmission component of a bag delivery machine provided by the present invention;
[0030] Figure 3 An installation diagram of the visual detection assembly provided by the present invention;
[0031] Figure 4 The guide plate installation structure diagram provided by the present invention
[0032] Figure 5 A structural diagram of the blanking package provided by the present invention;
[0033] Figure 6 The denoised image of the blanking bag and the binarized image of the blanking bag provided by the present invention;
[0034] Figure 7 This is a diagonal element diagram of the gray-level co-occurrence matrix provided by the present invention.
[0035] Among them, 1. outer frame, 2. conveying component, 201. first guide wheel, 202. second guide wheel, 203. third guide wheel, 204. fourth guide wheel, 205. fifth guide wheel, 206. sixth guide wheel, 3. material unloading bag, 301. material bag body, 302. sealing block, 303. detection block, 4. visual detection component, 401. detection camera, 402. transparent block, 403. light source, 5. material unloading and cutting component, 501. support plate, 502. cutting knife, 503. guide plate, 504. feeding hole.
[0036] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION
[0037] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0038] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention. Specific embodiment:
[0040] Overall structure:
[0041] like Figure 1-Figure 3 As shown, the present invention provides a visual inspection component for a bag-dropping machine, comprising an outer frame 1, on which a conveying component 2 is mounted, on which a material discharge bag 3 is mounted, and at one end of the conveying component 2 a visual inspection component 4 is provided for material discharge inspection of the bag-dropping machine, and a material discharge cutting component 5 is also provided on the outer frame 1.
[0042] Visual inspection component structure:
[0043] like Figure 1-Figure 3 As shown, the present invention provides a visual detection component for a bag delivery machine, the visual detection component 4 includes a detection camera 401 mounted on the outer frame 1, a transparent block 402 is provided on the adjacent side of the detection camera 401, the transparent block 402 is made of transparent material, a light source 403 is provided on one side of the transparent block 402, the detection camera 401 is electrically connected to a host computer, and the host computer is electrically connected to an alarm device.
[0044] Blanking bag structure:
[0045] like Figure 5 As shown, the present invention provides a visual inspection component for a bag delivery machine, wherein the material bag 3 includes a material bag body 301, a sealing block 302, and a detection block 303, the material bag body 301 and the sealing block 302 are connected to the conveying component 2, and the detection block 303 is arranged on the sealing block 302.
[0046] More specifically, if Figure 5 As shown, Figure 5(a) is a structural diagram of a single independent blanking package 3, Figure 5 (b) is the connection structure diagram of the blanking package 3.
[0047] More specifically, in the visual inspection component of a bag delivery machine provided by the present invention, the width of the inspection block 303 is half of the width of the sealing block 302 .
[0048] Transmission component structure:
[0049] like Figure 1 and Figure 2 As shown, the present invention provides a visual detection component for a bag delivery machine, wherein the conveying component 2 includes a first guide wheel 201, a second guide wheel 202, a third guide wheel 203, a fourth guide wheel 204, a fifth guide wheel 205 and a sixth guide wheel 206 mounted on the outer frame 1, and the unloading bag 3 is connected to the first guide wheel 201, the second guide wheel 202, the third guide wheel 203, the fourth guide wheel 204, the fifth guide wheel 205 and the sixth guide wheel 206.
[0050] Cutting component structure:
[0051] like Figure 1-Figure 4 As shown, the present invention provides a visual inspection component for a bag delivery machine, wherein the blanking and cutting component 5 includes a support plate 501 arranged on the outer frame 1, a cutting knife 502 is slidably provided on the support plate 501, a guide plate 503 is also provided on the support plate 501, a feed hole 504 is provided on the guide plate 503, and the blanking bag 3 enters into the transparent block 402 through the feed hole 504.
[0052] A visual inspection method for a bag delivery machine, using a visual inspection component for a bag delivery machine according to any one of claims 1 to 5, characterized in that it comprises the following steps:
[0053] Step 1: The blanking bag 3 is transported to the visual inspection component 4 through the conveying component 2;
[0054] Step 2: The detection camera 401 takes a picture of the blanking bag to obtain a picture;
[0055] Step 3: The host computer converts the captured photo into a grayscale image;
[0056] Step 4: Use median filtering to denoise the grayscale image, such as Figure 6 As shown, the denoised image is obtained;
[0057] Step 5: The host computer performs binarization processing on the denoised image to obtain the detection area map, such as Figure 6 As shown, the binarized image is obtained;
[0058] Step 6: Characterize the gray level of the detection area map to ensure the accuracy of the host computer judgment, such as Figure 7 As shown in the figure, the diagonal element diagram of the gray level co-occurrence matrix is obtained. The diagonal elements usually reflect the relationship between pixels of the same gray level in the image, that is, the frequency of adjacent pixels having the same gray level, which can be used as an image quality evaluation indicator. Figure 7 It can be seen that the element values are similar, and thus the surface quality is high, and it can be used as a detection area;
[0059] Step 7: Determine whether the detection area map meets the requirements. If not, the alarm device will sound an alarm. If it meets the requirements, the conveying component will convey the unloading bag for unloading.
[0060] More specifically, the median filtering in step 4 adopts the medfilt2 function.
[0061] More specifically, characterizing the gray level of the detection area map in step 6 specifically includes the following steps:
[0062] Step 1: Extract gray-level co-occurrence matrix features;
[0063] Step 2: Calculate the sum of the areas with grayscale value 0 in the detection area sub-image;
[0064] Step 3: Get the diagonal elements of the gray-level co-occurrence matrix to reflect the gray-level relationship between adjacent pixels.
[0065] More specifically, determining whether the detection area map meets the requirements includes the following steps:
[0066] Step 1: The host computer determines whether there are pixels with a gray value of 0 in the detection area. If not, the alarm device will sound an alarm;
[0067] Step 1: The host computer determines whether the width of the detection block in the detection area is equal to half of the width of the sealing block. If not, the alarm device will sound an alarm.
[0068] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0069] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
[0070] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.
Claims
1. A visual inspection method for a bag throwing machine, using a visual inspection component for the bag throwing machine, the visual inspection component for the bag throwing machine comprising an outer frame, a conveying component mounted on the outer frame, a material discharge bag mounted on the conveying component, a visual inspection component at one end of the conveying component for material discharge inspection of the bag throwing machine, and a material discharge cutting component also mounted on the outer frame; The visual inspection component includes a detection camera mounted on the outer frame, a transparent block is provided on the adjacent side of the detection camera, the transparent block is made of transparent material, a light source is provided on one side of the transparent block, the detection camera is electrically connected to a host computer, and the host computer is electrically connected to an alarm device; The unloading material bag comprises a material bag body, a sealing block, and a detection block. The material bag body and the sealing block are connected and arranged on the conveying assembly, and the detection block is arranged on the sealing block; the width of the detection block is half of the width of the sealing block; The conveying assembly comprises a first guide wheel, a second guide wheel, a third guide wheel, a fourth guide wheel, a fifth guide wheel and a sixth guide wheel mounted on the outer frame, and the unloading bag is connected to the first guide wheel, the second guide wheel, the third guide wheel, the fourth guide wheel, the fifth guide wheel and the sixth guide wheel; The blanking and cutting assembly comprises a support plate arranged on the outer frame, a cutting knife is slidably arranged on the support plate, a guide plate is also arranged on the support plate, a feed hole is arranged on the guide plate, and the blanking bag enters the transparent block through the feed hole; It is characterized in that The visual detection method of the bag delivery machine comprises the following steps: Step 1: The blanking bag is transported to the visual inspection component through the conveying component; Step 2: The detection camera takes a photo of the blanking bag to obtain a photo; Step 3: The host computer converts the captured photo into a grayscale image; Step 4: Use median filtering to denoise the grayscale image to obtain a denoised image; Step 5: The host computer performs binarization processing on the denoised image to obtain a detection area map and a binarized image; Step 6: Characterize the grayscale level of the detection area map to ensure the accuracy of the host computer judgment and obtain the diagonal element map of the grayscale co-occurrence matrix. The diagonal elements usually reflect the relationship between pixels of the same grayscale level in the image, that is, the frequency of adjacent pixels having the same grayscale level, which can be used as an image quality evaluation indicator. If the element values are similar, the surface quality is high, and it can be used as a detection area; Step 7: Determine whether the detection area map meets the requirements. If not, the alarm device will sound an alarm. If it meets the requirements, the conveying component will convey the unloading bag for unloading. The median filter in step 4 uses the medfilt2 function; The gray level of the detection area map is characterized in step 6, which specifically includes the following steps: Step 1: Extract gray-level co-occurrence matrix features; Step 2: Calculate the sum of the areas with grayscale value 0 in the detection area sub-image; Step 3: Get the diagonal elements of the gray-level co-occurrence matrix to reflect the gray-level relationship between adjacent pixels; Determining whether the detection area map meets the requirements includes the following steps: Step 1: The host computer determines whether there are pixels with a gray value of 0 in the detection area. If not, the alarm device will sound an alarm; Step 2: The host computer determines whether the width of the detection block in the detection area is equal to half of the width of the sealing block. If not, the alarm device will sound an alarm.
Citation Information
Patent Citations
Self-sealing zipper quality on-line detection method based on machine vision
CN111981990A
Visual inspection equipment for package delivery machine
CN115372372A
Automatic feeding machine for packet deoxidizer
CN215399763U