Visual image and photoelectric data correlation detection device and method for composite cigarette

By combining photoelectric and visual detection methods, the problems of poor human-computer interaction and detection effect in existing cigarette detection devices have been solved, realizing the accuracy and reliability of composite cigarette detection and providing intuitive detection feedback.

CN117228049BActive Publication Date: 2025-11-04THE 41ST INST OF CHINA ELECTRONICS TECH GRP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311040807.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-18
Publication Date
2025-11-04
Estimated Expiration
2043-08-18

AI Technical Summary

Technical Problem

Among existing cigarette detection devices, photoelectric detection has poor human-computer interaction and simple statistical data, while visual detection has good human-computer interaction but poor detection effect, leading to missed detection.

Method used

Design a composite cigarette detector that combines photoelectric and visual detection methods. It collects voltage data through a phototube and captures visual images through a tobacco camera. The detection data is processed separately, and when a defect is detected, it is correlated and stored to achieve comprehensive data judgment and feedback.

Benefits of technology

It improves the accuracy and reliability of cigarette detection, provides intuitive detection results, assists users in optimizing detection performance, and enables the correlation retrieval of photoelectric data and visual images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117228049B_ABST
    Figure CN117228049B_ABST
Patent Text Reader

Abstract

The application discloses a kind of visual image and photoelectric data correlation detection device and method for composite cigarette, belong to detection technical field.The application first reads the periodic signal start mark returned by lower computer, fills photoelectric data, visual image and corresponding detection information into photoelectric data buffer and visual image buffer respectively, then reads the periodic signal end mark returned by lower computer, judges whether photoelectric data or visual image is filled into buffer in cycle, and according to filling condition, fuses photoelectric and visual detection result, comprehensively judges the detection result of current cigarette package, according to detection result, stores empty head detection quantity, defect quantity and defect photoelectric data and visual image, user views defect cigarette visual image and corresponding photoelectric data in man-machine interface, finally realizes visual image and photoelectric data correlation retrieval for composite cigarette detection.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of detection, and particularly relates to a visual image and photoelectric data correlation detection device and method for composite cigarettes. BACKGROUND

[0002] The ZB25 / ZB45 series medium-speed packaging unit is a mainstream model in domestic cigarette factories. In order to ensure the quality of the cigarettes, a cigarette detector needs to be installed on the packaging line to detect the filling condition of the single cigarette in the cigarette packet (empty-end detection) and the integrity of the entire cigarette packet (missing cigarette and missing end detection). At present, there are mainly two detection methods for empty-end detection on the market, namely, photoelectric detection and visual detection. The photoelectric detection device has poor human-computer interaction and simple statistical data. The visual detection device has good human-computer interaction and powerful statistical data function, and can provide user traceability for defect images. However, since the camera for empty-end detection has a fixed shooting angle, the shooting image has an unobvious empty-end effect, which may cause a missed detection.

[0003] Therefore, a new generation of composite cigarette detector is developed by combining the photoelectric and visual detection methods. The detector scans and collects photoelectric data on the tobacco end face in the dynamic interval, and takes a photo to collect visual images of the tobacco end face in the static position. The photoelectric detection and image data processing technologies are used to process the detection data, and a rejection signal is sent to the packaging unit control system according to the detection result. When a defective cigarette packet is detected, the photoelectric and visual detection data of the defective cigarette packet are stored in correlation, so that the user can view and feedback adjust the detection parameters according to the detection result. SUMMARY

[0004] In view of the above technical problems in the prior art, the present application provides a visual image and photoelectric data correlation detection device and method for composite cigarettes, which is reasonable in design, overcomes the shortcomings of the prior art, and has good effects.

[0005] In order to achieve the above purpose, the present application adopts the following technical solutions:

[0006] A visual image and photoelectric data correlation detection device for composite cigarettes, comprising an upper computer, a single-chip microcomputer, a photoelectric tube and a tobacco camera.

[0007] The upper computer is configured to read a period signal start mark and an end mark.

[0008] The single-chip microcomputer is configured to send the period signal start mark and the end mark.

[0009] The photoelectric tube is configured to collect voltage data.

[0010] The tobacco camera is configured to take a photo to collect visual images of the tobacco end face.

[0011] Further, the present application also mentions a method for visual image and photoelectric data correlation detection of composite cigarettes, which adopts the visual image and photoelectric data correlation detection device for composite cigarettes as described above, and comprises the following steps:

[0012] Step 1: reading a period signal start mark in real time, judging whether the period signal start mark is valid, if not, continuing to wait for the period signal start mark, if yes, executing Step 2;

[0013] Step 2: detecting whether photoelectric data in the period is collected and processed, if the photoelectric data has been collected and processed, filling the photoelectric data and detection information into a photoelectric data buffer;

[0014] Step 3: detecting whether visual image in the period is collected and processed, if the visual image has been collected and processed, filling the visual image and detection information into a visual image buffer;

[0015] Step 4: reading a period signal end mark in real time, judging whether the period signal end mark is valid, if not, continuing to wait for the period signal end mark, if yes, executing Step 5;

[0016] Step 5: judging whether the photoelectric data and detection information in the photoelectric data buffer exist, and judging whether the visual image and detection information in the visual image buffer exist;

[0017] Step 6: if the photoelectric data and visual image in the photoelectric data buffer and visual image buffer do not exist, marking data loss, otherwise, executing Step 7;

[0018] Step 7: increasing the number of empty head detection by 1, judging whether the detected cigarette package has defects according to the photoelectric data detection result and the visual image detection result, if yes, increasing the number of defect detection by 1, saving the photoelectric data and visual image and corresponding detection information, if no, marking corresponding data loss;

[0019] Step 8: clearing the photoelectric data, visual image and corresponding detection information in the photoelectric data buffer and visual image buffer;

[0020] Step 9: a user viewing the visual image of defective cigarette package and corresponding photoelectric data on a man-machine interface, realizing the correlation search of photoelectric data and visual image of composite cigarette detection.

[0021] Preferably, in Step 1, in the actual detection process, when the detection period comes, the single-chip microcomputer sends the period signal start mark, and the upper computer reads the period signal start mark.

[0022] Preferably, in step 2, specifically comprising the following steps:

[0023] Step 2.1: the tobacco end face slides through the photoelectric tube;

[0024] Step 2.2: collect voltage data through the photoelectric tube;

[0025] Step 2.3: the host computer opens a photoelectric data processing thread, processes the photoelectric data, and stores the processed results in the photoelectric data buffer.

[0026] Preferably, in step 3, specifically comprising the following steps:

[0027] Step 3.1: the tobacco end face passes through the tobacco camera;

[0028] Step 3.2: take a photo of the tobacco end face through the tobacco camera to collect visual images;

[0029] Step 3.3: the host computer opens an image processing thread, processes the visual image data, and stores the processed results in the visual image buffer.

[0030] Preferably, in step 4, the single-chip microcomputer sends a periodic signal end marker, and the host computer receives the periodic signal end marker.

[0031] The beneficial technical effects brought by the present application are:

[0032] Novelty: the present application proposes a visual image and photoelectric data correlation detection method for composite cigarettes, which first reads the periodic signal start marker returned by the lower computer, fills the photoelectric data, visual images and corresponding detection information into the photoelectric data buffer and visual image buffer respectively, then reads the periodic signal end marker returned by the lower computer, judges whether the photoelectric data or visual images in the period are filled into the buffer, and according to the filling condition, fuses the photoelectric and visual detection results, comprehensively judges the detection results of the current cigarette package, stores the empty head detection number, defect number and defect photoelectric data and visual images according to the detection results, and the user views the defect cigarette visual image and corresponding photoelectric data on the human-computer interface, and finally realizes the visual image and photoelectric data correlation retrieval for composite cigarette detection.

[0033] Scientificity: the present application adopts mature data statistics and data storage technologies, and the overall technical feasibility is strong.

[0034] Practicality: the method of the present application can intuitively display the cigarette detection effect, assist the user in optimizing the detection performance, and has a wide application space. BRIEF DESCRIPTION OF DRAWINGS

[0035] Figure 1 The photoelectric curve is;

[0036] Figure 2 For visual images;

[0037] Figure 3 This is a flowchart of the method of the present invention. Detailed Implementation

[0038] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:

[0039] This invention proposes a method for visual image and photoelectric data association retrieval of composite cigarettes, the process of which is as follows: Figure 3 As shown, the process first reads the start marker of the cycle return signal from the lower-level machine, then fills the photoelectric data buffer, visual image, and corresponding detection information into the photoelectric data buffer and visual image buffer, respectively. Next, it reads the end marker of the cycle return signal from the lower-level machine, determines whether the photoelectric data or visual image has been filled into the buffer within the cycle, and fuses the photoelectric and visual detection results based on the filling status to comprehensively judge the detection result of the current cigarette pack. Based on the detection results, it stores the number of empty cigarette packs detected, the number of defects, and the photoelectric data and visual images of defects. The user can view the visual image and corresponding photoelectric data of the defective cigarette pack on the human-machine interface, ultimately realizing the association and retrieval of visual images and photoelectric data for composite cigarette detection. The specific process is as follows:

[0040] During actual testing, when the start of the testing cycle arrives, the detector's microcontroller sends a cycle signal to begin marking, and the detector's host computer reads the cycle signal to begin marking. The tobacco shreds slide past the phototube, and the phototube forms a voltage data pattern based on the phase data collected. Figure 1 The photoelectric data curve is processed by the detector's host computer, which initiates a photoelectric data processing thread to process the data and store the results in the photoelectric data buffer. The tobacco shreds pass through a tobacco camera, which then captures images of the tobacco shreds. Figure 2 The visual image in the detector is processed by the host computer of the detector, which starts an image processing thread to process the visual image data and stores the processed result in the visual image buffer.

[0041] The microcontroller sends a periodic signal to mark the end of the cycle, and the detector's host computer receives the periodic signal. The host computer searches the photoelectric data buffer and the visual image buffer. If both photoelectric data and visual image data are lost, a blank detection fault is marked; otherwise, the blank detection count is incremented by 1. With the blank detection count incremented, the system determines whether the detected tobacco has defects based on the photoelectric data and visual image detection results. If defects are found, the blank defect count is incremented by 1, and either the photoelectric data or the visual image is saved, with missing photoelectric data or visual images marked as missing. After successful saving, the corresponding photoelectric data and visual image buffers are cleared. This completes the associated storage of visual images and photoelectric data for composite cigarette detection.

[0042] The user views the visual image of the defective cigarette packet and the corresponding photoelectric data on the human-computer interaction interface, and finally realizes the associated retrieval of the photoelectric data and the visual image of the composite cigarette detection.

[0043] Of course, the above description is not a limitation of the present application, and the present application is not limited to the above examples. Changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present application should also be within the scope of the present application.

Claims

1. A method for visual image and optoelectronic data correlation detection of a composite cigarette, characterized in that: The application discloses a device for detecting the correlation between visual images and photoelectric data of composite cigarettes, which comprises a host computer, a single-chip microcomputer, a photoelectric tube and a tobacco camera. The host computer is configured to read a period signal start mark and an end mark. The single-chip microcomputer is configured to send the period signal start mark and the end mark. The photoelectric tube is configured to collect voltage data. The tobacco camera is configured to take pictures of the tobacco end face to collect visual images. The method comprises the following steps: Step 1: reading the period signal start mark in real time, judging whether the period signal start mark is valid, if not, continuing to wait for the period signal start mark, if yes, executing step 2; Step 2: detecting whether the photoelectric data collection and processing in the period are completed, if yes, filling the photoelectric data and detection information into a photoelectric data buffer; Step 3: detecting whether the visual image collection and processing in the period are completed, if yes, filling the visual image and detection information into a visual image buffer; Step 4: reading the period signal end mark in real time, judging whether the period signal end mark is valid, if not, continuing to wait for the period signal end mark, if yes, executing step 5; Step 5: judging whether the photoelectric data and detection information in the photoelectric data buffer exist, and whether the visual image and detection information in the visual image buffer exist; Step 6: if the photoelectric data and the visual image in the photoelectric data buffer and the visual image buffer both do not exist, marking data loss; otherwise, executing step 7; Step 7: increasing the empty head detection number by 1, judging whether the detected cigarette exists defects according to the photoelectric data detection result and the visual image detection result, if yes, increasing the defect detection number by 1, saving the photoelectric data and the visual image and the corresponding detection information, if no, marking the corresponding data loss; Step 8: clearing the photoelectric data, the visual image and the corresponding detection information in the photoelectric data buffer and the visual image buffer; 2. The method for visual image and optoelectronic data correlation detection of a composite cigarette according to claim 1, characterized in that: Step 9: a user viewing the visual image of the defective cigarette and the corresponding photoelectric data on a man-machine interface, realizing the correlation search of the photoelectric data and the visual image in the composite cigarette detection.

3. The method for visual image and optoelectronic data correlation detection of a composite cigarette according to claim 1, characterized in that: In step 1, in the actual detection process, when the detection period comes, the single-chip microcomputer sends the period signal start mark, and the host computer reads the period signal start mark. In step 2, the method specifically comprises the following steps: Step 2.1: the tobacco end face slides through the photoelectric tube; Step 2.2: collecting voltage data through the photoelectric tube; 4. The method for visual image and optoelectronic data correlation detection of a composite cigarette according to claim 1, characterized in that: Step 2.3: the host computer starts a photoelectric data processing thread, processes the photoelectric data and stores the processed result into the photoelectric data buffer. In step 3, the method specifically comprises the following steps: Step 3.1: the tobacco end face passes through the tobacco camera; Step 3.2: taking pictures of the tobacco end face through the tobacco camera to collect visual images; Step 3.3: the host computer starts an image processing thread, processes the visual image data and stores the processed result into the visual image buffer.

5. The method for visual image and optoelectrical data correlation detection of a composite cigarette as claimed in claim 1, characterized by: In step 4, the single-chip microcomputer sends a periodic signal end mark, and the host computer receives the periodic signal end mark.

Citation Information

Patent Citations

  • A unification module that a cigarette bear detected in was used for diaphragm capsule

    CN208462941U