Food package detection device and method based on machine vision

By designing a device for flattening and detecting food packaging bags in the food packaging detection device, the error identification problem caused by slight wrinkles or air leakage of the packaging bag during long-distance shooting is solved, and higher detection accuracy and efficiency are achieved.

CN120155384AInactive Publication Date: 2025-06-17CHANGZHI NANDOU TECHNOLOGY CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510533400.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-26
Publication Date
2025-06-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing device that uses machine vision to detect food packaging is prone to error recognition due to slight wrinkles or air leakage in the packaging bag.

Method used

A food packaging detection device based on machine vision is designed, including two detection structures and material push structure. The detection structure flattens the food packaging bag through a hydraulic telescopic rod, flattens the wrinkles, and detects the integrity and air leakage of the packaging bag through a pressure sensor and a camera. The material push structure pushes the defective products out of the equipment according to the test results.

Benefits of technology

It effectively avoids the identification of errors and leaks caused by slight wrinkles of the packaging bag, improves the accuracy of detection, and ensures that the machine can correctly identify the leaky packaging bag, thereby improving the detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120155384A_ABST
    Figure CN120155384A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of food package detection, and particularly relates to a machine vision-based food package detection device and method.The machine vision-based food package detection device comprises a detection frame, a conveying structure is mounted on the inner side of the detection frame, and a position correcting structure is mounted on one side of the top end of the detection frame; a material pushing structure is installed on the other side of the top end of the detection frame, two detection structures are installed between the position correcting structure and the material pushing structure, and the detection structures are matched with the conveying structure; the two detection structures are arranged, during detection, wrinkles of a packaging bag can be extruded and flattened, the situation that a shot image is incomplete and the packaging bag is recognized as a defective product by a machine due to the fact that the packaging bag has slight wrinkles is avoided, during detection, the air leakage speed of the air-leakage packaging bag can be increased by extruding the food packaging bag, and therefore when the detection structures are used for detection, the detection efficiency is improved. The data obtained by the pressure transmission device for two times are obviously changed, so that the machine recognizes the air leakage packaging bag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of food packaging detection, and particularly relates to a food packaging detection device and method based on machine vision. Background Art

[0002] Existing devices for detecting food packaging using machine vision mostly focus on improving cameras and algorithms. However, in actual applications, relying solely on long-distance shooting will result in some errors and omissions. For example, if there are slight wrinkles on the packaging bag, the captured image will be incomplete and may be recognized as defective by the machine. Or, if the packaging bag has slight air leakage but the image of the packaging bag is complete, the camera cannot correctly identify this situation either. Summary of the Invention

[0003] In view of the problem that the existing detection equipment relies solely on long-distance shooting and there will be some errors and omissions, the present invention proposes the following technical solutions:

[0004] A food packaging detection device based on machine vision, comprising: a detection frame, a conveying structure is installed inside the detection frame, a position correction structure is installed on one side of the top of the detection frame, a pushing structure is installed on the other side of the top of the detection frame, and two detection structures are installed between the position correction structure and the pushing structure. The detection structure is matched with the conveying structure.

[0005] As a preference of the above technical solution, the conveying structure includes two fine-tooth rollers, and two coarse-tooth rollers are installed below the two fine-tooth rollers. A transmission toothed belt is sleeved outside the two fine-tooth rollers and the two coarse-tooth rollers.

[0006] As a preference of the above technical solution, one side of one of the coarse-tooth rollers is meshed with a broken-tooth roller. A plurality of partition plates are fixedly arranged at equal intervals on the outside of the transmission toothed belt. Two limiting folding plates are symmetrically installed on the outside of the transmission belt. The limiting folding plates are located between the corresponding fine-tooth roller and coarse-tooth roller, and one side of the limiting folding plate abuts against the outside of the transmission toothed belt.

[0007] As a preference of the above technical solution, the top of the detection frame is folded inward and fits the top of the transmission toothed belt. A misfeeding outlet is opened at the top of the detection frame.

[0008] As a preference of the above technical solution, the position correction structure includes a position correction frame. A position correction roller is rotatably connected to the position correction frame. A plurality of position correction brushes are installed at equal intervals on the outside of the position correction roller. One end of the position correction roller penetrates one side of the position correction frame, and its end is fixedly connected to a position correction motor. The rotation direction of the position correction roller is opposite to the transmission direction of the transmission toothed belt.

[0009] As a preferred embodiment of the above technical solution, the pushing structure includes a pushing cylinder, one end of which is fixedly connected to a pushing plate, one side of which extends into the material outlet, and the length of the pushing plate corresponds to the spacing distance of the partition plate, and the spacing between the pushing structure and the adjacent detection structure is the same as the spacing between the two detection structures.

[0010] As a preferred embodiment of the above technical solution, the detection structure includes a detection shell, the top of the detection shell is fixedly connected to a hydraulic telescopic rod, a diffuser is installed on the inner side of the detection shell, an explosion-proof glass is installed on the bottom end of the diffuser, brackets are fixed on both sides of the diffuser, a pressure sensor is attached to the top of the bracket, a pressure plate is attached to the top of the pressure sensor, and one side of the pressure plate is fixedly connected to the inner wall of the detection shell.

[0011] As a preferred embodiment of the above technical solution, a camera is installed above the diffuser cover, and fill lights are obliquely installed on both sides of the camera, and the fill lights are matched with the diffuser cover.

[0012] According to the above-mentioned method for using a food packaging detection device based on machine vision, the method comprises the following steps:

[0013] S1: Start the equipment to rotate the broken-tooth roller, driving the coarse-tooth roller to follow the rotation, thereby driving the transmission toothed belt together with the fine-tooth roller. At this time, the bread is transported to the transmission toothed belt after packaging and is separated by the partition plate;

[0014] S2: The bread moves along the transmission toothed belt. When it moves to the position correction structure, the position correction roller and the transmission toothed belt rotate relative to each other, thereby driving the position correction brush to move the bread, so that the bread is corrected and moved closer to the partition plate on the fitting side;

[0015] S3: The bread continues to move to the first detection structure. At this time, the broken-tooth roller rotates to the broken-tooth position, so it can no longer drive the coarse-tooth roller to rotate. The transmission belt stops moving, and the detection structure is driven downward by the hydraulic telescopic rod to press the bread packaging bag. The pressure sensor obtains data, and the camera collects the bread packaging bag information to detect whether the information is wrong or missing. After the detection is completed, the detection structure is driven upward by the hydraulic telescopic rod, and the broken-tooth roller returns to the toothed part to mesh with the coarse-tooth roller, driving the coarse-tooth roller to continue rotating;

[0016] S4: The bread continues to move to the second detection structure, repeats the step of S3, and compares the two data through an external control device;

[0017] S5: The bread continues to move to the pushing structure. When the camera detects that the information is erroneous or the data collected by the second pressure sensor is lower than the data collected by the first pressure sensor, the pushing structure will push the problematic bread out of the equipment from the wrong material outlet. If there is no problem, the pushing structure will not start and allow qualified bread to pass through.

[0018] The beneficial effects of the present invention are as follows:

[0019] (1) The present invention is provided with two detection structures. During detection, the food packaging bag can be flattened before detection, so as to flatten the folds of the packaging bag, avoiding incomplete images captured due to slight folds in the packaging bag and being recognized as defective products by the machine. Moreover, during detection, by squeezing the food packaging bag, the air leakage speed of the air-leaking packaging bag can be accelerated, so that when the detection structure conducts detection, the data obtained by the two pressure transmitters change significantly, enabling the machine to recognize the air-leaking packaging bag, which is convenient for the subsequent material pushing structure to push the defective products out of the equipment;

[0020] (2) The present invention is provided with a broken-tooth roller, enabling the transmission toothed belt to move intermittently and stop without the driving motor stopping, meeting the needs of the detection structure and avoiding the shortening of the service life of the driving motor due to frequent start-stop. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 Fig. shows the overall structural schematic diagram of the present invention;

[0022] Figure 2 Fig. shows the conveying structural schematic diagram of the present invention;

[0023] Figure 3 Fig. shows the alignment structural schematic diagram of the present invention;

[0024] Figure 4 Fig. shows the detection structural schematic diagram of the present invention;

[0025] Figure 5 Fig. shows the internal structural schematic diagram of the detection structure of the present invention;

[0026] Figure 6 Fig. shows the material pushing structural schematic diagram of the present invention.

[0027] In the figure: 1, detection frame; 101, misfeeding outlet; 2, conveying structure; 201, fine-tooth roller; 202, coarse-tooth roller; 203, transmission toothed belt; 204, broken-tooth roller; 205, partition plate; 206, limiting folding plate; 3, alignment structure; 301, alignment frame; 302, alignment roller; 303, alignment brush; 304, alignment motor; 4, material pushing structure; 401, pushing cylinder; 402, push plate; 5, detection structure; 501, detection shell; 502, hydraulic telescopic rod; 503, diffuser; 504, explosion-proof glass; 505, bracket; 506, pressure sensor; 507, pressing plate; 508, camera; 509, supplementary light. DETAILED DESCRIPTION OF THE INVENTION

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments.

[0029] Embodiment 1

[0030] A food packaging detection device based on machine vision, as Figures 1 to 6 shown, includes: a detection frame 1, a conveying structure 2 is installed inside the detection frame 1, a position correcting structure 3 is installed on one side of the top of the detection frame 1, a pushing structure 4 is installed on the other side of the top of the detection frame 1, and two detection structures 5 are installed between the position correcting structure 3 and the pushing structure 4. The detection structure 5 is matched with the conveying structure 2.

[0031] The present invention is provided with two detection structures 5, which can flatten the food packaging bag during detection and then perform detection, so as to flatten the wrinkles of the packaging bag, avoid incomplete images captured due to slight wrinkles in the packaging bag, and be recognized as defective products by the machine. Moreover, during detection, by squeezing the food packaging bag, the air leakage speed of the air leakage packaging bag can be accelerated, so that when the detection structure 5 performs detection, the data obtained by the two pressure transmitters change significantly, enabling the machine to recognize the air leakage packaging bag, which is convenient for the subsequent pushing structure 4 to push out the defective products from the device.

[0032] Referring to the attached Figure 1 and 2 , the conveying structure 2 includes two fine-tooth rollers 201, two coarse-tooth rollers 202 are installed below the two fine-tooth rollers 201, and a transmission toothed belt 203 is sleeved outside the two fine-tooth rollers 201 and the two coarse-tooth rollers 202.

[0033] In the present invention, the fine-tooth rollers 201 are arranged above to reduce the curved surface length above the transmission toothed belt 203, facilitate the linkage between the food and the external food packaging machine, and make it easier for the food to be transported onto the transmission toothed belt 203.

[0034] Referring to the attached Figure 1 and 2 , one side of one of the coarse-tooth rollers 202 is meshed with a broken-tooth roller 204. A plurality of partition plates 205 are fixedly arranged at equal intervals on the outside of the transmission toothed belt 203. Two limiting folding plates 206 are symmetrically installed on the outside of the transmission belt. The limiting folding plates 206 are located between the corresponding fine-tooth rollers 201 and coarse-tooth rollers 202, and one side of the limiting folding plates 206 abuts against the outside of the transmission toothed belt 203.

[0035] The present invention is provided with the broken-tooth roller 204, so that the transmission toothed belt 203 can intermittently move and stop without the driving motor stopping, to meet the needs of the detection structure 5 and avoid the shortening of the service life of the driving motor due to frequent start and stop.

[0036] Referring to the attached Figure 1 and2 The top end of the detection frame 1 folds inward and fits against the top end of the transmission toothed belt 203. A misfeeding outlet 101 is provided at the top end of the detection frame 1.

[0037] Refer to the attached instructions Figure 1 and 3 The alignment structure 3 includes an alignment frame 301. An alignment roller 302 is rotatably connected to the alignment frame 301. A plurality of alignment brushes 303 are equidistantly installed on the outer side of the alignment roller 302. One end of the alignment roller 302 penetrates through one side of the alignment frame 301, and an alignment motor 304 is fixedly connected to its end. The rotation direction of the alignment roller 302 is opposite to the transmission direction of the transmission toothed belt 203.

[0038] Refer to the attached instructions Figure 1 and 6 The material pushing structure 4 includes a pushing cylinder 401. A push plate 402 is fixedly connected to one end of the pushing cylinder 401. One side of the push plate 402 extends into the misfeeding outlet 101, and the length of the push plate 402 corresponds to the spacing distance between the partition plates 205. The spacing between the material pushing structure 4 and the adjacent detection structure 5 is the same as the spacing between the two detection structures 5.

[0039] The positions of the two detection structures 5 and the material pushing structure 4 of the present invention correspond to each other, so that the two detection structures 5 and the material pushing structure 4 can cooperate in movement. That is, while the detection structure 5 detects new food, the material pushing structure 4 can also be started according to the previous detection results to push out defective products from the equipment, thereby improving the detection efficiency of the machine.

[0040] Refer to the attached instructions Figure 1 、 4 and 5, the detection structure 5 includes a detection shell 501. A hydraulic telescopic rod 502 is fixedly connected to the top end of the detection shell 501. A diffuser 503 is installed inside the detection shell 501. An explosion-proof glass 504 is installed at the bottom end of the diffuser 503. Brackets 505 are fixedly provided on both sides of the diffuser 503. A pressure sensor 506 is attached to the top end of the bracket 505. A pressing plate 507 is attached to the top end of the pressure sensor 506. One side of the pressing plate 507 is fixedly connected to the inner wall of the detection shell 501. A camera 508 is installed above the diffuser 503. Fill lights 509 are obliquely installed on both sides of the camera 508, and the fill lights 509 match the diffuser 503.

[0041] When the present invention is in use, the hydraulic telescopic rod 502 drives the detection shell 501 to descend, so that the diffuser 503 drives the explosion-proof glass 504 to press down on the food packaging bag. At this time, the food packaging bag is squeezed and the wrinkles are flattened. The pressure sensor 506 obtains data, and at the same time, the fill light 509 is turned on for fill light, so that the camera 508 can better capture the pattern information on the food packaging bag.

[0042] According to the above-mentioned method for using a food packaging detection device based on machine vision, the method comprises the following steps:

[0043] S1: Start the equipment to rotate the broken tooth roller 204, driving the coarse tooth roller 202 to rotate accordingly, thereby driving the transmission tooth belt 203 together with the fine tooth roller 201. At this time, the bread is transported to the transmission tooth belt 203 after packaging and separated by the partition plate 205;

[0044] S2: The bread moves along the transmission toothed belt 203. When it moves to the position correcting structure 3, the position correcting roller 302 and the transmission toothed belt 203 rotate relative to each other, thereby driving the position correcting brush 303 to move the bread, so that the bread is corrected and moves closer to the partition plate 205 on the bonding side.

[0045] S3: The bread continues to move to the first detection structure 5. At this time, the broken-tooth roller 204 rotates to the broken-tooth position, so it can no longer drive the coarse-tooth roller 202 to rotate. The transmission toothed belt 203 stops moving. At the same time, the detection structure 5 is driven by the hydraulic telescopic rod 502 to move downward, pressing the bread packaging bag. The pressure sensor 506 obtains data. At the same time, the camera 508 collects the bread packaging bag information to detect whether the information is wrong or missing. After the detection is completed, the detection structure 5 is driven by the hydraulic telescopic rod 502 to move upward. At the same time, the broken-tooth roller 204 returns to the toothed part and meshes with the coarse-tooth roller 202, driving the coarse-tooth roller 202 to continue rotating.

[0046] S4: The bread continues to move to the second detection structure 5, repeats the step of S3, and compares the two data through the external control device;

[0047] S5: The bread continues to move to the pushing structure 4. When the camera detects that the information is erroneous or the data collected by the second pressure sensor 506 is lower than the data collected by the first pressure sensor 506, the pushing structure 4 will push the problematic bread out of the device from the wrong material outlet 101. If there is no problem, the pushing structure 4 will not start and allow qualified bread to pass through.

[0048] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them.

Claims

1. A food packaging detection device based on machine vision, characterized in that: include: A detection frame (1), wherein a conveying structure (2) is installed on the inner side of the detection frame (1), a positioning structure (3) is installed on one side of the top of the detection frame (1), and a material pushing structure (4) is installed on the other side of the top of the detection frame (1), and two detection structures (5) are installed between the positioning structure (3) and the material pushing structure (4), and the detection structures (5) match the conveying structure (2).

2. The food packaging detection device based on machine vision according to claim 1, characterized in that: The conveying structure (2) comprises two fine-toothed rollers (201), two coarse-toothed rollers (202) are installed below the two fine-toothed rollers (201), and transmission toothed belts (203) are sleeved on the outer sides of the two fine-toothed rollers (201) and the two coarse-toothed rollers (202).

3. The food packaging detection device based on machine vision according to claim 2, characterized in that: One side of one of the coarse-toothed rollers (202) is meshedly connected with a broken-toothed roller (204); a plurality of partition plates (205) are fixedly provided at equal intervals on the outer side of the transmission toothed belt (203); two limiting folding plates (206) are symmetrically installed on the outer side of the transmission belt; the limiting folding plates (206) are located between the corresponding fine-toothed roller (201) and the coarse-toothed roller (202); and one side of the limiting folding plates (206) abuts against the outer side of the transmission toothed belt (203).

4. The food packaging detection device based on machine vision according to claim 2, characterized in that: The top end of the detection frame (1) is folded inwards and fits the top end of the transmission toothed belt (203). The top end of the detection frame (1) is provided with a material error outlet (101).

5. The food packaging detection device based on machine vision according to claim 2, characterized in that: The positioning correction structure (3) comprises a positioning correction frame (301), a positioning correction roller (302) is rotatably connected to the positioning correction frame (301), a plurality of positioning correction brushes (303) are evenly spacedly installed on the outer side of the positioning correction roller (302), one end of the positioning correction roller (302) is inserted into one side of the positioning correction frame (301), and a positioning correction motor (304) is fixedly connected to the end thereof, and the rotation direction of the positioning correction roller (302) is opposite to the transmission direction of the transmission toothed belt (203).

6. The food packaging detection device based on machine vision according to claim 2, characterized in that: The pushing structure (4) comprises a pushing cylinder (401), one end of which is fixedly connected to a pushing plate (402), one side of which extends to a material outlet (101), and the length of the pushing plate (402) corresponds to the spacing distance of the partition plate (205), and the spacing between the pushing structure (4) and the adjacent detection structure (5) is the same as the spacing between the two detection structures (5).

7. The food packaging detection device based on machine vision according to claim 2, characterized in that: The detection structure (5) comprises a detection shell (501), the top end of the detection shell (501) is fixedly connected to a hydraulic telescopic rod (502), a diffuser cover (503) is installed on the inner side of the detection shell (501), an explosion-proof glass (504) is installed on the bottom end of the diffuser cover (503), brackets (505) are fixedly provided on both sides of the diffuser cover (503), a pressure sensor (506) is attached to the top end of the bracket (505), a pressure plate (507) is attached to the top end of the pressure sensor (506), and one side of the pressure plate (507) is fixedly connected to the inner wall of the detection shell (501).

8. The food packaging detection device based on machine vision according to claim 2, characterized in that: A camera (508) is installed above the light diffuser (503), and fill-in lights (509) are obliquely installed on both sides of the camera (508), and the fill-in lights (509) match the light diffuser (503).

9. A method for using a food packaging detection device based on machine vision according to any one of claims 1 to 8, characterized in that: The method comprises the following steps: S1: starting the equipment, causing the broken-tooth roller (204) to rotate, driving the coarse-tooth roller (202) to rotate accordingly, thereby driving the transmission toothed belt (203) together with the fine-tooth roller (201), and at this time, the bread is transported to the transmission toothed belt (203) after packaging and is separated by the partition plate (205); S2: The bread moves along the transmission toothed belt (203). When the bread moves to the position correcting structure (3), the position correcting roller (302) and the transmission toothed belt (203) rotate relative to each other, thereby driving the position correcting brush (303) to move the bread, so that the bread is corrected and moves closer to the partition plate (205) on the bonding side; S3: The bread continues to move to the first detection structure (5). At this time, the broken-tooth roller (204) rotates to the broken-tooth position and is therefore unable to continue to drive the coarse-tooth roller (202) to rotate. The transmission toothed belt (203) stops moving. At the same time, the detection structure (5) is driven downward by the hydraulic telescopic rod (502) to press the bread packaging bag. The pressure sensor (506) then obtains data. At the same time, the camera (508) collects information about the bread packaging bag to detect whether the information is wrong or missing. After the detection is completed, the detection structure (5) is driven upward by the hydraulic telescopic rod (502). At the same time, the broken-tooth roller (204) returns to the toothed part and meshes with the coarse-tooth roller (202), driving the coarse-tooth roller (202) to continue rotating. S4: The bread continues to move to the second detection structure (5), and the steps of S3 are repeated, and the two data are compared through an external control device; S5: The bread continues to move to the pushing structure (4). When the camera detects that the information is erroneous or the data collected by the second pressure sensor (506) is lower than the data collected by the first pressure sensor (506), the pushing structure (4) will push the problematic bread out of the device from the wrong material outlet (101). If there is no problem, the pushing structure (4) will not start and allow qualified bread to pass through.

Citation Information

Cited By

  • Food production line package sealing detection device and method based on differential pressure method

    CN120685268A