A cigarette surface character pattern detection system

By using shielding strips and multi-angle lighting equipment combined with image processing technology in the cigarette detection system, the problems of speed and cost in detecting text and patterns on the surface of cigarettes have been solved, achieving efficient and low-cost detection results.

CN112149657BActive Publication Date: 2026-04-21CHONGQING CHINA TOBACCO IND CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING CHINA TOBACCO IND CO LTD
Filing Date
2020-10-15
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Existing technologies are insufficient for effectively detecting text and patterns on the surface of cigarettes at high speeds, and high-performance chips are too expensive.

Method used

An industrial camera is used in conjunction with masking strips and multi-angle lighting equipment. The detection area is limited by the masking strips. Differential comparison and multi-angle shooting are combined with image processing using median filters, binarization processors and chip components to achieve fast and accurate detection.

Benefits of technology

It improves the speed and accuracy of detecting text and patterns on cigarette surfaces, while reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112149657B_ABST
    Figure CN112149657B_ABST
Patent Text Reader

Abstract

This invention relates to the field of inspection equipment technology and discloses a cigarette surface text and pattern inspection system. The system includes an industrial camera mounted on a conveyor, a shielding strip affixed to the end of the industrial camera facing the conveyor, a processing device electrically connected to the industrial camera, and a pneumatic rejection device electrically connected to the processing device. The pneumatic rejection device, mounted on the conveyor, shields the lens portion of the industrial camera with the shielding strip, allowing the industrial camera to only photograph error-prone areas of the text and pattern on the cigarette's outer surface. This transforms the original inspection problem of hundreds of thousands of pixels into an inspection problem of hundreds of pixels, improving the inspection speed of text and pattern on the cigarette's outer surface while ensuring inspection quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of testing equipment technology, and in particular to a system for detecting text and patterns on the surface of cigarettes. Background Technology

[0002] The outer surface of cigarette sticks is printed with text indicating brand information. If the text or pattern on the surface of the cigarette stick is printed in excess or incomplete, it is considered a defective cigarette stick. Currently, the inspection of the text and pattern on the surface of cigarette sticks is carried out online by machine vision system, and then cigarette sticks with surface text defects are rejected.

[0003] However, the production speed of cigarettes on the assembly line is close to tens of thousands per minute, and the average detection time for each cigarette is only a few milliseconds. If a chip with general processing capabilities is used for processing, the processing speed will be far behind the cigarette production speed. If a chip with high processing capabilities is used for processing, the cost will be too high. Summary of the Invention

[0004] In view of this, the purpose of the present invention is to provide a cigarette surface text and pattern detection system that can simultaneously achieve both speed and cost in cigarette detection.

[0005] The present invention solves the above-mentioned technical problems through the following technical means:

[0006] A cigarette surface text and pattern detection system includes a conveying device and an industrial camera mounted on the conveying device. A shielding strip is affixed to the end of the industrial camera facing the conveying device. A processing device is electrically connected to the industrial camera, and a pneumatic rejection device is electrically connected to the processing device. The pneumatic rejection device is mounted on the conveying device. The industrial camera includes a camera body and a cover. The camera body is electrically connected to the processing device, and the cover is detachably connected to the camera body. The cover is located between the camera body and the conveying device, and the shielding strip is affixed to the cover.

[0007] Furthermore, the detection system also includes a first lighting device and a second lighting device, which illuminate the conveyor at an angle. There are two industrial cameras, which are located on the refraction lines of the first lighting device and the second lighting device, respectively.

[0008] Furthermore, the processing device includes a median filter and a chip assembly. The median filter is electrically connected to the industrial camera, the chip assembly is electrically connected to the median filter, and the pneumatic rejection device is electrically connected to the chip assembly.

[0009] Furthermore, the processing device also includes a binarization processor, which is electrically connected to a median filter, and a chip assembly is electrically connected to the binarization processor.

[0010] Furthermore, the chip assembly includes a data conversion chip and a threshold determination chip. The data conversion chip is electrically connected to the binarization processor, the threshold determination chip is electrically connected to the data conversion chip, and the pneumatic rejection device is electrically connected to the threshold determination chip.

[0011] Furthermore, the pneumatic rejection device includes a compressed air source, air pipes, a solenoid valve, and air nozzles. The compressed air source is installed on the conveying equipment, one end of the air pipe is connected to the compressed air source, the outlet end of the air nozzle faces the conveying equipment, the solenoid valve is installed on the air pipe, and there are multiple air nozzles evenly arranged on the air pipe. A valve is provided between two adjacent air pipes.

[0012] The beneficial effects of this invention are:

[0013] I. This invention uses a shielding strip to cover the lens of an industrial camera, allowing the camera to only photograph the error-prone areas of the text and patterns on the outer surface of the cigarette. This transforms the original detection problem of hundreds of thousands of pixels into a detection problem of hundreds of pixels, thereby improving the detection speed of text and patterns on the outer surface of the cigarette while ensuring detection quality.

[0014] II. This invention involves attaching different types of shielding strips to a cover body, and then connecting the corresponding cover body to the camera body, so as to facilitate continuous imaging of various cigarettes with different text patterns.

[0015] Third, this invention illuminates the text and patterns on the surface of cigarettes on the conveying device at an angle by a first lighting device and a second lighting device, so that during cigarette detection, two industrial cameras simultaneously obtain photos with different refraction angles, perform differential comparison, and then upload them to the processing equipment for comparison with standard values, thereby improving the detection accuracy. Attached Figure Description

[0016] Figure 1 This is a schematic diagram of the structure of a cigarette surface text and pattern detection system according to the present invention;

[0017] Figure 2 This is a partial enlarged view of the industrial camera part of the present invention;

[0018] Figure 3 This is a schematic diagram of the circuit structure of the processing device of the present invention;

[0019] Among them: 100-Detection system, 10-Transfer equipment, 11-Groove, 20-Industrial camera, 21-Camera body, 22-Cover body, 30-Shielding strip, 40-Processing equipment, 41-Median filter, 42-Binarization processor, 43-Chip assembly, 431-Data conversion chip, 432-Threshold determination chip, 50-Pneumatic rejection equipment, 51-Compressed air source, 52-Air pipe, 53-Solenoid valve, 54-Air nozzle, 55-Valve, 60-First lighting equipment, 70-Second lighting equipment. Detailed Implementation

[0020] 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.

[0021] like Figures 1 to 3 As shown, the present invention provides a cigarette surface text and pattern detection system 100, which includes a conveying device 10 for conveying cigarettes. The conveying device 10 is made by a motor driving a rotating roller to rotate, and the rotating roller driving a conveyor belt to rotate. An arc-shaped groove 11 is provided on the outer surface of the conveyor belt. The produced cigarettes are placed in the groove 11 for conveying, with the side of the cigarette with the text and pattern printed on it facing upwards. The groove 11 can prevent the cigarettes from sliding and rolling at will.

[0022] An industrial camera 20 is fixed above the conveying device 10. The industrial camera 20 is of the CCD type. The lens of the industrial camera 20 faces the cigarette text pattern. A shielding strip 30 is pasted on the lens of the industrial camera 20. The shielding strip 30 shields part of the area of the lens of the industrial camera 20, so that the industrial camera 20 only takes pictures of the places where it is easy to make mistakes in stamping, such as the intersections and endpoints of the strokes of the text pattern on the cigarette surface. Then the photos are transmitted to the processing device 40 for comparison with the preset standard data. In this embodiment, the processing device 40 is a computer. When the taken photo does not match the standard data, the processing device 40 sends an execution signal to the pneumatic rejection device 50, and the pneumatic rejection device 50 starts to screen out the defective cigarettes. By covering part of the lens of the industrial camera 20 with the shielding strip 30, the industrial camera 20 only takes pictures of the areas on the text pattern on the outer surface of the cigarette where it is easy to make mistakes, converting the original detection problem of hundreds of thousands of pixels into a detection problem of hundreds of pixels. On the basis of ensuring the detection quality, the detection speed of the text pattern on the outer surface of the cigarette is improved. For example, when the cigarette brand is "Tianzi", the text pattern on the outer surface of this kind of cigarette is the two characters of "Tianzi". The places where the two characters of "Tianzi" are easy to make mistakes are generally the intersections of the strokes and the ends of the strokes. At this time, the shielding strip 30 can be used to cover part of the lens of the industrial camera 20, so that the industrial camera 20 only takes pictures of the intersections and ends of the strokes where "Tianzi" is easy to make mistakes. Therefore, the shape of the shielding strip 30 changes with the text pattern on the outer surface of the cigarette. One shape of the shielding strip 30 corresponds to the detection of the text pattern on the outer surface of one brand of cigarette.

[0023] Specifically, the industrial camera 20 includes a camera body 21 and a cover body 22. The camera body 21 is electrically connected to the processing device 40. The cover body 22 is threadedly connected to the camera body 21. The cover body 22 is located between the camera body 21 and the conveying device 10. The shielding strip 30 is pasted on the cover body 22; the text patterns of different brands are different. For example, the text patterns shown by the two brands of "Tianzi Cigarette" and "Furongwang Cigarette" are different. Therefore, the shapes of the required shielding strips 30 are also different. The shielding strips 30 of different shapes are pasted on each cover body 22 in advance. When the brand of the cigarette to be detected changes, the cover body 22 with the corresponding shape of the shielding strip 30 is replaced onto the camera body 21.

[0024] Specifically, the detection system 100 also includes a first lighting device 60 and a second lighting device 70, which illuminate the conveying device 10 at an angle. The angle between the first lighting device 60, the second lighting device 70, and the cigarette is an acute angle. Two industrial cameras 20 are used, located on the refraction lines of the first lighting device 60 and the second lighting device 70, respectively. During cigarette detection, the two industrial cameras 20 simultaneously obtain images at different refraction angles. After differential comparison, these images are uploaded to the processing device 40 for comparison with standard values, thereby improving detection accuracy.

[0025] Specifically, the processing device 40 includes a median filter 41, a binarization processor 42, and a chip assembly 43. The median filter 41 is electrically connected to the industrial camera 20. The median filter 41 is a non-linear digital filter capable of removing speckle noise and salt-and-pepper noise from the image. After noise reduction processing of the image captured by the industrial camera 20, it is transmitted to the binarization processor 42. The binarization processor 42 is electrically connected to the median filter 41, and the chip assembly 43 is electrically connected to the binarization processor 42. The binarization processor 42 performs binarization processing on the image, highlighting areas prone to stamping errors, so that the chip assembly 43 can more accurately locate important areas in the image when receiving image information, thereby improving detection accuracy. The chip assembly 43 includes a data conversion chip 431 and a threshold determination chip 432. The data conversion chip 431 is electrically connected to the binarization processor 42, the threshold determination chip 432 is electrically connected to the data conversion chip 431, and the pneumatic rejection device 50 is electrically connected to the data conversion chip 431. The data conversion chip 431 is model SN74LV161APER, and the threshold determination chip 432 is model SN74LVC1G08DCKR. After receiving the image signal transmitted by the binarization processor 42, the data conversion chip 431 converts the image information into a data signal and transmits it to the threshold determination chip 432 for comparison with standard data. The pneumatic rejection device 50 is electrically connected to the threshold determination chip 432. When the data received by the threshold determination chip 432 does not match the standard data, the pneumatic rejection device 50 is activated to remove the defective cigarette from the conveyor belt. The pneumatic rejection device 50 includes a compressed air source 51, an air pipe 52, a solenoid valve 53, and air nozzles 54. The compressed air source 51 is installed on the conveyor 10. One end of the air pipe 52 is connected to the compressed air source 51. The solenoid valve 53 is installed on the air pipe 52. There are five air nozzles 54, which are evenly distributed at the end of the air pipe 52 away from the compressed air source 51. A valve 55 is provided between two adjacent air nozzles 54. The solenoid valve 53 is connected to the processing device 40 via a PLC. When the processing device 40 detects that the received image information does not match the standard data, it issues an execution signal, the solenoid valve 53 opens, the compressed air source 51 is an air compressor, and the high-pressure gas in the air pipe 52 is ejected from the air nozzles 54. The outlet end of the air nozzle 54 faces the groove of the conveyor belt. The groove has a through hole, and the high-pressure gas is ejected from the bottom of the groove, pushing out the defective cigarettes in the groove.

[0026] After prolonged use, the detection accuracy of the entire testing equipment decreases. By adjusting the valve 55, when a cigarette with a defective surface text or pattern is found, multiple cigarettes around this cigarette can be removed simultaneously, thus reducing the number of defective cigarettes entering the market.

[0027] The above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications and substitutions should be covered within the scope of the claims of the present invention. Technical aspects, shapes, and structures not described in detail in this invention are all well-known technologies.

Claims

1. A system for detecting text and patterns on the surface of cigarettes, characterized in that: The device includes a conveying device and an industrial camera mounted on the conveying device. A shielding strip is affixed to one end of the industrial camera facing the conveying device. The industrial camera is electrically connected to a processing device and a pneumatic rejection device electrically connected to the processing device. The pneumatic rejection device is mounted on the conveying device. The industrial camera includes a camera body and a cover. The camera body is electrically connected to the processing device, and the cover is detachably connected to the camera body. The cover is located between the camera body and the conveying device. The shielding strip is affixed to the cover, so that the industrial camera only photographs the intersection and endpoint of the strokes of the text and patterns on the surface of the cigarette.

2. The cigarette surface text and pattern detection system according to claim 1, characterized in that: The detection system also includes a first lighting device and a second lighting device, which illuminate the conveyor at an angle. The number of industrial cameras is two, and the two industrial cameras are respectively located on the refraction lines of the first lighting device and the second lighting device.

3. The cigarette surface text and pattern detection system according to claim 2, characterized in that: The processing device includes a median filter and a chip assembly. The median filter is electrically connected to an industrial camera, the chip assembly is electrically connected to the median filter, and the pneumatic rejection device is electrically connected to the chip assembly.

4. The cigarette surface text and pattern detection system according to claim 3, characterized in that: The processing device further includes a binarization processor, which is electrically connected to the median filter, and the chip assembly is electrically connected to the binarization processor.

5. The cigarette surface text and pattern detection system according to claim 4, characterized in that: The chip assembly includes a data conversion chip and a threshold determination chip. The data conversion chip is electrically connected to the binarization processor, the threshold determination chip is electrically connected to the data conversion chip, and the pneumatic rejection device is electrically connected to the threshold determination chip.

6. The cigarette surface text and pattern detection system according to any one of claims 1 to 5, characterized in that: The pneumatic rejection device includes a compressed air source, air pipes, a solenoid valve, and air nozzles. The compressed air source is installed on the conveying equipment. One end of the air pipe is connected to the compressed air source. The outlet end of the air nozzle faces the conveying equipment. The solenoid valve is installed on the air pipe. There are multiple air nozzles, which are evenly arranged on the air pipe. A valve is provided between two adjacent air pipes.

Citation Information

Patent Citations

  • Online Inspection Method for Printing Machines Based on Machine Vision

    CN102262093A

  • Detection equipment for detecting cigarette quality based on machine vision and cigarette making machine thereof

    CN110574963A

  • Cigarette surface character and pattern detection system

    CN213715958U