A control method and system for buffering a cigarette pack end detection device
By using an automated control system to detect the depletion of cigarette packs, and by employing relays to calculate deviations based on cigarette pack packaging and transportation data, the system solves the safety hazards and efficiency problems caused by manual obstruction, and achieves normal operation of the device and efficient packaging.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUBEI CHINA TOBACCO INDUSTRY CO LTD
- Filing Date
- 2024-04-23
- Publication Date
- 2026-05-29
AI Technical Summary
In the existing technology, the detection device for depleted cushioned cigarette packs poses a safety hazard and affects the overall packaging efficiency due to improper handling of manual obstruction.
By acquiring data on cigarette pack packaging and transportation, the deviation is calculated. The on/off state of the buffer cigarette pack depletion detection device is controlled by a relay to achieve automated control and avoid manual obstruction.
This effectively avoids the safety hazards caused by manual obstruction and ensures the normal operation of the buffer cigarette pack depletion detection device and overall packaging efficiency.
Smart Images

Figure CN118220630B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of tobacco packaging production technology, and specifically relates to a control method and system for a buffer cigarette pack depletion detection device. Background Technology
[0002] In the actual production process of cigarette factories, buffer packs are an important concept. They typically refer to a temporary storage area on the production line used to temporarily store cigarette packs that have completed part of the process but have not yet entered the next process. The main purpose of this buffer is to balance the work rhythm of each section of the production line, preventing downtime or production bottlenecks caused by asynchronous speeds in one part.
[0003] As a monitoring mechanism, the buffer pack depletion detection device can be used to monitor the quantity or status of packs in the buffer zone in real time. When the production line is running normally, the buffer zone should maintain a certain number of packs to maintain the continuity of production. If, for some reason, such as upstream production being too slow, downstream consumption being too fast, or other unforeseen problems, the number of packs in the buffer zone drops below the preset safety threshold or is even depleted, this detection device will issue an alarm, prompting relevant personnel to take corresponding measures, such as adjusting the production cycle, troubleshooting, or increasing the production line load, thereby avoiding production line shutdown, reduced production efficiency, or quality problems.
[0004] Currently, when using the buffer cigarette pack exhaustion detection device on the GDX1 and GDX2 models of small box transparent paper packaging machines in the packaging unit, the tobacco packaging production line needs to frequently start production or empty the equipment. In order to prevent the buffer cigarette pack exhaustion detection device from failing to reset and start due to the absence of cigarette packs in the buffer area, the usual practice is to manually cover the buffer cigarette pack exhaustion detection device with waste materials. This is not only an improper operation that can easily bring certain safety hazards to the packaging equipment, but it can also easily cause missing packs, thereby affecting the overall packaging efficiency. Summary of the Invention
[0005] This application addresses the aforementioned technical problems of manually obscuring the depletion detection device of the cushioned cigarette pack using waste materials. These problems are not only due to improper operation and potential safety hazards to the packaging equipment, but also because they can easily lead to missing packs, thus affecting overall packaging efficiency. Therefore, this application proposes a control method and system for the cushioned cigarette pack depletion detection device, the technical solution of which is as follows:
[0006] In a first aspect, embodiments of this application provide a control method for a buffer cigarette pack depletion detection device, comprising:
[0007] When the tobacco packaging production line is in operation, at least two cigarette pack packaging data are acquired within a preset time period, and the first deviation is calculated based on all cigarette pack packaging data and preset transportation data.
[0008] When the first deviation is detected to exceed the preset deviation threshold, a control signal is output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state.
[0009] The detection signal of the cigarette pack collected by the buffer cigarette pack depletion detection device is processed, and the second deviation is determined based on the processing result and the preset transportation data.
[0010] When the second deviation is detected to be less than the preset deviation threshold, the control signal output to the circuit where the relay is located is stopped, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
[0011] In one alternative to the first aspect, a first deviation is calculated based on all cigarette pack packaging data and preset transportation data, including:
[0012] The average value of all cigarette pack packaging data is calculated and processed to obtain the average packaging data.
[0013] When the difference between the average packaging data and any cigarette pack packaging data is detected to be within a preset difference range, the average packaging data is transformed based on the preset transportation data.
[0014] The first deviation is obtained based on the difference between the average value of the processed packaging data and the preset transportation data.
[0015] In another alternative to the first aspect, the cigarette pack detection signal includes at least two sub-cigarette pack detection signals;
[0016] The processing of the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device includes:
[0017] Based on the detection signals of all sub-batch cigarette packs collected by the buffer cigarette pack depletion detection device and the collection time corresponding to each sub-batch cigarette pack detection signal, the cigarette pack fitting curve is obtained;
[0018] Select at least two fitting points from the cigarette pack fitting curve, and calculate the cigarette pack buffer data based on all fitting points;
[0019] When the cigarette pack buffer data is detected to be within the preset buffer zone, the cigarette pack buffer data is transformed based on the preset transportation data, and the processed cigarette pack buffer data is used as the processing result.
[0020] In another alternative to the first aspect, after calculating the pack buffer data based on all fitted points, it further includes:
[0021] When it is detected that the cigarette pack buffer data is not within the preset buffer zone, the weight of the remaining cigarette pack in the cigarette pack buffer area is collected based on the weight detection device;
[0022] A warning signal is issued when the ratio between the weight of the remaining cigarette pack and the weight of the standard cigarette pack corresponding to the buffer area of the cigarette pack is lower than a preset ratio threshold.
[0023] In another alternative to the first aspect, a second deviation is determined based on the processing results and preset transportation data, including:
[0024] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0025] The second deviation is obtained based on the difference between the integrated data of the cigarette packs and the preset transportation data.
[0026] In another alternative to the first aspect, determining the second deviation based on the processing results and preset transportation data further includes:
[0027] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0028] Obtain sorting data from at least two cigarette packs, and calculate the average sorting data based on preset transportation data and all cigarette pack sorting data.
[0029] The second deviation was determined based on the integrated data of cigarette packs, the average sorting data, and the preset transportation data.
[0030] In another alternative to the first aspect, a second deviation is determined based on the integrated tobacco package data, the average sorting data, and preset transportation data, including:
[0031] The difference between the integrated data of cigarette packs and the preset transportation data is taken as the first difference, and the difference between the average sorting data and the preset transportation data is taken as the second difference.
[0032] The first difference and the second difference are weighted and summed based on preset weights to obtain the second deviation.
[0033] Secondly, embodiments of this application provide a control system for a buffer cigarette pack depletion detection device, comprising:
[0034] The first processing module is used to acquire at least two cigarette pack packaging data within a preset time period when the tobacco packaging production line is in operation, and to calculate the first deviation based on all cigarette pack packaging data and preset transportation data.
[0035] The second processing module is used to output a control signal to the circuit where the relay is located when the first deviation is detected to exceed the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state.
[0036] The third processing module is used to process the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device, and determine the second deviation based on the processing results and preset transportation data.
[0037] The fourth processing module is used to stop outputting control signals to the circuit where the relay is located when the detected second deviation does not exceed the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
[0038] Thirdly, embodiments of this application also provide a control system for a buffer cigarette pack depletion detection device, including a processor and a memory;
[0039] The processor is connected to the memory;
[0040] Memory, used to store executable program code;
[0041] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the control method for the buffer cigarette pack depletion detection device provided by the first aspect or any implementation of the first aspect of the embodiments of this application.
[0042] Fourthly, embodiments of this application provide a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement the control method for the buffer cigarette pack depletion detection device provided in the first aspect or any implementation of the first aspect of this application.
[0043] In this embodiment, when controlling the buffer cigarette pack depletion detection device of the tobacco packaging production line, when the tobacco packaging production line is in operation, at least two cigarette pack packaging data are acquired within a preset time period, and a first deviation is calculated based on all cigarette pack packaging data and preset transportation data; when the first deviation is detected to exceed a preset deviation threshold, a control signal is output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in a conducting state; the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device is processed, and a second deviation is determined based on the processing result and preset transportation data; when the second deviation is detected not to exceed the preset deviation threshold, the control signal is stopped from being output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from a conducting state to a disconnected state. By combining tobacco pack packaging data from the tobacco packaging production line with preset transportation data, when it is determined that the number of tobacco packs in the buffer area is decreasing, the relay can be energized to keep the buffer tobacco pack depletion detection device in normal operation. Alternatively, by combining the tobacco pack detection signal collected by the buffer tobacco pack depletion detection device with preset transportation data, when it is determined that the tobacco packaging production line is in normal operation, the relay can be energized to shut down the buffer tobacco pack depletion detection device. This automatic control method effectively avoids the safety hazards caused by manual obstruction of the buffer tobacco pack depletion detection device, and also ensures overall packaging efficiency and the normal operation of the buffer tobacco pack depletion detection device. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 A flowchart illustrating the overall control method for a buffer cigarette pack depletion detection device provided in this application embodiment;
[0046] Figure 2 A schematic diagram of the control system for a buffer cigarette pack depletion detection device provided in this application embodiment;
[0047] Figure 3 This is a schematic diagram of the control system for a buffer cigarette pack depletion detection device provided in an embodiment of this application. Detailed Implementation
[0048] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0049] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.
[0050] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
[0051] Please see Figure 1 , Figure 1 This paper presents an overall flowchart of a control method for a buffer cigarette pack depletion detection device according to an embodiment of this application.
[0052] like Figure 1 As shown, the control method for the buffer cigarette pack depletion detection device may include at least the following steps:
[0053] Step 102: When the tobacco packaging production line is in operation, acquire at least two cigarette pack packaging data within a preset time period, and calculate the first deviation based on all cigarette pack packaging data and preset transportation data.
[0054] In the embodiments of this application, the control method for the buffer cigarette pack exhaustion detection device can be applied to, but is not limited to, a production line terminal. The production line terminal can change the on / off state of the circuit formed by the normally open contact corresponding to the relay and the buffer cigarette pack exhaustion detection device corresponding to the tobacco packaging production line by outputting different control signals to the relay, thereby realizing automatic control of the buffer cigarette pack exhaustion detection device. The buffer pack depletion detection device in the tobacco packaging production line involved in this application embodiment can be understood as a conventional monitoring mechanism device in the tobacco packaging production line (such as, but not limited to, photoelectric sensing devices, weight sensing devices, or image recognition devices). It is usually used to monitor the number of remaining cigarette packs in the buffer area. When the tobacco packaging production line experiences problems such as slow upstream production or rapid downstream consumption, it will automatically replenish the cigarette packs in the buffer area to ensure the normal operation of the overall production line. The buffer pack depletion detection device can issue an alarm when it detects that the number of remaining cigarette packs in the buffer area has been depleted, so as to prompt relevant personnel to take corresponding measures, such as adjusting the production cycle, troubleshooting, or increasing the production line load, thereby avoiding production line shutdown, reduced production efficiency, or quality problems. However, it may also fail to reset and restart when there are no cigarette packs in the buffer area, that is, the normal operation of the buffer pack depletion detection device cannot be guaranteed when the number of remaining cigarette packs in the buffer area has been depleted. It should be noted that the application process of the buffer cigarette pack depletion detection device and the application process of cigarette pack replenishment in the buffer area of the cigarette pack involved in the embodiments of this application are technical means well known in tobacco packaging production lines, and will not be described in detail here.
[0055] Understandably, in the actual production process of a tobacco packaging production line, the production line terminal, by combining the tobacco pack packaging data and preset transportation data, can determine when the number of tobacco packs in the buffer area decreases. In this case, the relay can be energized to keep the buffer tobacco pack depletion detection device in normal operation. Conversely, by combining the tobacco pack detection signal collected by the buffer tobacco pack depletion detection device with preset transportation data, when the tobacco packaging production line is determined to be in normal operation, the relay can be energized to shut down the buffer tobacco pack depletion detection device. This automatic control of the buffer tobacco pack depletion detection device effectively avoids the safety hazards caused by manual obstruction, while also ensuring overall packaging efficiency and the normal operation of the buffer tobacco pack depletion detection device.
[0056] Specifically, when controlling the buffer pack depletion detection device in a tobacco packaging production line, the production line terminal can, but is not limited to, determine whether the tobacco packaging production line is in operation by detecting whether each process on the tobacco packaging production line has started normally (e.g., determining whether each process is connected to power). It is understood that when the tobacco packaging production line is determined to be in operation, the production line terminal can control the detection device installed on the packaging process to collect multiple pack packaging data within a preset time period. This pack packaging data can be understood as the time or speed required to package one or more packs, with each pack packaging data corresponding to the same number of packs. The detection device can then send the collected pack packaging data to the production line terminal, allowing the production line terminal to calculate a first deviation—indicating whether the tobacco packaging production line is experiencing excessively slow production—based on the multiple pack packaging data and preset transportation data. Here, the detection device installed on the packaging process can, but is not limited to, image recognition devices or related technologies well-known in the art, to obtain the corresponding pack packaging data by performing image recognition processing on multiple sets of captured images.
[0057] It is understood that the preset transportation data may be determined based on the historical transmission speed of the conveyor belt used to transport cigarette packs. For example, it can be understood as the number of cigarette packs transported within a specified time period based on the historical transmission speed. The specified time period may be 10 minutes, 20 minutes, or 30 minutes, and is not limited to this.
[0058] As an optional embodiment of this application, a first deviation is calculated based on all cigarette pack packaging data and preset transportation data, including:
[0059] The average value of all cigarette pack packaging data is calculated and processed to obtain the average packaging data.
[0060] When the difference between the average packaging data and any cigarette pack packaging data is detected to be within a preset difference range, the average packaging data is transformed based on the preset transportation data.
[0061] The first deviation is obtained based on the difference between the average of the processed packaging data and the preset transportation data.
[0062] Specifically, when calculating the first deviation used to characterize whether the tobacco packaging production line has slow packaging process, the production line terminal can integrate all cigarette pack packaging data. For example, when each cigarette pack packaging data corresponds to multiple cigarette packs, the time or speed required for packaging a single cigarette pack in each cigarette pack packaging data can be calculated first. Then, by averaging the time or speed required for packaging a single cigarette pack corresponding to all cigarette pack packaging data, the average time or speed required for packaging a single cigarette pack can be obtained.
[0063] Next, after obtaining the average time or speed required for packaging a single cigarette pack, the production line terminal can also use this average time or speed to determine whether there are any abnormal cigarette pack packaging data in all cigarette pack packaging data. That is, it can determine whether the difference between the average time or speed required for a single cigarette pack packaging and the average time or speed required for any other cigarette pack packaging data falls within a preset difference range. Understandably, when any difference is detected to be within the preset difference range, it indicates that there are no abnormalities in all cigarette pack packaging data. In other words, the calculated average time or speed required for a single cigarette pack packaging has high reliability. Therefore, based on preset transportation data, the average time or speed required for a single cigarette pack packaging can be converted for a more intuitive and faster comparison with the preset transportation data and the average time or speed required for a single cigarette pack packaging. Here, the preset transportation data is represented as the number of cigarette packs transported within a specified time period. The average packaging data is the average time required to package a single cigarette pack, as mentioned above. The ratio between the specified time period and the average time required to package a single cigarette pack can be used as the average of the processed packaging data, which is the number of cigarette packs packaged corresponding to the packaging process within the specified time period.
[0064] Next, after obtaining the average value of the processed packaging data, the production line terminal can calculate the difference between this average value and preset transportation data to obtain a first deviation characterizing whether the tobacco packaging production line is experiencing slow packaging process production. Here, when the first deviation exceeds a preset deviation threshold, it indicates a significant difference between the packaging process production efficiency and the cigarette pack transportation efficiency, posing a risk of slow packaging process production. When the first deviation does not exceed the preset deviation threshold, it indicates that the packaging process production efficiency is close to the cigarette pack transportation efficiency, allowing, but not limited to, transferring excess cigarette packs to a cigarette pack buffer area to ensure the normal operation of the tobacco packaging production line.
[0065] Step 104: When the first deviation is detected to exceed the preset deviation threshold, a control signal is output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state.
[0066] Specifically, after calculating the first deviation used to characterize whether the tobacco packaging production line is experiencing slow production in the packaging process, when the first deviation is detected to exceed a preset deviation threshold, it indicates that the packaging process is slow. Then, the production line terminal can send a cigarette pack replenishment request to the tobacco packaging production line to automatically replenish the cigarette packs in the cigarette pack buffer area to the corresponding position. It can also output a high-level control signal to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in a conducting state, so that the buffer cigarette pack depletion detection device is in a normal operating state (since there are cigarette packs in the current cigarette pack buffer area, it can be reset and powered on normally). The buffer cigarette pack depletion detection device monitors the number of remaining cigarette packs in the cigarette pack buffer area in real time. Here, when the circuit containing the relay does not receive a high-level control signal from the production line terminal, the normally open contact is in an open state without receiving any excitation. That is, the normally open contact and the circuit containing the buffer cigarette pack depletion detection device are in an open state. Therefore, the buffer cigarette pack depletion detection device cannot monitor the number of remaining cigarette packs in the cigarette pack buffer area, and can effectively control the energy consumption of the tobacco packaging production line.
[0067] Step 106: Process the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device, and determine the second deviation based on the processing results and preset transportation data.
[0068] Specifically, after the buffer pack depletion detection device monitors the number of remaining cigarette packs in the buffer area in real time, the production line terminal can also acquire multiple sub-pack detection signals collected by the buffer pack depletion detection device at preset time intervals. Each sub-pack detection signal can be understood as the number of remaining cigarette packs monitored within the same time interval, and each sub-pack detection signal can be analyzed and processed by the buffer pack depletion detection device (or it can be obtained by the production line terminal through image recognition processing based on multiple sets of images collected by the buffer pack depletion detection device, and is not limited to this). Based on all sub-pack detection signals and the acquisition time corresponding to each sub-pack detection signal, a remaining cigarette pack quantity-time variation curve, i.e., a pack fitting curve, is fitted. It can be understood that this remaining cigarette pack quantity-time variation curve can more intuitively and accurately reflect the changing trend of the number of remaining cigarette packs in the buffer area over time, facilitating subsequent judgment on whether the remaining cigarette packs in the buffer area are about to be depleted.
[0069] Furthermore, after generating the cigarette pack fitting curve, the production line terminal can randomly select at least two fitting points from the cigarette pack fitting curve. The x-coordinate of each fitting point can be, but is not limited to, a certain moment in the cigarette pack fitting curve, and the y-coordinate of each fitting point can be, but is not limited to, the number of remaining cigarette packs in the cigarette pack fitting curve corresponding to the corresponding moment. By calculating the slope of the coordinates of any two adjacent fitting points, the average of all slopes is used as the cigarette pack buffer data, that is, the time required to reduce a single cigarette pack within the cigarette pack buffer area.
[0070] Furthermore, after calculating the cigarette pack buffer data, the production line terminal can also determine whether the cigarette pack buffer data is abnormal, for example, but not limited to determining whether the cigarette pack buffer data is within a preset buffer range. It is understood that when the cigarette pack buffer data is detected to be within a preset buffer range, it indicates that the time required to reduce a single cigarette pack within the cigarette pack buffer range is within the normal range. Therefore, the cigarette pack buffer data can be converted based on preset transportation data to facilitate a more intuitive and rapid judgment of whether the tobacco packaging production line is in a normal state. Here, the preset transportation data is represented by the number of cigarette packs transported within a specified time period, and the cigarette pack buffer data is the time required to reduce a single cigarette pack within the cigarette pack buffer area. For example, the ratio between the specified time period and the time required to reduce a single cigarette pack within the cigarette pack buffer area can be used as the processed cigarette pack buffer data, that is, the number of cigarette packs reduced within the cigarette pack buffer area within the specified time period.
[0071] Furthermore, after obtaining the processed cigarette pack buffer data, due to the aforementioned slow production speed in the packaging process, the tobacco packaging production line will automatically replenish the cigarette packs in the buffer area to the corresponding positions in order to ensure normal operation. At this time, the production line terminal can also use the processed cigarette pack buffer data as the processing result of the cigarette pack detection signal, and combine it with the preset transportation data to obtain a second deviation to characterize whether the tobacco packaging production line is operating normally.
[0072] As another optional embodiment of this application, after calculating the pack buffer data based on all fitted points, the method further includes:
[0073] When it is detected that the cigarette pack buffer data is not within the preset buffer zone, the weight of the remaining cigarette pack in the cigarette pack buffer area is collected based on the weight detection device;
[0074] A warning signal is issued when the ratio between the weight of the remaining cigarette pack and the weight of the standard cigarette pack corresponding to the buffer area of the cigarette pack is lower than a preset ratio threshold.
[0075] Specifically, after calculating the cigarette pack buffer data, if it is detected that the data is not within the preset buffer zone, it indicates that the time required to reduce a single cigarette pack within the buffer zone is too fast. This could mean that the remaining cigarette packs in the buffer zone are rapidly depleted. In this case, the production line terminal can control a weight detection device to monitor the weight of the remaining cigarette packs in the current buffer zone to determine if there is any anomaly. Here, the weight detection device can be, but is not limited to, a weight sensor. It can be installed within the buffer zone to monitor the weight of the remaining cigarette packs, and is not limited to this.
[0076] Understandably, when the ratio between the weight of the remaining cigarette packs and the weight of the standard cigarette packs corresponding to the cigarette pack buffer area is lower than a preset ratio threshold, it indicates that there is a risk that the number of remaining cigarette packs in the current cigarette pack buffer area will be quickly depleted. This can then issue an early warning signal to the relevant staff so that remedial and investigation measures can be taken in a timely manner.
[0077] Of course, after generating the cigarette pack fitting curve in this embodiment, the production line terminal can also, but is not limited to, estimate the time required for the remaining cigarette packs in the cigarette pack buffer area to be exhausted based on the trend of the number of cigarette packs changing over time in the cigarette pack fitting curve. The time required for exhaustion can be used to determine whether to issue a warning signal to the relevant staff. It can also effectively prevent the buffer cigarette pack exhaustion detection device from failing to reset and start up during the detection process due to the absence of cigarette packs in the cigarette pack buffer area, which means it cannot be in normal operation afterward.
[0078] As another optional embodiment of this application, determining the second deviation based on the processing result and preset transportation data includes:
[0079] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0080] The second deviation is obtained based on the difference between the integrated data of the cigarette packs and the preset transportation data.
[0081] Specifically, when obtaining the second deviation used to characterize whether the tobacco packaging production line is operating normally, the production line terminal can also, but is not limited to, integrate the processed average packaging data and the processed cigarette pack buffer data. This results in the cigarette pack data jointly provided to the next process by the packaging process and the cigarette pack buffer area of the tobacco packaging production line. Here, taking the processed average packaging data as the number of packaged cigarette packs corresponding to the packaging process within a specified time period, and the processed cigarette pack buffer data as the number of cigarette packs reduced in the cigarette pack buffer area within a specified time period, as an example, the integrated cigarette pack data can be the sum of the number of packaged cigarette packs corresponding to the packaging process within a specified time period and the number of cigarette packs reduced in the cigarette pack buffer area.
[0082] Next, after obtaining the integrated tobacco package data, the production line terminal can calculate the difference between this integrated data and the preset transportation data. This involves comparing the tobacco package data jointly provided to the next process by the packaging process and the tobacco package buffer area with the actual transported tobacco package data, and using the difference as the second deviation. Understandably, when the second deviation exceeds the preset deviation threshold, it indicates a significant difference between the production efficiency of the packaging process and the tobacco package buffer area and the transportation efficiency of the tobacco packages, meaning the tobacco packaging production line is not yet operating normally. When the second deviation does not exceed the preset deviation threshold, it indicates that the production efficiency of the packaging process and the tobacco package buffer area is close to the transportation efficiency of the tobacco packages. Therefore, the tobacco packaging production line can, but is not limited to, automatically adjust the number of tobacco packages replenished in the buffer area to maintain the normal operation of the tobacco packaging production line.
[0083] As another optional embodiment of this application, determining the second deviation based on the processing result and the preset transportation data further includes:
[0084] The average value of the processed packaging data and the buffer data of the cigarette pack are integrated to obtain integrated cigarette pack data;
[0085] Obtain at least two cigarette pack sorting data, and obtain the average sorting data based on the preset transportation data and all the cigarette pack sorting data;
[0086] The second deviation is determined based on the integrated data of the cigarette packs, the average value of the sorting data, and the preset transportation data.
[0087] Specifically, in addition to comparing the tobacco package data provided to the next process by the packaging process and the tobacco package buffer area with the actual transported tobacco package data, it is also possible, but not limited to, comparing the tobacco package data provided to the next process by the packaging process and the tobacco package buffer area with the tobacco package data corresponding to the next process, that is, comparing it with the number of sorted tobacco packages corresponding to the sorting process. By comparing the tobacco package production efficiency corresponding to two adjacent processes, it can be determined whether the tobacco packaging production line is in normal operation.
[0088] It is understandable that after obtaining the integrated data of the cigarette packs, the production line terminal can, but is not limited to, control the detection devices installed on the sorting process to collect multiple cigarette pack sorting data at preset time intervals. This cigarette pack sorting data can be understood as the time or speed required to sort a single cigarette pack. The average of all cigarette pack sorting data is calculated, and the result is transformed based on preset transportation data to obtain the corresponding sorting data average, such as, but not limited to, the number of cigarette packs sorted within a specified time period. The method for obtaining the sorting data average can be found in the above-described embodiment for obtaining the packaging data average, and will not be elaborated further here.
[0089] Next, after obtaining the average sorting data, the production line terminal can also, but is not limited to, calculate the difference between the integrated tobacco pack data and the preset transportation data, and the difference between the average sorting data and the preset transportation data, and calculate the second deviation corresponding to the two differences by combining the preset weights. That is, the tobacco packaging production line is in normal operation by jointly judging whether the tobacco packaging production line is in normal operation by the deviation of the number of tobacco packs corresponding to the packaging process and the transportation process, and the deviation of the number of tobacco packs corresponding to the sorting process and the transportation process.
[0090] Step 108: When the second deviation is detected to be less than the preset deviation threshold, stop outputting control signals to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
[0091] Specifically, after calculating the second deviation used to characterize whether the tobacco packaging production line is in normal operation, when the second deviation is detected to be less than the preset deviation threshold, it indicates that the tobacco packaging production line is in normal operation. Then, the production line terminal can estimate the time required for the remaining number of cigarette packs in the cigarette pack buffer area to be exhausted based on the trend of the number of cigarette packs changing over time in the cigarette pack fitting curve mentioned above. The time required for exhaustion can be used to determine whether to issue a warning signal to the relevant staff, and a low-level control signal can be output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack exhaustion detection device is located are in the open state, that is, the buffer cigarette pack exhaustion detection device is in the shutdown state, thereby effectively controlling the energy consumption of the tobacco packaging production line, and also ensuring that the buffer cigarette pack exhaustion detection device will not fail to reset and start up next time due to the absence of cigarette packs in the cigarette pack buffer area.
[0092] Please see Figure 2 , Figure 2 A schematic diagram of the structure of a control system for a buffer cigarette pack depletion detection device provided in an embodiment of this application is shown.
[0093] like Figure 2As shown, the control system for the buffer cigarette pack depletion detection device may include at least a first processing module 201, a second processing module 202, a third processing module 203, and a fourth processing module 204, wherein:
[0094] The first processing module 201 is used to acquire at least two cigarette pack packaging data within a preset time period when the tobacco packaging production line is in operation, and to calculate the first deviation based on all cigarette pack packaging data and preset transportation data.
[0095] The second processing module 202 is used to output a control signal to the circuit where the relay is located when the first deviation is detected to exceed the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state.
[0096] The third processing module 203 is used to process the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device, and determine the second deviation based on the processing result and the preset transportation data.
[0097] The fourth processing module 204 is used to stop outputting control signals to the circuit where the relay is located when the detected second deviation does not exceed the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
[0098] In some possible embodiments, a first deviation is calculated based on all cigarette pack packaging data and preset transportation data, including:
[0099] The average value of all cigarette pack packaging data is calculated and processed to obtain the average packaging data.
[0100] When the difference between the average packaging data and any cigarette pack packaging data is detected to be within a preset difference range, the average packaging data is transformed based on the preset transportation data.
[0101] The first deviation is obtained based on the difference between the average value of the processed packaging data and the preset transportation data.
[0102] In some possible embodiments, the cigarette pack detection signal includes at least two sub-cigarette pack detection signals;
[0103] The processing of the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device includes:
[0104] Based on the detection signals of all sub-batch cigarette packs collected by the buffer cigarette pack depletion detection device and the collection time corresponding to each sub-batch cigarette pack detection signal, the cigarette pack fitting curve is obtained;
[0105] Select at least two fitting points from the cigarette pack fitting curve, and calculate the cigarette pack buffer data based on all fitting points;
[0106] When the cigarette pack buffer data is detected to be within the preset buffer zone, the cigarette pack buffer data is transformed based on the preset transportation data, and the processed cigarette pack buffer data is used as the processing result.
[0107] In some possible embodiments, after calculating the pack buffer data based on all fitted points, the method further includes:
[0108] When it is detected that the cigarette pack buffer data is not within the preset buffer zone, the weight of the remaining cigarette pack in the cigarette pack buffer area is collected based on the weight detection device;
[0109] A warning signal is issued when the ratio between the weight of the remaining cigarette pack and the weight of the standard cigarette pack corresponding to the buffer area of the cigarette pack is lower than a preset ratio threshold.
[0110] In some possible embodiments, a second deviation is determined based on the processing result and preset transportation data, including:
[0111] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0112] The second deviation is obtained based on the difference between the integrated data of the cigarette packs and the preset transportation data.
[0113] In some possible embodiments, determining the second deviation based on the processing result and preset transportation data further includes:
[0114] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0115] Obtain sorting data from at least two cigarette packs, and calculate the average sorting data based on preset transportation data and all cigarette pack sorting data.
[0116] The second deviation was determined based on the integrated data of cigarette packs, the average sorting data, and the preset transportation data.
[0117] In some possible embodiments, a second deviation is determined based on integrated tobacco package data, average sorting data, and preset transportation data, including:
[0118] The difference between the integrated data of cigarette packs and the preset transportation data is taken as the first difference, and the difference between the average sorting data and the preset transportation data is taken as the second difference.
[0119] The first difference and the second difference are weighted and summed based on preset weights to obtain the second deviation.
[0120] 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.
[0121] Please see Figure 3 , Figure 3 This paper shows a schematic diagram of the structure of a control system for a buffer cigarette pack depletion detection device provided in an embodiment of this application.
[0122] like Figure 3 As shown, the control system 300 for the buffer cigarette pack depletion detection device may include at least one processor 301, at least one network interface 304, user interface 303, memory 305, and at least one communication bus 302.
[0123] The communication bus 302 can be used to realize the connection and communication of the above components.
[0124] The user interface 303 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.
[0125] The network interface 304 may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.
[0126] The processor 301 may include one or more processing cores. The processor 301 connects to various parts of the control system 300 used for the cigarette depletion detection device via various interfaces and lines. It executes instructions, programs, code sets, or instruction sets stored in the memory 305, and calls data stored in the memory 305 to perform various functions and process data for the control system 300 used for the cigarette depletion detection device. Optionally, the processor 301 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 301 may integrate one or more of the following: CPU, GPU, and 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; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 301 and may be implemented as a separate chip.
[0127] The memory 305 may include RAM or ROM. Optionally, the memory 305 may include a non-transitory computer-readable medium. The memory 305 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 305 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 305 may also be at least one storage device located remotely from the aforementioned processor 301. Figure 3 As shown, the memory 305, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a control application for the buffer pack depletion detection device.
[0128] Specifically, the processor 301 can be used to call the control application for the buffer cigarette depletion detection device stored in the memory 305, and specifically perform the following operations:
[0129] When the tobacco packaging production line is in operation, at least two cigarette pack packaging data are acquired within a preset time period, and the first deviation is calculated based on all cigarette pack packaging data and preset transportation data.
[0130] When the first deviation is detected to exceed the preset deviation threshold, a control signal is output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state.
[0131] The detection signal of the cigarette pack collected by the buffer cigarette pack depletion detection device is processed, and the second deviation is determined based on the processing result and the preset transportation data.
[0132] When the second deviation is detected to be less than the preset deviation threshold, the control signal output to the circuit where the relay is located is stopped, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
[0133] In some possible embodiments, a first deviation is calculated based on all cigarette pack packaging data and preset transportation data, including:
[0134] The average value of all cigarette pack packaging data is calculated and processed to obtain the average packaging data.
[0135] When the difference between the average packaging data and any cigarette pack packaging data is detected to be within a preset difference range, the average packaging data is transformed based on the preset transportation data.
[0136] The first deviation is obtained based on the difference between the average value of the processed packaging data and the preset transportation data.
[0137] In some possible embodiments, the cigarette pack detection signal includes at least two sub-cigarette pack detection signals;
[0138] The processing of the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device includes:
[0139] Based on the detection signals of all sub-batch cigarette packs collected by the buffer cigarette pack depletion detection device and the collection time corresponding to each sub-batch cigarette pack detection signal, the cigarette pack fitting curve is obtained;
[0140] Select at least two fitting points from the cigarette pack fitting curve, and calculate the cigarette pack buffer data based on all fitting points;
[0141] When the cigarette pack buffer data is detected to be within the preset buffer zone, the cigarette pack buffer data is transformed based on the preset transportation data, and the processed cigarette pack buffer data is used as the processing result.
[0142] In some possible embodiments, after calculating the pack buffer data based on all fitted points, the method further includes:
[0143] When it is detected that the cigarette pack buffer data is not within the preset buffer zone, the weight of the remaining cigarette pack in the cigarette pack buffer area is collected based on the weight detection device;
[0144] A warning signal is issued when the ratio between the weight of the remaining cigarette pack and the weight of the standard cigarette pack corresponding to the buffer area of the cigarette pack is lower than a preset ratio threshold.
[0145] In some possible embodiments, a second deviation is determined based on the processing result and preset transportation data, including:
[0146] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0147] The second deviation is obtained based on the difference between the integrated data of the cigarette packs and the preset transportation data.
[0148] In some possible embodiments, determining the second deviation based on the processing result and preset transportation data further includes:
[0149] The mean of the processed packaging data and the buffer data of the processed cigarette packs are integrated to obtain the integrated cigarette pack data;
[0150] Obtain sorting data from at least two cigarette packs, and calculate the average sorting data based on preset transportation data and all cigarette pack sorting data.
[0151] The second deviation was determined based on the integrated data of cigarette packs, the average sorting data, and the preset transportation data.
[0152] In some possible embodiments, a second deviation is determined based on integrated tobacco package data, average sorting data, and preset transportation data, including:
[0153] The difference between the integrated data of cigarette packs and the preset transportation data is taken as the first difference, and the difference between the average sorting data and the preset transportation data is taken as the second difference.
[0154] The first difference and the second difference are weighted and summed based on preset weights to obtain the second deviation.
[0155] 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.
[0156] 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.
[0157] 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.
[0158] 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 apparatuses or units may be electrical or other forms.
[0159] 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.
[0160] 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.
[0161] 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 of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
Claims
1. A control method for a buffer cigarette pack depletion detection device, characterized in that, include: When the tobacco packaging production line is in operation, at least two cigarette pack packaging data are acquired within a preset time period, and a first deviation is calculated based on all the cigarette pack packaging data and preset transportation data. When the first deviation is detected to exceed the preset deviation threshold, a control signal is output to the circuit where the relay is located, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state. The detection signal of the cigarette pack collected by the buffer cigarette pack depletion detection device is processed, and a second deviation is determined based on the processing result and the preset transportation data. When the second deviation is detected to be less than the preset deviation threshold, the control signal output to the circuit where the relay is located is stopped, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state. The first deviation is calculated based on all the cigarette pack packaging data and preset transportation data, including: The average value of the packaging data is obtained by averaging all the cigarette pack data. When the difference between the average packaging data and any one of the cigarette pack packaging data is detected to be within a preset difference range, the average packaging data is transformed based on preset transportation data. The first deviation is obtained based on the difference between the average value of the processed packaging data and the preset transportation data; The cigarette pack detection signal includes at least two sub-cigarette pack detection signals; The processing of the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device includes: Based on all the sub-batch detection signals collected by the buffer pack depletion detection device and the collection time corresponding to each sub-batch detection signal, a pack fitting curve is obtained; At least two fitting points are selected from the fitted curve of the cigarette pack, and the cigarette pack buffer data is calculated based on all the fitted points; When the cigarette pack buffer data is detected to be within a preset buffer zone, the cigarette pack buffer data is converted based on the preset transportation data, and the processed cigarette pack buffer data is used as the processing result. The second deviation is determined based on the processing results and the preset transportation data, including: The average value of the processed packaging data and the buffer data of the cigarette pack are integrated to obtain integrated cigarette pack data; The second deviation is obtained based on the difference between the integrated data of the cigarette packs and the preset transportation data.
2. The method according to claim 1, characterized in that, After calculating the pack buffer data based on all the fitted points, the method further includes: When it is detected that the cigarette pack buffer data is not within the preset buffer zone, the weight of the remaining cigarette pack in the cigarette pack buffer area is collected based on the weight detection device; When the ratio between the weight of the remaining cigarette pack and the weight of the standard cigarette pack corresponding to the cigarette pack buffer area is lower than a preset ratio threshold, a warning signal is issued.
3. The method according to claim 1, characterized in that, The step of determining the second deviation based on the processing result and the preset transportation data further includes: The average value of the processed packaging data and the buffer data of the cigarette pack are integrated to obtain integrated cigarette pack data; Obtain at least two cigarette pack sorting data, and obtain the average sorting data based on the preset transportation data and all the cigarette pack sorting data; The second deviation is determined based on the integrated data of the cigarette packs, the average value of the sorting data, and the preset transportation data.
4. The method according to claim 3, characterized in that, The step of determining the second deviation based on the integrated tobacco package data, the average sorting data, and the preset transportation data includes: The difference between the integrated data of the cigarette packs and the preset transportation data is taken as the first difference, and the difference between the average value of the sorting data and the preset transportation data is taken as the second difference. The first difference and the second difference are weighted and summed based on preset weights to obtain the second deviation.
5. A control system for a buffer cigarette pack depletion detection device, characterized in that, The system is used to perform the steps of the method as described in any one of claims 1-4, including: The first processing module is used to acquire at least two cigarette pack packaging data within a preset time period when the tobacco packaging production line is in operation, and to calculate a first deviation based on all the cigarette pack packaging data and preset transportation data. The second processing module is used to output a control signal to the circuit where the relay is located when the first deviation is detected to exceed the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are in the conducting state. The third processing module is used to process the cigarette pack detection signal collected by the buffer cigarette pack depletion detection device, and determine the second deviation based on the processing result and the preset transportation data. The fourth processing module is used to stop outputting control signals to the circuit where the relay is located when the second deviation is detected to be less than the preset deviation threshold, so that the normally open contact corresponding to the relay and the circuit where the buffer cigarette pack depletion detection device is located are switched from the conducting state to the disconnected state.
6. A control system for a buffer cigarette pack depletion detection device, characterized in that, Including the processor and 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 steps of the method as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-4.