A cigarette box appearance quality detection and offline inspection system and method

By designing a cigarette box appearance quality inspection and offline inspection system, the problem of cigarette product quality inspection relying on manual inspection has been solved, automatic inspection and elimination of unqualified products have been realized, the causes of quality defects can be traced, and product quality control and consumer rights protection have been improved.

CN109807071BActive Publication Date: 2024-09-06HONGTA TOBACCO (GROUP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811086914.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-09-18
Publication Date
2024-09-06
Estimated Expiration
2038-09-18

AI Technical Summary

Technical Problem

The existing technology relies on manual inspection in the quality inspection of cigarette products, which results in a heavy workload and difficulty in effectively locating the causes of quality defects. In particular, delays in production and sales make it difficult to trace market feedback incidents, resulting in damage to the product image and losses. It’s irreversible.

Method used

Design a smoke box appearance quality inspection and offline inspection system, including a camera, a network switch, an image processor, a data acquisition card, a smoke box position detector, a rejection cylinder position detector, a rejection solenoid valve and an indicator light. Through automatic collection and Process images, determine the quality of cigarette boxes, save defect pictures and production information, and conduct offline inspection and reject unqualified products when necessary.

Benefits of technology

It realizes the automation of cigarette box quality inspection, reduces the workload of manual inspection, can promptly eliminate unqualified products, trace the causes of quality defects, improve product quality control, avoid the inflow of unqualified products into the market, and protect the rights and interests of consumers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109807071B
    Figure CN109807071B
Patent Text Reader

Abstract

A cigarette box appearance quality detection and offline inspection system and method thereof, the system comprises a camera, a network switch, an image processor, and a data acquisition card connected in sequence, the data acquisition card having an input port and an output port, the system further comprises a cigarette box position detector and a rejection cylinder position detector connected to the input port, and a rejection cylinder solenoid valve, a rejection indicator light, and a cigarette box positioning mechanism connected to the output port. The present invention processes and distinguishes images through a DSP image processor, and rejects unqualified cigarette boxes. When it is necessary to analyze or trace the quality defects of the cigarette box, an offline inspection can be performed, and finally a report is generated for defect cause analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a quality detection and off-line inspection system and method thereof, in particular to a cigarette box appearance quality detection and off-line inspection system and method thereof. Background Art

[0002] In recent years, with the advancement of image acquisition, processing and recognition technology, cigarette factories in various places have gradually put into use CCD online detection systems for box filling and sealing machines. Since the system was put into use, it has played a great role in reducing the phenomenon of wrong brands, defects, missing strips, damaged tape buckles at both ends of cigarette boxes, missing barcodes, wrong brands on cartons, deformed cartons, inconsistencies between cigarette strips, cartons and barcodes, improving the quality of the inside and outside of boxed cigarettes, and improving production management.

[0003] However, the investigation of quality defect data can only rely on manual inspection of image data one by one, which is a very heavy workload. Especially when producing in-process products, since the product barcode is not affixed to the in-process products, it will not be able to be effectively located once a quality feedback accident occurs. Due to the long time delay between the production and sales of cigarette products, once a quality market feedback accident occurs, it can only be done "to mend the fold after the sheep have been lost", and the losses of departments and individuals and the damage to the product image are irreversible. It is difficult to determine whether the product quality defects are caused during the production process or the transportation and sales process, which makes it very difficult to trace the cause of the accident. Summary of the invention

[0004] In view of the above problems, the present invention proposes a cigarette box appearance quality detection and offline inspection system, the system includes a camera, a network switch, an image processor, and a data acquisition card connected in sequence, the data acquisition card has an input port and an output port, the system also includes a cigarette box position detector and a reject cylinder position detector connected to the input port, and a reject cylinder solenoid valve, a reject indicator light and a cigarette box positioning mechanism connected to the output port; the camera is used to capture images of the appearance of the cigarette box; the network switch is used to communicate with the camera and the image processor; the image processor is used to process and judge the images captured by the camera, and when it is determined that the quality of the cigarette box is unqualified, the defective picture and related production information are automatically saved, and a reject signal is output to the data acquisition card. The image processor is also used for offline inspection. When it is necessary to analyze or trace the quality defects of the cigarette box, the quality inspection picture data stored in the image processor is checked offline, and the quality inspection picture data is exported according to the defective picture. The path and camera are used to search and check, and the image of the defective part is displayed, and finally a report is formed for defect cause analysis; the data acquisition card is used to collect the cigarette box position signal and the rejection signal from the cigarette box position detector and the rejection cylinder position detector respectively through the input port, and when the cigarette box position signal is collected, the cigarette box positioning mechanism is started through the output port, and when the rejection signal is collected, the rejection cylinder solenoid valve and the rejection indication signal light are started through the output port; the cigarette box position detector is used to detect the cigarette box position information; the rejection cylinder position detector is used to detect the cylinder position information; the rejection cylinder solenoid valve is used to control the cylinder to reject unqualified cigarette boxes based on the rejection signal and the cylinder position information; the rejection indication signal light is used to indicate the discovery of unqualified cigarette boxes based on the rejection signal, and remind the staff to pay attention; the cigarette box positioning mechanism is used to position the cigarette box based on the cigarette box position information, so that the cigarette box is fixed, so that the camera can take pictures of the cigarette box and collect the cigarette box image.

[0005] Preferably, the camera is a CMOS network camera, and at least five cameras are provided to capture images of the five surfaces of the cigarette box except the bottom surface.

[0006] Preferably, the number of ports of the network switch is not less than the number of the CMOS network cameras.

[0007] Preferably, the image processor is an industrial control DSP image processor, which uses a DSP chip of a hardware image processor and has a control calculation function for determining whether the quality of the cigarette box is qualified.

[0008] Preferably, the data acquisition card is an I\O board, which is inserted into the PCI-e slot of the industrial control DSP image processor and is used for the input and output of analog signals and digital signals. The number of input and output ports meets the requirements of signal input and output.

[0009] Preferably, the system also includes a multi-channel power output module for supplying electric energy of different powers and different voltage levels.

[0010] Preferably, the system is installed at the cigarette box entry and exit locations.

[0011] A method for detecting and off-line checking the appearance quality of a cigarette box, the method being performed by the above-mentioned system for detecting and off-line checking the appearance quality of a cigarette box, and the method comprising the following steps:

[0012] Step 1: Detect whether the cigarette box is in place: When the cigarette box position detector detects that the cigarette box is in place, it sends the cigarette box position information to the data acquisition card, and the data acquisition card activates the cigarette box positioning mechanism through the output port;

[0013] Step 2: Positioning the cigarette box: the cigarette box positioning mechanism positions the cigarette box to fix the cigarette box;

[0014] Step 3: Image acquisition: The camera acquires images of the appearance of the cigarette box;

[0015] Step 4: Image processing and identification: The image processor processes and identifies the image captured by the camera;

[0016] Step 5: Determine whether the appearance quality of the cigarette box is qualified: The image processor is used to determine whether the quality of the cigarette box is qualified. If the quality of the cigarette box is qualified, the current determination is terminated and the next cigarette box is started from step 1. If the quality of the cigarette box is determined to be unqualified, the defect image and related production information are automatically saved and a rejection signal is output to the data acquisition card;

[0017] Step 6, cylinder position detection: The cylinder position is detected by removing the cylinder position detector. When the cylinder is in place, the cylinder position information is sent to the data acquisition card. The data acquisition card sends the cylinder position information to the removal cylinder solenoid valve through the output port.

[0018] Step 7, signal indication and rejection of cigarette boxes: the data acquisition card starts the rejection cylinder solenoid valve and the rejection indication signal light through the output port, and the rejection cylinder action is executed when the signal light is on. The cylinder rejection solenoid valve rejects unqualified cigarette boxes based on the cylinder position information and the rejection signal.

[0019] Preferably, the method uses logical processing during image processing and discrimination.

[0020] Preferably, the method also includes initializing the program before detecting whether the cigarette box is in place, clarifying the production shift, operator information entry, work section, date and time, and packaging unit information.

[0021] Preferably, the method further comprises, when it is necessary to analyze or trace the quality defects of the cigarette box, performing an offline inspection on the quality inspection image data stored in the image processor, and the offline inspection comprises the following steps:

[0022] Step 1. Select the inspection path, camera and export path;

[0023] Step 2: Check based on the path and camera: Export the path and camera based on the defect image for search and inspection;

[0024] Step 3: Specific defect location image display;

[0025] Step 4: Generate a report for defect cause analysis.

[0026] The present invention collects the appearance images of the cigarette boxes at the corresponding positions through 5 CMOS network cameras located in the front, back, left, right and top of the cigarette box, and the collected images are processed and judged by the DSP image processor. If the DSP image processor determines that the quality of the cigarette box is unqualified, it will automatically save the defective picture and other related production information. Then the rejection signal is output, and the rejection indicator light is on. At the same time, the rejection cylinder is actuated to reject the unqualified cigarette box. When it is necessary to analyze the quality defects of the cigarette box or trace the quality defects of the cigarette box, the quality inspection picture data can be checked offline. According to the defective picture export path and the camera, the search and inspection are carried out, and the image of the defective part is displayed, and finally a report is formed for defect cause analysis. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a structural schematic diagram of a cigarette box appearance quality detection and offline inspection system of the present invention;

[0028] Figure 2 It is a flow chart of quality inspection of the present invention;

[0029] Figure 3 It is a flow chart of offline verification of the present invention. DETAILED DESCRIPTION

[0030] like Figure 1As shown, CMOS network cameras 1-5 are used for image acquisition of the left, right, front, back and top surfaces of the cigarette box, and are connected to the network switch through TCP / IP network communication. The network switch is connected to the industrial control DSP image processor through TCP / IP network. The industrial control DSP image processor is the core of the entire system, responsible for processing and distinguishing image data, and sends signals to control the actuator in combination with the received detection sensor signals. The industrial control DSP image processor is connected to the I / O board, i.e., the data acquisition card, through PCI-e communication. The DI port, i.e., the input port, of the I / O board realizes the acquisition of sensor signals, which are the cigarette box position detector and the rejection cylinder position detector, respectively. The DO port, i.e., the output port, of the I / O board realizes the action of the actuator, which are: the rejection cylinder solenoid valve is used to control the cylinder to reject unqualified cigarette boxes, the rejection indicator light is used to indicate the discovery of unqualified cigarette boxes, and remind the staff to pay attention. The cigarette box positioning mechanism positions the cigarette box after the cigarette box position detector sends a signal, so that the camera can take pictures of the cigarette box and collect images. All components are powered by multi-channel power output modules to achieve power supply of different powers and voltage levels.

[0031] like Figure 2 As shown, the flow chart of the quality inspection of the present invention. After the program is started, the program is initialized to clarify the production shift, operator information entry, work section, date and time, and the packaging unit to which the sealing machine is connected. Then the program waits for the cigarette box to arrive. After the cigarette box arrives, the program controls the camera to collect images, and the DSP image processor processes and distinguishes the images. The judgment results of the 5 collected images are processed by logic processing to determine whether the quality of the cigarette box is qualified. If the quality of the cigarette box is qualified, this cycle ends and enters the next cycle of judgment; if the quality of the cigarette box is unqualified, the defective picture is saved, the path and file name are saved, and the relevant production information settings are installed, and then the rejection signal is output to execute the rejection cylinder action to reject the unqualified cigarette box, and the program enters the next cycle.

[0032] In one embodiment, a method for detecting the appearance quality of a cigarette box includes:

[0033] Step 1: Detect whether the cigarette box is in place: When the cigarette box position detector detects that the cigarette box is in place, it sends the cigarette box position information to the data acquisition card, and the data acquisition card activates the cigarette box positioning mechanism through the output port;

[0034] Step 2: Positioning the cigarette box: the cigarette box positioning mechanism positions the cigarette box to fix the cigarette box;

[0035] Step 3: Image acquisition: The camera acquires images of the appearance of the cigarette box;

[0036] Step 4: Image processing and identification: The image processor processes and identifies the image captured by the camera;

[0037] Step 5: Determine whether the appearance quality of the cigarette box is qualified: The image processor is used to determine whether the quality of the cigarette box is qualified. If the quality of the cigarette box is qualified, the current determination is terminated and the next cigarette box is started from step 1. If the quality of the cigarette box is determined to be unqualified, the defect image and related production information are automatically saved and a rejection signal is output to the data acquisition card;

[0038] Step 6, cylinder position detection: The cylinder position is detected by removing the cylinder position detector. When the cylinder is in place, the cylinder position information is sent to the data acquisition card. The data acquisition card sends the cylinder position information to the removal cylinder solenoid valve through the output port.

[0039] Step 7, signal indication and rejection of cigarette boxes: the data acquisition card starts the rejection cylinder solenoid valve and the rejection indication signal light through the output port, and the rejection cylinder action is executed when the signal light is on. The cylinder rejection solenoid valve rejects unqualified cigarette boxes based on the cylinder position information and the rejection signal.

[0040] The above detection steps can be adjusted in order as needed. For example, the cylinder position detection step can be performed simultaneously with the detection of whether the smoke box is in place, or can be placed after the smoke box is positioned.

[0041] like Figure 3 As shown, the flowchart of offline inspection of the present invention. When it is necessary to analyze or trace the quality defects of cigarette boxes, it is necessary to conduct offline inspection of the quality inspection image data. During offline inspection, firstly, the inspection path and camera must be selected, and the export path of the defective image must be clarified. Then, the search and inspection must be started according to the path and camera, and the image of the defective part must be displayed. Finally, a report must be generated for defect cause analysis.

[0042] After the system is installed at the cigarette box entry and exit locations, the appearance quality of the cigarette boxes is inspected and records are kept. Offline inspection is carried out when necessary. This can not only promptly and effectively remove cigarette products with unqualified appearance in boxes to prevent them from entering the market, but also comprehensively analyze the location and causes of quality defects, improve the production, storage and transportation of cigarettes, ensure product quality, and protect the rights and interests of consumers.

[0043] The above-mentioned specific implementation methods are only used to illustrate the present invention, wherein the structure and connection method of each component may be changed under the corresponding technical conditions. Any equivalent transformations and improvements based on the technical solution of the present invention should not be excluded from the protection scope of the present invention.

Claims

1. A cigarette box appearance quality detection and offline inspection system, characterized in that: The system comprises a camera, a network switch, an image processor, and a data acquisition card connected in sequence, wherein the data acquisition card has an input port and an output port, and the system further comprises a cigarette box position detector and a reject cylinder position detector connected to the input port, and a reject cylinder solenoid valve, a reject indicator light, and a cigarette box positioning mechanism connected to the output port; The camera is used to capture images of the appearance of the cigarette box; The network switch is used to communicate with the camera and the image processor; The image processor is used to process and judge the images collected by the camera. When it is determined that the quality of the cigarette box is unqualified, the defective image and related production information are automatically saved, and a rejection signal is output to the data acquisition card. The image processor is also used for offline inspection. When it is necessary to analyze or trace the quality defects of the cigarette box, the quality inspection image data stored in the image processor is checked offline, and the search and inspection are carried out according to the defective image export path and the camera, and the image of the defective part is displayed, and finally a report is formed for defect cause analysis; The data acquisition card is used to collect the cigarette box position signal and the rejection signal from the cigarette box position detector and the rejection cylinder position detector respectively through the input port, and to start the cigarette box positioning mechanism through the output port when the cigarette box position signal is collected, and to start the rejection cylinder solenoid valve and the rejection indicator light through the output port when the rejection signal is collected; The cigarette box position detector is used to detect the cigarette box position information; The rejection cylinder position detector is used to detect cylinder position information; The rejection cylinder solenoid valve is used to control the cylinder to reject unqualified cigarette boxes based on the rejection signal and the cylinder position information; The rejection indicator light is used to indicate the discovery of unqualified cigarette boxes based on the rejection signal, and to alert the staff; The cigarette box positioning mechanism is used to position the cigarette box based on the cigarette box position information to fix the cigarette box so that the camera can take pictures of the cigarette box to collect the cigarette box image; The cameras are CMOS network cameras, at least five of which are provided to collect images of the five surfaces of the cigarette box except the bottom surface; The number of ports of the network switch is not less than the number of the CMOS network cameras; The image processor is an industrial DSP image processor, which uses a DSP chip of a hardware image processor and has a control operation function, and is used to determine whether the quality of the cigarette box is qualified; The data acquisition card is an I\O board, which is inserted into the PCI-e slot of the industrial control DSP image processor and is used for input and output of analog signals and digital signals. The number of input and output ports meets the requirements of signal input and output; The system also includes a multi-channel power output module for supplying electric energy of different powers and different voltage levels.

2. The cigarette box appearance quality detection and offline inspection system according to claim 1 is installed at the cigarette box entry and exit locations.

3. A method for detecting and off-line checking the appearance quality of a cigarette box, characterized in that: The method is performed by the cigarette box appearance quality detection and offline inspection system according to claim 1 or 2, and the method comprises the following steps: Step 1: Detect whether the cigarette box is in place: When the cigarette box position detector detects that the cigarette box is in place, it sends the cigarette box position information to the data acquisition card, and the data acquisition card activates the cigarette box positioning mechanism through the output port; Step 2: Positioning the cigarette box: the cigarette box positioning mechanism positions the cigarette box to fix the cigarette box; Step 3: Image acquisition: The camera acquires images of the appearance of the cigarette box; Step 4: Image processing and identification: The image processor processes and identifies the image captured by the camera; Step 5: Determine whether the appearance quality of the cigarette box is qualified: The image processor is used to determine whether the quality of the cigarette box is qualified. If the quality of the cigarette box is qualified, the current determination is terminated and the next cigarette box is started from step 1. If the quality of the cigarette box is determined to be unqualified, the defect image and related production information are automatically saved and a rejection signal is output to the data acquisition card; Step 6, cylinder position detection: The cylinder position is detected by removing the cylinder position detector. When the cylinder is in place, the cylinder position information is sent to the data acquisition card. The data acquisition card sends the cylinder position information to the removal cylinder solenoid valve through the output port. Step 7, signal indication and rejection of cigarette boxes: the data acquisition card starts the rejection cylinder solenoid valve and the rejection indication signal light through the output port, and the rejection cylinder action is executed when the signal light is on. The cylinder rejection solenoid valve rejects unqualified cigarette boxes based on the cylinder position information and the rejection signal.

4. The method for detecting and off-line checking the appearance quality of cigarette boxes according to claim 3, characterized in that: This method uses logical processing in image processing and discrimination.

5. The method for detecting and off-line checking the appearance quality of cigarette boxes according to claim 3, characterized in that: The method also includes initializing the program before checking whether the cigarette box is in place, clarifying the production shift, operator information entry, work section, date and time, and packaging unit information.

6. The method for detecting and off-line checking the appearance quality of cigarette boxes according to claim 3, characterized in that: The method further includes, when it is necessary to analyze or trace the quality defects of the cigarette box, performing an offline inspection on the quality inspection image data stored in the image processor, and the offline inspection includes the following steps: Step 1. Select the inspection path, camera and export path; Step 2: Check based on the path and camera: Export the path and camera based on the defect image for search and inspection; Step 3: Specific defect location image display; Step 4: Generate a report.