A method, system and device for automatically detecting production batch change

CN118062510BActive Publication Date: 2026-06-26HUBEI CHINA TOBACCO INDUSTRY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUBEI CHINA TOBACCO INDUSTRY CO LTD
Filing Date
2024-04-10
Publication Date
2026-06-26

Smart Images

  • Figure CN118062510B_ABST
    Figure CN118062510B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of automatic batch production material detection method, system and device, the method comprises: extracting production order and material list in MES system and material system, comparing production order and material list in MES system and material system, detect whether there is abnormal data in comparison result;When there is no abnormal data in comparison result, order is issued based on the preset time corresponding to production order;When cigarette packet is in first belt conveyor, the cigarette packet information of cigarette packet is acquired in real time, and the corresponding information in material list is compared with the cigarette packet information, and the corresponding instruction is output based on the comparison result;When the output instruction is receiving instruction, the cigarette packet in slicing stage is counted on the second belt conveyor, and when the count result is the quantity of current batch, material stop signal is sent to the centralized control system, and emptying detection is carried out on the slicing machine on the third belt conveyor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of tobacco production technology, and in particular to an automatic batch change production material detection method, system and device. Background Technology

[0002] The tobacco processing line primarily handles raw material processing, transforming tobacco leaves into shredded tobacco that meets specific technological requirements. The entire tobacco processing process is automated, involving at least ten continuous processing steps from raw material to finished shredded tobacco. Due to the length of the tobacco processing line, it is further subdivided into many smaller control units for easier control. The slicing unit's task is to cut the unpacked tobacco bales into pieces of a certain thickness to meet the requirements of the subsequent loosening and rehydration process.

[0003] Currently, tobacco leaf processing generally adopts a batch-based production model with a complete formula, meaning each batch uses a fixed amount of tobacco leaves from the entire formula. Since the tobacco leaves used in batch production constitute a complete formula composed of various grades of tobacco leaves, batch production must ensure the accuracy of the input materials. When changing batches, it is crucial to prevent the leftover materials from the previous batch from mixing with the materials from the next batch, thus ensuring the integrity of the leaf blend formula and affecting product quality. Summary of the Invention

[0004] To address the problems existing in the prior art, embodiments of the present invention provide an automatic batch change production material detection method, system, and device.

[0005] This invention provides an automatic batch change production material detection method, comprising: a first belt conveyor, a second belt conveyor, and a third belt conveyor.

[0006] Extract production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and check whether there is any abnormal data in the comparison results;

[0007] If no abnormal data is found in the comparison results, the order will be issued based on the preset time corresponding to the production work order.

[0008] When the cigarette pack is detected to be on the first belt conveyor, the cigarette pack information is acquired in real time, and the cigarette pack information is compared with the corresponding information in the bill of materials. Based on the comparison result, the corresponding instruction is output.

[0009] When the output instruction is a receive instruction, the tobacco packs in the slicing stage are counted on the second belt conveyor, and when the count result is the current batch quantity, a material stop signal is sent to the centralized control system, and the slicer on the third belt conveyor is vented for detection.

[0010] In one embodiment, the method further includes:

[0011] Compare the cigarette brand and production batch number in the production work orders described in the MES system and the material system;

[0012] Compare the formula number, tobacco grade code, tobacco year, weight of tobacco per box, total weight of batch feed, and total number of tobacco packs in the list of items in the MES system and the material system.

[0013] In one embodiment, the method further includes:

[0014] When abnormal data is found in the comparison results of production work orders and bills of materials in the MES system and the material system, an alarm message is issued.

[0015] In one embodiment, the method further includes:

[0016] Compare the information on the cigarette packaging with the formulation standards in the bill of materials;

[0017] When the information of the cigarette pack matches the formula standard in the bill of materials, a cigarette pack receiving instruction is sent to the centralized control system, so that the centralized control system can count the cigarette packs through the second belt conveyor.

[0018] When the information of the cigarette pack does not match the formula standard in the bill of materials, a rejection instruction for the cigarette pack is sent to the centralized control system, and a second alarm message is issued.

[0019] In one embodiment, the method further includes:

[0020] When it is detected that the material in the slicer on the third belt conveyor is empty, the cigarette pack is conveyed to the slicer, and when the photoelectric sensing system on the second belt conveyor detects the cigarette pack signal, the number of cigarette packs is counted.

[0021] In one embodiment, the method further includes:

[0022] The cigarette pack conveying distance is detected in real time by the photoelectric sensing system on the third belt conveyor. When the real-time detected conveying distance meets the preset threshold of the photoelectric sensing system, the slicer passes the empty detection.

[0023] In one embodiment, the method further includes:

[0024] Obtain the total cumulative amount detected by the electronic belt scale, compare the total cumulative amount with the total amount of materials in the bill of materials, and determine whether the error value of the comparison result is greater than a preset threshold.

[0025] When the error value of the comparison result is greater than the preset threshold, a third alarm message will be issued.

[0026] This invention provides an automated batch change production material detection system, comprising: a digital twin system, a MES system, a logistics system, a centralized control system, and a slicing unit. The slicing unit includes: a first belt conveyor, a second belt conveyor, a third belt conveyor, and a slicer.

[0027] The digital twin system extracts production work orders and bills of materials from the MES system and the material system, compares the production work orders and bills of materials in the MES system and the material system, and checks whether there is any abnormal data in the comparison results;

[0028] If no abnormal data is found in the comparison results, the order is issued to the slice unit based on the preset time corresponding to the production work order;

[0029] When the digital twin system detects that the cigarette pack is on the first belt conveyor, it obtains the cigarette pack information in real time through the logistics system, compares the cigarette pack information with the corresponding information in the bill of materials, and outputs corresponding instructions based on the comparison results;

[0030] When the output instruction is a receive instruction, the digital twin system counts the tobacco packs in the slicing stage on the second belt conveyor, and when the count result is the current batch quantity, it sends a material stop signal to the centralized control system and performs an emptying detection on the slicer on the third belt conveyor.

[0031] This invention provides an automatic batch change production material detection device, comprising:

[0032] The first comparison module is used to extract production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and detect whether there is any abnormal data in the comparison results.

[0033] The order module is used to issue orders based on the preset time corresponding to the production work order when there is no abnormal data in the comparison results.

[0034] The second comparison module is used to detect when the cigarette pack is on the first belt conveyor, acquire the cigarette pack information in real time, compare the cigarette pack information with the corresponding information in the bill of materials, and output corresponding instructions based on the comparison results;

[0035] The counting module is used to count the tobacco bales in the slicing stage on the second belt conveyor when the output instruction is a receive instruction, and to send a material stop signal to the centralized control system when the counting result is the current batch quantity, and to perform an emptying detection on the slicer on the third belt conveyor.

[0036] This invention provides an electronic device, including a processor and a memory;

[0037] The processor is connected to the memory;

[0038] The memory is used to store executable program code;

[0039] The processor runs a program corresponding to the executable program code stored in the memory to perform the methods described in one or more embodiments.

[0040] In view of the above, in one or more embodiments of this specification, production work orders and bills of materials are extracted from the MES system and the material system, and compared with the production work orders and bills of materials in the MES system and the material system to detect whether there is abnormal data in the comparison results; if there is no abnormal data in the comparison results, the order is issued based on the preset time corresponding to the production work order; when the cigarette pack is detected to be on the first belt conveyor, the cigarette pack information is acquired in real time, and the cigarette pack information is compared with the corresponding information in the bill of materials, and the corresponding instruction is output based on the comparison result; when the output instruction is a receive instruction, the cigarette packs in the slicing stage are counted on the second belt conveyor, and when the count result is the current batch quantity, a material stop signal is sent to the centralized control system, and the slicing machine on the third belt conveyor is emptied for detection. This can further prevent the materials of different batches from mixing together during the tobacco production process, thereby destroying the integrity of the cigarette leaf blend formula and improving the product quality of the produced cigarettes. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 This is a flowchart of an automatic batch change production material detection method provided in one embodiment of this specification.

[0043] Figure 2 This is a schematic diagram of the structure of a slicing unit in a tobacco processing line based on a digital twin system, provided in one embodiment of this specification.

[0044] Figure 3 This is a flowchart illustrating the operation of an automatic batch change production material detection system according to one embodiment of this specification.

[0045] Figure 4This is a schematic diagram of an automatic batch change production material detection device provided in one embodiment of this specification.

[0046] Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this specification. Detailed Implementation

[0047] The subject matter described herein will now be discussed with reference to exemplary embodiments. It should be understood that these embodiments are discussed merely to enable those skilled in the art to better understand and implement the subject matter described herein, and are not intended to limit the scope, applicability, or examples set forth in the claims. The function and arrangement of the elements discussed may be changed without departing from the scope of this specification. Various processes or components may be omitted, substituted, or added as needed in the various examples. For example, the described methods may be performed in a different order than described, and steps may be added, omitted, or combined. Furthermore, features described in some examples may be combined in other examples.

[0048] As used herein, the term "comprising" and its variations are open terms meaning "including but not limited to". The term "based on" means "at least partially based on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment". The term "another embodiment" means "at least one other embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other definitions, whether explicit or implicit, may be included below. Unless explicitly indicated by the context, the definition of a term shall remain consistent throughout the specification.

[0049] like Figure 1 As shown in the figure, this embodiment of the invention provides an automatic batch change production material detection method.

[0050] Step S102: Extract production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and check whether there is any abnormal data in the comparison results.

[0051] Specifically, during the tobacco processing line production process, production work orders and bills of materials are extracted from the MES system. The MES system plays a role in production scheduling and execution, production data collection, quality management, inventory management, and production process analysis. Production work orders can include the current tobacco batch number, the corresponding cigarette brand, etc., while the bill of materials includes data on various materials used in each batch of tobacco processing. The material management system plays a role in material scheduling, inventory control, procurement, and production guidance during the tobacco processing line production process. The production work orders from the MES system and the material management system are integrated. The comparison between the MES system and the material system can include: production work order comparison items: cigarette brand comparison, production batch number comparison; and bill of materials (BOM) comparison items: formula number comparison, tobacco grade code comparison, tobacco year comparison, single box tobacco weight comparison, batch total weight comparison, and total number of cigarette packs comparison. If there is a mismatch between the information in the MES system and the material system, it indicates abnormal data. In this case, an alarm needs to be triggered, and a corresponding first alarm message needs to be generated to remind staff that there is a data error in the material system and adjustments are needed. Otherwise, the data is normal, and subsequent production steps can proceed.

[0052] Step S104: If there is no abnormal data in the comparison results, the order is issued based on the preset time corresponding to the production work order.

[0053] Specifically, when the information in the MES system and the material system matches and there is no abnormal data, the order can be issued to the corresponding production line of the tobacco leaf processing line, such as the corresponding slicing unit, according to the preset processing time of the corresponding batch in the production work order.

[0054] Step S106: When the cigarette pack is detected to be on the first belt conveyor, the cigarette pack information is acquired in real time, and the cigarette pack information is compared with the corresponding information in the bill of materials. Based on the comparison result, the corresponding instruction is output.

[0055] Specifically, when a cigarette pack is detected to be on the first belt conveyor during processing, its information can be acquired. The first, second, and third belt conveyors are all continuous processing conveying devices, continuously outputting cigarette packs to be processed, each undertaking different processing responsibilities. When a cigarette pack is on the first belt conveyor, its information can be acquired using the goods tracking capability of the WCS system. This information is then compared with the bill of materials to confirm whether the actual transported cigarette pack information matches the formula standards in the batch production bill of materials. Based on the comparison result, corresponding instructions are output. Specific output instructions may include: if the comparison results match, a cigarette pack acceptance instruction is sent to the centralized control system corresponding to the tobacco processing production line; if the comparison results do not match, a cigarette pack rejection instruction is sent to the centralized control system of the tobacco processing production line, and a second alarm error is issued.

[0056] Step S108: When the output instruction is a receive instruction, the tobacco packs in the slicing stage are counted on the second belt conveyor, and when the count result is the current batch quantity, a material stop signal is sent to the centralized control system, and the slicer on the third belt conveyor is vented for detection.

[0057] Specifically, when the output instruction is a receive instruction, it means that the actual conveyed tobacco package information matches the formula standard in the batch production material list. Then, the tobacco packages at the slicing node are counted on the second belt conveyor. The specific counting method can be detected by the detection device on the second belt conveyor or by the photosensitive device. When the real-time detected conveying distance meets the preset threshold of the photoelectric sensing system, the slicer can detect the emptying. Alternatively, it can be determined by the conveying speed from the first belt conveyor to the second belt conveyor, etc. There are no further limitations here. When the current batch is in the final stage, that is, when the counting result is about to reach the current batch quantity, the centralized control system will control the material to no longer enter the logistics system for processing to prevent the mixing of materials from different batches. Furthermore, after controlling the materials to no longer flow through the logistics system, it is necessary to further detect whether the materials in the current logistics system have been emptied. This can be done by detecting the emptying of the slicer on the third belt conveyor. The specific detection method can also be based on detection devices, such as optical sensors, or by sensors. In addition, after detecting that the slicer is empty, it is also possible to detect that the production line of the material system has been emptied, for example, by detecting the emptying of materials using an electronic belt scale. Specifically, for the detection of the electronic belt scale, the total cumulative amount detected by the electronic belt scale can be detected and compared with the total amount of materials in the bill of materials. The error value of the comparison result is then judged to be greater than a preset threshold. When the error value of the comparison result is greater than the preset threshold, a third alarm message is issued.

[0058] Alternatively, the method for counting cigarette packs in the slicing stage on the second belt conveyor can be achieved by sequentially conveying the cigarette packs to the slicer for processing, one pack at a time. When the slicer on the third belt conveyor is found to be empty, the cigarette packs to be processed are conveyed to the slicer. After conveying, the photoelectric sensing system on the second belt conveyor detects the cigarette pack signal and counts the number of cigarette packs. This method combines the processing steps and photoelectric detection to comprehensively determine the counting result, thereby improving the accuracy of the counting result.

[0059] In addition, when it is detected that all the production materials for the current batch have been delivered, the materials along the production line have been emptied, and there are no abnormalities in the batch production material balance, the production work order for the current batch is terminated, the production equipment is stopped, and the production of the next work order is started.

[0060] This invention provides an automatic batch change production material detection method. It extracts production work orders and bills of materials from the MES system and the material system, compares these data, and checks for any abnormal data. If no abnormal data is found, an order is issued based on a preset time corresponding to the production work order. When the cigarette packs are detected on the first belt conveyor, the method acquires real-time information about the packs and compares it with the corresponding information in the bill of materials, outputting a corresponding instruction based on the comparison result. When the output instruction is a receive instruction, the method counts the cigarette packs in the slicing stage on the second belt conveyor. When the count result matches the current batch quantity, a material stop signal is sent to the centralized control system, and the slicing machine on the third belt conveyor is emptied for detection. This method further prevents the mixing of materials from different batches during tobacco production, thus preserving the integrity of the cigarette leaf blend formula and improving the product quality of the produced cigarettes.

[0061] In another embodiment, an automated batch change production material detection system is provided, comprising a digital twin system, a MES system, a logistics system, a centralized control system, and a slicing unit. The slicing unit includes a first belt conveyor, a second belt conveyor, a third belt conveyor, and a slicing machine. The digital twin system refers to a digital image of the real world constructed using technologies (such as the Internet of Things, big data analytics, and artificial intelligence) to simulate, predict, and optimize physical objects, processes, or systems in the real world. It can be integrated with the MES system, logistics system, centralized control system, and slicing unit during tobacco processing line production to complete an automated batch change production material detection method. A schematic diagram of the slicing unit on the corresponding production line based on the digital twin system during tobacco processing line production is shown below. Figure 2 As shown, in Figure 2The system includes: 1-First belt conveyor, 2-Second belt conveyor, 3-Slicer, 4-Third belt conveyor, 5-Electronic belt scale, 6-First photoelectric switch, 7-Second photoelectric switch, 8-Third photoelectric switch, 9-Fourth photoelectric switch, 10-Fifth photoelectric switch, 11-Sixth photoelectric switch, 12-Encoder, 13-Safety light curtain.

[0062] In this embodiment, the operation steps of the automatic batch change production material detection system include:

[0063] Step S302: The digital twin system extracts the production work orders and bills of materials from the MES system and the material system, compares the production work orders and bills of materials in the MES system and the material system, and checks whether there is any abnormal data in the comparison results.

[0064] Step S304: If there is no abnormal data in the comparison results, the order is issued to the slice unit based on the preset time corresponding to the production work order.

[0065] In step S306, when the digital twin system detects that the cigarette pack is on the first belt conveyor, it obtains the cigarette pack information in real time through the logistics system, compares the cigarette pack information with the corresponding information in the bill of materials, and outputs the corresponding instruction based on the comparison result.

[0066] Furthermore, in step S306, when the first belt conveyor (1) receives a cigarette pack from the logistics system, the digital twin system backend counts once; the counting trigger condition is that the digital twin system backend detects no material information of the shuttle car through the WCS system and receives a feedback signal from the first photoelectric switch (6) that material has entered the first belt conveyor (1) through the tobacco production line control system.

[0067] The tobacco packs received by the slicing unit are first buffered on the first belt conveyor (1), and the number of buffered tobacco packs does not exceed [number missing]. In the formula, n is the number of cigarette packs to be buffered, and nZ; 'a' is the length of the first belt conveyor (1); 'a' is the standard length of the cigarette pack.

[0068] The buffer control method is as follows: when the first photoelectric switch (6) detects the cigarette pack signal, it feeds back to the centralized control system of the tobacco processing production line; the centralized control system of the tobacco processing production line receives the cigarette pack entry signal and controls the first belt conveyor (1) to run for a period of time according to a preset time and then stop and enter the standby state; the preset time is... In the formula, t is the preset time, a is the standard length of the cigarette pack, The speed of the first belt conveyor (usually a constant speed) The stop delay time of the first belt conveyor (1) is used to control the gap between two adjacent tobacco packs. [3s,6s]; When the second photoelectric switch (7) detects the cigarette pack signal, the feedback control system of the tobacco production line stops the first belt conveyor (1) to buffer the cigarette pack.

[0069] The second belt conveyor (2) is equipped with a safety detection device near the inlet of the slicer (3), including: a third photoelectric switch (8), a fourth photoelectric switch (9), and a safety light curtain (10); the installation distance between the third photoelectric switch (8) and the fourth photoelectric switch (9) is... In the formula, a is the standard length of the cigarette pack; the safety light curtain (10) is installed in the middle of the third photoelectric switch (8) and the fourth photoelectric switch (9), and the height of the sensing area of ​​the safety light curtain (10) is h>b, where h is the height of the sensing area of ​​the safety light curtain (10) and b is the standard height of the cigarette pack.

[0070] The counting method for cigarette packs on the second belt conveyor (2) is as follows: the centralized control system of the filament production line controls the second belt conveyor (2) to receive only one cigarette pack from the first belt conveyor (1) each time. When the fourth photoelectric switch (9) detects the cigarette pack signal, if the digital twin system determines that the material in the slicer (3) is empty, it reverses the control system of the filament production line to control the second belt conveyor (2) to directly transport the cigarette pack to the slicer. If the background of the digital twin system determines that there is material in the slicer (3), it reverses the control system of the filament production line to control the second belt conveyor (2) to stop, so that the cigarette pack is in a waiting state before entering the slicer (3). The background of the digital twin system receives and processes the detection signals of the third photoelectric switch (8), the fourth photoelectric switch (9) and the safety light curtain (10) through the centralized control system of the filament production line. When the third photoelectric switch (8), the safety light curtain (10) and the fourth photoelectric switch (9) are separated by a distance of 10, ... (In the formula: For interval time, For the standard length of cigarette packs, For the second belt conveyor (2) speed) time to continuously detect the cigarette pack signal and the height detected by the sensing area of ​​the safety light curtain (10) is (in the formula) For the safety light curtain (10) to sense the height of the material, b is the standard height of the cigarette pack. Then the digital twin system counts one cigarette pack.

[0071] In step S308, when the output instruction is a receive instruction, the digital twin system counts the tobacco packs in the slicing stage on the second belt conveyor, and when the count result is the current batch quantity, it sends a material stop signal to the centralized control system and performs an emptying detection on the slicer on the third belt conveyor.

[0072] Furthermore, the specific method for venting detection in the slicer can be as follows: First, determine the distance between the fifth photoelectric switch (11) and the sixth photoelectric switch (12) on the third belt conveyor (4) inside the slicer. The value; when the fifth photoelectric switch (11) does not detect the presence of the cigarette pack as it enters the third belt conveyor (4) and is conveyed forward, the background timer of the digital twin system starts timing. At this time, the encoder installed on the drive motor of the third belt conveyor (4) starts detecting the distance of the cigarette pack from the fifth photoelectric switch. The remaining amount of tobacco pack residue in the slicer (3) ;when The digital twin system background determines that the tail material of the slicer (3) has been emptied.

[0073] Furthermore, for the detection of the electronic belt scale, the cumulative amount of the electronic belt scale (5) can be extracted through the centralized control system of the silk production line in the background of the digital twin system. The absolute value of the difference between the total material quantity E in the Bill of Materials (BOM) of the work order extracted from the backend of the digital twin system and the total material quantity E is no greater than 2% of the total material quantity, that is... The digital twin system backend determines that all tailings from the batch production line of the slicing unit have been emptied; if Then the digital twin system's backend will issue a third early warning message.

[0074] In this embodiment, the digital twin system collects and analyzes information such as production work orders, material lists, process equipment standards, equipment status, and equipment operating parameters from the MES system, logistics system, and tobacco processing production line control system through the industrial internet. This information is then used to control the tobacco processing production line control system to achieve full-process production collaboration, including material detection, anomaly judgment, and early warning for automatic batch switching of tobacco leaf slicing units. This improves the intelligent control level of the production line and thus ensures the quality and efficiency of cigarettes.

[0075] The following will be combined with the appendix Figure 4 This application provides a detailed description of the automatic batch change production material detection device provided in its embodiments. It should be noted that the appendix... Figure 4 The automatic batch change production material detection device shown is used to perform the functions described in this application. Figure 1 The methods shown in the embodiments are for illustrative purposes only, illustrating the parts relevant to the embodiments of this application. For specific technical details not disclosed, please refer to this application. Figure 1 The example shown.

[0076] Please see Figure 4 , Figure 4 This is a schematic diagram of an automatic batch change production material detection device provided in an embodiment of this application. Figure 4 As shown, the device includes:

[0077] The first comparison module S402 is used to extract production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and detect whether there is abnormal data in the comparison results.

[0078] The order module S404 is used to issue an order based on the preset time corresponding to the production work order when there is no abnormal data in the comparison results.

[0079] The second comparison module S406 is used to detect when the cigarette pack is on the first belt conveyor, acquire the cigarette pack information in real time, compare the cigarette pack information with the corresponding information in the bill of materials, and output the corresponding instruction based on the comparison result;

[0080] The counting module S408 is used to count the tobacco packages in the slicing stage on the second belt conveyor when the output instruction is a receive instruction, and to send a material stop signal to the centralized control system when the counting result is the current batch quantity, and to perform an emptying detection on the slicer on the third belt conveyor.

[0081] Those skilled in the art will clearly understand that the technical solutions of the embodiments of this application can be implemented by means of software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware that can independently complete or cooperate with other components to complete a specific function, wherein the hardware may be, for example, a field-programmable gate array (FPGA), an integrated circuit (IC), etc.

[0082] Each processing unit and / or module in the embodiments of this application can be implemented by an analog circuit that implements the functions described in the embodiments of this application, or by software that executes the functions described in the embodiments of this application.

[0083] See Figure 5 It shows a schematic diagram of the structure of an electronic device according to an embodiment of this application, which can be used to implement... Figure 1 The method in the illustrated embodiment. (As shown) Figure 5 As shown, the electronic device 500 may include: at least one processor 501, at least one network interface 504, user interface 503, memory 505, and at least one communication bus 502.

[0084] The communication bus 502 is used to enable communication between these components.

[0085] The user interface 503 may include a display screen and a camera. Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.

[0086] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).

[0087] The processor 501 may include one or more processing cores. The processor 501 connects to various parts within the electronic device 500 using various interfaces and lines, and executes various functions and processes data of the terminal 500 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 505, and by calling data stored in the memory 505. Optionally, the processor 501 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 501 may integrate one or a combination of several of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 501 and may be implemented as a separate chip.

[0088] The memory 505 may include random access memory (RAM) or read-only memory. Optionally, the memory 505 may include a non-transitory computer-readable storage medium. The memory 505 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 505 may also be at least one storage device located remotely from the aforementioned processor 501. Figure 5 As shown, the memory 505, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and program instructions.

[0089] exist Figure 5 In the electronic device 500 shown, the user interface 503 is mainly used to provide an input interface for users and obtain user input data; while the processor 501 can be used to call the image-based interactive application stored in the memory 505 and specifically perform the following operations: extract the production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and detect whether there is abnormal data in the comparison results; when there is no abnormal data in the comparison results, the order is issued based on the preset time corresponding to the production work order; when the cigarette pack is detected to be on the first belt conveyor, the cigarette pack information is obtained in real time, and the cigarette pack information is compared with the corresponding information in the bill of materials, and the corresponding instruction is output based on the comparison result; when the output instruction is a receive instruction, the cigarette packs in the slicing stage are counted on the second belt conveyor, and when the count result is the current batch quantity, a material stop signal is sent to the centralized control system, and the slicing machine on the third belt conveyor is emptied for detection.

[0090] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0091] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0092] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0093] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0094] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0095] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0096] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0097] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0098] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.

Claims

1. An automatic batch change production material detection method, characterized in that, This system is used in automated batch change production material inspection systems and includes: a first belt conveyor, a second belt conveyor, and a third belt conveyor. Extract production work orders and bills of materials from the MES system and the material system, compare the production work orders and bills of materials in the MES system and the material system, and check whether there is any abnormal data in the comparison results; If no abnormal data is found in the comparison results, the order will be issued based on the preset time corresponding to the production work order. When the cigarette pack is detected to be on the first belt conveyor, the cigarette pack information is acquired in real time, and the cigarette pack information is compared with the corresponding information in the bill of materials. Based on the comparison result, the corresponding instruction is output. When the output instruction is a receive instruction, the tobacco packs in the slicing stage are counted on the second belt conveyor, and when the count result is the current batch quantity, a material stop signal is sent to the centralized control system, and the slicer on the third belt conveyor is vented for detection. The process of performing an venting test on the slicer on the third belt conveyor includes: The cigarette pack conveying distance is detected in real time by the photoelectric sensing system on the third belt conveyor. When the real-time detected conveying distance meets the preset threshold of the photoelectric sensing system, the slicer passes the empty detection. After performing an venting test on the slicer on the third belt conveyor, the process further includes: Obtain the total cumulative amount detected by the electronic belt scale, compare the total cumulative amount with the total amount of materials in the bill of materials, and determine whether the error value of the comparison result is greater than a preset threshold. When the error value of the comparison result is greater than the preset threshold, a third alarm message will be issued.

2. The automatic batch change production material detection method according to claim 1, characterized in that, The comparison of production work orders and bills of materials in the MES system and the material system includes: Compare the cigarette brand and production batch number in the production work orders described in the MES system and the material system; Compare the formula number, tobacco grade code, tobacco year, weight of tobacco per box, total weight of batch feeding, and total number of tobacco packs in the bill of materials in the MES system and the material system.

3. The automatic batch change production material detection method according to claim 1, characterized in that, The method further includes: When abnormal data is found in the comparison results of production work orders and bills of materials in the MES system and the material system, an alarm message is issued.

4. The automatic batch change production material detection method according to claim 1, characterized in that, The step of comparing the cigarette pack information with the corresponding information in the bill of materials and outputting corresponding instructions based on the comparison result includes: Compare the information on the cigarette packaging with the formulation standards in the bill of materials; When the information of the cigarette pack matches the formula standard in the bill of materials, a cigarette pack receiving instruction is sent to the centralized control system, so that the centralized control system can count the cigarette packs through the second belt conveyor. When the information of the cigarette pack does not match the formula standard in the bill of materials, a rejection instruction for the cigarette pack is sent to the centralized control system, and a second alarm message is issued.

5. The automatic batch change production material detection method according to claim 1, characterized in that, The counting of tobacco bales in the slicing stage on the second belt conveyor includes: When it is detected that the material in the slicer on the third belt conveyor is empty, the cigarette pack is conveyed to the slicer, and when the photoelectric sensing system on the second belt conveyor detects the cigarette pack signal, the number of cigarette packs is counted.

6. An automatic batch change production material detection system, characterized in that, include: The system comprises a digital twin system, a MES system, a logistics system, a centralized control system, and a slicing unit. The slicing unit includes a first belt conveyor, a second belt conveyor, a third belt conveyor, and a slicing machine. The digital twin system extracts production work orders and bills of materials from the MES system and the material system, compares the production work orders and bills of materials in the MES system and the material system, and checks whether there is any abnormal data in the comparison results; If no abnormal data is found in the comparison results, the order is issued to the slice unit based on the preset time corresponding to the production work order; When the digital twin system detects that the cigarette pack is on the first belt conveyor, it obtains the cigarette pack information in real time through the logistics system, compares the cigarette pack information with the corresponding information in the bill of materials, and outputs corresponding instructions based on the comparison results; When the output instruction is a receive instruction, the digital twin system counts the tobacco packs in the slicing stage on the second belt conveyor, and when the count result is the current batch quantity, it sends a material stop signal to the centralized control system and performs an emptying detection on the slicer on the third belt conveyor. The process of performing an venting test on the slicer on the third belt conveyor includes: The cigarette pack conveying distance is detected in real time by the photoelectric sensing system on the third belt conveyor. When the real-time detected conveying distance meets the preset threshold of the photoelectric sensing system, the slicer passes the empty detection. After performing an venting test on the slicer on the third belt conveyor, the process further includes: Obtain the total cumulative amount detected by the electronic belt scale, compare the total cumulative amount with the total amount of materials in the bill of materials, and determine whether the error value of the comparison result is greater than a preset threshold. When the error value of the comparison result is greater than the preset threshold, a third alarm message will be issued.

7. An electronic device, comprising a processor and a memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the method as described in any one of claims 1-5.