Method and equipment for detecting stock of tobacco materials in storage cabinet, medium and product
By using millimeter wave radar in the storage cabinet to build a three-dimensional model and split the material units, the problem of low detection accuracy of tobacco material stock in the storage cabinet is solved, more accurate material measurement is achieved, and production efficiency and product reliability are improved.
Patent Information
- Application Number
- CN202510530171.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-25
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, the detection and measurement accuracy of the tobacco material stock in the storage cabinet is low, resulting in low production efficiency and poor product reliability, and the inability to identify insufficient wire supply in time, affecting the normal progress of the rolling and packing process.
A three-dimensional model of the materials in the storage cabinet is constructed by scanning millimeter wave radar, and the material is simulated and divided into multiple units along the discharge direction. Combined with historical data, the weight of the finished and remaining material is calculated to achieve detailed reflection and accurate measurement of the material distribution.
It improves the accuracy of tobacco material stock measurement, ensures continuous processing and production of tobacco products, and improves production efficiency and product reliability.
Smart Images

Figure CN120385406A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tobacco process detection, and particularly to a method, device, medium and product for detecting the inventory of tobacco materials in a storage cabinet. Background Art
[0002] With the advancement of the intelligent and automated process of cigarette production, and the increasing demand of the tobacco industry for efficient production and precise management, the requirements for automatic continuous production in cigarette production are also constantly increasing. In this context, the real-time monitoring and precise management of the tobacco material reserves have become the key factors to ensure continuous production.
[0003] In the related art, the acquisition of the real-time material inventory in the storage cabinet mainly relies on the calculation based on the preset number of pulses on the bottom belt. Through the movement of the bottom belt and the preset number of pulses, the real-time inventory of tobacco in the storage cabinet is estimated. However, the method of presetting the number of pulses on the bottom belt depends on the counting of mechanical movement, and is easily affected by mechanical wear, transmission error and environmental factors, resulting in low measurement accuracy and inability to reflect the actual inventory in a timely manner. Therefore, it is impossible to effectively identify the phenomenon of insufficient wire supply during the process of changing brands and batches, which seriously affects the preparation of raw and auxiliary materials and the brand change time in subsequent processes (such as the cigarette making, tipping and packing processes), and reduces the production efficiency and the reliability of the processed products. Summary of the Invention
[0004] The present invention provides a method, device, medium and product for detecting the inventory of tobacco materials in a storage cabinet, so as to solve the problems of low detection and measurement accuracy, poor accuracy of the inventory of tobacco materials in the storage cabinet, and the resulting low production efficiency and poor product reliability.
[0005] According to an aspect of an embodiment of the present invention, there is provided a method for detecting the inventory of tobacco materials in a storage cabinet, including:
[0006] Whenever it is detected that the operation of discharging the tobacco materials in the storage cabinet is completed, a current three-dimensional model of the materials in the cabinet is constructed by means of millimeter-wave radar scanning;
[0007] Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulatedly cut into a plurality of real-time material units according to the standard segmentation span, and the volume of each real-time material unit is calculated according to the real-time material unit and the current three-dimensional model of the materials in the cabinet;
[0008] According to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material discharging operation, and the volume of each historical material unit obtained by simulatedly cutting the historical materials according to the standard segmentation span along the length direction of the materials towards the discharge port, the weight of the discharged materials in this material discharging operation and the weight of the remaining materials in the cabinet are calculated.
[0009] According to another aspect of the embodiments of the present invention, there is provided a detection device for the stock of tobacco materials in a storage cabinet, including:
[0010] A radar scanning module, configured to construct a current three-dimensional model of the materials in the cabinet by means of millimeter-wave radar scanning whenever it detects that the operation of taking out the tobacco materials in the storage cabinet is completed;
[0011] A segmentation calculation module, configured to simulate and segment the materials in the cabinet into a plurality of real-time material units along the length direction of the materials towards the discharge port according to a standard segmentation span, and calculate the volume of each real-time material unit according to the real-time material unit and the current three-dimensional model of the materials in the cabinet;
[0012] A weight calculation module, configured to calculate the weight of the materials taken out in this operation of taking out the materials and the weight of the remaining materials in the cabinet according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this operation of taking out the materials, and the volume of each historical material unit obtained by simulating and segmenting the historical materials according to the standard segmentation span along the length direction of the materials towards the discharge port.
[0013] According to another aspect of the embodiments of the present invention, there is provided an electronic device, where the electronic device includes:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and when the computer program is executed by the at least one processor, the at least one processor is enabled to execute the method for detecting the stock of tobacco materials in a storage cabinet according to any embodiment of the present invention.
[0017] According to another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium storing computer instructions for enabling a processor to implement the method for detecting the stock of tobacco materials in a storage cabinet according to any embodiment of the present invention when executed.
[0018] According to another aspect of the embodiments of the present invention, there is also provided a computer program product including a computer program, and when the computer program is executed by a processor, the steps of the method according to any embodiment of the present invention are implemented.
[0019] In the technical solution of the embodiment of the present invention, whenever it is detected that the materials are completely out of the cabinet, a three-dimensional model of the materials in the cabinet is constructed by scanning the materials in the cabinet with a millimeter-wave radar, which improves the stability and accuracy of model construction. Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and divided into multiple real-time material units according to the standard segmentation span, so as to realize a detailed reflection of the actual distribution of the materials in the cabinet, avoid volume calculation errors caused by uneven material distribution, calculate the volume of each real-time material unit in combination with the current three-dimensional model of the materials in the cabinet, and calculate the weight of the materials out of the cabinet and the weight of the remaining materials in the cabinet for this material out-of-cabinet operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material out-of-cabinet operation, and the volume of each historical material unit. By introducing historical data, the weight of the materials out of the cabinet and the remaining materials can be estimated more accurately, thereby improving the measurement accuracy of the tobacco material inventory, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0020] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0022] Figure 1 is a flowchart of a method for detecting the inventory of tobacco materials in a storage cabinet according to Embodiment 1 of the present invention;
[0023] Figure 2 is a flowchart of another method for detecting the inventory of tobacco materials in a storage cabinet according to Embodiment 2 of the present invention;
[0024] Figure 3 is a flowchart of a method for detecting the inventory of tobacco materials in a storage cabinet applicable to the embodiment of the present invention;
[0025] Figure 4 is a schematic diagram of the installation of a radar scanning device in a storage cabinet applicable to the embodiment of the present invention;
[0026] Figure 5 is a schematic diagram of radar scanning to obtain data applicable to the embodiment of the present invention;
[0027] Figure 6 is a schematic diagram of dividing the total volume of tobacco materials in the length direction applicable to the embodiment of the present invention;
[0028] Figure 7 It is a schematic diagram of the classification of the form of tobacco materials in the storage cabinet after the out-of-cabinet operation applicable to the embodiments of the present invention;
[0029] Figure 8 It is a schematic structural diagram of a device for detecting the inventory of tobacco materials in a storage cabinet provided according to Embodiment 3 of the present invention;
[0030] Figure 9 It is a schematic structural diagram of an electronic device for implementing the method for detecting the inventory of tobacco materials in a storage cabinet according to the embodiments of the present invention. Detailed implementation manners
[0031] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0033] Embodiment 1
[0034] Figure 1 It is a flowchart of a method for detecting the inventory of tobacco materials in a storage cabinet provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation of detecting the inventory of tobacco materials in a storage cabinet. This method can be executed by a device for detecting the inventory of tobacco materials in a storage cabinet. The device for detecting the inventory of tobacco materials in a storage cabinet can be implemented in the form of hardware and / or software and is generally configured in an electronic device. As Figure 1 shown, the method includes:
[0035] S110. Whenever it is detected that the out-of-cabinet operation of the tobacco materials in the storage cabinet is completed, a current three-dimensional model of the materials in the cabinet is constructed by means of millimeter-wave radar scanning.
[0036] In the embodiments of the present invention, the millimeter-wave radar can be specifically understood as: a radar operating in the millimeter-wave band for detection, having some advantages of both microwave radars and optoelectronic radars. The millimeter-wave seeker is characterized by a small volume, light weight, and high spatial resolution. The storage cabinet can be specifically understood as: a cabinet-type device in the tobacco industry for storing materials such as tobacco leaves and cut tobacco.
[0037] Specifically, after each operation of discharging the tobacco materials from the storage cabinet, the system will activate the millimeter-wave radar for scanning. The radar emits and receives millimeter-wave signals, and calculates the distances between each point on the surface of the materials and the radar based on information such as the propagation time and intensity of the reflected signals, thereby obtaining the spatial coordinates of each point on the surface of the materials. These spatial coordinate points are combined into a point cloud, which can describe the shape and position of the surface of the materials. The point cloud data is processed and analyzed, and finally a three-dimensional model of the materials in the storage cabinet is generated. The three-dimensional model can accurately reflect the actual distribution and shape of the materials in the storage cabinet, and based on this, the volume of the materials corresponding to the three-dimensional model is calculated.
[0038] It can be understood that after each discharge of materials, it is necessary to replenish the materials into the cabinet to ensure that there is sufficient material in the cabinet. Generally speaking, after replenishing the materials into the cabinet, the total weight of the materials in the cabinet should remain unchanged or within a preset allowable range. Therefore, it is also necessary to obtain the spatial information of the materials in the storage cabinet before replenishing the materials, in order to obtain the spatial information of the materials in the storage cabinet after adding the materials and before discharging the materials. When there is no material in the storage cabinet, before feeding, the distance H1 between the preset bottom belt of the storage cabinet and the radar is obtained through radar scanning. H1 is used as a reference distance for subsequent data calculation after feeding. For example, after adding the materials to the storage cabinet and before discharging the materials, the distance H from each point on the surface of the materials to the radar is obtained through radar scanning. H1 - H is the height corresponding to each point on the surface of the materials. Since the geometric parameters of the bottom of the storage cabinet are known, combined with the subsequent simulation segmentation method, the volume of the newly added materials can be calculated. When there is material in the storage cabinet, the bottom surface of the material will be higher than the bottom belt. Similarly, it can be considered that at this time, the distance H2 between the bottom surface of the material in the storage cabinet and the radar is obtained through radar scanning before feeding. H2 reflects the actual distance from the bottom surface of the material to the radar and is used as a reference distance for subsequent data calculation after feeding. For example, after adding the materials to the storage cabinet and before discharging the materials, the distance H from each point on the surface of the materials to the radar is obtained through radar scanning. H2 - H is the height corresponding to each point on the surface of the materials, and thus the volume of the newly added materials is obtained.
[0039] When using this method to detect the stock of tobacco materials in the storage cabinet for the first round, it is necessary to obtain the distance between the bottom surface of the materials in the storage cabinet and the radar by scanning with the radar in advance before feeding (when there are no materials in the storage cabinet, this distance is the distance between the bottom belt of the storage cabinet and the radar). Since this method is carried out cyclically, when it is not the first round to use this method to detect the stock of tobacco materials in the storage cabinet, the actual distance data (including H2 information), the calculated volume data and weight data collected in the previous round can be used for subsequent data calculation after feeding.
[0040] Before the supplementary materials are fed into the cabinet, the total weight of the materials fed into the cabinet is measured by an electronic scale. Add the total weight of the materials fed into the cabinet to the weight data of the stock of tobacco materials in the storage cabinet calculated in the previous round (when calculating the addition of materials in the first round, since the storage cabinet is empty, the weight data of the stock of tobacco materials in the storage cabinet in the previous round is 0) to obtain the total weight of the materials in the storage cabinet after the materials are added and before they are discharged from the cabinet. As described above, combined with the volume data calculated in the previous round and the volume of the newly added materials, the sum of the two can obtain the total volume of the materials in the storage cabinet after the materials are added and before they are discharged from the cabinet. Correspondingly, the space information of the materials in the storage cabinet after the materials are added and before they are discharged from the cabinet can be obtained.
[0041] S120. Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and cut into multiple real-time material units according to the standard cutting span, and the volume of each real-time material unit is calculated based on the real-time material unit and the current three-dimensional model of the materials in the cabinet.
[0042] The standard cutting span can be specifically understood as: when simulating and cutting the materials in the storage cabinet, along the length direction of the materials flowing towards the discharge port, the fixed length or spacing of each cutting unit set. The materials in the storage cabinet are evenly simulated and divided according to this fixed length to form multiple small units, which is convenient for calculating the volume of each unit respectively. The setting of the standard cutting span can be determined according to the historical distribution data of the materials. Suppose the historical data shows that the distribution of the materials in the storage cabinet is usually uneven in the length direction. For example, the materials within the target distance range near the discharge port are denser, while the materials outside the target distance range are sparser. In this case, the cutting span can be set to a smaller value, or a smaller standard cutting span can be used for the materials within the target distance range from the discharge port for cutting to more finely capture the changes in the material distribution.
[0043] Specifically, along the length direction of the material flow towards the discharge port, the materials in the cabinet are simulated and sliced according to a set standard span, and the overall materials are divided into multiple small units, namely real-time material units. Then, based on the division of these real-time material units and combined with the current three-dimensional model of the materials in the cabinet constructed by radar scanning, the specific volume of each real-time material unit is calculated, which can more finely capture the actual distribution of the materials in the storage cabinet, especially for irregularly shaped material piles, improving the accuracy of the volume calculation of each unit, and thus improving the calculation accuracy and accuracy of the overall material volume.
[0044] S130. Calculate the weight of the discharged materials and the weight of the remaining materials in the cabinet for this material discharging operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material discharging operation, and the volume of each historical material unit obtained by simulating and slicing the historical materials according to the standard slicing span along the material length direction towards the discharge port.
[0045] Specifically, the total weight of the historical materials in the cabinet before this material discharging operation can be specifically understood as the total weight of the materials in the storage cabinet after the addition of materials and before the material discharging as described above.
[0046] It can be understood that before and after the material discharging, the way of material division remains unchanged, that is, along the material length direction towards the discharge port, the materials in the cabinet after the addition of materials and before the material discharging are simulated and sliced into multiple historical material units according to the standard slicing span. Then, based on the space information of the materials in the storage cabinet after the addition of materials and before the material discharging obtained as described above, along the material length direction towards the discharge port, the volume of each historical material unit obtained by simulating and slicing the historical materials (the materials in the cabinet after the addition of materials and before the material discharging) according to the same standard slicing span, combined with the total weight of the historical materials, the weight of each historical material unit can be obtained (it can be considered that the materials are evenly distributed, and the weight of each historical material unit is proportional to the volume of each historical material unit).
[0047] Starting from the end of the storage cabinet far from the discharge port, compare the volume of each real-time material unit with the volume of the historical material unit one by one until all the material units in the storage cabinet are processed, and calculate the volume change to determine the remaining material weight and the discharged material weight.
[0048] Specifically, it can be: for each real-time material unit, calculate the ratio r of its volume to the volume of the corresponding historical material unit i , where V 实时,i is the volume of the i-th real-time material unit, V 历史,i is the volume of the corresponding historical material unit. Assume that after the material discharging is completed, the remaining tobacco materials in the storage cabinet are sliced into n units in total, then the value range of i is an integer between 1 and n. The weight W of each real-time material unit实时,i = r i *W 历史,i where W 历史,i is the weight of the i-th historical material unit.
[0049] The weight of the remaining tobacco material in the storage cabinet (i.e., the weight of the remaining material in the cabinet) can be obtained by summing the weights W of each real-time material unit. The weight of the material out of the cabinet can be obtained by subtracting the weight of the remaining tobacco material in the storage cabinet from the total weight of the historical materials in the cabinet before the material out-of-cabinet operation. 实时,i In the technical solution of the embodiment of the present invention, whenever it is detected that the material has completed the out-of-cabinet operation, a three-dimensional model is constructed by scanning the materials in the cabinet with a millimeter-wave radar, which improves the stability and accuracy of model construction. Along the length direction of the material towards the discharge port, the materials in the cabinet are simulated and cut into multiple real-time material units according to the standard segmentation span, realizing a detailed reflection of the actual distribution of the materials in the cabinet, avoiding volume calculation errors caused by uneven material distribution, calculating the volume of each real-time material unit in combination with the current three-dimensional model of the materials in the cabinet, and calculating the weight of the material out of the cabinet and the weight of the remaining material in the cabinet for this material out-of-cabinet operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material out-of-cabinet operation, and the volume of each historical material unit. By introducing historical data, the weight of the material out of the cabinet and the remaining material can be estimated more accurately, thereby improving the measurement accuracy of the tobacco material inventory, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0050] Optionally, based on the above embodiments, calculating the weight of the material out of the cabinet and the weight of the remaining material in the cabinet for this material out-of-cabinet operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material out-of-cabinet operation, and the volume of each historical material unit obtained by simulating and cutting the historical materials according to the standard segmentation span along the length direction of the material towards the discharge port may include:
[0051] Calculating the total volume of the historical materials in the cabinet before this material out-of-cabinet operation according to the volume of each historical material unit, and calculating the total volume of the real-time materials in the cabinet after this material out-of-cabinet operation according to the volume of each real-time material unit;
[0052] Calculating the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials;
[0053] Calculating the weight of the remaining material in the cabinet according to the total volume of the real-time materials and the historical average bulk density, and calculating the weight of the material out of the cabinet for this material out-of-cabinet operation according to the total weight of the historical materials and the weight of the remaining material in the cabinet.
[0054]
[0055] Specifically, according to the volumes of each historical material unit, the total volume of the historical materials in the cabinet before the current material out-of-cabinet operation is obtained by accumulation. According to the volumes of each real-time material unit, the total volume of the real-time materials in the cabinet after the current material out-of-cabinet operation is obtained by accumulation. The historical average bulk density of the historical materials is obtained by dividing the total weight of the historical materials by the historical total volume.
[0056] Generally, it can be considered that the distribution of materials in the storage cabinet remains unchanged, that is, the bulk density remains stable. Therefore, the total volume of the real-time materials in the cabinet after the current material out-of-cabinet operation is multiplied by the historical average bulk density to obtain the weight of the remaining materials in the cabinet. The total weight of the historical materials is subtracted from the weight of the remaining materials in the cabinet to obtain the weight of the out-of-cabinet materials for the current material out-of-cabinet operation.
[0057] The method based on bulk density improves the accuracy of calculating the weight of the out-of-cabinet materials and the weight of the remaining materials in the cabinet for the current material out-of-cabinet operation, reduces the dependence on complex measuring tools, and can adapt to different volume changes, thereby improving the measurement accuracy of the tobacco material stock, enabling dynamic monitoring of the storage cabinet material stock, ensuring continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0058] Optionally, based on the above embodiments, calculating the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the historical average bulk density may include:
[0059] According to the calculated weights of multiple historical out-of-cabinet materials and the multiple standard material weights obtained by weighing the out-of-cabinet materials, a standard adjustment coefficient is calculated.
[0060] According to the standard adjustment coefficient, the historical average bulk density is corrected, and the weight of the remaining materials in the cabinet is calculated according to the total volume of the real-time materials and the corrected historical average bulk density.
[0061] In the embodiments of the present invention, the standard adjustment coefficient can be specifically understood as: a correction factor obtained by comparing the calculated weight of the historical out-of-cabinet materials with the actual standard weight obtained by weighing with an electronic scale, used to quantify the deviation between the historical calculated weight and the actual weight. Specifically, the ratio of the multiple calculated weights of the historical out-of-cabinet materials divided by the corresponding standard material weights is obtained, and after summing and averaging, the standard adjustment coefficient is obtained.
[0062] Specifically, calculate the standard adjustment coefficient and use it to correct the historical average bulk density. For example, multiply the standard adjustment coefficient by the historical average bulk density to obtain a more accurate corrected historical average bulk density. Multiply the corrected historical average bulk density by the total volume of the real-time material to obtain the remaining material weight in the cabinet. Obtaining the standard adjustment coefficient through comparison with historical data can effectively reduce the weight estimation error, make the bulk density correction more reasonable, avoid the accumulation of errors during the production process, improve the accuracy of inventory management, thereby improving the measurement accuracy of tobacco material inventory, enabling dynamic monitoring of the material inventory in the storage cabinet, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0063] Embodiment 2
[0064] Figure 2 The flowchart of another method for detecting the inventory of tobacco materials in a storage cabinet provided by Embodiment 2 of the present invention. This embodiment is a refinement of the operation of "calculating the weight of the discharged material and the remaining material weight in the cabinet for the current material discharge operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before the current material discharge operation, and the volume of each historical material unit obtained by simulating the division of historical materials according to the standard division span along the length direction of the material towards the discharge port" in the above embodiment. Specifically, it may include: calculating the total volume of the historical materials in the cabinet before the current material discharge operation according to the volume of each historical material unit, and calculating the total volume of the real-time materials in the cabinet after the current material discharge operation according to the volume of each real-time material unit; calculating the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials; dividing each real-time material unit into a deposited material unit and a caved material unit according to the volume difference between each real-time material unit and each historical material unit; calculating a first adjustment coefficient corresponding to the deposited material unit and a second adjustment coefficient corresponding to the caved material unit according to the historical average volume; calculating the total weight of the deposited materials according to the historical average bulk density, the volume of each deposited material unit, and the first adjustment coefficient, and calculating the total weight of the caved materials according to the historical average bulk density, the volume of each caved material unit, and the second adjustment coefficient; calculating the remaining material weight in the cabinet according to the total weight of the deposited materials and the total weight of the caved materials, and calculating the weight of the discharged material for the current material discharge operation according to the total weight of the historical materials and the remaining material weight in the cabinet.
[0065] Correspondingly, as Figure 2 shown, the method includes:
[0066] S210. Whenever it is detected that the discharge operation of the tobacco materials in the storage cabinet is completed, construct the current three-dimensional model of the materials in the cabinet by means of millimeter-wave radar scanning.
[0067] S220. Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and cut into multiple real-time material units according to the standard cutting span, and the volume of each real-time material unit is calculated based on the real-time material unit and the current three-dimensional model of the materials in the cabinet.
[0068] S230. Calculate the total volume of the historical materials in the cabinet before the current material discharging operation based on the volumes of each historical material unit, and calculate the total volume of the real-time materials in the cabinet after the current material discharging operation based on the volumes of each real-time material unit.
[0069] S240. Calculate the historical average bulk density of the historical materials based on the total weight and total volume of the historical materials.
[0070] S250. Divide each real-time material unit into a sedimented material unit and a caved material unit according to the volume difference between the volume of each real-time material unit and the volume of each historical material unit.
[0071] Specifically, for each real-time material unit, calculate the difference between its volume and the volume of the corresponding historical material unit. Preset a volume difference threshold as the standard for judging the type of the material unit. If the difference between the volume of a certain real-time material unit and the volume of the corresponding historical material unit is less than the threshold, it indicates that its volume change is small and mainly sedimentation occurs, and it is classified as a sedimented material unit. If the volume difference is greater than or equal to the threshold, it indicates that the volume change is large and caving has occurred, and it is classified as a caved material unit.
[0072] S260. Calculate the first adjustment coefficient corresponding to the sedimented material unit and the second adjustment coefficient corresponding to the caved material unit based on the historical average volume.
[0073] In the embodiments of the present invention, for the sedimented material unit, since its volume change is small and mainly sedimentation occurs, the first adjustment coefficient can be calculated based on the ratio of the average volume of the current sedimentation area materials (the sum of the sedimented material units) to the volume of the historical sedimentation area materials. For the caved material unit, since its volume change is large, the second adjustment coefficient can be calculated based on the ratio of the average volume of the current caving area materials (the sum of the caved material units) to the volume of the historical caving area materials.
[0074] S270. Calculate the total weight of the sedimented materials based on the historical average bulk density, the volume of each sedimented material unit, and the first adjustment coefficient, and calculate the total weight of the caved materials based on the historical average bulk density, the volume of each caved material unit, and the second adjustment coefficient.
[0075] Specifically, multiply the volume of each deposited material unit by the historical average bulk density and then by the first adjustment coefficient to obtain the weight of each deposited material unit. Finally, add up the weights of all the deposited material units to get the total weight of the deposited materials. Multiply the volume of each caved material unit by the historical average bulk density and then by the second adjustment coefficient to obtain the weight of each caved material unit. Finally, add up the weights of all the caved material units to get the total weight of the caved materials.
[0076] S280. Calculate the remaining material weight in the cabinet based on the total weight of the deposited materials and the total weight of the caved materials, and calculate the weight of the materials leaving the cabinet for this material out-of-cabinet operation based on the total weight of the historical materials and the remaining material weight in the cabinet.
[0077] Specifically, add the total weight of the deposited materials and the total weight of the caved materials to obtain the remaining material weight in the cabinet. Subtract the remaining material weight in the cabinet from the total weight of the historical materials to calculate the weight of the materials leaving the cabinet for this material out-of-cabinet operation.
[0078] In the technical solution of the embodiment of the present invention, whenever it is detected that the materials have been taken out of the cabinet, a three-dimensional model is constructed by scanning the materials in the cabinet with a millimeter-wave radar, which improves the stability and accuracy of model construction. Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and segmented into multiple real-time material units according to the standard segmentation span, so as to realize a detailed reflection of the actual distribution of the materials in the cabinet, avoid volume calculation errors caused by uneven material distribution, calculate the volume of each real-time material unit in combination with the current three-dimensional model of the materials in the cabinet, calculate the total volume of the historical materials in the cabinet before this material out-of-cabinet operation according to the volume of each historical material unit, and calculate the total volume of the real-time materials in the cabinet after this material out-of-cabinet operation according to the volume of each real-time material unit; calculate the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials; divide each real-time material unit into deposited material units and caved material units according to the volume difference between the volume of each real-time material unit and the volume of each historical material unit; calculate the first adjustment coefficient corresponding to the deposited material unit and the second adjustment coefficient corresponding to the caved material unit according to the historical average volume, and calculate the total weight of the caved materials. The real-time material units are divided into two categories: deposited and caved, and different adjustment coefficients are used for calculation, which takes into account different volume changes, improves the accuracy of weight calculation, corrects the bulk density with the adjustment coefficient, reduces the bulk density error caused by the change of material distribution caused by volume change, and improves the reliability of weight calculation. Calculate the remaining material weight in the cabinet based on the total weight of the deposited materials and the total weight of the caved materials, and calculate the weight of the materials leaving the cabinet for this material out-of-cabinet operation based on the total weight of the historical materials and the remaining material weight in the cabinet, which improves the measurement accuracy of the tobacco material inventory, can realize the dynamic monitoring of the material inventory in the storage cabinet, ensure the continuous processing and production of tobacco products, and improve the overall production efficiency and product reliability.
[0079] Optionally, based on the above embodiments, according to the volume difference between the volume of each real-time material unit and the volume of each historical material unit, when dividing each real-time material unit into a sedimentation material unit and a caving material unit, it may include:
[0080] Along the material length direction towards the discharge port, obtain the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit respectively;
[0081] Update the first volume value according to the volume of the current real-time material unit, and update the second volume value according to the volume of the current historical material unit;
[0082] If it is determined that the absolute value of the difference between the first volume value and the second volume value is less than a preset difference threshold, return to execute the operation of obtaining the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit along the material length direction towards the discharge port;
[0083] If it is determined that the absolute value of the difference between the first volume value and the second volume value is greater than or equal to the preset difference threshold, determine each processed material unit except the current real-time material unit in each real-time material unit as a sedimentation material unit, and determine the remaining real-time material units in each real-time material unit as caving material units.
[0084] Specifically, along the direction of the material flowing towards the discharge port, sequentially obtain each real-time material unit and the corresponding historical material unit. The first volume value represents the volume of the current real-time material unit, and the second volume value represents the volume of the current historical material unit. Compare the absolute value of the difference between the first volume value and the second volume value. If the absolute value of the difference is less than the preset threshold, it indicates that the volume change is not significant. Return to continue obtaining the next real-time and historical material units and compare the absolute value of the difference. If the absolute value of the difference is greater than or equal to the preset threshold, it indicates that the volume change is significant. At this time, determine the processed real-time material units (except the current unit) as sedimentation material units, and determine the remaining real-time material units as caving material units.
[0085] By comparing and updating the volume values in real time, accurately monitor the change of the material volume, timely capture abnormal changes, effectively distinguish the sedimentation and caving material units, and deal with different types of material changes targeted, optimize the calculation process, reduce the calculation error caused by the sudden change of the material volume, improve the reliability of the material weight calculation, thereby improving the measurement accuracy of the tobacco material stock, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0086] Optionally, based on the above embodiments, calculating a first adjustment coefficient corresponding to the deposited material unit and a second adjustment coefficient corresponding to the caving material unit may include:
[0087] Calculating the ratio of the volume of the current deposited material unit to the historical average volume corresponding to the deposited material unit, and taking the ratio result as the first adjustment coefficient corresponding to the deposited material unit;
[0088] Calculating the volume change rate of the caving material unit according to the volumes of the respective real-time material units corresponding to the caving material unit and the volumes of the respective historical material units;
[0089] Calculating the ratio of the volume of the current caving material unit to the historical average volume corresponding to the caving material unit, and taking the ratio result as the correction factor value and taking it as the first adjustment coefficient corresponding to the deposited material unit;
[0090] Calculating the second adjustment coefficient corresponding to the caving material unit according to the volume change rate and the correction factor of the caving material unit.
[0091] Specifically, calculating the ratio of the volume of the current deposited material unit to the historical average volume corresponding to the deposited material unit (for the same kind of tobacco material, the average value of the multiple volume values of the deposited material unit corresponding to this material in the storage cabinet. Since the total amount of material in the storage cabinet remains basically unchanged after each addition of material, and since the production method is relatively fixed and the discharge amount each time is also relatively unchanged, the historical average volume can be used to correct the volume calculation method of the current deposited material unit), and taking the ratio result as the first adjustment coefficient corresponding to the deposited material unit, which is used to correct the bulk density of the deposited material.
[0092] Calculating the volume change rate C of the caving material unit according to the volumes of the respective material units corresponding to the caving material unit and the volumes of the respective historical material units (the material units before the material is discharged from the cabinet after the material is added) r =(sum of the volumes of all caving material units - sum of the volumes of all historical material units) / sum of the volumes of all historical material units. Calculating the ratio of the volume of the current caving material unit to the average volume of the historical caving area material of the caving material unit, and taking this ratio as the correction factor, which is used to further adjust the bulk density of the caving material. Combining the volume change rate of the caving material unit and the correction factor, calculating the second adjustment coefficient = (1 + volume change rate) * correction factor, which is used to more accurately correct the bulk density of the caving material.
[0093] By calculating the volume ratio and change rate, the adjustment coefficient of the deposited and caved materials can be accurately determined, improving the accuracy of bulk density correction. For the different characteristics of the deposited and caved materials, the adjustment coefficients are determined separately. Due to the action of external forces or its own gravity, the volume of the materials in the caving area may change greatly. The additional introduction of the volume change rate can dynamically capture these changes, timely reflect the real-time state of the materials, more reasonably reflect the density changes of the materials in different states, improve the reliability of weight calculation, thereby improving the measurement accuracy of the tobacco material inventory, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0094] Optionally, on the basis of the above embodiments, the storage cabinet is filled with materials by a feeding vehicle, and the millimeter-wave radar is installed at both ends of the feeding vehicle. As the feeding vehicle moves left and right, the scanning of the tobacco materials in the storage cabinet is realized.
[0095] Specifically, the feeding vehicle is responsible for evenly adding materials to the storage cabinet and moving left and right during the adding process. The millimeter-wave radars installed at both ends of the feeding vehicle scan the materials in the storage cabinet when the feeding vehicle moves. During the radar scanning process, information such as the height and shape of the materials is collected for constructing a three-dimensional model. The left and right movement of the feeding vehicle enables the millimeter-wave radar to cover the entire width of the storage cabinet, ensuring the comprehensiveness of the scanning. Real-time scanning is carried out during the material adding process to dynamically monitor the distribution and volume change of the materials, and feedback is used to adjust the operation of the feeding vehicle to ensure the even distribution of the materials, improve the utilization rate of the storage cabinet, and can accurately monitor the material inventory, reduce waste caused by excessive or insufficient addition, ensure the continuous processing and production of tobacco products, and improve the overall production efficiency and product reliability.
[0096] Specific application scenarios
[0097] For easy understanding, the specific application scenarios applicable to the above-mentioned invention embodiments will now be described. With the continuous advancement of the intelligent and automated process of cigarette production and the continuous improvement of the tobacco industry's demand for efficient and accurate production management, cigarette production has put forward higher requirements for the real-time monitoring and accurate management of the tobacco material reserves. In the related art, the detection of the tobacco inventory in the storage cabinet is mainly calculated through the preset pulse number on the bottom belt of the storage cabinet. However, the measurement accuracy of this method has a large deviation, resulting in inaccurate measurement data, unable to detect the situation of insufficient wire supply in a timely and accurate manner, thus affecting the normal progress of subsequent processes and reducing production efficiency. In addition, the uneven distribution of materials in the length and width directions in the storage cabinet, as well as the surge or interruption during discharging, further increases the deviation of the measurement data.
[0098] To solve the above problems, the embodiments of the present invention propose a method for detecting the inventory of tobacco materials in a storage cabinet. Figure 3is a flowchart of a method for detecting the stock of tobacco materials in a storage cabinet applicable to an embodiment of the present invention. As Figure 3 shown, the method may specifically include:
[0099] 1. Weighing the materials entering the cabinet
[0100] Before the materials enter the cabinet, they are weighed by an electronic scale as the total weight of the materials entering the cabinet.
[0101] 2. Scanning the volume after the materials enter the cabinet
[0102] After the materials enter the cabinet, a three-dimensional model of the volume inside the cabinet is established by millimeter-wave radar scanning to obtain the total volume V of the materials a .
[0103] Figure 4 is a schematic diagram of the installation of a radar scanning device applicable to an embodiment of the present invention in a storage cabinet. As Figure 4 shown, 1 is a millimeter-wave radar, 2 is a feeding vehicle, 3 is the materials stacked inside the cabinet, and 4 is the storage cabinet body. The millimeter-wave radar 1 is installed at both ends of the feeding vehicle 2. As the feeding vehicle moves left and right, the volume scanning of the materials inside the storage cabinet is realized.
[0104] Figure 5 is a schematic diagram of obtaining data by radar scanning applicable to an embodiment of the present invention. As Figure 5 shown, during the radar scanning process, the distance H1 between the bottom belt of the preset storage cabinet and the radar is obtained by scanning with the radar before feeding, or the distance H2 between the bottom surface of the materials in the storage cabinet and the radar is obtained by scanning with the radar before feeding, providing the value of the distance from the radar to the bottom of the materials for subsequent data calculation. That is, when there are no materials in the storage cabinet, the distance from the radar to the bottom of the materials is equal to H1, and H1 is used as the reference distance for subsequent data calculation after feeding; when there are materials in the storage cabinet, the bottom surface of the materials will be higher than the bottom belt, and at this time, H2 reflects the actual distance from the bottom surface of the materials to the radar, and H2 is used as the reference distance for subsequent data calculation after feeding. Therefore, when there are no materials in the storage cabinet, H1 is used for subsequent data calculation after feeding. When using this method to detect the stock of tobacco materials in the storage cabinet for the first time, it is necessary to obtain the distance H2 between the bottom surface of the materials in the storage cabinet and the radar (equivalent to H1 when there are no materials in the storage cabinet) by scanning with the radar before feeding in advance, and use H2 for subsequent data calculation after feeding. Since this method is carried out cyclically, when it is not the first time to use this method to detect the stock of tobacco materials in the storage cabinet, the actual distance data, volume data, and weight data collected in the previous round can be used for subsequent data calculation after feeding.
[0105] Add the total weight of the materials to be put into the cabinet to the weight data of the tobacco material stock in the storage cabinet obtained in the previous round (when calculating the addition of materials in the first round, since the storage cabinet is empty, the weight data of the tobacco material stock in the storage cabinet in the previous round is 0) to obtain the total weight W of the materials in the storage cabinet a .
[0106] 3. Simulation slicing
[0107] Figure 6 is a schematic diagram of slicing the overall volume of tobacco materials in the length direction applicable to the embodiments of the present invention. As shown in Figure 6 , 1 is a millimeter-wave radar, 2 is a feeding vehicle, and 3 is the materials stacked in the cabinet. With the idea of integration, along the length direction of the materials towards the discharge port (the left side in Figure 6 ), the three-dimensional model of the materials in the cabinet is simulated and sliced into multiple slices (equivalent to the real-time material units above) according to the standard slicing span δ, and the volume of each unit is denoted as V δ , the weight of each unit is W δ , the ratio of the volume of each unit to the total volume is P δ . Assuming that a total of n units are sliced and a represents the overall materials, then for the overall materials: the overall volume V a = V δ1 + V δ2 +... + V δn ; the overall ratio P a = P δ1 + P δ2 +... + P δn = 1; the overall weight W a = W δ1 + W δ2 +... + W δn .
[0108] 4. Combine the total weight W of the materials a , and obtain the weight W of each unit δ
[0109] After slicing, the volume of each slice unit can be regarded as a constant, that is, after each batch of tobacco materials is put into the cabinet, W a and V a are both known and determined quantities , and can be regarded as the constant historical average bulk density C. Then the weight of each slice unit can be obtained
[0110] 5. After each discharge from the storage cabinet is completed, scan the materials in the storage cabinet again to obtain the volume of the materials that have been discharged from the cabinet, and calculate the weight W of the materials in the storage cabinet C and the remaining material weight W S
[0111] During actual production, after the materials in the storage cabinet are discharged for a period of time, the work order ends. The radar scans the remaining materials in the cabinet. By calculating the volume of the remaining tobacco materials in the storage cabinet and comparing the volume changes of the materials before and after discharging, the number of discharged slicing units (assuming n1 slicing units have been discharged) and the serial number of the first slicing unit to be discharged can be obtained. Correspondingly, n1 + 1 is the first slicing unit to be discharged. Then the volume of the tobacco materials in the storage cabinet after discharging is V s = V δn1+1 + V δn1+2 + …… + V δn ; Then, by combining the total volume of the overall materials before discharging, the volume of the discharged materials V c = V a - V s can be calculated. The weight of the tobacco materials in the storage cabinet after discharging is W s = C * V s = C * (Vδ n1+1 + V δn1+2 + …… + V δn ), and the weight of the discharged materials is W C = C * V c .
[0112] Optionally, based on the above embodiments, the form of the tobacco materials after discharging can be divided into discharged materials outside the storage cabinet, caving area materials and settlement area materials inside the storage cabinet. Figure 7 is a schematic diagram of the form division of the tobacco materials in the storage cabinet after discharging applicable to the embodiments of the present invention. As Figure 7 shown, 1 is a millimeter-wave radar, 2 is a paving vehicle, 3 is the materials stacked in the cabinet, 4 is the storage cabinet body. After discharging, the materials with the reference point along the reverse direction of the material discharging direction are settlement area materials, which are specifically manifested as only a slight change in height of this part of the materials before and after discharging, and no large shape change will occur. After discharging, the materials from the reference point along the material discharging direction to the storage cabinet outlet are caving area materials. Due to being close to the discharge port, the upper part of this part of the materials will slide outside the storage cabinet, resulting in a large degree of shape change of this part of the materials. After discharging, the materials outside the storage cabinet are discharged materials.
[0113] Since the reference point is random due to the random time of discharging from the cabinet, in order to accurately obtain the specific range of the settled material, it is necessary to slice the material in the storage cabinet along the length direction of the material towards the discharge port and compare the material units before and after discharging one by one. If the volume difference between the material units before and after discharging is less than the preset difference threshold, continue to compare the material units before and after discharging one by one along the length direction of the material towards the discharge port until it is detected that the volume difference between the material units before and after discharging is greater than or equal to the preset difference threshold. Then, after the discharging is completed, among the material units in the storage cabinet, except for the current material unit, each processed material unit (the material unit that has been compared and analyzed, except for the current unit) is determined as the settled material unit, and the remaining material units in each material unit are determined as the caving material units. Thus, the volume V of the material in the settlement area can be determined 沉降 and the volume V 垮落 of the material in the caving area
[0114] Calculate the ratio of the volume of the current deposited material unit to the historical average volume corresponding to the deposited material unit, and take the ratio result as the first adjustment coefficient C1 corresponding to the deposited material unit; then for the material unit in the settlement area, its average bulk density is corrected to C 沉降 = C * C1. According to the volume of each material unit corresponding to the caving material unit and the volume of each historical material unit, calculate the volume change rate C r ; calculate the ratio of the volume of the current caving material unit to the historical average volume corresponding to the caving material unit, and take the ratio result as the correction factor value and take it as the first adjustment coefficient f corresponding to the deposited material unit; according to the volume change rate and correction factor of the caving material unit, calculate the second adjustment coefficient C2 corresponding to the caving material unit = (1 + C r ) * f. Then for the material unit in the caving area, its average bulk density is corrected to C 垮落 = C * C2. According to the corrected average bulk density and the determined volumes of each settled material unit and caving material unit, calculate the corresponding material weights respectively, and obtain the weight W 沉降 of the material in the settlement area = C 沉降 * V 沉降 and W 垮落 = C 垮落 * V 垮落 . Add them up to get the weight W S of the tobacco material in the storage cabinet after discharging = W 沉降 + W 垮落 . Subtract the calculated weight W a of the tobacco material in the storage cabinet after discharging from the total material weight W S to obtain the weight W C of the discharged material
[0115] The detection method for the inventory of tobacco materials in a storage cabinet proposed in the embodiments of the present invention scans the storage states of the tobacco materials in the storage cabinet before and after the out-of-cabinet operation through radar, obtains the corresponding volume of the materials in the overall cabinet, and performs simulated segmentation along the length direction of the materials towards the discharge port according to the standard segmentation span to obtain the overall volume data of the materials in the cabinet and the volume distribution data in the out-of-cabinet direction. Combining the accurate measurement of the materials by the electronic scale before entering the cabinet, the weight data of the out-of-cabinet tobacco materials and the weight data of the inventory of tobacco materials in the storage cabinet can be calculated in real time, and it is not necessary to introduce high-cost and large-space equipment such as on-line electronic scales to measure the weight of the materials in the storage cabinet in real time to calculate and obtain the weight of the out-of-cabinet tobacco materials and the weight of the inventory of tobacco materials in the storage cabinet, overcoming the problem of inaccurate measurement caused by the uneven distribution of the materials in the cabinet in the height direction and the related measurement scheme relying solely on the out-of-cabinet length ratio data. Considering the uneven distribution of the materials in the cabinet in the height direction, the materials in the cabinet are divided into sedimentation area materials and caving area materials, and the corresponding adjustment coefficients are calculated respectively to optimize the calculation method of the corresponding weight and improve the measurement accuracy.
[0116] Embodiment III
[0117] Figure 8 It is a schematic structural diagram of a detection device for the inventory of tobacco materials in a storage cabinet provided by Embodiment III of the present invention. As Figure 8 shown, the device includes: a radar scanning module 810, a segmentation calculation module 820, and a weight calculation module 830, where:
[0118] The radar scanning module 810 is configured to, whenever it detects that the out-of-cabinet operation of the tobacco materials in the storage cabinet is completed, construct the current three-dimensional model of the materials in the cabinet by means of millimeter-wave radar scanning;
[0119] The segmentation calculation module 820 is configured to simulate segment the materials in the cabinet into multiple real-time material units along the length direction of the materials towards the discharge port according to the standard segmentation span, and calculate the volume of each real-time material unit according to the real-time material unit and the current three-dimensional model of the materials in the cabinet;
[0120] The weight calculation module 830 is configured to calculate the weight of the out-of-cabinet materials and the weight of the remaining materials in the cabinet for the current out-of-cabinet operation of the materials according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before the current out-of-cabinet operation of the materials, and the volume of each historical material unit obtained by simulating the segmentation of the historical materials along the length direction of the materials towards the discharge port according to the standard segmentation span.
[0121] In the technical solution of the embodiment of the present invention, whenever it is detected that the materials are completely out of the cabinet, a three-dimensional model of the materials in the cabinet is constructed by scanning the materials in the cabinet with a millimeter-wave radar, which improves the stability and accuracy of model construction. Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and divided into multiple real-time material units according to the standard segmentation span, so as to realize a detailed reflection of the actual distribution of the materials in the cabinet, avoid volume calculation errors caused by uneven material distribution, calculate the volume of each real-time material unit in combination with the current three-dimensional model of the materials in the cabinet, and calculate the weight of the materials out of the cabinet and the weight of the remaining materials in the cabinet for this material out-of-cabinet operation according to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material out-of-cabinet operation, and the volume of each historical material unit. By introducing historical data, the weight of the materials out of the cabinet and the remaining materials can be estimated more accurately, thereby improving the measurement accuracy of the tobacco material inventory, ensuring the continuous processing and production of tobacco products, and improving the overall production efficiency and product reliability.
[0122] Based on the above embodiments, the weight calculation module 830 is specifically configured to:
[0123] Calculate the total volume of the historical materials in the cabinet before this material out-of-cabinet operation according to the volume of each historical material unit, and calculate the total volume of the real-time materials in the cabinet after this material out-of-cabinet operation according to the volume of each real-time material unit;
[0124] Calculate the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials;
[0125] Calculate the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the historical average bulk density, and calculate the weight of the materials out of the cabinet for this material out-of-cabinet operation according to the total weight of the historical materials and the weight of the remaining materials in the cabinet.
[0126] Optionally, based on the above embodiments, the weight calculation module 830 may include: an adjustment coefficient unit and a bulk density correction unit, where:
[0127] The adjustment coefficient unit is configured to calculate a standard adjustment coefficient according to the calculated weights of multiple historical materials out of the cabinet and the multiple standard material weights obtained by weighing the materials out of the cabinet;
[0128] The bulk density correction unit is configured to correct the historical average bulk density according to the standard adjustment coefficient, and calculate the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the corrected historical average bulk density.
[0129] Based on the above embodiments, the weight calculation module 830 is further configured to:
[0130] Calculate the total volume of historical materials in the cabinet before the current material out-of-cabinet operation based on the volume of each historical material unit, and calculate the total volume of real-time materials in the cabinet after the current material out-of-cabinet operation based on the volume of each real-time material unit;
[0131] Calculate the historical average bulk density of historical materials based on the total weight and total volume of historical materials;
[0132] Divide each real-time material unit into a sedimented material unit and a caved material unit according to the volume difference between the volume of each real-time material unit and the volume of each historical material unit;
[0133] Calculate the first adjustment coefficient corresponding to the sedimented material unit and the second adjustment coefficient corresponding to the caved material unit according to the historical average volume;
[0134] Calculate the total weight of sedimented materials based on the historical average bulk density, the volume of each sedimented material unit, and the first adjustment coefficient, and calculate the total weight of caved materials based on the historical average bulk density, the volume of each caved material unit, and the second adjustment coefficient;
[0135] Calculate the remaining material weight in the cabinet based on the total weight of sedimented materials and the total weight of caved materials, and calculate the out-of-cabinet material weight of the current material out-of-cabinet operation based on the total weight of historical materials and the remaining material weight in the cabinet.
[0136] Optionally, based on the above embodiments, the weight calculation module 830 may include: an acquisition unit, an update unit, a return unit, and a determination unit, where:
[0137] The acquisition unit is configured to respectively acquire the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit along the material length direction towards the discharge port;
[0138] The update unit is configured to update the first volume value according to the volume of the current real-time material unit and update the second volume value according to the volume of the current historical material unit;
[0139] The return unit is configured to, if it is determined that the absolute value of the difference between the first volume value and the second volume value is less than a preset difference threshold, return to execute the operation of respectively acquiring the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit along the material length direction towards the discharge port;
[0140] The determination unit is configured to, if it is determined that the absolute value of the difference between the first volume value and the second volume value is greater than or equal to the preset difference threshold, determine each processed material unit except the current real-time material unit in each real-time material unit as a sedimented material unit, and determine the remaining real-time material units in each real-time material unit as caved material units.
[0141] Optionally, based on the above embodiments, the weight calculation module 830 may include: a first adjustment unit, a volume change unit, a correction factor unit, and a second adjustment unit, where:
[0142] The first adjustment unit is configured to calculate the ratio of the volume of the current deposited material unit to the historical average volume corresponding to the deposited material unit, and use the ratio result as the first adjustment coefficient corresponding to the deposited material unit;
[0143] The volume change unit is configured to calculate the volume change rate of the caving material unit according to the volumes of the respective real-time material units corresponding to the caving material unit and the volumes of the respective historical material units;
[0144] The correction factor unit is configured to calculate the ratio of the volume of the current caving material unit to the historical average volume corresponding to the caving material unit, and use the ratio result as the correction factor value as the first adjustment coefficient corresponding to the deposited material unit;
[0145] The second adjustment unit is configured to calculate the second adjustment coefficient corresponding to the caving material unit according to the volume change rate and the correction factor of the caving material unit.
[0146] Based on the above embodiments, the storage cabinet is filled with materials by a feeding vehicle, and the millimeter-wave radar is installed at both ends of the feeding vehicle. As the feeding vehicle moves left and right, the tobacco materials in the storage cabinet are scanned.
[0147] The detection device for the stock of tobacco materials in the storage cabinet provided by the embodiments of the present invention can execute the method for detecting the stock of tobacco materials in the storage cabinet provided by any embodiment of the present invention, and has the corresponding function modules and beneficial effects for executing the method.
[0148] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information involved are all in compliance with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0149] Embodiment 4
[0150] Figure 9The structural schematic diagram of the electronic device 10 that can be used to implement the embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0151] As Figure 9 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0152] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0153] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the detection method for the stock quantity of tobacco materials in the storage cabinet, that is:
[0154] Whenever it is detected that the operation of taking out the tobacco materials from the storage cabinet is completed, a current three-dimensional model of the materials in the cabinet is constructed by means of millimeter-wave radar scanning;
[0155] Along the material length direction towards the discharge port, the materials in the cabinet are simulated and cut into multiple real-time material units according to the standard cutting span, and the volume of each real-time material unit is calculated based on the real-time material unit and the current three-dimensional model of the materials in the cabinet.
[0156] Based on the volume of each real-time material unit, the total weight of the historical materials in the cabinet before the current material discharging operation, and the volume of each historical material unit obtained by simulating and cutting the historical materials according to the standard cutting span along the material length direction towards the discharge port, the weight of the discharged materials and the weight of the remaining materials in the cabinet for the current material discharging operation are calculated.
[0157] In some embodiments, the method for detecting the stock of tobacco materials in the storage cabinet can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by the processor 11, one or more steps of the method for detecting the stock of tobacco materials in the storage cabinet described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for detecting the stock of tobacco materials in the storage cabinet by any other suitable means (e.g., by means of firmware).
[0158] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0159] A computer program for implementing the method of the present invention may be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partly on the machine, partly on the machine as a stand-alone software package and partly on a remote machine, or entirely on a remote machine or server.
[0160] In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium may be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0161] In order to provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, speech input, or tactile input).
[0162] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0163] A computing system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0164] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.
[0165] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims
1. A method for detecting the stock of tobacco materials in a storage cabinet, characterized in that, Including: Whenever it is detected that the operation of taking out the tobacco materials in the storage cabinet is completed, a current three-dimensional model of the materials in the cabinet is constructed by means of millimeter-wave radar scanning; Along the length direction of the materials towards the discharge port, the materials in the cabinet are simulated and cut into multiple real-time material units according to the standard segmentation span, and the volume of each real-time material unit is calculated based on the real-time material unit and the current three-dimensional model of the materials in the cabinet; According to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material taking-out operation, and the volume of each historical material unit obtained by simulating and cutting the historical materials according to the standard segmentation span along the length direction of the materials towards the discharge port, calculate the weight of the taken-out materials for this material taking-out operation and the weight of the remaining materials in the cabinet.
2. The method according to claim 1, characterized in that, According to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material taking-out operation, and the volume of each historical material unit obtained by simulating and cutting the historical materials according to the standard segmentation span along the length direction of the materials towards the discharge port, calculating the weight of the taken-out materials for this material taking-out operation and the weight of the remaining materials in the cabinet includes: Calculating the total volume of the historical materials in the cabinet before this material taking-out operation according to the volume of each historical material unit, and calculating the total volume of the real-time materials in the cabinet after this material taking-out operation according to the volume of each real-time material unit; Calculating the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials; Calculating the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the historical average bulk density, and calculating the weight of the taken-out materials for this material taking-out operation according to the total weight of the historical materials and the weight of the remaining materials in the cabinet.
3. The method according to claim 2, characterized in that, Calculating the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the historical average bulk density includes: Calculating a standard adjustment coefficient according to the calculated weights of multiple historical taken-out materials and the multiple standard material weights obtained by weighing the taken-out materials; Correcting the historical average bulk density according to the standard adjustment coefficient, and calculating the weight of the remaining materials in the cabinet according to the total volume of the real-time materials and the corrected historical average bulk density.
4. The method according to claim 1, wherein According to the volume of each real-time material unit, the total weight of the historical materials in the cabinet before this material taking-out operation, and the volume of each historical material unit obtained by simulating and cutting the historical materials according to the standard segmentation span along the length direction of the materials towards the discharge port, calculating the weight of the taken-out materials for this material taking-out operation and the weight of the remaining materials in the cabinet includes: Calculating the total volume of the historical materials in the cabinet before this material taking-out operation according to the volume of each historical material unit, and calculating the total volume of the real-time materials in the cabinet after this material taking-out operation according to the volume of each real-time material unit; Calculating the historical average bulk density of the historical materials according to the total weight and total volume of the historical materials; Dividing each real-time material unit into a deposited material unit and a caved material unit according to the volume difference between the volume of each real-time material unit and the volume of each historical material unit; Calculating a first adjustment coefficient corresponding to the deposited material unit and a second adjustment coefficient corresponding to the caved material unit according to the historical average volume; Calculate the total weight of the deposited materials based on the historical average bulk density, the volume of each deposited material unit, and the first adjustment coefficient, and calculate the total weight of the caved materials based on the historical average bulk density, the volume of each caved material unit, and the second adjustment coefficient; Calculate the remaining material weight in the cabinet based on the total weight of the deposited materials and the total weight of the caved materials, and calculate the weight of the materials taken out of the cabinet for the current material out-of-cabinet operation based on the total weight of the historical materials and the remaining material weight in the cabinet.
5. The method according to claim 4, characterized in that Based on the volume difference between the volume of each real-time material unit and the volume of each historical material unit, divide each real-time material unit into a deposited material unit and a caved material unit, including: Along the material length direction towards the discharge port, obtain the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit respectively; Update the first volume value according to the volume of the current deposited material unit, and update the second volume value according to the volume of the current historical material unit; If it is determined that the absolute value of the difference between the first volume value and the second volume value is less than the preset difference threshold, return to execute the operation of obtaining the current real-time material unit and the current historical material unit in each real-time material unit and each historical material unit along the material length direction towards the discharge port; If it is determined that the absolute value of the difference between the first volume value and the second volume value is greater than or equal to the preset difference threshold, determine each processed material unit except the current real-time material unit in each real-time material unit as a sedimented material unit, and determine the remaining real-time material units in each real-time material unit as caved material units.
6. The method according to claim 4, wherein Calculate the first adjustment coefficient corresponding to the deposited material unit and the second adjustment coefficient corresponding to the caved material unit according to the historical average volume, including: Calculate the ratio of the volume of the current deposited material unit to the historical average volume corresponding to the deposited material unit, and use the ratio result as the first adjustment coefficient corresponding to the deposited material unit; Calculate the volume change rate of the caved material unit according to the volume of each real-time material unit corresponding to the caved material unit and the volume of each historical material unit; Calculate the ratio of the volume of the current caved material unit to the historical average volume corresponding to the caved material unit, and use the ratio result as the correction factor value as the first adjustment coefficient corresponding to the deposited material unit; Calculate the second adjustment coefficient corresponding to the caved material unit according to the volume change rate and the correction factor of the caved material unit.
7. The method according to any one of claims 1-6, characterized in that, The storage cabinet is filled with materials by a feeding vehicle, and the millimeter wave radar is installed at both ends of the feeding vehicle. As the feeding vehicle moves left and right, the tobacco materials in the storage cabinet are scanned.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a method for detecting the stock of tobacco materials in a storage cabinet according to any one of claims 1-7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to implement a method for detecting the inventory of tobacco materials in a storage cabinet according to any one of claims 1-7 when executed by a processor.
10. A computer program product, characterized in that, The computer program product includes a computer program, and the computer program implements a method for detecting the inventory of tobacco materials in a storage cabinet according to any one of claims 1-7 when executed by a processor.
Citation Information
Cited By
Dredged object volume calculation and display method, device and equipment based on multi-source sensing and medium
CN122237710A