A cigar appearance quality detection and sorting device and method based on machine vision
Through machine vision technology and roller blanking system, combined with roller rotary platform, panoramic image acquisition and defect identification of cigar sticks are achieved, solving the problems of low efficiency and insufficient accuracy in the existing technology, and achieving rapid cigar sticks Accurate assembly and automated inspection.
Patent Information
- Application Number
- CN202111632686.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-12-29
AI Technical Summary
The existing cigar post appearance detection device is affected by human factors, and is inefficient and cannot fully capture the blind spots of the cigar cover, resulting in inaccurate detection.
Using a machine vision-based cigar post appearance quality detection and sorting device, the CCD industrial camera and image processing system are used to splice panoramic images, combined with the roller blanking system and the rotary roller platform to realize the panoramic image acquisition and defect identification of cigars, and through Automatically assemble the control system.
It realizes fast, accurate, lossless identification and assembly of cigar sticks, improves detection efficiency and accuracy, avoids the influence of human factors, and realizes full automation.
Smart Images

Figure CN115178479B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of tobacco processing, and in particular relates to a device and method for detecting and sorting the appearance quality of cigars based on machine vision. Background Art
[0002] Cigars are an important part of my country's tobacco products and are high-end tobacco consumer products. The development of cigar-related technologies is of great significance to the transformation and upgrading of my country's tobacco product consumption market. At present, the main types of cigar consumption are hand-rolled cigars, machine-made cigars and semi-machine-made cigars. Among them, hand-rolled cigars are labor-intensive and technology-intensive products, and the product positioning is high-end, which has high requirements for cigar raw materials. Semi-machine-made cigars and machine-made cigars have high requirements for raw materials. Cigars mainly include three parts made of cigar tobacco leaves: cigar wrapper, cigar wrapper and cigar core. The quality requirements of cigar wrapper are mainly concentrated on the appearance quality and wrapping characteristics of tobacco leaves, and the quality requirements of cigar wrapper are mainly concentrated on the wrapping characteristics and burning characteristics of tobacco leaves. Cigar core tobacco leaves are the main source of cigar flavor and taste, and have high requirements for sensory quality. The external characteristics of cigars are completely reflected by the cigar wrapper, which is the main embodiment of the visual beauty of cigars. High-quality and high-end cigars often have perfect and beautiful cigar wrappers. Cigar wrappers mainly include the texture, color and morphological characteristics of cigars. Good cigar wrappers are often tight and soft in touch, and there is no uneven appearance or wrinkles, indentations, looseness, etc. Due to the extremely high economic value, the pursuit of high-quality cigar wrappers is unsparing. In the standard "GB15269.3-2011", the technical requirements for cigar packaging, rolling and storage are specifically stipulated. Among them, the requirements for the appearance of cigarettes include a series of appearance parameters such as the maximum offset of the central axis, the height difference of the cut slope, the ring, veins, folds, spots, stains, seams, holes, peeling, breakage, circumference, etc. These standards are currently mainly completed by manpower, which is greatly affected by human factors and has low efficiency.
[0003] Patent application with publication number CN113624772A discloses a conveyor belt intermittent lifting and rotating cigar appearance inspection device, which, during the cigar conveying process, lifts the cigar to a group of area array cameras by clamping to take photos of the cigar without blind spots to obtain the appearance of the cigar wrapper, and then evaluate the quality of the cigar wrapper. However, due to the limitation of the clamping fixture, the invention inevitably fails to capture some blind spots. Summary of the invention
[0004] The present invention aims to solve the problems existing in the existing devices and proposes a defective cigar detection and packaging device and method based on machine vision. The present invention can use machine vision technology to quickly and accurately identify and package defective cigars and normal cigars produced in the cigar industry without loss. The present invention proposes a means of using a single camera to shoot cigars rotating with rollers, and using machine vision technologies such as panoramic image stitching to obtain a panoramic image of the cigar and evaluate the appearance of the cigar, analyze and identify defective cigars and normal cigars, and package them.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] A cigar appearance quality inspection and sorting device based on machine vision, comprising a cigar feeding system, a roller dropping system, a cigar sampling platform, a cigar storage system, an image acquisition and inspection system, and a control system;
[0007] The roller drop system is arranged below the cigar feeding system, and comprises a roller driven by a motor, V-shaped cigar card slots evenly distributed on the circumference of the roller, and an inclined drop sliding surface. One side of the V-shaped cigar card slot is fixed to the roller, and the other side is in contact with the drop sliding surface. The opening direction of the V-shaped cigar card slot is opposite to the rotation direction of the roller, so that the cigar sample in the V-shaped cigar card slot can freely fall onto the drop sliding surface during the rotation of the roller.
[0008] The cigar sampling platform is composed of two rollers arranged horizontally side by side, the two rollers are driven by their own roller motors, and the rotation direction and speed of the rollers are controlled by the roller motors; the sampling platform formed by the two rollers is arranged at the lower side of the blanking end of the blanking slide surface;
[0009] The cigar storage system comprises a defective cigar storage box and a normal cigar storage box which are correspondingly arranged on both sides of the two rollers;
[0010] The image acquisition and detection system includes a camera arranged above the cigar sampling platform, a computer connected to the camera, an image processing system and a data transmission line;
[0011] The control system is connected to the electric devices in the above-mentioned systems (including the sampling platform) respectively.
[0012] The cigar feeding system comprises a cigar placing box, a material dropping chute and three inclined plates arranged in the box to form a zigzag falling channel. The material dropping chute is opened at the bottom of one side of the cigar placing box and is controlled by a baffle. The opening and closing of the baffle is controlled by a partition motor.
[0013] The camera is a CCD industrial camera.
[0014] The inclination angle of the blanking sliding surface is ≤30°.
[0015] The diameter of the roller is 50-100 cm, and 8-16 V-shaped cigar slots are installed according to the diameter of the roller.
[0016] The diameter of the roller in the cigar sampling platform is 3-6 cm, and a rubber sleeve is provided on the roller.
[0017] Both the defective cigar storage box and the normal cigar storage box are provided with an inclined cigar drop plate for reducing the falling height of the cigars.
[0018] The present invention utilizes the above-mentioned device to perform a method for detecting and sorting the appearance quality of cigars. The method utilizes the same-direction rotation of two rollers in a sampling platform to drive the cigar sample to rotate, uses a CCD industrial camera to capture the surface image of the cigar, and uses a computer image processing system to perform image processing and splicing to obtain a panoramic image of the cigar surface, performs noise and color detection and discrimination on the cigar image, calculates the length and width information of the cigar, identifies defective cigars and qualified cigars, and finally controls the direction and speed of the two rollers through a control system to push the defective cigars and qualified cigars into different storage boxes.
[0019] The specific steps of the detection and sorting method are as follows:
[0020] 1) Turn on the CCD industrial camera and put the cigars into the cigar box;
[0021] 2) Turn on the drum motor to control the first and second rollers to rotate in the same direction;
[0022] 3) The control system adjusts a certain frequency to open the push plate through the baffle motor, and the cigar falls into the slot of the roller blanking system through the cigar placement box, and the baffle is reset;
[0023] 4) The V-shaped slot of the cigar drop system changes with the rotation angle of the drum. When it rotates to a certain angle below, the cigar falls onto the cigar sampling platform;
[0024] 5) The CCD camera starts to collect images. The cigar rotates at least 720° on the sampling platform along with the roller. At the same time, the CCD camera collects 10 frames of images and transmits them to the computer for processing by the image processing system.
[0025] 6) The image processing system finally identifies whether the cigar is a defective cigar and transmits the result to the control system. If the result is a defective cigar, the control system will control the speed of the roller on the opposite side of the defective cigar storage box to be faster than the speed of the roller on the other side, and push the cigar into the defective cigar storage box. The same applies to normal cigars.
[0026] Then repeat steps 3) to 6) repeatedly.
[0027] More specifically, the cigar placing box of the cigar feeding system is a square box, which serves as a feeding storage device, is slightly longer than the cigar, and has the same width as the cigar; the drop chute is opened on one side of the lower part of the cigar placing box, and is slightly longer than the length of the cigar, so that the cigar can drop into the cigar card slot of the roller drop system; the inclined plate is placed in the cigar placing box, and the three inclined plates are arranged in a zigzag shape, and the lower end of the lowest inclined plate is connected to the drop chute; the cigar baffle is arranged at the drop chute of the cigar placing box, and can be controlled by the baffle motor to open and close at a certain frequency to make a single cigar drop each time;
[0028] Furthermore, the roller of the roller blanking system is a cylindrical roller with a diameter of 50cm-100cm, and V-shaped cigar slots are distributed on the surface at a certain interval, and 8-16 slots are preferably placed according to the diameter of the roller. The cigar slots are V-shaped slats, and the material can be plastic or steel, and the V-shaped opening direction of the slots is opposite to the rotation direction of the roller; the roller motor controls the roller to rotate to a certain angle, and the cigars in the cigar slots fall on the blanking slide surface, the angle of the blanking slide surface cannot be greater than 30°, and the lower end is located above the two rollers;
[0029] Furthermore, the two rollers in the cigar sampling platform are covered with rubber sleeves; the two rollers are placed side by side horizontally and adjacently, and the diameter of the rollers is about 3-6 cm; the rotation of the rollers is controlled by roller motors respectively, and the cigar images are collected when the two rollers rotate in the same direction, and the speed difference between the two rollers can be used to make the cigars fall into different storage boxes when the two rollers rotate outward in opposite directions;
[0030] Furthermore, the defective cigar storage box and the normal cigar storage box of the cigar storage system are respectively arranged on both sides of the sampling platform; the defective cigar storage box and the normal cigar storage box are both provided with inclined cigar dropping boards, and the cigars falling on the cigar dropping boards can roll into the cigar storage box to reduce the falling height of the cigars.
[0031] Furthermore, the CCD industrial camera of the image acquisition and detection system is located about 20-50 cm above the two rollers. After the cigar falls on the acquisition platform, it receives a control instruction to start acquiring the cigar surface image. During the rotation of the cigar, about 10 frames of images containing all surfaces of the cigar are acquired, and the cigar images are transmitted to the computer; the image processing system can perform image stitching on the cigar surface images to obtain a panoramic image of the cigar, and realize binarization, denoising, enhancement, and edge detection of the panoramic image of the cigar, crop the cigar image, perform noise and color detection on the cigar image, calculate the length, width and other information of the cigar, and transmit the defective cigar identification results to the control system. The control system can control the direction and rotation speed of the rollers to send the cigars to the corresponding storage box.
[0032] The main feature of the present invention is to set up a non-clamping cigar surface image acquisition platform, utilize the same-direction rotation of two rollers with rough surfaces to drive the cigar to rotate, so that the CCD industrial camera can take a panoramic image of the cigar surface. At the same time, under the instruction of the image processing system, the rollers rotate outward in the opposite direction to push the cigar out. Controlling the relative rotation speed of the two rollers can realize the separation of defective cigars and normal cigars into different cigar storage boxes.
[0033] The most significant feature of the present invention is that it can utilize machine vision technology to rapidly and accurately non-destructively identify and package defective cigars and normal cigars produced in the cigar industry, and the entire process is automated. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic diagram of the structural principle of the present invention.
[0035] In the figure: 1-cigar placing box, 2-feeding chute, 3-first inclined plate, 4-second inclined plate, 5-third inclined plate, 6-stopper, 7-roller, 8-card slot, 9-feeding slide, 10-roller motor, 11-first roller, 12-second roller, 13-first roller motor, 14 second roller motor, 15-defective cigar storage box, 16-normal cigar storage box, 17-cigar dropping plate, 18-CCD industrial camera, 19-computer, 20-data transmission line. DETAILED DESCRIPTION
[0036] The present invention is further described below in conjunction with the accompanying drawings:
[0037] like Figure 1 As shown: A cigar appearance quality inspection and sorting device based on machine vision, including a cigar feeding system, a roller dropping system, a cigar sampling platform, a cigar storage system, an image acquisition and inspection system, and a control system;
[0038] The roller drop system is arranged below the cigar feeding system, and comprises a roller 7 driven by a motor 10, V-shaped cigar card slots 8 evenly distributed on the circumference of the roller, and a drop sliding surface 9 arranged at an inclination (the inclination angle is less than 30 degrees), one side of the V-shaped cigar card slot 8 is fixed to the roller 7, and the other side is in contact with the drop sliding surface 9, and the opening direction of the V-shaped cigar card slot 8 is opposite to the rotation direction of the roller 7, so that the cigar sample in the V-shaped cigar card slot 8 can freely fall onto the drop sliding surface 9 during the rotation of the roller 7;
[0039] The cigar sampling platform is composed of two rollers (i.e., a first roller 11 and a second roller 12) arranged side by side and horizontally, and the two rollers are driven by respective roller motors (i.e., a first roller motor 13 and a second roller motor 14), and the rotation direction and speed of the rollers are controlled by the roller motors; the sampling platform formed by the two rollers is arranged at the lower side of the blanking end of the blanking slide surface 9;
[0040] The cigar storage system comprises a defective cigar storage box and a normal cigar storage box which are correspondingly arranged on both sides of the two rollers;
[0041] The image acquisition and detection system includes a CCD industrial camera 18 disposed above the cigar sampling platform, a computer 19 connected to the camera, an image processing system and a data transmission line 20;
[0042] The control system is connected to the electric devices in the above-mentioned systems respectively.
[0043] The cigar feeding system comprises a cigar placing box 1, a material drop chute 2 and three inclined plates (3, 4, 5) arranged in the box to form a zigzag falling channel. The material drop chute 3 is opened at the bottom of one side of the cigar placing box 1 and is controlled by a baffle 6. The opening and closing of the baffle is controlled by a baffle motor.
[0044] The diameter of the roller 7 is 50-100 cm, and 8-16 V-shaped cigar slots 8 are installed according to the diameter of the roller.
[0045] The diameter of the rollers (11, 12) in the cigar sampling platform is 3-6 cm, and rubber sleeves are provided on the rollers.
[0046] Both the defective cigar storage box 15 and the normal cigar storage box 16 are provided with an inclined cigar drop plate 17 for reducing the falling height of the cigars.
[0047] The present invention uses the above-mentioned device to detect and sort the appearance quality of cigars. The method uses the two rollers (11, 12) in the sampling platform to rotate in the same direction to drive the cigar sample to rotate, uses a CCD industrial camera 18 to capture the surface image of the cigar, and uses a computer image processing system to process and splice the image to obtain a panoramic image of the cigar surface, performs noise and color detection and discrimination on the cigar image, calculates the length and width information of the cigar, identifies defective cigars and qualified cigars, and finally controls the direction and speed of the two rollers through a control system to push the defective cigars and qualified cigars into different storage boxes.
[0048] The specific steps of the defective cigar detection and sorting method using the above device are as follows:
[0049] 1) Turn on the CCD industrial camera 18 and put the cigars into the cigar storage box 1;
[0050] 2) Turn on the drum motor 10 to control the first and second rollers to rotate in the same direction;
[0051] 3) The computer control system regulates the baffle motor to open the baffle at a certain frequency, and the cigar falls into the slot 8 of the roller blanking system through the cigar placement box's blanking slot 2, and the baffle is reset;
[0052] 4) The V-shaped slot 8 of the cigar dropping system changes with the rotation angle of the roller 7. When the roller rotates to a certain angle below, the cigar falls onto the cigar collecting platform;
[0053] 5) The CCD camera 18 starts to collect images. The cigar rotates at least 720° along with the roller on the cigar image collection platform. At the same time, the CCD camera collects 10 frames of images and transmits them to the computer for processing by the image processing system;
[0054] 6) The image processing system identifies whether the cigar is a defective cigar and transmits the result to the computer control system. If the result is a defective cigar, the control system will control the speed of the roller on the opposite side of the defective cigar storage box to be faster than the speed on the other side, and push the cigar into the defective cigar storage box. The same applies to normal cigars.
[0055] The steps 3) to 6) are repeated in a loop until the predetermined number of cigars to be tested is completed.
Claims
1. A cigar appearance quality inspection and sorting device based on machine vision, characterized by: It includes cigar feeding system, roller dropping system, cigar sampling platform, cigar storage system, image acquisition and detection system and control system; The roller drop system is arranged below the cigar feeding system, and comprises a roller driven by a motor, V-shaped cigar card slots evenly distributed on the circumference of the roller, and an inclined drop sliding surface. One side of the V-shaped cigar card slot is fixed to the roller, and the other side is in contact with the drop sliding surface. The opening direction of the V-shaped cigar card slot is opposite to the rotation direction of the roller, so that the cigar sample in the V-shaped cigar card slot can freely fall onto the drop sliding surface during the rotation of the roller. The cigar sampling platform is composed of two rollers arranged horizontally side by side, the two rollers are driven by their own roller motors, and the rotation direction and speed of the rollers are controlled by the roller motors; the sampling platform formed by the two rollers is arranged at the lower side of the blanking end of the blanking slide surface; The cigar storage system comprises a defective cigar storage box and a normal cigar storage box which are correspondingly arranged on both sides of the two rollers; The image acquisition and detection system includes a camera arranged above the cigar sampling platform, a computer connected to the camera, an image processing system and a data transmission line; The control system is connected to the electric devices in the above-mentioned systems respectively.
2. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: The cigar feeding system comprises a cigar placing box, a material dropping chute and three inclined plates arranged in the box to form a zigzag falling channel. The material dropping chute is opened at the bottom of one side of the cigar placing box and is controlled by a baffle. The opening and closing of the baffle is controlled by a baffle motor.
3. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: The camera is a CCD industrial camera.
4. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 or 3, characterized in that: The camera is located 20-50 cm above the two rotating rollers.
5. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: The inclination angle of the blanking sliding surface is ≤30°.
6. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: The diameter of the roller is 50-100 cm, and 8-16 V-shaped cigar slots are installed according to the diameter of the roller.
7. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: The diameter of the roller in the cigar sampling platform is 3-6 cm, and a rubber sleeve is provided on the roller.
8. The cigar appearance quality inspection and sorting device based on machine vision according to claim 1 is characterized in that: Both the defective cigar storage box and the normal cigar storage box are provided with an inclined cigar drop plate for reducing the falling height of the cigars.
9. A method for detecting and sorting cigar appearance quality using the device described in any one of claims 1 to 8, characterized in that: The cigars that fall into the V-shaped slots on the rollers rotate in the roller blanking system and slide down to the sampling platform one by one through the blanking slide surface. The two rollers in the sampling platform rotate in the same direction to drive the cigar samples to rotate. The surface image of the cigar is photographed by a CCD industrial camera and processed and spliced by a computer image processing system to obtain a panoramic image of the cigar surface. The cigar image is detected and judged for spots and colors, and the length and width information of the cigar is calculated to identify defective cigars and qualified cigars. Finally, the steering and speed of the two rollers are controlled by the control system instructions to push the defective cigars and qualified cigars into different storage boxes.
10. The detection and sorting method according to claim 9, characterized in that: The specific steps are as follows: 1) Turn on the CCD industrial camera and put the cigars into the cigar storage box; 2) Turn on the drum motor to control the first and second rollers to rotate in the same direction; 3) The control system adjusts a certain frequency to open the push plate through the baffle motor, and the cigar falls into the slot of the roller blanking system through the cigar storage box, and the baffle is reset; 4) The V-shaped slot of the cigar drop system changes with the rotation angle of the drum. When it rotates to a certain angle below, the cigar will fall onto the cigar collection platform; 5) The CCD camera starts to collect images. The cigar rotates at least 720° along with the roller on the cigar collection platform. At the same time, the CCD camera collects 10 frames of images and transmits them to the computer for processing by the image processing system. 6) The image processing system finally identifies whether the cigar is a defective cigar and transmits the result to the control system. If the result is a defective cigar, the control system will control the speed of the roller on the opposite side of the defective cigar storage box to be faster than the speed of the roller on the other side, and push the cigar into the defective cigar storage box. The same applies to normal cigars.
Citation Information
Cited By
A dynamic control system and method for cigar flavor
CN120707183B
