Food packaging quality visual inspection device and method thereof

By using two sets of CCD detection units and a roller rubbing mechanism in the visual inspection device for food packaging quality, the problem that existing equipment can only inspect one side is solved, achieving efficient and accurate food packaging inspection and ensuring the integrity and accuracy of the inspection.

CN122141963APending Publication Date: 2026-06-05SHANDONG YOUPAI INTELLIGENT EQUIPMENT TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHANDONG YOUPAI INTELLIGENT EQUIPMENT TECHNOLOGY CO LTD
Filing Date
2026-03-25
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing CCD vision inspection equipment can only perform single-sided inspection, which cannot accurately determine whether food packaging is leaking oil. Furthermore, oil stains easily adhere to the transfer equipment, interfering with the photographic judgment and leading to inspection difficulties and inaccuracies.

Method used

A visual inspection device for food packaging quality was designed, which uses two sets of CCD detection units and a roller wiping mechanism. The first CCD detection is performed to determine whether there is material trapped in the seal. If there is no material trapped, the oil stains are recorded. The oil stains are then wiped off by the roller wiping mechanism before the second CCD detection is performed, ensuring the accuracy and efficiency of the detection.

Benefits of technology

It enables efficient and accurate detection of food packaging leaks and gaps without the need for flipping, ensuring safe and orderly food production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122141963A_ABST
    Figure CN122141963A_ABST
Patent Text Reader

Abstract

The application discloses a food packaging quality visual detection device and method thereof, which comprises a cabinet, a conveying unit, a guide mechanism, two groups of detection units and a roller wiping mechanism. A workbench is arranged at the top of the cabinet. The conveying unit is arranged above the workbench. The guide mechanism is detachably connected to the top of the workbench. Each group of detection units is composed of a CCD detection mechanism and a light supplement mechanism. A plurality of CCD detection mechanisms and a plurality of light supplement mechanisms are detachably connected to the top of the workbench. The roller wiping mechanism is detachably connected to the side wall of the conveying unit and suspended above the conveying unit, and is arranged between the two groups of detection units. Through twice detection and once roller wiping operation, whether the food packaging has material leakage and whether the food packaging has pores can be accurately obtained, and the detection operation can be completed at one time without increasing the turning operation. Under the arrangement, the food packaging detection and judgment can be more efficient and accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of CCD inspection equipment, and in particular to a visual inspection device and method for food packaging quality. Background Technology

[0002] In the packaging and production process of some oily foods, plastic sealing is used for packaging, that is, the food is sealed in a fixed quantity. In order to ensure product quality, the food after plastic sealing needs to be inspected to confirm that the food is sealed tightly and there is no leakage of oil or material.

[0003] Existing methods for detecting leaks in food packaging rely on CCD vision inspection equipment. When the product passes under the CCD detection unit, the system captures an image of the food surface, which is then processed by a processing unit to check for oil stains and material residue at the seal, thus determining the packaging's quality. However, current video packaging inspection methods rely on conveyor belts for transport, limiting CCD image detection to only one side of the outer packaging. To confirm complete inspection, the packaging must be flipped over, making implementation difficult. Furthermore, existing methods only detect material residue at the seal; if there are no small leaks, image detection alone is insufficient. Additionally, oil stains from leaking packaging can adhere to the transport equipment during transport, further interfering with image analysis. Therefore, this solution proposes a visual inspection device and method for food packaging quality to address these issues. Summary of the Invention

[0004] The purpose of this invention is to provide a visual inspection device and method for food packaging quality, so as to solve the problems mentioned in the background art.

[0005] To achieve the above objectives, the present invention provides the following technical solution: a visual inspection device for food packaging quality, comprising:

[0006] The server rack has a workbench at the top, and the workbench is covered by an isolation cover;

[0007] A conveying unit is disposed above the workbench, with both ends penetrating through both sides of the isolation cover. The side walls of the conveying unit are provided with a support structure.

[0008] A guiding mechanism, detachably connected to the top of the workbench, is used to guide the food to be tested as it is conveyed at the top of the conveying unit; it also includes:

[0009] Two sets of detection units, each set of detection units consists of a CCD detection mechanism and a supplementary lighting mechanism. Multiple CCD detection mechanisms and multiple supplementary lighting mechanisms can be detachably connected to the top of the worktable. The CCD detection mechanisms and supplementary lighting mechanisms in the same set are symmetrically arranged along the conveying direction of the conveying unit.

[0010] The roller rubbing mechanism is detachably connected to the side wall of the conveying unit and suspended above the conveying unit. The roller rubbing mechanism is set between two sets of detection units. The food to be detected is rubbed by the roller rubbing mechanism after passing through the first set of detection units and then detected by the second set of detection units.

[0011] Preferably, the side wall of the conveying unit is provided with a protective plate structure, and a drive motor is provided at the protective plate structure. The output end of the drive motor passes through the protective plate structure and is connected to the conveying unit for transmission.

[0012] Preferably, the support structure includes:

[0013] A fixed support plate is fixedly connected to the top of the workbench;

[0014] Multiple diagonal braces, one end of which is fixedly connected to both ends of the fixed support plate, and the other end of which is detachably connected to the side wall of the conveying unit.

[0015] Preferably, the guiding mechanism includes:

[0016] A first mounting plate is detachably connected to the top of the workbench, and a first adjusting support rod is fixedly connected to the top of the first mounting plate.

[0017] The first connecting sleeve is slidably sleeved on the wall of the first adjusting strut;

[0018] The second connecting sleeve is fixedly connected to the outer wall of the first connecting sleeve, and a second adjusting support rod is inserted through the middle of the second connecting sleeve;

[0019] The guide plate is fixedly connected to one end of the second adjusting support rod and suspended at the top of the conveying unit.

[0020] Preferably, the CCD detection mechanism includes:

[0021] A fixing bar is detachably and adjustablely connected to the top of the worktable, and a support bar is fixedly connected to the top of the fixing bar;

[0022] A connecting sleeve is slidably fitted onto the outer wall of the support bar, and a ball-head handle structure is fixedly connected to the outer wall of the connecting sleeve.

[0023] The ball-shaped bowl structure is rotatably fitted onto the outer wall of the ball-shaped handle structure. A CCD camera is fixedly connected to the outer wall of the ball-shaped bowl structure. The CCD camera uses supplementary lighting from the supplementary lighting mechanism to photograph the food being conveyed at the top of the conveying unit.

[0024] Preferably, the supplementary lighting mechanism includes:

[0025] The second mounting plate is detachably connected to the top of the workbench, and a third adjusting support rod is fixedly connected to the top of the second mounting plate.

[0026] The third connecting sleeve is slidably sleeved on the top end of the third adjusting support rod, and a placement plate is fixedly connected to the outer wall of the third connecting sleeve;

[0027] A supplementary light is fixedly connected to the side of the placement plate away from the third connecting sleeve.

[0028] Preferably, the roller wiping mechanism includes:

[0029] A storage box, wherein a support plate is fixedly connected to the side wall of the storage box, and the end of the support plate away from the storage box is detachably connected to the side wall of the conveying unit.

[0030] A roller rubbing block is rotatably inserted into the storage box, with more than half of its portion extending through the bottom of the storage box. The roller rubbing block is suspended at the top of the conveying unit.

[0031] An oil-absorbing block is disposed on the inner top wall of the storage box. An oil-wiping cloth is disposed on the side of the oil-absorbing block away from the storage box, and the oil-wiping cloth is in contact with the outer wall of the roller wiping block.

[0032] Preferably, the area near the outer wall of the roller rubbing block is provided with multiple through grooves to form multiple sets of compressible elastic structures. A support rotating rod is fixedly connected to the middle of the roller rubbing block. The support rotating rod rotatably inserts into the connection between the support rotating rod and the storage box and the support connecting plate. A bearing is provided at the insertion point of the support rotating rod into the storage box or the support connecting plate.

[0033] A detection method using a visual inspection device for food packaging quality, comprising the following steps:

[0034] The first step is to start and adjust the multiple CCD detection mechanisms and multiple supplementary lighting mechanisms of the two sets of detection units, and match the supplementary lighting mechanism and CCD detection mechanism of each set of detection units.

[0035] The second step is to periodically stop the machine to clean or replace the oil-absorbing blocks and wiping cloths of the roller wiping mechanism;

[0036] The third step is to start the conveyor unit to transport the food, and then transfer the food to be tested to the top of the conveyor unit without overlapping.

[0037] The fourth step involves sequentially performing a first CCD inspection, a roller-squeezing process, and a second CCD inspection on the food conveyed at the top of the conveyor unit, and then classifying the products based on the inspection results.

[0038] Preferably, the fourth step of the detection operation specifically includes the following steps:

[0039] S1. Perform the first CCD inspection to determine if the food packaging seal is jammed with goods. If the packaging seal is jammed with goods, it is directly judged as an NG product. If the packaging seal is not jammed with goods, determine if there is oil on the packaging surface. If there is no oil, record that there is no oil and proceed to the next step. If there is oil, record the area and concentration of oil stains and proceed to the next step.

[0040] S2, after the first CCD detection, the food passes under the roller wiping block under the conveying unit. The roller wiping block rolls and presses the surface of the food packaging, and after rotating through squeezing and friction, it works with the wiping cloth to wipe the surface.

[0041] S3, the food subjected to roller pressing undergoes a second CCD inspection;

[0042] S4. Let X be the maximum concentration of oil stains adhering to the surface after roller pressing. Based on the results of the second CCD detection and the first CCD detection, classify the products, including the following classifications.

[0043] If the first CCD detection record shows no oil stains, but the second CCD detection shows oil stains, then calculate the oil stain concentration of the second CCD detection. If the oil stain concentration of the second CCD detection is greater than X, then it is judged as NG product; otherwise, it is marked as qualified product that needs to be cleaned.

[0044] If no oil stains are found in either of the two CCD tests, the product is marked as qualified.

[0045] If oil stains are detected in both CCD tests, and the oil stain concentration in the second CCD test is less than or equal to the oil stain concentration in the first CCD test, then the product is marked as qualified and needs to be cleaned.

[0046] If oil contamination is detected in both CCD scans, and the oil concentration in the second CCD scan is greater than that in the first CCD scan, then calculate whether the oil concentration in the second CCD scan is greater than... If yes, mark it as NG (Not Good); otherwise, mark it as acceptable and requires cleaning. The sum of the oil concentration and X is the result of the first CCD detection.

[0047] The technical effects and advantages of this invention are as follows:

[0048] This invention employs a device with two sets of detection units and a roller rubbing mechanism between them. During food packaging inspection, a first CCD scan is performed to determine if material is trapped in the seal. If material is trapped, the product is immediately classified as non-compliant (NG). If no material is trapped, the presence and concentration of oil on the surface detected by the first CCD scan are recorded. A second CCD scan is then performed after a roller rubbing operation. This two-scan, one-roller-rubbing process accurately determines whether the food packaging is leaking or has any pores, all within a single operation without the need for flipping. This design allows for more efficient and accurate food packaging inspection, ensuring safe and orderly food production. Attached Figure Description

[0049] Figure 1 This is a schematic diagram of the overall structure of the present invention.

[0050] Figure 2 This is a front view of the overall structure of the present invention.

[0051] Figure 3 This is a schematic diagram of the structural connection after removing the cabinet and isolation cover of the present invention.

[0052] Figure 4 This is a top view of the structural connection of the present invention after removing the cabinet and isolation cover.

[0053] Figure 5 This is a schematic diagram of the guiding mechanism of the present invention.

[0054] Figure 6 This is a schematic diagram of the CCD detection mechanism of the present invention.

[0055] Figure 7 This is a schematic diagram of the supplementary lighting mechanism of the present invention.

[0056] Figure 8 This is a schematic diagram of the roller wiping mechanism of the present invention.

[0057] Figure 9 This is a side sectional view of the roller wiping mechanism of the present invention.

[0058] Figure 10 This is a schematic diagram of the structure of the roller rubbing block of the present invention.

[0059] Figure 11 This is a flowchart illustrating the detection process of the present invention.

[0060] In the diagram: 1. Cabinet; 101. Workbench; 102. Isolation cover; 2. Conveying unit; 201. Drive motor; 3. Fixed support plate; 301. Diagonal support rod; 4. Guide mechanism; 401. First mounting plate; 402. First adjusting support rod; 403. First connecting sleeve; 404. Second connecting sleeve; 405. Second adjusting support rod; 406. Guide plate; 5. CCD detection mechanism; 501. Fixing strip; 502. Support strip; 503. Connecting sleeve 504. Tube; 505. Ball head handle structure; 506. Ball cup structure; 507. CCD camera; 6. Lighting mechanism; 601. Second mounting plate; 602. Third adjusting support rod; 603. Third connecting sleeve; 604. Placement plate; 605. Lighting lamp; 7. Roller wiping mechanism; 701. Storage box; 702. Support connecting plate; 703. Roller wiping block; 704. Through groove; 705. Support rotating rod; 706. Bearing; 707. Oil absorption block; 708. Oil wiping cloth. Detailed Implementation

[0061] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0062] Example 1: The present invention provides as follows Figure 1 - Figure 10The illustrated food packaging quality visual inspection device includes a cabinet 1, a conveying unit 2, a guiding mechanism 4, two sets of inspection units, and a roller rubbing mechanism 7. A worktable 101 is mounted on top of the cabinet 1 via bolts. An isolation cover 102 surrounds the worktable 101, with through-holes on both sides of the cover. The conveying unit 2 is positioned above the worktable 101, with both ends penetrating through the isolation cover 102. Both ends of the conveying unit 2 protrude through the through-holes on both sides of the isolation cover 102. A support structure and a protective plate structure are provided on the side walls of the conveying unit 2. A drive motor 201 is installed on the protective plate structure. The output end of the drive motor 201 passes through the guard plate structure and is connected to the conveying unit 2. The conveying unit 2 consists of multiple rotating rollers, a guard plate structure, and a conveyor belt structure. The conveyor belt is enclosed in a ring shape, with two rotating rollers respectively inserted into the inner walls of both ends of the conveyor belt and maintaining transmission with the conveyor belt. A corresponding pulley structure is added. The housing of the drive motor 201 is installed to the guard plate structure by bolts. The output end of the drive motor 201 passes through the guard plate structure and is connected to one of the rotating rollers. Thus, the output of the drive motor 201 drives the conveying unit 2 to transfer and output. A cleaning device needs to be installed at the end of the conveying direction of the conveying unit 2 to keep the surface of the subsequent conveying unit 2 clean.

[0063] Specifically, the support structure includes a fixed support plate 3 and multiple diagonal braces 301. The fixed support plate 3 is fixedly connected to the top of the workbench 101, and after the fixed support plate 3 is fixed to the top of the workbench 101, it prevents displacement. One end of each of the multiple diagonal braces 301 is fixedly connected to both ends of the fixed support plate 3, and the other end is detachably connected to the side wall of the conveying unit 2. One end of each diagonal brace 301 is fixedly connected to the top of the fixed support plate 3 by welding or integral connection. The other end of the diagonal brace 301 is provided with a circular plate structure, which is connected to the guard plate structure of the conveying unit 2 by bolt structure, thereby realizing the support of the diagonal brace 301 for the conveying unit 2.

[0064] The guide mechanism 4 is detachably connected to the top of the workbench 101. The guide mechanism 4 is used to guide the food to be tested at the top of the conveying unit 2. Specifically, the guide mechanism 4 includes:

[0065] The first mounting plate 401 is detachably connected to the top of the workbench 101. The first mounting plate 401 is connected to the workbench 101 by bolts. The top of the first mounting plate 401 is fixedly connected to the first adjusting support rod 402. One end of the first adjusting support rod 402 is fixed in a perpendicular state to the middle of the first mounting plate 401.

[0066] The first connecting sleeve 403 is slidably sleeved on the rod wall of the first adjusting support rod 402. The outer wall of the first connecting sleeve 403 is connected with bolts. After the bolts pass through the first connecting sleeve 403, they press the outer wall of the first adjusting support rod 402, thereby achieving the compression and fixation of the first connecting sleeve 403 after adjustment.

[0067] The second connecting sleeve 404 is fixedly connected to the outer wall of the first connecting sleeve 403. A second adjusting support rod 405 is inserted through the middle of the second connecting sleeve 404. The second connecting sleeve 404 and the first connecting sleeve 403 are welded perpendicularly to each other. The outer wall of the second connecting sleeve 404 is also threaded with bolts. The bolts pass through the second connecting sleeve 404 to compress the second adjusting support rod 405, thereby realizing the insertion and positioning of the second adjusting support rod 405 in the second connecting sleeve 404.

[0068] A guide plate 406 is fixedly connected to one end of a second adjusting support rod 405. The end of the guide plate 406 is arc-shaped to facilitate the guidance of items transferred at the top of the conveying unit 2, and is suspended at the top of the conveying unit 2. In this configuration, one guide plate 406 is connected and supported by two second adjusting support rods 405. The two second adjusting support rods 405 are respectively fixedly connected to the two ends of the same guide plate 406. This configuration provides two guide plates 406, which are symmetrically arranged along the conveying direction of the conveying unit 2.

[0069] Each detection unit consists of a CCD detection mechanism 5 and a supplementary lighting mechanism 6. Multiple CCD detection mechanisms 5 and multiple supplementary lighting mechanisms 6 can be detachably connected to the top of the worktable 101. The same set of CCD detection mechanisms 5 and supplementary lighting mechanisms 6 are symmetrically arranged along the conveying direction of the conveying unit 2.

[0070] Specifically, the CCD testing institutions include:

[0071] The fixing strip 501 is detachably and adjustablely connected to the top of the worktable 101. The fixing strip 501 is connected to the surface of the worktable 101 by bolts or detachable means. After confirming the setting position of the CCD detection mechanism 5, the fixing strip 501 is connected and bound. The top of the fixing strip 501 is fixedly connected to the support strip 502, and the support strip 502 is welded and fixed to the fixing strip 501.

[0072] The connecting sleeve 503 is slidably sleeved on the outer wall of the support bar 502. The inner wall shape of the connecting sleeve 503 is adapted to the outer wall shape of the support bar 502, both adopting a rectangular structure. Through the setting of the rectangular structure, the connecting sleeve 503 can only slide and insert along the axial direction of the support bar 502. The outer wall of the connecting sleeve 503 is threaded with a bolt. After the bolt penetrates to the inner wall of the connecting sleeve 503, it can adjust and bind the connection of the connecting sleeve 503 at the support bar 502 after forming a compression with the outer wall of the support bar 502. The outer wall of the connecting sleeve 503 is fixedly connected with a ball head handle structure 504. The ball head handle structure 504 is composed of a straight rod structure and a ball structure integrated together. The straight rod structure is fixedly connected to the outer wall of the connecting sleeve 503.

[0073] The ball bowl structure 505 is rotatably sleeved on the outer wall of the ball head handle structure 504. The ball bowl structure 505 is sleeved on the spherical outer wall of the ball head handle structure 504. A CCD camera 506 is fixedly connected to the outer wall of the ball bowl structure 505. The CCD camera 506 is used by the supplementary light mechanism 6 to take pictures of the food conveyed at the top of the conveying unit 2. The two sets of CCD cameras 506 in this scheme are used to take pictures of whether the seal of the food packaging bag to be tested is jammed, and whether there is oil on the packaging surface, and to calculate the surface oil concentration. After the second set takes pictures of the product surface, it calculates the oil concentration on the packaging surface, and combines it with the first oil concentration on the packaging surface to determine whether the product is not sealed properly or has holes that cause oil leakage.

[0074] The supplementary lighting mechanism 6 includes:

[0075] The second mounting plate 601 is detachably connected to the top of the workbench 101. The second mounting plate 601 is installed and connected to the surface of the workbench 101 by bolt structure. The top of the second mounting plate 601 is fixedly connected to the third adjusting support rod 602. The third adjusting support rod 602 is vertically connected to the middle of the second mounting plate 601 and is fixed by welding or integral fixation.

[0076] The third connecting sleeve 603 is slidably sleeved on the top of the third adjusting support rod 602. The third connecting sleeve 603 is connected and used in the same way as the second connecting sleeve 404 and the first connecting sleeve 403. The outer wall of the third connecting sleeve 603 is fixedly connected to the placement plate 604, and the placement plate 604 is provided with a receiving groove.

[0077] The supplementary light 605 is fixedly connected to the side of the placement plate 604 away from the third connecting sleeve 603. The supplementary light 605 is sleeved in the receiving groove and can be glued with heat-resistant adhesive, so that the supplementary light 605 is connected to the placement plate 604. When the placement plate 604 is adjusted, the supplementary light 605 is adjusted synchronously.

[0078] The roller rubbing mechanism 7 is detachably connected to the side wall of the conveying unit 2 and suspended above the conveying unit 2. The roller rubbing mechanism 7 is located between the two sets of detection units. The food to be detected is rubbed by the roller rubbing mechanism 7 after passing through the first set of detection units and then detected by the second set of detection units. Specifically, the roller rubbing mechanism 7 includes:

[0079] The storage box 701 has a support plate 702 fixedly connected to its side wall. The storage box 701 has a semi-circular structure and its bottom is open. Both sides of the storage box 701 are sealed with bolts. The end of the support plate 702 away from the storage box 701 is detachably connected to the side wall of the conveying unit 2. The support plate 702 is connected to the protective plate structure of the conveying unit 2 with bolts.

[0080] A roller rubbing block 703 is rotatably inserted into a storage box 701, with more than half of its portion extending through the bottom of the storage box 701. The roller rubbing block 703 is suspended at the top of the conveying unit 2. Multiple through grooves 704 are formed near the outer wall of the roller rubbing block 703, creating multiple sets of compressible elastic structures. The gap between the roller rubbing block 703 and the top of the conveying unit 2 is less than the thickness of the food to be tested. Thus, after the food to be tested passes under the roller rubbing block 703 under the conveying unit 2, the roller rubbing block 703 squeezes the food, and the through grooves 704 ensure that the roller-pressed portion of the roller rubbing block 703 adheres to the food. The food packaging surface is bent and stored, and the surface of the food packaging bag is wiped or rubbed while the food packaging bag is squeezed. The squeezing is used to determine whether there are holes in the food packaging or whether there is oil stains adhering to the surface from other places. A support rotating rod 705 is fixedly connected to the middle of the roller rubbing block 703. The support rotating rod 705 rotates and intersects with the storage box 701 and the support connecting plate 702. A bearing 706 is provided at the intersection of the support rotating rod 705 and the storage box 701 or the support connecting plate 702. The rotation of the support rotating rod 705 and the bearing 706 ensures that the roller rubbing block 703 can rotate stably.

[0081] An oil-absorbing block 707 is disposed on the inner top wall of the storage box 701. An oil-wiping cloth 708 is disposed on the side of the oil-absorbing block 707 away from the storage box 701. The oil-wiping cloth 708 is attached to the outer wall of the roller wiping block 703. The oil-absorbing block 707 is used to guide and absorb the oil stains attached to the oil-wiping cloth 708. The oil-wiping cloth 708 is in contact with the surface of the roller wiping block 703. When the roller wiping block 703 rotates, the oil stains on the surface of the roller wiping block 703 are wiped off. This step is mainly used to remove oil stains from the roller wiping block 703. In actual settings, a cleaning structure can also be used as an alternative.

[0082] Example 2: The present invention provides as follows Figure 11The detection method of the visual inspection device for food packaging quality shown herein uses the visual inspection device for food packaging quality of Embodiment 1. The detection method includes the following operating steps:

[0083] The first step is to start and adjust the multiple CCD detection mechanisms 5 and multiple supplementary lighting mechanisms 6 of the two sets of detection units, align the supplementary lighting mechanism 6 of each set of detection units with the CCD detection mechanism 5, and adjust the position of the supplementary lighting lamp 605 to ensure the light source in the imaging area of ​​the CCD camera 506, thereby ensuring that the captured image is clearer and more accurate.

[0084] The second step is to periodically stop the machine to clean or replace the oil-absorbing block 707 and the oil-wiping cloth 708 of the roller wiping mechanism 7. Cleaning or replacing the oil-absorbing block 707 and the oil-wiping cloth 708 can minimize the interference of oil stains on the oil-absorbing block 707 and the oil-wiping cloth 708 on the oil stain detection and judgment. In the actual detection process, when the machine continuously produces multiple (dozens) NG products, it is necessary to stop the machine to inspect the oil-absorbing block 707 and the oil-wiping cloth 708 to ensure that this part will not cause significant interference to the detection results.

[0085] The third step is to start the conveying unit 2 for conveying, and then transfer the food to be tested to the top of the conveying unit 2 without overlapping, so as to avoid missed or incorrect detection after the food overlaps.

[0086] The fourth step involves sequentially performing a first CCD inspection, a roller-squeezing process, and a second CCD inspection on the food conveyed at the top of conveyor unit 2. Based on the inspection results, the products are then categorized. Specifically, the fourth step includes the following steps:

[0087] S1. Perform the first CCD inspection to determine if the food packaging seal is contaminated. If the seal is contaminated, the product is immediately classified as NG (Not Good). Contaminated food packaging indicates contamination at the seal, which could contaminate the food inside. Therefore, such packaging is unqualified and directly classified as defective. If the seal is not contaminated, check for oil stains on the packaging surface. If there are no oil stains, record the absence of oil stains and proceed to the next step. If there are oil stains, record the area and concentration of oil stains and proceed to the next step. Using the image obtained from the first CCD inspection, the system calculates and records the concentration of oil stains on the product surface in that image.

[0088] S2, after the first CCD detection, the food passes under the roller rubbing block 703 under the conveying unit 2. The roller rubbing block 703 rolls and presses the food packaging surface. If the packaging bag is not sealed tightly or there are gaps on the packaging surface, the oil in the food will be squeezed out along the leakage gap and adhere to the packaging surface. After being squeezed, rubbed and rotated, it cooperates with the oil wiping cloth 708 to wipe the surface. The oil stains adhering to the surface of the roller rubbing block 703 are removed by the oil wiping cloth 708 and the oil absorption block 707.

[0089] S3, the food subjected to roller pressing undergoes a second CCD inspection;

[0090] S4, let X be the maximum concentration of oil stains adhering to the surface after roller pressing, that is, the maximum concentration of oil stains adhering to the surface of the compressed packaging bag on the surface of the roller rubbing block 703. The result data of X is obtained by roller pressing the oily product multiple times and then roller pressing the clean product packaging surface. The product is classified by combining the results of the second CCD detection and the first CCD detection, including the following classification situations.

[0091] If the first CCD detection record shows no oil stains, but the second CCD detection shows oil stains, then calculate the oil stain concentration of the second CCD detection. If the oil stain concentration of the second CCD detection is greater than X, it means that the oil stain concentration on the surface of the food packaging exceeds the maximum concentration applied by the roller rubbing block 703, indicating that the food packaging is not sealed properly or has holes on the surface, and is therefore judged as an NG product; otherwise, it means that the oil stains on the surface of the food packaging are applied and adhered through the roller rubbing block 703, and is marked as qualified and requires cleaning.

[0092] If no oil stains are found in either of the two CCD tests, the product is marked as qualified.

[0093] If oil stains are detected in both CCD tests, and the oil stain concentration in the second CCD test is less than or equal to the oil stain concentration in the first CCD test, it means that the oil stains on the surface of the food packaging bag were partially removed by the roller wiping block 703 during the second CCD test, and the food packaging bag did not leak oil after being subjected to roller pressure. Therefore, it is marked as qualified and needs to be cleaned.

[0094] If oil contamination is detected in both CCD scans, and the oil concentration in the second CCD scan is greater than that in the first CCD scan, then calculate whether the oil concentration in the second CCD scan is greater than... ,in, The sum of the oil concentration detected by the first CCD and X is used. If X is the sum of the oil concentration detected by the first CCD and the maximum concentration of oil that the roller rubbing block 703 can apply, it means that the food packaging has oil leakage, poor sealing, or holes on the packaging surface. It is marked as NG product. If X is not the sum of the oil concentration detected by the first CCD and the maximum concentration of oil that the roller rubbing block 703 can apply, it means that the oil on the surface of the food packaging is adhered to other places and is applied by the roller rubbing block 703 after rolling. It is marked as qualified product and needs to be cleaned.

[0095] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A visual inspection device for food packaging quality, comprising: The cabinet (1) has a workbench (101) at the top and an isolation cover (102) covering the workbench (101). The conveying unit (2) is located above the workbench (101) and its two ends pass through the two sides of the isolation cover (102). The side wall of the conveying unit (2) is provided with a support structure. The guiding mechanism (4) is detachably connected to the top of the workbench (101), and the guiding mechanism (4) is used to guide the food to be tested at the top of the conveying unit (2); characterized in that it further includes: Two sets of detection units, each set of detection units consists of a CCD detection mechanism (5) and a supplementary lighting mechanism (6). Multiple CCD detection mechanisms (5) and multiple supplementary lighting mechanisms (6) can be detachably connected to the top of the worktable (101). The same set of CCD detection mechanisms (5) and supplementary lighting mechanisms (6) are symmetrically arranged along the conveying direction of the conveying unit (2). The roller rubbing mechanism (7) is detachably connected to the side wall of the conveying unit (2) and suspended above the conveying unit (2). The roller rubbing mechanism (7) is located between two sets of detection units. The food to be detected is rubbed by the roller rubbing mechanism (7) after passing through the first set of detection units and then detected by the second set of detection units.

2. The visual inspection device for food packaging quality according to claim 1, characterized in that, The side wall of the conveying unit (2) is provided with a protective plate structure, and a drive motor (201) is provided at the protective plate structure. The output end of the drive motor (201) passes through the protective plate structure and is connected to the conveying unit (2) for transmission.

3. The visual inspection device for food packaging quality according to claim 1, characterized in that, The support structure includes: A fixed support plate (3) is fixedly connected to the top of the workbench (101); Multiple diagonal braces (301), one end of which is fixedly connected to both ends of the fixed support plate (3), and the other end is detachably connected to the side wall of the conveying unit (2).

4. The visual inspection device for food packaging quality according to claim 1, characterized in that, The guiding mechanism (4) includes: The first mounting plate (401) is detachably connected to the top of the workbench (101), and the top of the first mounting plate (401) is fixedly connected to the first adjusting support rod (402). The first connecting sleeve (403) is slidably sleeved on the rod wall of the first adjusting support rod (402); The second connecting sleeve (404) is fixedly connected to the outer wall of the first connecting sleeve (403), and a second adjusting support rod (405) is inserted through the middle of the second connecting sleeve (404). The guide plate (406) is fixedly connected to one end of the second adjusting support rod (405) and suspended at the top of the conveying unit (2).

5. The visual inspection device for food packaging quality according to claim 1, characterized in that, The CCD testing unit (5) includes: A fixing strip (501) is detachably and adjustablely connected to the top of the workbench (101), and a support strip (502) is fixedly connected to the top of the fixing strip (501). A connecting sleeve (503) is slidably sleeved on the outer wall of the support bar (502), and a ball-head handle structure (504) is fixedly connected to the outer wall of the connecting sleeve (503). The ball bowl structure (505) is rotatably sleeved on the outer wall of the ball head handle structure (504). A CCD camera (506) is fixedly connected to the outer wall of the ball bowl structure (505). The CCD camera (506) is used to photograph the food conveyed at the top by the conveying unit (2) through the supplementary light mechanism (6).

6. The visual inspection device for food packaging quality according to claim 5, characterized in that, The supplementary lighting mechanism (6) includes: The second mounting plate (601) is detachably connected to the top of the workbench (101), and the top of the second mounting plate (601) is fixedly connected to a third adjusting support rod (602). The third connecting sleeve (603) is slidably sleeved on the top end of the third adjusting support rod (602), and a placement plate (604) is fixedly connected to the outer wall of the third connecting sleeve (603). A supplementary light (605) is fixedly connected to the side of the placement plate (604) away from the third connecting sleeve (603).

7. The visual inspection device for food packaging quality according to claim 1, characterized in that, The roller rubbing mechanism (7) includes: Storage box (701), the side wall of which is fixedly connected to a support plate (702), the end of the support plate (702) away from the storage box (701) is detachably connected to the side wall of the conveying unit (2); A roller rubbing block (703) is rotatably inserted into the storage box (701), and more than half of it extends through the bottom of the storage box (701). The roller rubbing block (703) is suspended at the top of the conveying unit (2). An oil-absorbing block (707) is disposed on the inner wall of the top of the storage box (701). An oil-wiping cloth (708) is disposed on the side of the oil-absorbing block (707) away from the storage box (701). The oil-wiping cloth (708) is attached to the outer wall of the roller wiping block (703).

8. A visual inspection device for food packaging quality according to claim 7, characterized in that, The roller rubbing block (703) has multiple through grooves (704) in the area near the outer wall, forming multiple sets of compressible elastic structures. A support rotating rod (705) is fixedly connected to the middle of the roller rubbing block (703). The support rotating rod (705) rotates and inserts into the connection between the storage box (701) and the support connecting plate (702). A bearing (706) is provided at the insertion point between the support rotating rod (705) and the storage box (701) or the support connecting plate (702).

9. A detection method for a visual inspection device for food packaging quality, using the visual inspection device for food packaging quality as described in claim 8, characterized in that, The detection method includes the following steps: First, start and adjust the multiple CCD detection mechanisms (5) and multiple supplementary lighting mechanisms (6) of the two sets of detection units, and align the supplementary lighting mechanism (6) and CCD detection mechanism (5) of each set of detection units; The second step is to stop the machine periodically to clean or replace the oil-absorbing block (707) and the oil-wiping cloth (708) of the roller wiping mechanism (7). The third step is to start the conveying unit (2) for conveying, and then transfer the food to be tested to the top of the conveying unit (2) without overlapping. The fourth step involves sequentially performing a first CCD detection, roller-pressing and erasing, and a second CCD detection on the food conveyed at the top of the conveying unit (2), and classifying the products based on the detection results.

10. The detection method of the visual inspection device for food packaging quality according to claim 9, characterized in that, The fourth step of the detection operation specifically includes the following steps: S1. Perform the first CCD inspection to determine if the food packaging seal is jammed with goods. If the packaging seal is jammed with goods, it is directly judged as an NG product. If the packaging seal is not jammed with goods, determine if there is oil on the packaging surface. If there is no oil, record that there is no oil and proceed to the next step. If there is oil, record the area and concentration of oil stains and proceed to the next step. S2, after the first CCD detection, the food passes under the roller rubbing block (703) under the conveying unit (2). The roller rubbing block (703) rolls the food packaging surface and rotates by squeezing and friction before cooperating with the wiping cloth (708) to wipe the surface. S3, the food subjected to roller pressing undergoes a second CCD inspection; S4. Let X be the maximum concentration of oil stains adhering to the surface after rolling. Combine the results of the second CCD detection and the first CCD detection to classify the products, including the following classifications. If the first CCD detection record shows no oil stains, but the second CCD detection shows oil stains, then calculate the oil stain concentration of the second CCD detection. If the oil stain concentration of the second CCD detection is greater than X, then it is judged as NG product; otherwise, it is marked as qualified product that needs to be cleaned. If no oil stains are found in either of the two CCD tests, the product is marked as qualified. If oil stains are detected in both CCD tests, and the oil stain concentration in the second CCD test is less than or equal to the oil stain concentration in the first CCD test, then the product is marked as qualified and needs to be cleaned. If oil contamination is detected in both CCD scans, and the oil concentration in the second CCD scan is greater than that in the first CCD scan, then calculate whether the oil concentration in the second CCD scan is greater than... If yes, mark it as NG (Not Good); otherwise, mark it as acceptable and requires cleaning. The sum of the oil concentration and X is the result of the first CCD detection.