Cigarette package image tracing system, method and tobacco packaging machine
By setting up a code reading module and an imaging module on the tobacco packaging equipment and using a controller to achieve a fixed phase association between the QR code and image information, the problem of associating the cigarette package image and the QR code is solved, and the success rate of cigarette package quality control and production traceability is improved.
Patent Information
- Application Number
- CN202411781673.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-05
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-12-05
AI Technical Summary
In the existing technology, it is difficult to effectively associate the image and QR code of the cigarette package during the tobacco packaging process, which makes it difficult to control and trace the packaging quality.
Code reading modules and imaging modules are set at different workstations of the tobacco packaging equipment. The fixed phase association between the QR code and image information is realized through the controller. The encoder is used to obtain the real-time phase and feed it back to the controller to ensure that information is obtained and associated at the fixed code reading and photo taking phases.
The success rate of associating cigarette package images and QR codes has been significantly improved, enabling effective control of cigarette package quality and traceability of the production process, and improving the reliability and efficiency of the packaging process.
Smart Images

Figure CN119408810B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the technical field of tobacco packaging, and in particular to a cigarette package image tracing system, method and tobacco packaging machine. Background Art
[0002] In the process of producing and packaging cigarette products, there are three main processes: silk making, rolling and packaging.
[0003] The cigarette packaging process utilizes a tobacco packaging machine, which consists of a main unit and auxiliary units. The main unit primarily forms cigarette packets from various packaging materials and packs 20 cigarettes into packets. The auxiliary unit covers the packets with a layer of transparent paper and combines ten packets of transparent paper into a single strip. With the rise of the Internet of Things (IoT), "one item, one code" technology is being applied across a growing number of industries. In the cigarette industry, a QR code is printed on the label paper of each pack and the carton paper of each cigarette carton. This QR code uniquely identifies the cigarette packet, leaving room for further application. Using QR codes to control packaging quality and trace the packaging process is a pressing need. Summary of the Invention
[0004] The present invention provides a cigarette package image tracing system, method and tobacco packaging machine, so as to associate the image of the cigarette package in the tobacco production process with the QR code, control the tobacco packaging quality through the QR code, and realize the tracing of the tobacco packaging process.
[0005] In a first aspect, an embodiment of the present invention provides a cigarette package image tracing system, wherein the code reading module and the imaging module are respectively arranged at different packaging stations of a tobacco packaging device, and the encoder, the code reading module, and the imaging module are respectively connected to the controller for communication;
[0006] The code reading module is used to obtain the QR code information on the cigarette packs passing through the packaging station; the imaging module is used to obtain the image information of the cigarette packs passing through the packaging station; the encoder is used to read the real-time phase of the tobacco packaging device and feed the real-time phase of the tobacco packaging device back to the controller;
[0007] The controller is used to obtain the real-time phase of the tobacco packaging equipment, read the QR code information of the cigarette package in a fixed code reading phase, and read the image information of the cigarette package in a fixed photographing phase; the controller is also used to associate the QR code information and image information corresponding to the cigarette package passing through the packaging station based on the fixed code reading phase and the fixed photographing phase.
[0008] Optionally, the code reading module includes at least three code readers, and the imaging module includes at least seven imaging units;
[0009] At least three of the code readers are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment, and at least seven of the imaging units are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment; wherein the packaging station of the tobacco packaging equipment is divided into the main machine station and the auxiliary machine station;
[0010] The controller is also used to send a code reading control signal to the code reader and a photo taking control signal to the imaging unit; the code reader is used to obtain the QR code information on the cigarette pack passing through the workstation according to the code reading control signal; the imaging unit is used to obtain the image information of the cigarette pack passing through the workstation according to the photo taking control signal.
[0011] Optionally, at least three code readers are respectively arranged at the main machine station, the small box transparent paper packaging machine station and the strip box packaging machine station; wherein the auxiliary machine station includes the small box transparent paper packaging machine station and the strip box packaging machine station;
[0012] At least seven of the imaging units are respectively arranged at the missing branch and empty head imaging detection station, the small box glue dot imaging detection station, the five-wheel imaging detection station, the small package line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box line detection station; wherein, the main machine station includes the missing branch and empty head imaging detection station, the small box glue dot imaging detection station and the five-wheel imaging detection station, and the auxiliary machine station also includes the small package line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box line detection station.
[0013] Optionally, the tobacco packaging equipment further includes a plurality of rejection stations;
[0014] The controller is also used to determine whether the packaging of the cigarette package meets the packaging standards after obtaining image information of the cigarette package passing through each corresponding workstation, and when the packaging of the cigarette package does not meet the packaging standards, control the rejection workstation closest to the cigarette package to reject the cigarette package; the controller is also used to control the imaging unit that the cigarette package passes by to stop taking pictures before the cigarette package that does not meet the packaging standards reaches the nearest rejection workstation.
[0015] Optionally, the controller is also used to compare the sizes of the fixed code reading phase corresponding to the QR code information of the currently acquired cigarette package and the fixed photographing phase corresponding to the image information of the cigarette package. If the fixed code reading phase is larger than the fixed photographing phase, the QR code information corresponding to the fixed photographing phase or the image information of the cigarette package corresponding to the fixed photographing phase is associated with the current workstation where the cigarette package is located. If the fixed code reading phase is smaller than the fixed photographing phase, the QR code information corresponding to the fixed code reading phase or the image information of the cigarette package corresponding to the fixed photographing phase is associated with the next workstation where the cigarette package is currently located.
[0016] Optionally, the cigarette package image tracing system also includes a switch and a server;
[0017] The output end of the code reading module is connected to the first input end of the switch, the output end of the imaging module is connected to the second input end of the switch, the output end of the switch is connected to the input end of the controller, and the code reading module and the imaging module are communicatively connected to the controller through the switch;
[0018] The server is in communication with the imaging module and the controller, respectively. The imaging module is specifically configured to obtain image information of cigarette packets passing through the packaging station and transmit the image information of the cigarette packets to the server and the controller. The image information of the cigarette packets includes a picture of the cigarette packet and a corresponding picture name.
[0019] The server is used to save the image information of each cigarette pack passing through the packaging station; the controller is specifically used to associate the QR code information and picture name corresponding to the cigarette pack passing through the packaging station based on the fixed code reading phase and the fixed photo taking phase.
[0020] Optionally, a register is provided in the controller, and the imaging module is further configured to send the image information of the cigarette packet to a preset starting address of the register with a preset data length;
[0021] The register is a shift register, and the shift register shifts as the cigarette pack moves in the packaging station.
[0022] Optionally, the cigarette package image tracing system further includes a code scanning module;
[0023] The code scanning module is communicatively connected to the server, and is used to scan the QR code on the cigarette pack and obtain the QR code information of the cigarette pack, obtain the picture name corresponding to the cigarette pack according to the QR code information of the cigarette pack, and obtain the picture of the cigarette pack from the server according to the picture name of the cigarette pack.
[0024] In a second aspect, an embodiment of the present invention further provides a cigarette package image tracing method, which is applied to the cigarette package image tracing device described in any embodiment of the present invention. The cigarette package image tracing method includes:
[0025] Obtaining a real-time phase of the tobacco packaging device;
[0026] Reading the QR code information of the cigarette package at a fixed code reading phase, and reading the image information of the cigarette package at a fixed photographing phase;
[0027] Based on the fixed code reading phase and the fixed photographing phase, the QR code information and image information corresponding to the cigarette pack passing through the packaging station are associated.
[0028] In a third aspect, an embodiment of the present invention further provides a tobacco packaging machine, which includes the cigarette package image tracing device described in any embodiment of the present invention.
[0029] The present invention provides a cigarette package image tracing system, method and tobacco packaging machine. The cigarette package image tracing system includes a controller, an encoder, a code reading module and an imaging module. The code reading module and the imaging module are respectively arranged at different packaging stations of tobacco packaging equipment. The encoder, the code reading module and the imaging module are respectively connected to the controller for communication. The code reading module is used to obtain two-dimensional code information on cigarette packages passing through the packaging station. The imaging module is used to obtain image information of cigarette packages passing through the packaging station. The encoder is used to read the real-time phase of the tobacco packaging equipment and feed the real-time phase of the tobacco packaging equipment back to the controller. The controller reads the two-dimensional code information of the cigarette packages at a fixed code reading phase and reads the image information of the cigarette packages at a fixed photographing phase. Based on the fixed code reading phase and the fixed photographing phase, the two-dimensional code information and image information corresponding to the cigarette packages passing through the packaging station are associated to achieve association between the images and the two-dimensional codes of the cigarette packages in the tobacco production process. The pictures of the cigarette package production process are traced through the two-dimensional codes. In addition, by obtaining the two-dimensional code information and image information of the cigarette packages at a fixed phase and associating the two, the success rate of associating the images and the two-dimensional codes of the cigarette packages can be significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic structural diagram of a cigarette package image tracing system provided in an embodiment of the present invention.
[0031] Figure 2 A schematic structural diagram of another cigarette package image tracing system provided in an embodiment of the present invention.
[0032] Figure 3 The figure is a flowchart of a cigarette package image tracing method according to an embodiment of the present invention.
[0033] Figure 4Schematic diagram of the structure of a tobacco packaging machine in an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0035] An embodiment of the present invention provides a cigarette package image tracing system. The system of this embodiment can be applied to the process of tobacco packaging equipment packaging tobacco. In the process of tobacco packaging equipment packaging tobacco into qualified cigarette packages, the cigarette package image tracing system of the embodiment of the present invention can associate the image of the cigarette package in the tobacco production process with the QR code, and control the quality of the cigarette package through the QR code, thereby tracing the tobacco production process. Figure 1 A schematic diagram of a cigarette package image tracing system according to an embodiment of the present invention is shown in FIG. Figure 1 As shown, the cigarette package image tracing system includes a controller 110 , an encoder 120 , a code reading module 130 and an imaging module 140 .
[0036] The code reading module 130 and the imaging module 140 are respectively arranged at different packaging stations of the tobacco packaging equipment. The encoder 120 , the code reading module 130 and the imaging module 140 are respectively connected to the controller 110 for communication.
[0037] The code reading module 130 is used to obtain the QR code information on the cigarette packs passing through the packaging station; the imaging module 140 is used to obtain the image information of the cigarette packs passing through the packaging station; the encoder 120 is used to read the real-time phase of the tobacco packaging equipment and feed back the real-time phase of the tobacco packaging equipment to the controller 110. The controller 110 is used to obtain the real-time phase of the tobacco packaging equipment, read the QR code information of the cigarette packs at a fixed code reading phase, and read the image information of the cigarette packs at a fixed photographing phase; the controller 110 is also used to associate the QR code information and image information corresponding to the cigarette packs passing through the packaging station based on the fixed code reading phase and the fixed photographing phase.
[0038] Controller 110 may be a programmable logic controller (PLC). Controller 110 may control code reading module 130 to read the QR code information on cigarette packs passing through the packaging station, and may also control imaging module 140 to capture image information of cigarette packs passing through the packaging station. Encoder 120 may be a main encoder within the tobacco packaging equipment. Controller 110 uses encoder 120 to obtain the real-time phase of the tobacco packaging equipment, performs data statistics on the real-time phase of the tobacco packaging equipment, and then performs code reading after the encoder 120 reaches a fixed phase. Tobacco packaging equipment has multiple different packaging stations, each of which completes a different tobacco packaging process. Code reading module 130 may include multiple code reading devices to scan and capture QR code information on cigarette packs at different packaging stations. Imaging module 140 may also include multiple cameras to capture image information of cigarette packs during the packaging process at each packaging station. Cigarette packs refer to cigarettes and cigarette packaging. A QR code is printed on the cigarette packaging. This QR code is the unique identity identifier of the cigarette pack. The image information of the cigarette pack mainly refers to the image of the cigarettes and cigarette packaging at the packaging station. For example, when twenty cigarettes pass through the lower cigarette channel station of the tobacco packaging equipment to form a complete 7-6-7 cigarette arrangement combination, the imaging module 140 takes a photo to obtain the image information of the cigarette pack at the packaging station, so that based on the image information of the packaging station, it can be identified whether there are missing cigarettes or empty cigarettes, thereby timely discovering quality problems of the cigarette pack.
[0039] Specifically, the code reading module 130 and the imaging module 140 are respectively set on different packaging stations of the tobacco packaging equipment. For example, the code reading module 130 can be set on the packaging stations of multiple tobacco packaging equipment to obtain the QR code information on the cigarette packs passing through the packaging station. The imaging module 140 can also be set on the packaging stations of multiple tobacco packaging equipment to obtain the image information of the cigarette packs passing through the packaging station. The encoder 120, the code reading module 130 and the imaging module 140 are respectively connected to the controller 110 for communication. The encoder 120 reads the real-time phase of the tobacco packaging equipment and feeds the real-time phase of the tobacco packaging equipment back to the controller 110. The controller 110 obtains the real-time phase of the tobacco packaging equipment, reads the QR code information of the cigarette package at a fixed code reading phase, and reads the image information of the cigarette package at a fixed photographing phase. Based on the fixed code reading phase and the fixed photographing phase, the QR code information and image information corresponding to the cigarette package passing through the packaging station are associated, thereby ensuring data interaction with the code reading module 130 at a fixed phase and data interaction with the imaging module 140 at a fixed phase, and the QR code information and image information corresponding to the cigarette package are associated based on the fixed code reading phase and the fixed photographing phase. By scanning the QR code of the cigarette package, the corresponding image information can be obtained, thereby controlling the production quality of the cigarette package and tracing the production process of the cigarette package when there is a problem with the quality of the cigarette package. In addition, by obtaining the QR code information and image information of the cigarette package at a fixed phase and associating the two, the success rate of associating the image and QR code of the cigarette package can be significantly improved.
[0040] An embodiment of the present invention provides a cigarette package image tracing system, comprising a controller, an encoder, a code reading module and an imaging module; the code reading module and the imaging module are respectively arranged on different packaging stations of a tobacco packaging device, and the encoder, the code reading module and the imaging module are respectively communicated with the controller; the code reading module is used to obtain two-dimensional code information on cigarette packages passing through the packaging station; the imaging module is used to obtain image information of cigarette packages passing through the packaging station; the encoder is used to read the real-time phase of the tobacco packaging device and feed the real-time phase of the tobacco packaging device back to the controller, the controller reads the two-dimensional code information of the cigarette package at a fixed code reading phase and reads the image information of the cigarette package at a fixed photographing phase, and associates the two-dimensional code information and image information corresponding to the cigarette package passing through the packaging station based on the fixed code reading phase and the fixed photographing phase, so as to associate the image and the two-dimensional code of the cigarette package in the tobacco production process, and trace the pictures of the cigarette package production process through the two-dimensional code, and by obtaining the two-dimensional code information and image information of the cigarette package at a fixed phase and associating the two, the success rate of associating the image and the two-dimensional code of the cigarette package can be significantly improved.
[0041] Continue to refer Figure 1Optionally, the code reading module 130 includes at least three code readers, and the imaging module 140 includes at least seven imaging units; at least three code readers are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment, and at least seven imaging units are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment; wherein, the packaging station of the tobacco packaging equipment is divided into the main machine station and the auxiliary machine station.
[0042] The controller 110 is also used to send a code reading control signal to the code reader and a photo taking control signal to the imaging unit; the code reader is used to obtain the QR code information on the cigarette pack passing through the workstation according to the code reading control signal; the imaging unit is used to obtain the image information of the cigarette pack passing through the workstation according to the photo taking control signal.
[0043] The packaging stations of the tobacco packaging equipment are divided into main stations and auxiliary stations. The main stations may include stations for completing the packaging of cigarettes, label paper, aluminum foil, and inner frame paper. The auxiliary stations may include small box transparent paper packaging machines (packing small boxes with transparent paper outside) and strip box packaging machines (packing strip box paper and strip box transparent paper outside). Each barcode reader and each imaging unit are respectively installed in the main station and auxiliary station of the tobacco packaging equipment. Optionally, the imaging unit is a camera.
[0044] Specifically, the controller 110 can send a code reading control signal to the code reader and a photo taking control signal to the imaging unit. The code reader can obtain the QR code information on the cigarette packs passing through its workstation based on the code reading control signal; and the imaging unit can obtain the image information of the cigarette packs passing through its workstation based on the photo taking control signal. Optionally, both the code reading control signal and the photo taking control signal are I / O signals. After receiving the I / O signals sent by the controller 110, the code reader and the imaging unit respectively obtain the QR code information on the cigarette packs passing through their workstations and obtain the image information of the cigarette packs passing through their workstations, thereby achieving the acquisition of QR code information and image information of the cigarette packs at each packaging station, so as to associate the images and QR codes of the cigarette packs during the tobacco production process, control the quality of the cigarette packs through the QR codes, and thus trace the cigarette pack production process.
[0045] In addition, at least three code readers are respectively arranged at the main machine station, the small box transparent paper packaging machine station and the strip box packaging machine station; among which, the auxiliary machine station includes the small box transparent paper packaging machine station and the strip box packaging machine station.
[0046] At least seven imaging units are respectively arranged at the missing branch and empty head imaging detection station, the small box glue dot imaging detection station, the five-wheel imaging detection station, the small package pulling line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box pulling line detection station; among them, the main machine station includes the missing branch and empty head imaging detection station, the small box glue dot imaging detection station and the five-wheel imaging detection station, and the auxiliary machine station also includes the small package pulling line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box pulling line detection station.
[0047] Among them, the small box transparent paper packaging machine station can complete the transparent paper packaging of the small box outer of the cigarette pack, and the strip box packaging machine station can complete the packaging of the strip box paper and the transparent paper outer of the strip box. The missing cigarette and empty head imaging detection station is used to detect whether there are missing cigarettes or empty ends after passing through the cigarette unloading channel. The small box glue point imaging detection station is used to detect whether the glue points of the trademark paper are missing or offset after passing through the glue roller. The five-wheel imaging detection station is used to complete the packaging of the inner frame paper on the fifth packaging wheel to detect whether the position of the inner frame paper and aluminum foil paper is offset. The small package pull line detection is used to detect whether the pull line of the transparent paper outer of the small box is offset. The small package sixth side detection station is used to detect whether the trademark paper of the small box is damaged after passing through the beam between the main and auxiliary machines. The strip box glue point detection station is used to detect whether the glue points of the strip box paper are missing or offset after spraying. The strip box pull line detection station is used to detect whether the pull line of the transparent paper of the strip box is offset.
[0048] Optionally, the tobacco packaging equipment also includes multiple rejection stations; the controller 110 is also used to determine whether the packaging of the cigarette package meets the packaging standards after obtaining image information of the cigarette package passing through each corresponding station, and when the packaging of the cigarette package does not meet the packaging standards, control the rejection station closest to the cigarette package to reject the cigarette package; the controller 110 is also used to control the imaging unit that the cigarette package passes through to stop taking pictures before the cigarette package that does not meet the packaging standards reaches the nearest rejection station.
[0049] Specifically, after obtaining image information of cigarette packs passing through each corresponding station, the controller 110 can determine whether the packaging of the cigarette packs meets the packaging standards, and when the packaging of the cigarette packs does not meet the packaging standards, control the rejection station closest to the cigarette packs to reject the cigarette packs. For example, the controller 110 controls the imaging unit to take pictures, obtains the image information of the cigarette packs passing through each corresponding station, and feeds back the cigarette packs with problematic image information to the PLC controller of the tobacco packaging equipment after comparison, controls the rejection station closest to the cigarette packs, and rejects the cigarette packs; for example, when twenty cigarettes pass through the lower cigarette channel of the tobacco packaging equipment to form a complete 7-6-7 cigarette arrangement, the controller 110 controls the imaging unit where the missing cigarette imaging detection station is located to take pictures, and the controller 110 recognizes that there are missing cigarettes or empty cigarettes through the photos, and sends a signal to the PLC controller of the tobacco packaging equipment to control the rejection station closest to the cigarette packs to reject the cigarette packs; for example, after the trademark paper passes through the glue spraying roller, the controller 110 controls the imaging unit where the strip box glue point detection station is located to take pictures, and recognizes that the cigarette packs with missing glue points or position deviations through the photos are rejected. The packaging standards can be set according to the process of specific packaging stations. The packaging standards may include that there are no missing or empty cigarettes after passing through the cigarette unloading channel, the glue points of the trademark paper are not missing or offset after passing through the rubber roller, the packaging inspection of the inner frame paper completed on the No. 5 packaging wheel to ensure that the positions of the inner frame paper and aluminum foil paper are not offset, the pull line of the transparent paper outside the small box is not offset, and the trademark paper of the small box is not damaged after passing through the beam between the main and auxiliary machines.
[0050] Optionally, the controller 110 is also used to compare the size of the fixed code reading phase corresponding to the QR code information of the currently acquired cigarette package and the fixed photographing phase corresponding to the image information of the cigarette package. If the fixed code reading phase is larger than the fixed photographing phase, the QR code information corresponding to the fixed photographing phase or the image information of the cigarette package corresponding to the fixed photographing phase is associated with the current work station where the cigarette package is located. If the fixed code reading phase is smaller than the fixed photographing phase, the QR code information corresponding to the fixed code reading phase or the image information of the cigarette package corresponding to the fixed photographing phase is associated with the next work station of the current work station where the cigarette package is located.
[0051] Specifically, the program in the controller 110 will automatically compare the sizes of the fixed code reading phase corresponding to the QR code information of the currently acquired cigarette package and the fixed photographing phase corresponding to the image information of the cigarette package. If the fixed code reading phase is larger than the fixed photographing phase, the QR code information corresponding to the fixed photographing phase or the image information of the cigarette package corresponding to the fixed photographing phase will be associated with the current workstation where the cigarette package is located. If the fixed code reading phase is smaller than the fixed photographing phase, the QR code information corresponding to the fixed code reading phase or the image information of the cigarette package corresponding to the fixed photographing phase will be associated with the next workstation where the cigarette package is currently located, ensuring that the success rate of associating the image information of the cigarette package with the QR code is above 99.99% during the high-speed packaging process (600 packs per minute).
[0052] Optionally, a register is provided in the controller, and the imaging module is further used to send the image information of the cigarette package to a preset starting address of the register with a preset data length; the register is a shift register, and the shift register shifts as the cigarette package moves in the packaging station.
[0053] Furthermore, the imaging module 140 and the controller 110 must agree on the same IP address and port number, as well as the default starting address and data length of the read / write registers. When the encoder 120 detects that the tobacco packaging device has reached a fixed code reading phase, the controller 110 also determines whether the cigarette package exists and will not be rejected in the future. It then interacts with the imaging unit or code reader via the Modbus TCP protocol based on the agreed-upon port number and register address to complete the reading of the cigarette package's image information and QR code.
[0054] The control program of the controller 110 applies the concept of a shift register. It will automatically shift every time it reaches zero degree of the encoder 120, and shift as the cigarette packs in the packaging line of the tobacco packaging equipment move. The data structure of the same packaging station contains two types of data: the image information of the cigarette pack and the QR code, and the image information of the cigarette pack and the QR code information are associated.
[0055] Figure 2 A schematic diagram of another cigarette package image tracing system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the cigarette package image tracing system further includes a switch 150 and a server 160 .
[0056] The output end of the code reading module 130 is connected to the first input end of the switch 150, the output end of the imaging module 140 is connected to the second input end of the switch 150, and the output end of the switch 150 is connected to the input end of the controller 110. The code reading module 130 and the imaging module 140 are communicatively connected to the controller 110 through the switch 150.
[0057] The server 160 is respectively connected to the imaging module 140 and the controller 110 for communication. The imaging module 140 is specifically used to obtain image information of the cigarette pack passing through the packaging station and send the image information of the cigarette pack to the server 160 and the controller 110; wherein, the image information of the cigarette pack includes a picture of the cigarette pack and a corresponding picture name.
[0058] The server 160 is used to store the image information of each cigarette pack passing through the packaging station; the controller 110 is specifically used to associate the QR code information and picture name corresponding to the cigarette pack passing through the packaging station based on a fixed code reading phase and a fixed photo taking phase.
[0059] Specifically, server 160 is also in communication with code reading module 130, which can upload QR code information to server 160. Imaging module 140 writes the cigarette package image information into a pre-defined register address in controller 110 and saves the image information to server 160 via File Transfer Protocol (FTP). Based on a fixed code reading phase and a fixed photo taking phase, controller 110 can associate the QR code information and image names corresponding to cigarette packages passing through the packaging station, and can save this association to server 160. This allows the QR code to be used to retrieve the image name stored after the imaging module 140 takes the image during the tobacco packaging process, and the corresponding photo can be found on server 160 based on the image name.
[0060] Optional, such as Figure 2 As shown, the cigarette package image tracing system also includes a code scanning module 170; the code scanning module 170 is in communication with the server 160, and the code scanning module 170 is used to scan the QR code on the cigarette package and obtain the QR code information of the cigarette package, obtain the picture name corresponding to the cigarette package according to the QR code information of the cigarette package, and obtain the picture of the cigarette package from the server according to the picture name of the cigarette package.
[0061] Specifically, after the controller 110 completes the association between the QR code information and the picture name corresponding to the cigarette package passing through the packaging station, and when the cigarette package leaves the packaging line of the tobacco packaging equipment, the QR code on the cigarette package can be scanned by the code scanning module 170 to obtain the QR code information of the cigarette package. By searching the QR code information, the picture name corresponding to the cigarette package can be found, and the picture of the cigarette package can be obtained from the server according to the picture name of the cigarette package. The association and correspondence between the QR code of the unique identity identifier of the cigarette package and the photo is constructed, and accurate positioning is achieved to improve the packaging quality of the cigarette package. By obtaining pictures of the cigarette package production process through the QR code, the quality of the cigarette package can be controlled, thereby tracing the production process of the cigarette package.
[0062] Continue to refer Figure 2 The cigarette package image tracing system also includes a human-machine interface, on which the photographing phase of the imaging module 140 and the code reading phase of the code reading module 130 can be set, and the controller 110 can be set to read the fixed code reading phase of the code reading module 130 and the fixed photographing phase of the imaging module 140.
[0063] An embodiment of the present invention provides a cigarette pack image tracing system, which can associate the image of the cigarette pack in the tobacco production process with the QR code, trace the pictures of the cigarette pack production process through the QR code, and obtain the QR code information and image information of the cigarette pack at a fixed phase and associate the two, which can significantly improve the success rate of associating the cigarette pack image and QR code.
[0064] The embodiment of the present invention also provides a cigarette package image tracing method, Figure 3 Flowchart of a cigarette package image tracing method according to an embodiment of the present invention. The cigarette package image tracing method according to an embodiment of the present invention is applied to the cigarette package image tracing device according to any embodiment of the present invention and can be executed by the controller in the cigarette package image tracing device according to any embodiment of the present invention. Figure 3 As shown, the cigarette package image tracing method includes:
[0065] S110: Acquire the real-time phase of the tobacco packaging equipment.
[0066] Specifically, refer to Figure 1 The controller 110 obtains the real-time phase of the tobacco packaging equipment through the encoder 120, performs data statistics on the production process of the tobacco packaging equipment, and uses the real-time phase of the tobacco packaging equipment to read the QR code information of the cigarette package when the tobacco packaging equipment reaches a fixed code reading phase, and read the image information of the cigarette package when the tobacco packaging equipment reaches a fixed code reading phase.
[0067] S120 , reading the QR code information of the cigarette package at a fixed code reading phase, and reading the image information of the cigarette package at a fixed photographing phase.
[0068] Specifically, the controller 110 reads the QR code information of the cigarette pack at a fixed code reading phase and reads the image information of the cigarette pack at a fixed photographing phase, ensuring data interaction with the code reading module 130 at a fixed phase and data interaction with the imaging module 140 at a fixed phase, thereby avoiding abnormalities in the program in the controller 110 due to excessive confusion between the acquired QR code information and image information of the cigarette pack, and ensuring that the success rate of associating the QR code information and image information of the cigarette pack during the high-speed packaging process of the tobacco packaging equipment is above 99.99%.
[0069] S130 , associating the QR code information and image information corresponding to the cigarette packs passing through the packaging station based on a fixed code reading phase and a fixed photographing phase.
[0070] Specifically, the controller 110 associates the QR code information and image information corresponding to the cigarette package based on a fixed code reading phase and a fixed photographing phase, so that the corresponding image information can be obtained by scanning the QR code of the cigarette package, thereby controlling the production quality of the cigarette package and tracing the cigarette package production process when there is a problem with the cigarette package quality. Moreover, by obtaining the QR code information and image information of the cigarette package at a fixed phase and associating the two, the success rate of associating the cigarette package image and QR code can be significantly improved.
[0071] In addition, the cigarette package image tracing method of the embodiment of the present invention is not limited to the above process. The cigarette package image tracing method of the embodiment of the present invention also includes a method process of an application program of a controller in the cigarette package image tracing device in any embodiment of the present invention to achieve the same function and technical effect as the cigarette package image tracing device in any embodiment of the present invention.
[0072] The embodiment of the present invention provides a cigarette package image tracing method, which obtains the real-time phase of tobacco packaging equipment; reads the QR code information of the cigarette package in a fixed code reading phase, and reads the image information of the cigarette package in a fixed photographing phase; associates the QR code information and image information corresponding to the cigarette package passing through the packaging station based on the fixed code reading phase and the fixed photographing phase, thereby associating the image and QR code of the cigarette package in the tobacco production process, tracing the picture of the cigarette package production process through the QR code, and significantly improving the success rate of associating the image and QR code of the cigarette package by acquiring the QR code information and image information of the cigarette package in a fixed phase and associating the two.
[0073] The embodiment of the present invention further provides a tobacco packaging machine, Figure 4 FIG. 1 is a structural diagram of a tobacco packaging machine according to an embodiment of the present invention. Figure 4 As shown, the tobacco packaging machine 200 includes the cigarette pack image tracing device 100 in the above embodiment, thereby realizing the function and technical effect of the cigarette pack image tracing device 100 in the above embodiment.
[0074] Specifically, the tobacco packaging machine 200 may include a main machine and an auxiliary machine. The main machine mainly completes the process of forming cigarette packages from various packaging materials including aluminum foil and packing twenty cigarettes into the cigarette packages. The auxiliary machine mainly completes the process of coating the cigarette packages with a layer of transparent paper and combining ten cigarette packages with transparent paper into a large strip. The cigarette package image tracing device 100 in the above embodiment can be adaptively set in the tobacco packaging machine 200 to cooperate with the tobacco packaging machine 200 to complete the tobacco packaging process.
[0075] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will appreciate that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments, and substitutions are possible for those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A cigarette package image tracing system, characterized in that: The cigarette package image tracing system includes a controller, an encoder, a code reading module and an imaging module; The code reading module and the imaging module are respectively arranged on different packaging stations of the tobacco packaging equipment, and the encoder, the code reading module and the imaging module are respectively connected to the controller for communication; The code reading module is used to obtain the QR code information on the cigarette packs passing through the packaging station; the imaging module is used to obtain the image information of the cigarette packs passing through the packaging station; the encoder is used to read the real-time phase of the tobacco packaging device and feed the real-time phase of the tobacco packaging device back to the controller; The controller is used to obtain the real-time phase of the tobacco packaging equipment, read the QR code information of the cigarette pack during a fixed code reading phase, and read the image information of the cigarette pack during a fixed photographing phase; the controller is also used to associate the QR code information and image information corresponding to the cigarette pack passing through the packaging station based on the fixed code reading phase and the fixed photographing phase; The code reading module includes at least three code readers, and the imaging module includes at least seven imaging units; At least three of the code readers are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment, and at least seven of the imaging units are respectively arranged on the main machine station and the auxiliary machine station of the tobacco packaging equipment; wherein the packaging station of the tobacco packaging equipment is divided into the main machine station and the auxiliary machine station; The controller is further configured to send a code reading control signal to the code reader and a photographing control signal to the imaging unit; the code reader is configured to obtain the QR code information on the cigarette pack passing through the workstation according to the code reading control signal; and the imaging unit is configured to obtain the image information of the cigarette pack passing through the workstation according to the photographing control signal. The controller is also used to compare the sizes of the fixed code reading phase corresponding to the QR code information of the currently acquired cigarette pack and the fixed photographing phase corresponding to the image information of the cigarette pack. If the fixed code reading phase is larger than the fixed photographing phase, the QR code information corresponding to the fixed photographing phase or the image information of the cigarette pack corresponding to the fixed photographing phase is associated with the current workstation where the cigarette pack is located. If the fixed code reading phase is smaller than the fixed photographing phase, the QR code information corresponding to the fixed code reading phase or the image information of the cigarette pack corresponding to the fixed photographing phase is associated with the next workstation where the cigarette pack is currently located.
2. The cigarette package image tracing system according to claim 1, characterized in that: At least three code readers are respectively arranged at the main machine station, the small box transparent paper packaging machine station and the strip box packaging machine station; wherein the auxiliary machine station includes the small box transparent paper packaging machine station and the strip box packaging machine station; At least seven of the imaging units are respectively arranged at the missing branch and empty head imaging detection station, the small box glue dot imaging detection station, the five-wheel imaging detection station, the small package line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box line detection station; wherein, the main machine station includes the missing branch and empty head imaging detection station, the small box glue dot imaging detection station and the five-wheel imaging detection station, and the auxiliary machine station also includes the small package line detection station, the small package sixth side detection station, the strip box glue dot detection station and the strip box line detection station.
3. The cigarette package image tracing system according to claim 1, characterized in that: The tobacco packaging equipment also includes a plurality of rejection stations; The controller is also used to determine whether the packaging of the cigarette package meets the packaging standards after obtaining image information of the cigarette package passing through each corresponding workstation, and when the packaging of the cigarette package does not meet the packaging standards, control the rejection workstation closest to the cigarette package to reject the cigarette package; the controller is also used to control the imaging unit that the cigarette package passes by to stop taking pictures before the cigarette package that does not meet the packaging standards reaches the nearest rejection workstation.
4. The cigarette package image tracing system according to claim 1, characterized in that: It also includes switches and servers; The output end of the code reading module is connected to the first input end of the switch, the output end of the imaging module is connected to the second input end of the switch, the output end of the switch is connected to the input end of the controller, and the code reading module and the imaging module are communicatively connected to the controller through the switch; The server is in communication with the imaging module and the controller, respectively. The imaging module is specifically configured to obtain image information of cigarette packets passing through the packaging station and transmit the image information of the cigarette packets to the server and the controller. The image information of the cigarette packets includes a picture of the cigarette packet and a corresponding picture name. The server is used to save the image information of each cigarette pack passing through the packaging station; the controller is specifically used to associate the QR code information and picture name corresponding to the cigarette pack passing through the packaging station based on the fixed code reading phase and the fixed photo taking phase.
5. The cigarette package image tracing system according to claim 4, characterized in that: The controller is provided with a register, and the imaging module is further used to send the image information of the cigarette packet to a preset starting address of the register with a preset data length; The register is a shift register, and the shift register shifts as the cigarette pack moves in the packaging station.
6. The cigarette package image tracing system according to claim 4, characterized in that: The cigarette package image tracing system also includes a code scanning module; The code scanning module is communicatively connected to the server, and is used to scan the QR code on the cigarette pack and obtain the QR code information of the cigarette pack, obtain the picture name corresponding to the cigarette pack according to the QR code information of the cigarette pack, and obtain the picture of the cigarette pack from the server according to the picture name of the cigarette pack.
7. A cigarette package image tracing method, characterized in that: The cigarette package image tracing method is applied to the cigarette package image tracing system according to any one of claims 1 to 6, and the cigarette package image tracing method includes: Obtaining a real-time phase of the tobacco packaging device; Reading the QR code information of the cigarette package at a fixed code reading phase, and reading the image information of the cigarette package at a fixed photographing phase; Based on the fixed code reading phase and the fixed photographing phase, the QR code information and image information corresponding to the cigarette pack passing through the packaging station are associated.
8. A tobacco packaging machine, characterized in that: The tobacco packaging machine includes the cigarette package image tracing system according to any one of claims 1 to 6.
Citation Information
Patent Citations
Cigarette packet appearance camera device and cigarette packet appearance image management method and system
CN113758938A
Carton association system of high-speed cigarette packer based on dot matrix code technology
CN218559280U