Simulation test method and device for cigarette production, electronic equipment and storage medium

By constructing dynamic simulation diagrams, the feasibility of cigarette production equipment parameters is solved, and the problem of insufficient testing efficiency and accuracy in the existing technology is solved, and more accurate parameter settings are achieved to reduce production interruptions.

CN118915492APending Publication Date: 2024-11-08HONGTA TOBACCO (GROUP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411082443.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the feasibility testing efficiency and accuracy of cigarette production equipment parameters are poor, which makes it difficult to effectively solve the problem of production interruption.

Method used

Build a dynamic simulation diagram of cigarette production, including a wire storage cabinet simulation model, a cigarette machine simulation model, a first calculation model and a second calculation model. Through parameter settings and test start operations, determine the real-time tobacco stock margin and the remaining production time, and judge the test Whether the result is normal.

Benefits of technology

It improves the accuracy of simulation testing of cigarette production, ensures that the parameters of wire storage cabinets and cigarette machines are suitable for actual production, and reduces the possibility of production interruption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118915492A_ABST
    Figure CN118915492A_ABST
Patent Text Reader

Abstract

The invention discloses a simulation test method and device for cigarette production, electronic equipment and a storage medium. The method comprises the steps that a dynamic simulation graph of cigarette production is constructed, and the dynamic simulation graph comprises a cut tobacco storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; in response to the parameter setting operation, determining a target test parameter corresponding to the dynamic simulation graph; in response to the test starting operation, determining the real-time tobacco shred remaining amount in the tobacco shred storage cabinet simulation model under the target test parameters through the first calculation model; determining the real-time remaining production duration of the real-time tobacco shred remaining amount under the target test parameters for the cigarette making machine simulation model to perform cigarette production through a second calculation model; and determining a simulation test result of cigarette production under the target test parameters according to the real-time tobacco shred residue and the real-time residual production duration. According to the invention, the simulation test of cigarette production is realized, and the efficiency and accuracy of feasibility test of the parameters of the cut tobacco storage cabinet and the cigarette making machine are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer application technology, and in particular to a simulation test method, device, electronic equipment and storage medium for cigarette production. Background Art

[0002] At present, cigarettes are usually produced automatically through tobacco hoppers and cigarette-making machines, wherein the tobacco hoppers are used to store tobacco, and the cigarette-making machines are used to consume the tobacco in the tobacco hoppers to make cigarettes. Usually, the operating parameters of the tobacco hoppers and the cigarette-making machines are set according to different needs of users to adjust the speed of cigarette production. However, if the set parameters are too large or too small, it will cause abnormal coordination between the tobacco hoppers and the cigarette-making machines, resulting in interruption of automatic cigarette production.

[0003] In the related art, before the actual production starts, relevant technical personnel usually calculate the node data that may cause the automatic production interruption of cigarettes under the set parameters to test whether the set parameters are suitable for actual production. For example, too much or too little tobacco stored in the tobacco storage cabinet may cause the automatic production interruption of cigarettes. In the production process, the possible variation range of the tobacco stored in the tobacco storage cabinet under the set parameters is calculated, and it is determined whether the range meets the restriction conditions. However, it is obvious that the feasibility test of the set parameters through manual calculation is less efficient and accurate. Summary of the invention

[0004] The present invention provides a simulation test method, device, electronic equipment and storage medium for cigarette production, so as to solve the technical problem of poor efficiency and accuracy in feasibility testing of parameters of set cigarette production equipment.

[0005] According to one aspect of the present invention, a simulation test method for cigarette production is provided, wherein the method comprises:

[0006] Constructing a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model, and a second calculation model;

[0007] In response to the parameter setting operation, determining the target test parameters corresponding to the dynamic simulation diagram;

[0008] In response to a test start operation, determining, by means of the first calculation model, a real-time tobacco residue in the hopper simulation model under the target test parameters;

[0009] Determine, by the second calculation model, the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes by the real-time remaining tobacco under the target test parameters;

[0010] The simulation test result of cigarette production under the target test parameters is determined according to the real-time remaining tobacco shreds and the real-time remaining production time, wherein the simulation test result includes normal and / or abnormal.

[0011] According to another aspect of the present invention, a simulation test device for cigarette production is provided, wherein the device comprises:

[0012] A simulation diagram construction module, used to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model;

[0013] A parameter setting module, used for determining target test parameters corresponding to the dynamic simulation diagram in response to a parameter setting operation;

[0014] A first calculation module, configured to determine, in response to a test start operation, a real-time tobacco residue in the hopper simulation model under the target test parameters by using the first calculation model;

[0015] A second calculation module is used to determine, through the second calculation model, the real-time remaining production time of the real-time tobacco residue available for the cigarette making machine simulation model to produce cigarettes under the target test parameters;

[0016] The test result determination module is used to determine the simulation test result of cigarette production under the target test parameters according to the real-time tobacco residue and the real-time remaining production time, wherein the simulation test result includes normal and / or abnormal.

[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0018] at least one processor; and

[0019] a memory communicatively connected to the at least one processor; wherein,

[0020] 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 the simulation test method for cigarette production according to any embodiment of the present invention.

[0021] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions for enabling a processor to implement the cigarette production simulation test method according to any embodiment of the present invention when the computer instructions are executed.

[0022] The technical solution of the embodiment of the present invention is to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a shredder simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; in response to a parameter setting operation, determine the target test parameters corresponding to the dynamic simulation diagram; in response to a test start operation, determine the real-time remaining tobacco in the shredder simulation model under the target test parameters through the first calculation model; determine the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes under the target test parameters through the second calculation model; determine the simulation test results of cigarette production under the target test parameters according to the real-time remaining tobacco and the real-time remaining production time, wherein the simulation test results include normal and / or abnormal. Based on the technical solution of the present invention, the simulation test of cigarette production is carried out by constructing a dynamic simulation diagram, setting test parameters, and calculating the remaining tobacco and remaining production time, which improves the accuracy of the simulation test of cigarette production and achieves the effect of testing to obtain parameters of shredders and cigarette making machines suitable for actual cigarette production.

[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended 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

[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 is a flow chart of a simulation test method for cigarette production provided according to the first embodiment of the present invention;

[0026] Figure 2 is an example diagram of a dynamic simulation diagram provided according to an embodiment of the present invention;

[0027] Figure 3 is an example diagram of a curve of change of real-time tobacco residue displayed by a display model according to an embodiment of the present invention;

[0028] Figure 4 is a flow chart of a simulation test method for cigarette production provided according to Embodiment 2 of the present invention;

[0029] Figure 5 is an overall flow chart of a simulation test method for cigarette production provided according to an embodiment of the present invention;

[0030] Figure 6 is a schematic structural diagram of a simulation test device for cigarette production provided according to Embodiment 3 of the present invention;

[0031] Figure 7 It is a schematic diagram of the structure of an electronic device for implementing the simulation test method for cigarette production according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, 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 "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] Embodiment 1

[0035] Figure 1 A flowchart of a simulation test method for cigarette production is provided for the first embodiment of the present invention. This embodiment is applicable to the case where the parameters of the cigarette production equipment set are tested to see whether they are applicable before the actual production is started. The method can be executed by a simulation test device for cigarette production. The simulation test device for cigarette production can be implemented in the form of hardware and / or software. The simulation test device for cigarette production can be configured in a computer. Figure 1 As shown, the method includes:

[0036] S110, constructing a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model, and a second calculation model.

[0037] The dynamic simulation diagram can be understood as a simulation diagram for simulating the dynamic production of cigarettes. Specifically, the dynamic simulation diagram of cigarette production can be constructed by a target visualization tool. In an embodiment of the present invention, the target visualization tool can be preset according to scene requirements, and is not specifically limited here. Exemplarily, the target visualization tool can be a Simulink tool.

[0038] In the embodiment of the present invention, the actual production of cigarettes can be carried out by using an actual wire storage cabinet and an actual cigarette making machine. Correspondingly, the wire storage cabinet simulation model can be understood as a simulation model corresponding to the actual wire storage cabinet. The cigarette making machine simulation model can be understood as a simulation model corresponding to the actual cigarette making machine.

[0039] Among them, the tobacco storage cabinet can be used to store tobacco and provide the cigarette-making machine with tobacco required for cigarette production. The cigarette-making machine is used to consume the tobacco in the tobacco storage cabinet to produce cigarettes.

[0040] The first calculation model and the second calculation model can be understood as two models with calculation functions. In the embodiment of the present invention,

[0041] Figure 2 is an example diagram of a dynamic simulation diagram provided according to an embodiment of the present invention. Figure 2 As shown, the first calculation model has addition and subtraction calculation functions and can be used to calculate the real-time tobacco residue in the tobacco storage cabinet simulation model.

[0042] The second calculation model has multiplication and division functions, and can be used to calculate the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes based on the real-time remaining tobacco in the tobacco storage cabinet simulation model.

[0043] S120 . In response to a parameter setting operation, determine a target test parameter corresponding to the dynamic simulation diagram.

[0044] Among them, the parameter setting operation can be understood as an operation of setting the target test parameters of the simulation test, and can also be understood as an operation of setting the parameters of the wire storage cabinet simulation model and the cigarette making machine simulation model for simulated production. The purpose of the present invention is to determine whether the tested target test parameters are suitable for actual production. In an embodiment of the present invention, the parameter setting operation can be set according to the scenario requirements, and is not specifically limited here. Optionally, the parameter setting operation can be a selection operation for a preset parameter selection item, or it can be a parameter input operation for a parameter input box.

[0045] The target test parameter can be understood as a parameter to be tested for suitability for actual production. Optionally, the target test parameter may include a first parameter corresponding to the tobacco storage cabinet simulation model and a second parameter corresponding to the cigarette making machine simulation model, wherein the first parameter includes the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, and the amount of tobacco entering the cabinet for each batch of tobacco, the cigarette making machine simulation model includes multiple cigarette sub-models, and the second parameter includes the cigarette speed of each of the cigarette sub-models.

[0046] S130: In response to a test start operation, determine the real-time tobacco residue in the tobacco storage cabinet simulation model under the target test parameters by using the first calculation model.

[0047] The test start operation may be understood as an operation of starting a simulation test. In an embodiment of the present invention, the test start operation may be related to an actual application scenario and is not specifically limited here. Optionally, the test start operation may be an operation of triggering a virtual start button.

[0048] The real-time remaining amount of shredded tobacco can be understood as the real-time remaining amount of shredded tobacco in the hopper simulation model.

[0049] S140, determining, by the second calculation model, the real-time remaining production time for the cigarette-making machine simulation model to produce cigarettes by the real-time remaining tobacco under the target test parameters.

[0050] The real-time remaining production time may be understood as the real-time remaining production time during which the real-time remaining shredded tobacco can be used by the cigarette-making machine simulation model to produce cigarettes.

[0051] S150: Determine the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time.

[0052] The simulation test result may indicate whether the target test parameter is applicable to the actual production of cigarettes. Optionally, the simulation test result may include normal and / or abnormal. The normal result indicates that the target test parameter is applicable to the actual production of cigarettes, and the abnormal result indicates that the target test parameter is not applicable to the actual production of cigarettes.

[0053] Optionally, determining the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time includes:

[0054] Determine a first feasible production interval corresponding to the real-time remaining amount of tobacco and a second feasible production interval corresponding to the real-time remaining production time;

[0055] When the real-time tobacco residue belongs to the first feasible production interval and the real-time remaining production time corresponds to the second feasible production interval, the simulation test result of cigarette production under the target test parameters is determined to be normal.

[0056] The first feasible production interval can be understood as an interval of tobacco residue applicable to actual cigarette production. In the embodiment of the present invention, the first feasible production interval can be preset according to scene requirements and is not specifically limited here.

[0057] The second feasible production interval can be understood as an interval applicable to the remaining production time of actual cigarette production. In the embodiment of the present invention, the second feasible production interval can be preset according to the scene requirements and is not specifically limited here.

[0058] Specifically, when the simulation test result is normal, the target test parameters can be applied to the actual production of cigarettes.

[0059] Specifically, when the real-time tobacco residue belongs to the first feasible production interval or the second feasible production interval corresponding to the real-time remaining production time, the simulation test result of cigarette production under the target test parameters is determined to be abnormal.

[0060] Optionally, after determining the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time, the method further includes:

[0061] In the case where the simulation test result is abnormal, in response to a parameter updating operation, determining the updated target test parameter, wherein the parameter updating operation is performed based on a first relationship between the real-time tobacco residue and the first feasible production interval and a second relationship between the real-time remaining production time and the second feasible production interval;

[0062] Determine the simulation test results of cigarette production under the updated target test parameters.

[0063] The first relationship may be a size relationship between the real-time remaining tobacco and the first feasible production interval. Optionally, the first relationship may include that the real-time remaining tobacco is less than any value in the first feasible production interval, the real-time remaining tobacco is greater than any value in the first feasible production interval, or the real-time remaining tobacco belongs to the first feasible production interval.

[0064] The second relationship may be a relationship between the real-time remaining production time and the second production feasible interval. Optionally, the second relationship may include that the real-time remaining production time is less than any value in the second production feasible interval, the real-time remaining production time is greater than any value in the second production feasible interval, or the real-time remaining production time belongs to the second production feasible interval, etc.

[0065] Among them, the parameter update operation can be understood as an operation of updating the target test parameter. Optionally, the parameter update operation can be an operation of updating the first parameter and / or an operation of updating the second parameter. In an embodiment of the present invention, the parameter update operation may be related to the scenario and user needs, and is not specifically limited here. Exemplarily, the parameter update operation may be to increase the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, the amount of tobacco entering the cabinet for each batch of tobacco, or the cigarette speed of each of the cigarette sub-models; or to decrease the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, the amount of tobacco entering the cabinet for each batch of tobacco, or the cigarette speed of each of the cigarette sub-models.

[0066] In an embodiment of the present invention, the simulation test method for cigarette production further includes:

[0067] In the case where the simulation test result is abnormal, in response to the model structure update operation, the model structure in the dynamic simulation diagram is updated, and the simulation test operation of executing cigarette production is returned for the updated model structure in the dynamic simulation diagram;

[0068] The model structure updating operation is performed based on a first relationship between the real-time remaining tobacco amount and the first feasible production interval and a second relationship between the real-time remaining production time and the second feasible production interval.

[0069] Exemplarily, the model structure updating operation may be an operation of updating the number of cigarette sub-models.

[0070] Optionally, the dynamic simulation test diagram further includes a plurality of display models; and the simulation test method for cigarette production further includes:

[0071] The real-time remaining tobacco amount of the cigarette making machine simulation model, the real-time remaining production time corresponding to the real-time remaining tobacco amount, and the change curve of the real-time remaining tobacco amount in the cigarette making machine simulation model are respectively displayed through the multiple display models.

[0072] The display model can be understood as a model with the function of displaying data. In the embodiment of the present invention, the display model can optionally include a first display model, a second display model and a third display model. The first display model is used to display the real-time remaining tobacco of the cigarette machine simulation model, the second display model is used to display the real-time remaining production time, and the third display model is used to display the change curve of the real-time remaining tobacco (refer to Figure 3 ). Figure 3 The present invention provides an example diagram of a change curve of the real-time remaining tobacco amount displayed by a display model according to an embodiment of the present invention. Different change curves can represent the change of the real-time remaining tobacco amount of different simulation channels. The present invention can perform simulation tests on multiple simulation channels at the same time, and each simulation channel can correspond to one of the dynamic simulation diagrams.

[0073] The technical solution of the embodiment of the present invention is to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a shredder simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; in response to a parameter setting operation, determine the target test parameters corresponding to the dynamic simulation diagram; in response to a test start operation, determine the real-time remaining tobacco in the shredder simulation model under the target test parameters through the first calculation model; determine the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes under the target test parameters through the second calculation model; determine the simulation test results of cigarette production under the target test parameters according to the real-time remaining tobacco and the real-time remaining production time, wherein the simulation test results include normal and / or abnormal. Based on the technical solution of the present invention, the simulation test of cigarette production is carried out by constructing a dynamic simulation diagram, setting test parameters, and calculating the remaining tobacco and remaining production time, which improves the accuracy of the simulation test of cigarette production and achieves the effect of testing to obtain parameters of shredders and cigarette making machines suitable for actual cigarette production.

[0074] Embodiment 2

[0075] Figure 4 This is a flowchart of a simulation test method for cigarette production provided by the second embodiment of the present invention. This embodiment is to refine the real-time tobacco residue in the shredder simulation model under the target test parameters determined by the first calculation model in the above embodiment. Figure 4 As shown, the method includes:

[0076] S210, constructing a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model, and a second calculation model.

[0077] S220 . In response to the parameter setting operation, determine the target test parameters corresponding to the dynamic simulation diagram.

[0078] Optionally, the target test parameters include a first parameter corresponding to the tobacco storage cabinet simulation model and a second parameter corresponding to the cigarette making machine simulation model, the first parameter including the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, and the amount of tobacco entering the cabinet for each batch of tobacco, the cigarette making machine simulation model includes multiple cigarette sub-models, and the second parameter includes the cigarette making speed of each of the cigarette sub-models.

[0079] It is understood that in actual cigarette production, there may be residual tobacco from historical cigarette production in the tobacco storage cabinet. In order to ensure that the simulation test is associated with actual production, the initial tobacco residue of the cigarette machine simulation model may be set. That is, the initial tobacco residue may be associated with the residual tobacco from historical cigarette production in the tobacco storage cabinet during actual cigarette production.

[0080] The amount of tobacco shreds fed into the cabinet can be understood as the amount of tobacco shreds added to the cabinet. In the embodiment of the present invention, the amount of tobacco shreds fed into the cabinet for each batch of tobacco shreds can be the same or different.

[0081] The cabinet entry timing can be understood as the timing of tobacco shreds entering the cabinet. The cabinet entry timing can include the cabinet entry time of each batch of tobacco shreds.

[0082] The cigarette speed can be understood as the speed at which the cigarette sub-model produces cigarettes, or can be understood as the speed at which the cigarette sub-model consumes tobacco. In the embodiment of the present invention, the cigarette speeds corresponding to different cigarette sub-models can be the same or different.

[0083] S230, in response to the test start operation, determining the total amount of real-time tobacco entering the hopper corresponding to the hopper simulation model based on the first parameter, and determining the total amount of real-time tobacco consumption corresponding to the cigarette making machine simulation model based on the second parameter.

[0084] The real-time total amount of tobacco entering the cabinet can be understood as the real-time total amount of tobacco entering the cabinet. Optionally, the real-time total amount of tobacco entering the cabinet can be the sum of the initial tobacco residue and the real-time amount of tobacco entering the cabinet.

[0085] The real-time total amount of tobacco consumption can be understood as the real-time total amount of tobacco consumption. Optionally, the real-time total amount of tobacco consumption can be the product value between the total speed of cigarettes in the cigarette making machine simulation model and the real-time cumulative cigarette time. Among them, the total speed of cigarettes can be the sum of the cigarette speeds of multiple cigarette sub-models in the cigarette making machine simulation model, and the real-time cumulative cigarette time can be understood as the cumulative time of the simulation test under the target test parameters.

[0086] S240: Calculate the real-time total amount of shredded tobacco entering the cabinet and the real-time total amount of shredded tobacco consumed by using the first calculation model to obtain the real-time remaining amount of shredded tobacco in the shredded tobacco cabinet simulation model.

[0087] The real-time remaining amount of tobacco can be understood as the real-time remaining amount of tobacco in the simulation model of the tobacco storage cabinet. Optionally, the real-time remaining amount of tobacco can be the difference between the real-time total amount of tobacco entering the cabinet and the real-time total amount of tobacco consumed.

[0088] S250, determining, by the second calculation model, the real-time remaining production time for the cigarette-making machine simulation model to produce cigarettes by the real-time remaining tobacco under the target test parameters.

[0089] Optionally, determining, by the second calculation model, the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes by the real-time remaining tobacco under the target test parameters, includes:

[0090] Determining the total cigarette speed corresponding to the cigarette making machine simulation model based on the cigarette speeds of the multiple cigarette sub-models;

[0091] The real-time remaining tobacco shreds and the total cigarette speed are calculated by the second calculation model to obtain the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes based on the real-time remaining tobacco shreds.

[0092] The total cigarette speed can be understood as the total cigarette speed corresponding to the cigarette making machine simulation model. Optionally, the total cigarette speed can be the sum of the cigarette speeds of multiple cigarette sub-models in the cigarette making machine simulation model.

[0093] The real-time remaining production time can be understood as the real-time remaining production time that the real-time remaining tobacco can provide for the cigarette making machine simulation model to produce cigarettes. Optionally, the real-time remaining production time can be the quotient between the real-time remaining tobacco and the total cigarette speed.

[0094] S260: Determine the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time.

[0095] The technical solution of the embodiment of the present invention is to determine the total amount of real-time tobacco entering the cabinet corresponding to the silo simulation model based on the first parameter, and determine the total amount of real-time tobacco consumption corresponding to the cigarette making machine simulation model based on the second parameter; calculate the total amount of real-time tobacco entering the cabinet and the total amount of real-time tobacco consumption through the first calculation model to obtain the real-time tobacco remaining in the silo simulation model. The technical solution of the present invention uses a method of simulating and calculating the real-time tobacco remaining in the silo simulation model under the target test parameters and the real-time remaining production time that the real-time tobacco remaining can provide for the cigarette making machine simulation model to produce cigarettes, thereby achieving the effect of testing whether the target test parameters are suitable for actual cigarette production.

[0096] Figure 5 FIG. 1 is an overall flow chart of a simulation test method for cigarette production provided according to an embodiment of the present invention. Figure 5 As shown, optionally, the overall process of the simulation test method for cigarette production can be as follows:

[0097] 1. Use Simulink to build a wire storage cabinet simulation model, a cigarette making machine simulation model, and a calculation model between the wire storage cabinet simulation model and the cigarette making machine simulation model, wherein the simulation model is constructed based on the relationship between the wire storage cabinet and the cigarette making machine in the actual cigarette production scenario, and the calculation model includes a first calculation model and a second calculation model.

[0098] 2. Connect the calculation model, the wire storage cabinet simulation model and the cigarette making machine simulation model.

[0099] 3. Build a display model to dynamically display the calculated data during the simulation process.

[0100] 4. In combination with the actual cigarette production needs, set the target test parameters to be tested, where the target test parameters include the initial tobacco residue of the simulation model of the tobacco storage cabinet, the timing of multiple batches of tobacco entering the cabinet, and the amount of tobacco entering the cabinet for each batch of tobacco; the cigarette speed of each sub-cigarette model in the simulation model of the cigarette making machine.

[0101] 5. In response to the test start operation, a simulation test of cigarette production under target test parameters is performed according to a preset simulation test duration, and a simulation test result is determined and displayed.

[0102] 6. Determine whether the target test parameters are suitable for the actual production of cigarettes based on the simulation test results.

[0103] 7. If the target test parameters are not applicable to the actual production of cigarettes, update the target test parameters and return to execute steps 5-6 based on the updated target test parameters; or update the dynamic simulation diagram and return to execute steps 1-6 based on the updated dynamic simulation diagram.

[0104] 8. If the target test parameters are applicable to the actual production of cigarettes, the actual parameters of the cigarette storage cabinet and cigarette making machine are set based on the target test parameters, and the actual cigarette production is started.

[0105] Figure 2 is an example diagram of a dynamic simulation diagram provided according to an embodiment of the present invention. Figure 2 The above steps are further explained as follows:

[0106] Optionally, the tobacco storage cabinet simulation model in steps 1-2 can be composed of two parts: "initial tobacco residue" and "cabinet entry timing", wherein the "initial tobacco residue" can be built using the "constant module", and its function can be used to indicate the original amount of tobacco in the tobacco storage cabinet at the beginning of the simulation, which is the input parameter of the model; the "cabinet entry timing" part is built using the "step module", and its function can be used to indicate the amount and time of each batch of tobacco entering the cabinet, wherein the step end value and step time can be input through the "step module", which respectively indicate the amount of each batch of tobacco entering the cabinet and the time of tobacco entering the cabinet, and the step end value and step time are the input parameters of the model.

[0107] Furthermore, if the "cabinet entry timing" part needs to simulate multiple batches of tobacco entering the cabinet, the simulation can be achieved by building multiple "step modules"; in an embodiment of the present invention, the number of "step modules" corresponds to the number of tobacco batches that need to be simulated entering the cabinet; the step final value and step time of each "step module" are the same as the cabinet entry quantity and cabinet entry time of the corresponding batch of tobacco.

[0108] Optionally, the cigarette machine simulation model in step 1-2 can be built using a "constant module" and a "continuous time integral module", which can be used to calculate the continuous integral of the cigarette speed of the cigarette machine over the simulated production time to obtain the total amount of tobacco consumed by the cigarette machine as the simulated production time passes. The cigarette speed of the cigarette machine can be set through the "constant module", and the cigarette speed is an input parameter of the model.

[0109] Optionally, the first calculation model in step 1-2 may be constructed by using an "addition and subtraction execution module" to represent the cigarette production process of tobacco entering the cabinet and tobacco consumption between the tobacco storage cabinet and the cigarette making machine.

[0110] Furthermore, in an embodiment of the present invention, the first calculation model can represent a wire adding machine. Specifically, the connection construction method between the wire storage cabinet simulation model and the cigarette making machine simulation model can be: first, summing up the modules in the wire storage cabinet simulation model through the tobacco entering cabinet amount summing model; second, connecting the signal line to the addition end of the first calculation model (addition and subtraction execution module), and making the direction of the signal line consistent with the direction of the tobacco production process, indicating that the tobacco enters the wire storage cabinet; third, summing up the modules in the cigarette making machine simulation model through the tobacco consumption summing model; connecting the signal line to the subtraction end of the first calculation model. Similarly, making the direction of the signal line consistent with the direction of the tobacco production process, indicating that the tobacco enters the cigarette making machine.

[0111] Optionally, the display model in step 3 may be constructed using a "display module" and its function may be to display the calculated data during the simulation process. In an embodiment of the present invention, the display model may be added or deleted according to simulation requirements.

[0112] Furthermore, the display models (display modules) in the present invention may be three, such as Figure 3 As shown, the display model includes display model 1, display model 2 and display model 3 constructed by an oscilloscope, wherein, specifically, the connection mode for display model 1 can be: first, connect the cigarette machine speed summation model in the cigarette machine simulation model with the division port of the second calculation model (multiplication and division execution module), wherein the cigarette machine speed summation model is used to sum the cigarette speed models of multiple cigarette sub-models; second, connect the multiplication port of the second calculation model with the first calculation model. The connection mode for display model 2 and display model 3 can be: connect display model 2 with the first calculation model. Based on the above connection mode, the present invention can display the remaining time of cigarette production that can be maintained by the real-time remaining tobacco in the storable cabinet through display model 1, that is, the real-time remaining production time, display the real-time remaining amount of tobacco in the storable cabinet through display model 2, that is, the real-time remaining amount of tobacco, and display the relationship curve between the tobacco entering the cabinet and the remaining amount of tobacco as the production time changes through display model 3, that is, the change curve of the real-time remaining amount of tobacco.

[0113] Optionally, the models or modules in steps 1-8 may be connected by using signal lines, and the signal transmission direction of the signal lines may be consistent with the direction of the production process.

[0114] The present invention adopts a method of performing simulation modeling of cigarette production through Simulink to test whether the set target test parameters are suitable for actual production, thereby effectively reducing the test cost; and the present invention can adjust the target test parameters according to the test results, and can also update the model structure in the dynamic simulation diagram in real time according to the changes in the production scene, and further perform simulation tests after the adjustment and / or update. The present invention has strong applicability and flexibility, and can effectively improve the user experience.

[0115] Embodiment 3

[0116] Figure 6 This is a schematic diagram of the structure of a simulation test device for cigarette production provided by the third embodiment of the present invention. Figure 6 As shown, the device includes: a simulation diagram construction module 310, a parameter setting module 320, a first calculation module 330, a second calculation module 340 and a test result determination module 350.

[0117] Among them, the simulation diagram construction module 310 is used to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a tobacco storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; the parameter setting module 320 is used to determine the target test parameters corresponding to the dynamic simulation diagram in response to the parameter setting operation; the first calculation module 330 is used to determine the real-time tobacco residue in the tobacco storage cabinet simulation model under the target test parameters through the first calculation model in response to the test start operation; the second calculation module 340 is used to determine the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes with the real-time tobacco residue under the target test parameters through the second calculation model; the test result determination module 350 is used to determine the simulation test results of cigarette production under the target test parameters according to the real-time tobacco residue and the real-time remaining production time, wherein the simulation test results include normal and / or abnormal.

[0118] The technical solution of the embodiment of the present invention is to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a shredder simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; in response to a parameter setting operation, determine the target test parameters corresponding to the dynamic simulation diagram; in response to a test start operation, determine the real-time remaining tobacco in the shredder simulation model under the target test parameters through the first calculation model; determine the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes under the target test parameters through the second calculation model; determine the simulation test results of cigarette production under the target test parameters according to the real-time remaining tobacco and the real-time remaining production time, wherein the simulation test results include normal and / or abnormal. Based on the technical solution of the present invention, the simulation test of cigarette production is carried out by constructing a dynamic simulation diagram, setting test parameters, and calculating the remaining tobacco and remaining production time, which improves the accuracy of the simulation test of cigarette production and achieves the effect of testing to obtain parameters of shredders and cigarette making machines suitable for actual cigarette production.

[0119] Optionally, the target test parameters include a first parameter corresponding to the tobacco storage cabinet simulation model and a second parameter corresponding to the cigarette making machine simulation model, the first parameter including the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, and the amount of tobacco entering the cabinet for each batch of tobacco, the cigarette making machine simulation model includes multiple cigarette sub-models, and the second parameter includes the cigarette making speed of each of the cigarette sub-models.

[0120] Optionally, the first calculation module 330 is specifically configured to:

[0121] Determine the total amount of real-time shredded tobacco entering the hopper corresponding to the simulation model of the hopper based on the first parameter, and determine the total amount of real-time shredded tobacco consumed corresponding to the simulation model of the cigarette making machine based on the second parameter;

[0122] The real-time total amount of shredded tobacco entering the cabinet and the real-time total amount of shredded tobacco consumed are calculated by the first calculation model to obtain the real-time remaining amount of shredded tobacco in the shredded tobacco cabinet simulation model.

[0123] Optionally, the second calculation module 330 is specifically configured to:

[0124] Determine the total cigarette speed corresponding to the cigarette making machine simulation model based on the cigarette speeds of the multiple cigarette sub-models;

[0125] The real-time remaining tobacco shreds and the total cigarette speed are calculated by the second calculation model to obtain the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes based on the real-time remaining tobacco shreds.

[0126] Optionally, the dynamic simulation test diagram also includes multiple display models; the simulation test device for cigarette production also includes: a data display module, used to display the real-time tobacco remaining of the cigarette machine simulation model, the real-time remaining production time corresponding to the real-time tobacco remaining, and the change curve of the real-time tobacco remaining in the cigarette machine simulation model through multiple display models.

[0127] Optionally, the test result determination module 350 is specifically configured to:

[0128] Determine a first feasible production interval corresponding to the real-time remaining amount of tobacco and a second feasible production interval corresponding to the real-time remaining production time;

[0129] When the real-time tobacco residue belongs to the first feasible production interval and the real-time remaining production time corresponds to the second feasible production interval, the simulation test result of cigarette production under the target test parameters is determined to be normal.

[0130] Optionally, the simulation test device for cigarette production further includes: a parameter updating module and an updating test module;

[0131] Wherein, the parameter updating module is used for, after the simulation test result of cigarette production under the target test parameter is determined according to the real-time tobacco residue and the real-time remaining production time, in the case where the simulation test result is abnormal, responding to a parameter updating operation, determining the updated target test parameter, wherein the parameter updating operation is performed based on a first relationship between the real-time tobacco residue and the first production feasible interval and a second relationship between the real-time remaining production time and the second production feasible interval;

[0132] The updated test module is used to determine the simulation test result of cigarette production under the updated target test parameters.

[0133] The simulation test device for cigarette production provided by the embodiment of the present invention can execute the simulation test method for cigarette production provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0134] Embodiment 4

[0135] Figure 7A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment 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 processing, 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 merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0136] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and 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 to 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. An input / output (I / O) interface 15 is also connected to the bus 14.

[0137] A number of 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 disk, an optical disk, 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.

[0138] The processor 11 may be a variety of general and / or special 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 special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the simulation test method for cigarette production.

[0139] In some embodiments, the simulation test method for cigarette production can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the simulation test method for cigarette production described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the simulation test method for cigarette production in any other appropriate manner (for example, by means of firmware).

[0140] Various implementations of the systems and techniques described above herein 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 chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations 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 special purpose 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 data and instructions to the storage system, the at least one input device, and the at least one output device.

[0141] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0142] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0143] 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 trackball) through which the user can provide input to the electronic device. Other types 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, voice input, or tactile input).

[0144] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0145] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0146] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0147] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A simulation test method for cigarette production, It is characterized in that include: Constructing a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model, and a second calculation model; In response to the parameter setting operation, determining the target test parameters corresponding to the dynamic simulation diagram; In response to a test start operation, determining, by means of the first calculation model, a real-time tobacco residue in the hopper simulation model under the target test parameters; Determine, by the second calculation model, the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes by the real-time remaining tobacco under the target test parameters; The simulation test result of cigarette production under the target test parameters is determined according to the real-time remaining tobacco shreds and the real-time remaining production time, wherein the simulation test result includes normal and / or abnormal.

2. The system according to claim 1, It is characterized in that The target test parameters include a first parameter corresponding to the tobacco storage cabinet simulation model and a second parameter corresponding to the cigarette making machine simulation model, the first parameter including the initial tobacco residue, the timing of multiple batches of tobacco entering the cabinet, and the amount of tobacco entering the cabinet for each batch of tobacco, the cigarette making machine simulation model includes multiple cigarette sub-models, and the second parameter includes the cigarette making speed of each of the cigarette sub-models.

3. The system according to claim 2, It is characterized in that The determining, by the first calculation model, the real-time remaining amount of shredded tobacco in the shredded tobacco cabinet simulation model under the target test parameters comprises: Determine the total amount of real-time shredded tobacco entering the hopper corresponding to the simulation model of the hopper based on the first parameter, and determine the total amount of real-time shredded tobacco consumed corresponding to the simulation model of the cigarette making machine based on the second parameter; The real-time total amount of shredded tobacco entering the cabinet and the real-time total amount of shredded tobacco consumed are calculated by the first calculation model to obtain the real-time remaining amount of shredded tobacco in the shredded tobacco cabinet simulation model.

4. The system according to claim 2, It is characterized in that The determining, by the second calculation model, the real-time remaining production time of the real-time remaining shredded tobacco available for the cigarette making machine simulation model to produce cigarettes under the target test parameters includes: Determining the total cigarette speed corresponding to the cigarette making machine simulation model based on the cigarette speeds of the multiple cigarette sub-models; The real-time remaining tobacco shreds and the total cigarette speed are calculated by the second calculation model to obtain the real-time remaining production time for the cigarette making machine simulation model to produce cigarettes based on the real-time remaining tobacco shreds.

5. The system according to claim 1, It is characterized in that The dynamic simulation test diagram also includes a plurality of display models; the simulation test method for cigarette production also includes: The real-time remaining tobacco amount of the cigarette making machine simulation model, the real-time remaining production time corresponding to the real-time remaining tobacco amount, and the change curve of the real-time remaining tobacco amount in the cigarette making machine simulation model are respectively displayed through the multiple display models.

6. The system according to claim 1, It is characterized in that The step of determining the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time includes: Determine a first feasible production interval corresponding to the real-time remaining amount of tobacco and a second feasible production interval corresponding to the real-time remaining production time; When the real-time tobacco residue belongs to the first feasible production interval and the real-time remaining production time corresponds to the second feasible production interval, the simulation test result of cigarette production under the target test parameters is determined to be normal.

7. The system according to claim 6, It is characterized in that After determining the simulation test result of cigarette production under the target test parameters according to the real-time remaining tobacco shreds and the real-time remaining production time, the method further includes: In the case where the simulation test result is abnormal, in response to a parameter updating operation, determining the updated target test parameter, wherein the parameter updating operation is performed based on a first relationship between the real-time tobacco residue and the first feasible production interval and a second relationship between the real-time remaining production time and the second feasible production interval; Determine the simulation test results of cigarette production under the updated target test parameters.

8. A simulation test device for cigarette production, It is characterized in that include: A simulation diagram construction module, used to construct a dynamic simulation diagram of cigarette production, wherein the dynamic simulation diagram includes a cigarette storage cabinet simulation model, a cigarette making machine simulation model, a first calculation model and a second calculation model; A parameter setting module, used for determining target test parameters corresponding to the dynamic simulation diagram in response to a parameter setting operation; A first calculation module, configured to determine, in response to a test start operation, a real-time tobacco residue in the hopper simulation model under the target test parameters by using the first calculation model; A second calculation module is used to determine, through the second calculation model, the real-time remaining production time of the real-time tobacco residue available for the cigarette making machine simulation model to produce cigarettes under the target test parameters; The test result determination module is used to determine the simulation test result of cigarette production under the target test parameters according to the real-time tobacco residue and the real-time remaining production time, wherein the simulation test result includes normal and / or abnormal.

9. An electronic device, It is characterized in that The electronic device comprises: 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 perform the simulation test method for cigarette production according to any one of claims 1-7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the simulation test method for cigarette production according to any one of claims 1 to 7 when executed.