Tobacco moisture meter zero adjustment method and device, storage medium and electronic equipment

Through pre-trained model and oven measurement, the recommended value for zero adjustment of moisture meter is automatically calculated, which solves the problem of zero adjustment of moisture meter and improves the quality control efficiency of tobacco silk making process.

CN119125449APending Publication Date: 2024-12-13CHINA TOBACCO HUNAN IND CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411234142.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

During the existing tobacco silk production process, the zero-position adjustment of the moisture meter relies on the results of the oven data for negative feedback and hysteresis adjustment, which leads to difficulty in time adjustment and affects product quality and process efficiency.

Method used

By collecting the zero-position characteristic data of the moisture meter, inputting the pre-trained model to obtain the predicted value, comparing the predicted value with the actual value, if the deviation is greater than the threshold, collecting sample tobacco wires for oven measurement, calculating the zero-position adjustment value, and updating the zero-position of the moisture meter .

Benefits of technology

The timely and effective adjustment of the zero position of the moisture meter is achieved, and the efficiency and accuracy of the quality control of the silk making process are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119125449A_ABST
    Figure CN119125449A_ABST
Patent Text Reader

Abstract

The invention provides a zero adjustment method and device for a tobacco moisture meter, a storage medium and electronic equipment, and is applied to the technical field of automatic control. The method is based on moisture meter zero position characteristic data and a moisture meter zero position prediction model of a tobacco production line, the moisture meter zero position characteristic data comprises a point position of a target moisture meter, tobacco mark data, an environment temperature value and an environment humidity value, and the moisture meter zero position is adjusted in real time. Whether zero adjustment is needed or not is judged by comparing the zero predicted value with the zero actual value, and if adjustment is needed, zero adjustment suggestions and zero update of the moisture meter are provided according to the deviation between the moisture display value and the moisture measured value. According to the method, the zero position of the moisture meter is monitored through the zero position characteristic data of the moisture meter, and the zero position deviation measurement can be timely guided, so that the zero position of the moisture meter is timely and effectively adjusted, the product quality is guaranteed, and the quality control efficiency of the tobacco primary processing technology is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automatic control technology, and in particular to a method, a device, a storage medium and an electronic device for adjusting the zero position of a tobacco moisture meter. Background Art

[0002] In the tobacco silk production process, the change of moisture chain between each process has a direct impact on process control. Since the key to the stable control of moisture chain lies in the accuracy of online moisture meter, online moisture meter is a crucial factor in the control of silk production process.

[0003] However, due to the large number of moisture meter devices and the complex specifications of the products involved, the zero adjustment of the moisture meter mainly relies on over-reliance on the oven data results for negative feedback lag adjustment, making it difficult to adjust the zero point of the moisture meter in time, thus affecting product quality and reducing the efficiency of quality control of the tobacco silk making process.

[0004] Therefore, how to timely and effectively adjust the zero position of the moisture meter has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] In view of the above problems, the present invention provides a tobacco moisture meter zero adjustment method, device, storage medium and electronic device that overcome the above problems or at least partially solve the above problems. The technical solution is as follows:

[0006] A method for adjusting the zero position of a tobacco moisture meter, comprising:

[0007] Obtaining zero-position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the zero-position characteristic data of the moisture meter includes a point position of the target moisture meter, tobacco brand data, an ambient temperature value, and an ambient humidity value;

[0008] Inputting the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain the zero-position prediction value of the target moisture meter output by the zero-position prediction model of the moisture meter;

[0009] Obtaining the actual zero value of the target moisture meter at the current moment;

[0010] Determine whether the zero position deviation between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, obtain the moisture display value of the sampled shredded tobacco collected by the target moisture meter at the point position;

[0011] Obtaining the moisture value of the sampled shredded tobacco measured in an oven;

[0012] Using the moisture deviation value between the moisture display value and the moisture measurement value, a zero adjustment recommended value of the target moisture meter is obtained;

[0013] The target moisture meter is zero-adjusted using the zero-adjustment recommended value to update the zero-adjustment actual value of the target moisture meter.

[0014] Optionally, the step of obtaining a zero adjustment recommendation value of the target moisture meter by using a moisture deviation value between the moisture display value and the moisture measurement value includes:

[0015] Based on a preset evaluation deviation limit mapping condition, a moisture deviation value between the moisture display value and the moisture measurement value is calculated to obtain an evaluation deviation limit adjustment parameter;

[0016] Based on a preset maximum tolerance limit mapping condition of the moisture meter, determining a maximum tolerance limit adjustment parameter corresponding to a moisture deviation value between the moisture display value and the moisture measurement value;

[0017] The evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter are used to obtain a zero adjustment recommendation value for the target moisture meter.

[0018] Optionally, the preset evaluation deviation limit mapping condition is:

[0019]

[0020] Wherein, P is the evaluation deviation limit adjustment parameter, and Δδ is the moisture deviation value;

[0021] The preset moisture meter maximum tolerance limit mapping condition is:

[0022]

[0023] Wherein, Q is the maximum tolerance limit adjustment parameter, Δδ is the moisture deviation value, and δ is the maximum tolerance of the target moisture meter;

[0024] The step of obtaining the zero adjustment recommendation value of the target moisture meter by using the evaluation deviation limit adjustment parameter and the maximum tolerance limit adjustment parameter includes:

[0025] The evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter are multiplied to obtain a zero adjustment recommendation value of the target moisture meter.

[0026] Optionally, performing zero adjustment on the target moisture meter by using the zero adjustment recommended value to update the zero actual value of the target moisture meter includes:

[0027] The zero position adjustment suggestion value is sent to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment suggestion value.

[0028] Optionally, performing zero adjustment on the target moisture meter by using the zero adjustment recommended value to update the zero actual value of the target moisture meter includes:

[0029] Obtaining a zero position adjustment experience value after the user modifies the zero position adjustment recommended value, wherein an adjustment deviation value between the zero position adjustment experience value and the zero position adjustment recommended value is not greater than a preset adjustment deviation threshold;

[0030] The zero position adjustment empirical value is sent to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment empirical value.

[0031] Optionally, after performing zero adjustment on the target moisture meter using the zero adjustment recommended value and updating the zero actual value of the target moisture meter, the method further includes:

[0032] Reading the updated zero position actual value of the target moisture meter;

[0033] The updated actual zero position value is compared with the expected zero position value of the target moisture meter for consistency. If they are inconsistent, the zero position adjustment abnormality alarm information of the target moisture meter is output, wherein the expected zero position value is the zero position value recorded after the system performs zero position adjustment on the target moisture meter based on the recommended zero position adjustment value.

[0034] Optionally, the method further includes:

[0035] When it is determined that the zero position deviation value is greater than the preset zero position deviation threshold, zero position deviation warning information is output, wherein the zero position deviation warning information is used to indicate a moisture deviation measurement operation to be performed on the sampled shredded tobacco at the point position.

[0036] A tobacco moisture meter zero adjustment device comprises: a zero characteristic data acquisition unit, a zero prediction value acquisition unit, a zero actual value acquisition unit, a zero deviation determination unit, a moisture display value acquisition unit, a moisture measurement value acquisition unit, a zero adjustment suggestion value acquisition unit and a zero actual value update unit.

[0037] The zero-position characteristic data obtaining unit is used to obtain the zero-position characteristic data of the moisture meter of the target moisture meter in the target tobacco production line at the current moment, wherein the zero-position characteristic data of the moisture meter includes the point position of the target moisture meter, tobacco brand data, ambient temperature value and ambient humidity value;

[0038] The zero-position prediction value obtaining unit is used to input the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain the zero-position prediction value of the target moisture meter output by the moisture meter zero-position prediction model;

[0039] The zero position actual value obtaining unit is used to obtain the zero position actual value of the target moisture meter at the current moment;

[0040] The zero position deviation determination unit is used to determine whether the zero position deviation value between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, trigger the moisture display value acquisition unit;

[0041] The moisture display value obtaining unit is used to obtain the moisture display value of the sampled shredded tobacco collected by the target moisture meter at the point position;

[0042] The moisture measurement value obtaining unit is used to obtain the moisture measurement value of the sampled shredded tobacco measured by the drying oven;

[0043] The zero adjustment recommended value obtaining unit is used to obtain the zero adjustment recommended value of the target moisture meter by using the moisture deviation value between the moisture display value and the moisture measurement value;

[0044] The zero position actual value updating unit is used to perform zero position adjustment on the target moisture meter using the zero position adjustment recommended value, and update the zero position actual value of the target moisture meter.

[0045] A computer-readable storage medium stores a program, wherein when the program is executed by a processor, the method for adjusting the zero position of a tobacco moisture meter described in any one of the above items is implemented.

[0046] An electronic device, comprising at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; and the processor is used to call program instructions in the memory to execute any one of the above-mentioned tobacco moisture meter zero adjustment methods.

[0047] By means of the above technical scheme, the present invention provides a method, device, storage medium and electronic device for zero-position adjustment of a tobacco moisture meter, the method comprising: obtaining zero-position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the zero-position characteristic data of the moisture meter comprises the point position of the target moisture meter, tobacco brand data, ambient temperature value and ambient humidity value; inputting the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain a zero-position prediction value of the target moisture meter output by the zero-position prediction model of the moisture meter; obtaining the zero-position actual value of the target moisture meter at the current moment; determining whether the zero-position deviation value between the zero-position prediction value and the zero-position actual value is greater than or equal to a preset zero-position deviation threshold value, and if so, obtaining the moisture display value of the sampled tobacco at the target moisture meter collection point position; obtaining the moisture measurement value of the sampled tobacco measured by an oven; obtaining a zero-position adjustment recommendation value of the target moisture meter using the moisture deviation value between the moisture display value and the moisture measurement value; performing zero-position adjustment on the target moisture meter using the zero-position adjustment recommendation value to update the zero-position actual value of the target moisture meter. The present invention monitors the zero position of the moisture meter through the zero position characteristic data of the moisture meter, and can timely guide the zero position deviation measurement, so as to timely and effectively adjust the zero position of the moisture meter, ensure product quality, and improve the efficiency of quality control of the tobacco silk making process.

[0048] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0050] Figure 1 A schematic flow chart showing an implementation of a method for adjusting the zero position of a tobacco moisture meter provided in an embodiment of the present invention;

[0051] Figure 2 A schematic flow chart showing another implementation of a method for adjusting the zero position of a tobacco moisture meter provided in an embodiment of the present invention;

[0052] Figure 3 A schematic flow chart showing another implementation of a method for adjusting the zero position of a tobacco moisture meter provided in an embodiment of the present invention;

[0053] Figure 4A schematic diagram showing the structure of a zero position adjustment device for a tobacco moisture meter provided by an embodiment of the present invention is shown;

[0054] Figure 5 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0055] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.

[0056] In the process of tobacco shred production, the accuracy of the moisture meter is not only related to the physical properties of the tobacco shreds, such as elasticity, toughness, filling and combustibility, but also affects the appearance and internal quality of the processed tobacco shreds, such as gloss, aroma and taste. Therefore, the management of online moisture meters has become a key link in the quality control of tobacco shred process.

[0057] At present, the management of online moisture meters for tobacco cutting mainly relies on manual calculation of zero adjustment data based on oven data, and downloading the adjustment data to the local moisture meter through the central control system. However, due to the large number of moisture meter devices and the complex specifications of the products involved, this management method faces the following challenges: First, a large amount of data requires manual analysis, calculation and adjustment of the zero position, which makes the production control adjustment process too time-consuming and affects timeliness. Secondly, the manually calculated zero adjustment process is prone to errors, posing potential risks to process control and product quality. Finally, there is a lack of systematic analysis and accurate prediction of the zero position changes of each brand, and excessive reliance on oven data for negative feedback hysteresis adjustment, which may affect the quality of the final product. Therefore, a more efficient and accurate management method is needed to meet these challenges.

[0058] Based on this, in an embodiment of the present invention, a method for adjusting the zero position of a tobacco moisture meter is provided. First, the zero position characteristic data of the target moisture meter is collected, including the point position, tobacco brand data, ambient temperature and humidity value. Secondly, the collected zero position characteristic data is input into a pre-trained zero position prediction model of the moisture meter to obtain a zero position prediction value. At the same time, the zero position actual value of the target moisture meter at the current moment is obtained. Then, the zero position prediction value is compared with the zero position actual value to determine whether the zero position deviation value between the two exceeds the preset zero position deviation threshold. If the zero position deviation value is greater than or equal to the threshold, a tobacco sample at the point position of the target moisture meter is collected and its moisture display value is recorded. Then, the tobacco sample is sent to an oven for moisture measurement to obtain a moisture measurement value. Finally, according to the deviation between the moisture display value and the moisture measurement value, the zero position adjustment recommended value of the target moisture meter is calculated, and then the zero position adjustment recommended value is used to adjust the target moisture meter to zero, and its zero position actual value is updated. It can be seen that the embodiment of the present invention can not only realize the zero position monitoring of the moisture meter, but also realize the automatic adjustment of the zero position of the moisture meter through the prediction model and real-time characteristic data analysis, which is conducive to timely and effective zero position adjustment of the moisture meter and improves the accuracy and efficiency of the zero position adjustment of the moisture meter.

[0059] like Figure 1 As shown, a flowchart of an implementation of a method for adjusting the zero position of a tobacco moisture meter provided by an embodiment of the present invention is provided. The method may include:

[0060] S100, obtaining zero-position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the zero-position characteristic data of the moisture meter includes a point position of the target moisture meter, tobacco brand data, an ambient temperature value, and an ambient humidity value.

[0061] Among them, the tobacco production line refers to the production line of tobacco shreds. The production workshop distinguishes the production lines according to the brand type of tobacco shreds produced by the production line, for example: production line A produces brand series A, and production line B produces brand series B.

[0062] Among them, the moisture meter refers to an instrument used to measure the moisture content in tobacco to ensure that the moisture content of tobacco is within an appropriate range during the production process.

[0063] The moisture meter zero position characteristic data refers to parameter data related to the moisture meter zero position, which is used to reflect the current working condition of the moisture meter.

[0064] The point position refers to the specific installation and measurement position of the moisture meter on the production line, that is, the actual detection position of the moisture meter. For example: the moisture detection position at the exit of the drying process, the detection position at the exit of the feeding process, etc.

[0065] Among them, tobacco brand data refers to the data of the type or brand corresponding to the tobacco production line. Different types or brands of tobacco may have different zero position requirements for moisture meters.

[0066] The ambient temperature value refers to the temperature of the environment the moisture meter is currently in. The ambient temperature value may affect the measurement accuracy of the moisture meter.

[0067] The ambient humidity value refers to the humidity that the moisture meter is currently in. The ambient humidity value may affect the measurement accuracy of the moisture meter.

[0068] Specifically, the embodiment of the present invention can monitor each online moisture meter of each tobacco production line in the tobacco silk production workshop, read the ambient temperature value and ambient humidity value of each moisture meter at the current moment in real time, and combine the point position of each moisture meter in the tobacco production line and the tobacco brand data to respectively sort out the moisture meter zero-position characteristic data of each moisture meter at the current moment. The embodiment of the present invention centrally monitors the zero-position characteristic data of moisture meters of multiple production lines and multiple moisture meters in the production workshop, which helps to timely detect moisture meters that need zero-position adjustment and manage online moisture meters more effectively.

[0069] S110, inputting the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain a zero-position prediction value of the target moisture meter output by the zero-position prediction model of the moisture meter.

[0070] Among them, the moisture meter zero-position prediction model can be a model trained based on a regression decision tree algorithm, the model input of the moisture meter zero-position prediction model is the point position of the moisture meter, tobacco brand data, ambient temperature value and ambient humidity value, and the model output is the zero-position prediction value of the moisture meter.

[0071] The zero-position prediction value refers to the prediction value calculated by the zero-position prediction model of the moisture meter, which reflects the zero position that the moisture meter should have under the current conditions.

[0072] The training process of the moisture meter zero position prediction model provided by the embodiment of the present invention may include: pre-collecting the ambient temperature value and ambient humidity value of each online moisture meter of each tobacco production line in the tobacco silk production workshop at at least one historical moment, and combining the point position and tobacco brand data of each moisture meter in the tobacco production line, and performing data preprocessing on these data to obtain a feature vector training set, wherein the feature vector training set includes multiple feature vector training data, each feature vector training data includes the point position of the moisture meter, tobacco brand data, ambient temperature value and ambient humidity value. The feature vector training data in the feature vector training set is input into the moisture meter zero position prediction model constructed based on the regression decision tree algorithm for machine learning to obtain a trained moisture meter zero position prediction model. Among them, the data preprocessing may include: 1. Eliminating abnormal data and supplementing missing data. 2. Merging point, brand, production line, temperature and humidity data. 3. Extracting the eigenvalues ​​of the merged data set. The embodiment of the present invention can determine the degree of model fit based on the coefficient of determination (R-squared) of the moisture meter zero position prediction model, thereby obtaining a moisture meter zero position prediction model with a better degree of model fit. For example, in the embodiment of the present invention, when the square of the determination coefficient is greater than 0.7, it can be confirmed that the model degree of fit of the moisture meter zero-point prediction model meets the actual demand, thereby terminating the model training.

[0073] S120, obtaining the actual zero value of the target moisture meter at the current moment.

[0074] The actual zero value refers to the actual zero value currently measured by the moisture meter. The embodiment of the present invention can collect the actual zero value of the moisture meter at the current moment in real time.

[0075] S130, determining whether the zero-position deviation value between the zero-position prediction value and the zero-position actual value is greater than or equal to a preset zero-position deviation threshold value; if yes, executing step S140.

[0076] The zero-bit deviation value is used to indicate the difference between the zero-bit predicted value and the zero-bit actual value.

[0077] Among them, the preset zero deviation threshold is used to determine whether the zero deviation value is within an acceptable range. The embodiment of the present invention can set the preset zero deviation threshold according to the cigarette process specification and the measurement performance requirement of the infrared moisture meter that the difference between the mean value of the standard deviation of the moisture content when the moisture meter is sampling and the mean value of the standard deviation of the moisture content of the laboratory sample should not exceed the allowable error. For example, 0.3%. The embodiment of the present invention can also set the preset zero deviation threshold to 0.2% on the basis of 0.3% to more accurately adjust the zero position of the moisture meter.

[0078] The embodiment of the present invention can, when the zero deviation value of the target moisture meter is less than a preset zero deviation threshold, not perform zero adjustment on the target moisture meter and continue to monitor the zero deviation value of the target moisture meter at the next moment. The embodiment of the present invention can, when the zero deviation value of the target moisture meter is greater than or equal to the preset zero deviation threshold, perform zero adjustment on the target moisture meter.

[0079] S140, obtaining the moisture display value of the sampled shredded tobacco at the target moisture meter collection point position.

[0080] Among them, the sampled tobacco is a tobacco sample collected from the target moisture meter point position.

[0081] The moisture display value refers to the moisture content value of the sampled shredded tobacco measured by the moisture meter. The embodiment of the present invention can read in real time the moisture content value of the sampled shredded tobacco collected by the moisture meter at the corresponding point position at the current moment.

[0082] S150, obtaining the moisture value of the sampled shredded tobacco measured in an oven.

[0083] The drying oven is a laboratory drying oven, which is a device used to measure the moisture content of sampled tobacco and is generally considered to be more accurate than moisture meters.

[0084] Among them, the moisture measurement value is the moisture content value of the sampled tobacco measured in an oven.

[0085] In the embodiment of the present invention, when the zero deviation value of the target moisture meter is greater than or equal to a preset zero deviation threshold, an oven measurement indication information for the target moisture meter can be output, and an operator collects tobacco material at a point position of the target moisture meter as sampled tobacco, records the moisture display value of the target moisture meter, and places the sampled tobacco into a laboratory oven to detect the actual moisture content of the sampled tobacco, i.e., the moisture measurement value, and then enters the moisture measurement value into the system.

[0086] In the embodiment of the present invention, when the zero deviation value of the target moisture meter is greater than or equal to a preset zero deviation threshold, the tobacco material at the point position of the target moisture meter can be transported to an oven as sampled tobacco through automatic transportation equipment for actual moisture content measurement, and the moisture measurement value of the sampled tobacco can be obtained and automatically uploaded to the system.

[0087] S160, using the moisture deviation value between the moisture display value and the moisture measurement value, obtaining a recommended value for zero adjustment of the target moisture meter.

[0088] The moisture deviation value is used to indicate the difference between the moisture display value and the moisture measurement value.

[0089] The zero adjustment recommended value is a recommended value for adjusting the zero point of the moisture meter calculated based on the moisture deviation value.

[0090] When the moisture deviation value is a positive number, it means that the moisture display value of the target moisture meter is too high and the zero position of the target moisture meter needs to be reduced. Therefore, the recommended zero position adjustment value of the target moisture meter can be set to a negative number. For example, if the moisture deviation value is +0.15, the recommended zero position adjustment value can be -0.15.

[0091] When the moisture deviation value is negative, it means that the moisture display value of the target moisture meter is too low and the zero position of the target moisture meter needs to be increased. Therefore, the recommended zero position adjustment value of the target moisture meter can be set to a positive number. For example, if the moisture deviation value is -0.15, the recommended zero position adjustment value can be +0.15.

[0092] S170. Use the zero adjustment recommended value to perform zero adjustment on the target moisture meter, and update the zero actual value of the target moisture meter.

[0093] Specifically, the embodiment of the present invention can enter the calibration mode of the moisture meter in response to the user's zero adjustment operation when the moisture meter is in the normal measurement mode. In the calibration mode, the user selects the zero adjustment or zero point calibration option, obtains the user's manually input zero adjustment recommended value, and adjusts the actual zero value of the target moisture meter at the current moment based on the zero adjustment recommended value. After the adjustment is completed, the calibration mode is exited and the normal measurement mode is returned.

[0094] The invention provides a method for adjusting the zero position of a tobacco moisture meter, the method comprising: obtaining zero position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the zero position characteristic data of the moisture meter comprises a point position of the target moisture meter, tobacco brand data, an ambient temperature value and an ambient humidity value; inputting the zero position characteristic data of the moisture meter into a pre-trained zero position prediction model of the moisture meter to obtain a zero position prediction value of the target moisture meter output by the zero position prediction model of the moisture meter; obtaining an actual zero position value of the target moisture meter at the current moment; determining whether a zero position deviation value between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, obtaining a moisture display value of sampled tobacco at a collection point position of the target moisture meter; obtaining a moisture measurement value of the sampled tobacco measured by an oven; obtaining a zero position adjustment recommendation value of the target moisture meter using a moisture deviation value between the moisture display value and the moisture measurement value; performing zero position adjustment on the target moisture meter using the zero position adjustment recommendation value, and updating the actual zero position value of the target moisture meter. The present invention monitors the zero position of the moisture meter through the zero position characteristic data of the moisture meter, and can timely guide the zero position deviation measurement, so as to timely and effectively adjust the zero position of the moisture meter, ensure product quality, and improve the efficiency of quality control of the tobacco silk making process.

[0095] Optional, based on Figure 1 The method shown, such as Figure 2As shown, a flowchart of another implementation of a method for adjusting the zero position of a tobacco moisture meter provided by an embodiment of the present invention is shown, and step S160 may include:

[0096] S200 , based on a preset evaluation deviation limit mapping condition, calculating a moisture deviation value between a moisture display value and a moisture measurement value to obtain an evaluation deviation limit adjustment parameter.

[0097] The preset evaluation deviation limit mapping condition is a condition for presetting the evaluation deviation limit adjustment parameter for calculating the moisture deviation value. The preset evaluation deviation limit mapping condition may include a calculation formula corresponding to a specific numerical range (ie, deviation degree) of the moisture deviation value.

[0098] The evaluation deviation limit adjustment parameter is an adjustment parameter based on the degree of deviation of the moisture deviation value and is used to limit the zero adjustment recommended value.

[0099] In the embodiment of the present invention, the moisture deviation value can be mapped to a calculation formula in a preset evaluation deviation limit mapping condition, and the moisture deviation value can be substituted into the corresponding calculation formula for calculation to obtain the evaluation deviation limit adjustment parameter.

[0100] Optionally, the preset evaluation deviation limit mapping condition is:

[0101]

[0102] Among them, P is the evaluation deviation limit adjustment parameter, and Δδ is the moisture deviation value.

[0103] The embodiment of the present invention can accurately calculate the evaluation deviation limit adjustment parameter by presetting the evaluation deviation limit mapping condition, thereby facilitating the subsequent accurate calculation of the zero adjustment recommended value of the target moisture meter.

[0104] S210: Based on a preset maximum tolerance limit mapping condition of the moisture meter, determine a maximum tolerance limit adjustment parameter corresponding to a moisture deviation value between a moisture display value and a moisture measurement value.

[0105] The preset moisture meter maximum tolerance limit mapping condition is a condition for presetting the maximum tolerance limit adjustment parameter for calculating the moisture deviation value. The preset moisture meter maximum tolerance limit mapping condition may include a numerical value corresponding to a specific mapping relationship between the moisture deviation value and the maximum tolerance of the target moisture meter.

[0106] The maximum tolerance limit adjustment parameter is an adjustment parameter for limiting the zero adjustment recommended value based on a mapping relationship between the moisture deviation value and the maximum tolerance of the moisture meter.

[0107] In the embodiment of the present invention, the moisture deviation value can be mapped to a numerical condition in a preset moisture meter maximum tolerance limit mapping condition, and a numerical value corresponding to the numerical condition can be determined as a maximum tolerance limit adjustment parameter.

[0108] Optionally, preset moisture meter maximum tolerance limit mapping conditions are:

[0109]

[0110] Among them, Q is the maximum tolerance limit adjustment parameter, Δδ is the moisture deviation value, and δ is the maximum tolerance of the target moisture meter.

[0111] The embodiment of the present invention can accurately obtain the maximum tolerance limit adjustment parameter by presetting the maximum tolerance limit mapping condition of the moisture meter, thereby facilitating the subsequent accurate calculation of the zero adjustment recommended value of the target moisture meter.

[0112] S220, using the evaluation deviation limit adjustment parameter and the maximum allowable limit adjustment parameter to obtain a zero adjustment recommendation value for the target moisture meter.

[0113] Specifically, the embodiment of the present invention may multiply the evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter to obtain the zero adjustment recommended value of the target moisture meter, that is, the zero adjustment recommended value y: y=P×Q.

[0114] The embodiment of the present invention can effectively obtain unique evaluation deviation limit adjustment parameters and maximum tolerance limit adjustment parameters for the moisture deviation value by presetting the evaluation deviation limit mapping conditions and the moisture meter maximum tolerance limit mapping conditions, thereby obtaining more accurate zero adjustment recommended values, which in turn helps to timely and effectively adjust the moisture meter to zero.

[0115] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, in another optional embodiment provided by the embodiment of the present invention, the target moisture meter is zero-adjusted using the zero-adjustment recommended value to update the zero-actual value of the target moisture meter, which may specifically include:

[0116] The zero position adjustment suggestion value is sent to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment suggestion value.

[0117] Specifically, the embodiment of the present invention can remotely control the moisture meter to enter the calibration mode when the moisture meter is in the normal measurement mode, and turn on the zero adjustment or zero point calibration option in the calibration mode, remotely input the zero adjustment recommended value, and adjust the actual zero value of the target moisture meter at the current moment based on the zero adjustment recommended value. After the adjustment is completed, exit the calibration mode and return to the normal measurement mode.

[0118] The embodiment of the present invention sends the zero adjustment recommendation value to the target moisture meter by remote control, which can ensure that the adjustment process is accurate, thereby timely and effectively performing zero adjustment on the moisture meter, improving the accuracy and stability of the moisture measurement of the moisture meter, and further improving the efficiency of quality control of the tobacco silk making process.

[0119] Optional, based on Figure 1 The method shown, such as Figure 3 As shown, a flowchart of another implementation of a method for adjusting the zero position of a tobacco moisture meter provided by an embodiment of the present invention is shown, and step S170 may include:

[0120] S300, obtaining a zero position adjustment experience value after the user modifies the zero position adjustment recommended value, wherein an adjustment deviation value between the zero position adjustment experience value and the zero position adjustment recommended value is not greater than a preset adjustment deviation threshold.

[0121] The zero adjustment experience value is a value modified by the user based on the zero adjustment recommended value based on experience.

[0122] The preset adjustment deviation threshold is used to ensure that the difference between the zero adjustment experience value and the zero adjustment recommended value does not exceed the threshold.

[0123] Specifically, after obtaining the zero adjustment recommended value of the target moisture meter, the embodiment of the present invention can output zero adjustment inquiry information to prompt the user whether to agree to perform zero adjustment based on the zero adjustment recommended value, or whether to perform empirical fine adjustment based on the zero adjustment recommended value. In the case where the user chooses to adjust the zero adjustment recommended value, the zero adjustment empirical value input by the user is obtained, and the zero adjustment empirical value input by the user is limited to not exceed the acceptable range by a preset adjustment deviation threshold.

[0124] S310: Send the zero position adjustment experience value to the target moisture meter, so that the target moisture meter adjusts the current zero position actual value according to the zero position adjustment experience value.

[0125] Specifically, the embodiment of the present invention can remotely control the moisture meter to enter the calibration mode when the moisture meter is in the normal measurement mode, and turn on the zero adjustment or zero point calibration option in the calibration mode, remotely input the zero adjustment experience value, and adjust the actual zero value of the target moisture meter at the current moment based on the zero adjustment experience value. After the adjustment is completed, exit the calibration mode and return to the normal measurement mode.

[0126] After fine-tuning the zero adjustment recommended value calculated by the system in combination with user experience, the embodiment of the present invention can obtain a more accurate zero adjustment experience value, thereby helping to timely and effectively adjust the zero point of the moisture meter, improve the accuracy and stability of the moisture measurement of the moisture meter, and further improve the efficiency of quality control of the tobacco silk making process.

[0127] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, in another optional embodiment provided by the embodiment of the present invention, after performing zero adjustment on the target moisture meter using the zero adjustment recommended value and updating the zero actual value of the target moisture meter, the method further includes:

[0128] Read the updated zero actual value of the target moisture meter. Compare the updated zero actual value with the target moisture meter's zero expected value for consistency. If they are inconsistent, output the target moisture meter's zero adjustment abnormality alarm information, where the zero expected value is the zero value recorded after the system adjusts the target moisture meter to zero based on the zero adjustment recommended value.

[0129] It can be understood that, after the moisture meter is zero-adjusted, the embodiment of the present invention can compare the updated actual zero value of the moisture meter with the expected zero value of the moisture meter recorded by the system. If they are inconsistent, it means that the moisture meter has not been zero-adjusted as required, and a zero adjustment abnormality alarm is issued to prompt the user to perform zero adjustment as required. If they are consistent, it means that the moisture meter is correctly zero-adjusted.

[0130] The embodiment of the present invention ensures that the zero position of the moisture meter can be adjusted strictly according to the recommended value for zero position adjustment through zero position value consistency comparison after zero position adjustment and zero position abnormality alarm, thereby ensuring the effectiveness of zero position adjustment, thereby ensuring product quality and improving the efficiency of tobacco silk making process quality control.

[0131] Optional, in the above Figure 1 On the basis of one or more corresponding embodiments, in another optional embodiment provided by the embodiment of the present invention, the method may further include:

[0132] When it is determined that the zero position deviation value is greater than or equal to a preset zero position deviation threshold, a zero position deviation warning message is output, wherein the zero position deviation warning message is used to indicate a moisture deviation measurement operation to be performed on the sampled shredded tobacco at the point position.

[0133] The embodiment of the present invention monitors the zero deviation value in real time and triggers an early warning when it exceeds a preset threshold, so as to timely guide the measurement of the moisture deviation, and help to timely adjust the zero point of the moisture meter to ensure product quality and improve the efficiency of quality control of the tobacco silk making process.

[0134] An embodiment of the present invention also provides a tobacco moisture meter zero position adjustment system, which may include: a temperature and humidity data acquisition module, a temperature and humidity monitoring and early warning model module, an oven data acquisition module, an oven data model module, a moisture meter management module, a moisture meter zero position adjustment data automatic sending module and a moisture meter zero position abnormality alarm module.

[0135] The temperature and humidity data acquisition module is used to read the ambient temperature and humidity data of each moisture meter point on the tobacco production line. After preprocessing, these data are sent to the temperature and humidity monitoring and early warning model module. The temperature and humidity data acquisition module can transmit data streams in JSON format and process these data streams using Python scripting technology. The processed data is written into the temperature and humidity data table in the database according to the two dimensions of production line and point.

[0136] The temperature and humidity monitoring and early warning model module is used to receive preprocessed data, establish a model using an integrated regression decision tree algorithm, and predict the zero value of the moisture meter at each moisture meter point on each tobacco production line. If the deviation between the predicted value and the actual value exceeds the set threshold, a warning message is sent to the oven data acquisition module. The temperature and humidity monitoring and early warning model module uses a regression decision tree algorithm, takes the point environmental temperature and humidity data set as input, and the moisture value data set read by the point moisture meter as output for monitoring and early warning. This model is used to monitor the status of the moisture meter at each point and issue an early warning when an abnormality occurs.

[0137] The oven data acquisition module is used for the business personnel to perform oven measurement on the sampled tobacco at the moisture meter point on the corresponding tobacco production line according to the instructions after receiving the early warning information, and read the sampled tobacco detection data sent by the oven, including the tobacco production line, tobacco brand data, sampling points, the average value of each group of sampled tobacco oven values ​​and the comprehensive average tobacco moisture deviation value. The acquired data is sent to the oven data model module after preprocessing. The oven data acquisition module adopts two data acquisition methods: Method 1: The data stream is transmitted in JSON format, processed using Python script technology, and written into the oven data table in the database according to the three dimensions of production line, brand, and point. Method 2: Use Python script technology to process the oven data file in xlsx format, and write the processed data into the database.

[0138] The oven data model module is used to calculate the recommended zero adjustment value of each point position and tobacco brand data after receiving the oven data. The oven data model module obtains the unique parameter P through a mapping relationship based on the evaluation deviation (Δδ) between the oven data and the data read by the online moisture meter. At the same time, based on the maximum allowable deviation δ of each moisture meter, the unique parameter Q is obtained through a mapping relationship. Finally, the recommended adjustment value of the zero position is calculated by a specific formula.

[0139] The moisture meter management module is based on the WEB infrastructure and developed using the Django framework. It uses front-end and back-end separation technology to obtain processed business data through JSON data streams. In terms of data visualization, the bar chart, curve chart, and line chart types of the Echarts chart library are selected to display data.

[0140] The operator makes a comprehensive evaluation based on the calculated zero adjustment recommended value and determines the final correction value.

[0141] The moisture meter zero adjustment data automatic sending module is used to send the confirmed adjustment value to the moisture meter at the corresponding point. The moisture meter zero adjustment data automatic sending module is based on the WINCC infrastructure and is developed using VB. The module detects the moisture meter zero adjustment data table data in real time and sends the adjusted moisture meter zero data to the moisture meter device at the corresponding point through the DP bus.

[0142] The moisture meter zero position abnormality alarm module is used to read the moisture meter zero position value and compare it with the moisture meter zero position data recorded in the system. If an abnormality is found, the zero position abnormality alarm function is activated to prevent business personnel from bypassing the system and privately adjusting the moisture meter zero position.

[0143] The tobacco moisture meter zero adjustment system provided in the embodiment of the present invention realizes accurate monitoring, automatic adjustment and efficient management of the moisture meter through the cooperation of processes and modules, thereby improving the stability and accuracy of the overall system.

[0144] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.

[0145] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0146] Corresponding to the above method embodiment, the embodiment of the present invention also provides a tobacco moisture meter zero adjustment device, the structure of which is as follows: Figure 4 As shown, it may include: a zero-position characteristic data obtaining unit 10, a zero-position prediction value obtaining unit 20, a zero-position actual value obtaining unit 30, a zero-position deviation determination unit 40, a moisture display value obtaining unit 50, a moisture measurement value obtaining unit 60, a zero-position adjustment recommendation value obtaining unit 70 and a zero-position actual value updating unit 80.

[0147] The zero-position characteristic data obtaining unit 10 is used to obtain the zero-position characteristic data of the moisture meter of the target moisture meter in the target tobacco production line at the current moment, wherein the zero-position characteristic data of the moisture meter includes the point position of the target moisture meter, tobacco brand data, ambient temperature value and ambient humidity value;

[0148] The zero-position prediction value obtaining unit 20 is used to input the zero-position characteristic data of the moisture meter into the pre-trained zero-position prediction model of the moisture meter to obtain the zero-position prediction value of the target moisture meter output by the zero-position prediction model of the moisture meter;

[0149] The zero position actual value obtaining unit 30 is used to obtain the zero position actual value of the target moisture meter at the current moment;

[0150] A zero position deviation determination unit 40 is used to determine whether a zero position deviation value between a zero position prediction value and a zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, trigger a moisture display value acquisition unit 50;

[0151] The moisture display value obtaining unit 50 is used to obtain the moisture display value of the sampled shredded tobacco at the target moisture meter collection point position;

[0152] The moisture measurement value obtaining unit 60 is used to obtain the moisture measurement value of the sampled shredded tobacco measured by the drying oven;

[0153] A zero adjustment recommended value obtaining unit 70 is used to obtain a zero adjustment recommended value of a target moisture meter by using a moisture deviation value between a moisture display value and a moisture measurement value;

[0154] The zero position actual value updating unit 80 is used to perform zero position adjustment on the target moisture meter using the zero position adjustment recommended value, and update the zero position actual value of the target moisture meter.

[0155] Optionally, the zero position adjustment suggested value obtaining unit 70 may include: an evaluation deviation limit adjustment parameter obtaining subunit, a maximum allowable limit adjustment parameter obtaining subunit and a zero position adjustment suggested value obtaining subunit.

[0156] The evaluation deviation limit adjustment parameter obtaining subunit is used to calculate the moisture deviation value between the moisture display value and the moisture measurement value based on the preset evaluation deviation limit mapping condition to obtain the evaluation deviation limit adjustment parameter.

[0157] The maximum tolerance limit adjustment parameter obtaining subunit is used to determine the maximum tolerance limit adjustment parameter corresponding to the moisture deviation value between the moisture display value and the moisture measurement value based on the preset maximum tolerance limit mapping condition of the moisture meter.

[0158] The zero adjustment recommended value obtaining subunit is used to obtain the zero adjustment recommended value of the target moisture meter by using the evaluation deviation limit adjustment parameter and the maximum allowable limit adjustment parameter.

[0159] Optionally, the preset evaluation deviation limit mapping condition is:

[0160]

[0161] Among them, P is the evaluation deviation limit adjustment parameter, and Δδ is the moisture deviation value.

[0162] Optionally, preset moisture meter maximum tolerance limit mapping conditions are:

[0163]

[0164] Among them, Q is the maximum tolerance limit adjustment parameter, Δδ is the moisture deviation value, and δ is the maximum tolerance of the target moisture meter.

[0165] Optionally, the zero adjustment recommended value obtaining subunit may be specifically used to multiply the evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter to obtain the zero adjustment recommended value of the target moisture meter.

[0166] Optionally, the zero position actual value updating unit 80 may be specifically configured to send the zero position adjustment suggestion value to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment suggestion value.

[0167] Optionally, the zero position actual value updating unit 80 may include: a zero position adjustment experience value obtaining subunit and a zero position adjustment experience value sending subunit.

[0168] The zero position adjustment experience value obtaining subunit is used to obtain the zero position adjustment experience value after the user modifies the zero position adjustment recommended value, wherein the adjustment deviation value between the zero position adjustment experience value and the zero position adjustment recommended value is not greater than a preset adjustment deviation threshold.

[0169] The zero position adjustment experience value sending subunit is used to send the zero position adjustment experience value to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment experience value.

[0170] Optionally, the tobacco moisture meter zero position adjustment device may further include: a zero position actual value reading unit, a zero position value consistency comparison unit and a zero position adjustment abnormality alarm information output unit.

[0171] The zero position actual value reading unit is used for the zero position actual value updating unit 80 to adjust the zero position of the target moisture meter using the zero position adjustment recommended value, and after updating the zero position actual value of the target moisture meter, read the updated zero position actual value of the target moisture meter.

[0172] The zero value consistency comparison unit is used to compare the updated zero actual value with the zero expected value of the target moisture meter for consistency, wherein the zero expected value is the zero value recorded after the system performs zero adjustment on the target moisture meter based on the zero adjustment recommended value. If there is inconsistency, the zero adjustment abnormal alarm information output unit is triggered.

[0173] The zero adjustment abnormal alarm information output unit is used to output the zero adjustment abnormal alarm information of the target moisture meter.

[0174] Optionally, the tobacco moisture meter zero position adjustment device may further include: a zero position deviation warning information output unit.

[0175] The zero position deviation warning information output unit is used to output zero position deviation warning information when it is determined that the zero position deviation value is greater than a preset zero position deviation threshold, wherein the zero position deviation warning information is used to indicate a moisture deviation measurement operation for the sampled tobacco at the point position.

[0176] The invention provides a tobacco moisture meter zero position adjustment device, which is used for: obtaining moisture meter zero position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the moisture meter zero position characteristic data includes the point position of the target moisture meter, tobacco brand data, ambient temperature value and ambient humidity value; inputting the moisture meter zero position characteristic data into a pre-trained moisture meter zero position prediction model to obtain a zero position prediction value of the target moisture meter output by the moisture meter zero position prediction model; obtaining the zero position actual value of the target moisture meter at the current moment; determining whether a zero position deviation value between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, obtaining the moisture display value of the sampled tobacco at the target moisture meter collection point position; obtaining the moisture measurement value of the sampled tobacco measured by an oven; obtaining a zero position adjustment recommendation value of the target moisture meter using the moisture deviation value between the moisture display value and the moisture measurement value; performing zero position adjustment on the target moisture meter using the zero position adjustment recommendation value, and updating the zero position actual value of the target moisture meter. The present invention monitors the zero position of the moisture meter through the zero position characteristic data of the moisture meter, and can timely guide the zero position deviation measurement, so as to timely and effectively adjust the zero position of the moisture meter, ensure product quality, and improve the efficiency of quality control of the tobacco silk making process.

[0177] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0178] The tobacco moisture meter zero position adjustment device includes a processor and a memory. The above-mentioned zero position characteristic data acquisition unit 10, zero position prediction value acquisition unit 20, zero position actual value acquisition unit 30, zero position deviation determination unit 40, moisture display value acquisition unit 50, moisture measurement value acquisition unit 60, zero position adjustment recommendation value acquisition unit 70 and zero position actual value update unit 80 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0179] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to monitor the zero position of the moisture meter through the zero position characteristic data of the moisture meter, guide the zero position deviation measurement in time, and adjust the zero position of the moisture meter in time and effectively, so as to ensure product quality and improve the efficiency of tobacco silk making process quality control.

[0180] The embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the method for adjusting the zero position of a tobacco moisture meter is implemented.

[0181] An embodiment of the present invention provides a processor, which is used to run a program, wherein the tobacco moisture meter zero position adjustment method is executed when the program is running.

[0182] like Figure 5 As shown, an embodiment of the present invention provides an electronic device 1000, which includes at least one processor 1001, at least one memory 1002 connected to the processor 1001, and a bus 1003; wherein the processor 1001 and the memory 1002 communicate with each other through the bus 1003; the processor 1001 is used to call the program instructions in the memory 1002 to execute the above-mentioned tobacco moisture meter zero adjustment method. The electronic device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0183] The present invention also provides a computer program product, which, when executed on an electronic device, is suitable for executing a program that initializes the steps of the tobacco moisture meter zero adjustment method.

[0184] The present invention is described with reference to flowcharts and / or block diagrams of methods, apparatuses, electronic devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processor of the computer or other programmable device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0185] In a typical configuration, an electronic device includes one or more processors (CPU), a memory, and a bus. The electronic device may also include an input / output interface, a network interface, and the like.

[0186] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.

[0187] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0188] In the description of the present invention, it should be understood that the terms "up", "down", "front", "back", "left" and "right" etc. indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description. They do not indicate or imply that the positions or elements referred to must have specific directions, be constructed and operate in specific directions. Therefore, they should not be understood as limitations of the present invention.

[0189] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0190] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0191] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for adjusting the zero position of a tobacco moisture meter, characterized in that: include: Obtaining zero-position characteristic data of a target moisture meter in a target tobacco production line at a current moment, wherein the zero-position characteristic data of the moisture meter includes a point position of the target moisture meter, tobacco brand data, an ambient temperature value, and an ambient humidity value; Inputting the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain the zero-position prediction value of the target moisture meter output by the zero-position prediction model of the moisture meter; Obtaining the actual zero value of the target moisture meter at the current moment; Determine whether the zero position deviation between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, obtain the moisture display value of the sampled shredded tobacco collected by the target moisture meter at the point position; Obtaining the moisture value of the sampled shredded tobacco measured in an oven; Using the moisture deviation value between the moisture display value and the moisture measurement value, a zero adjustment recommended value of the target moisture meter is obtained; The target moisture meter is zero-adjusted using the zero-adjustment recommended value to update the zero-adjustment actual value of the target moisture meter.

2. The method according to claim 1, characterized in that: The method of obtaining a zero adjustment recommendation value of the target moisture meter by using the moisture deviation value between the moisture display value and the moisture measurement value includes: Based on a preset evaluation deviation limit mapping condition, a moisture deviation value between the moisture display value and the moisture measurement value is calculated to obtain an evaluation deviation limit adjustment parameter; Based on a preset maximum tolerance limit mapping condition of the moisture meter, determining a maximum tolerance limit adjustment parameter corresponding to a moisture deviation value between the moisture display value and the moisture measurement value; The zero adjustment recommendation value of the target moisture meter is obtained by using the evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter.

3. The method according to claim 2, characterized in that The preset evaluation deviation limit mapping condition is: Wherein, P is the evaluation deviation limit adjustment parameter, and Δδ is the moisture deviation value; The preset moisture meter maximum tolerance limit mapping condition is: Wherein, Q is the maximum tolerance limit adjustment parameter, Δδ is the moisture deviation value, and δ is the maximum tolerance of the target moisture meter; The step of obtaining the zero adjustment recommendation value of the target moisture meter by using the evaluation deviation limit adjustment parameter and the maximum tolerance limit adjustment parameter includes: The evaluation deviation limit adjustment parameter and the maximum allowable error limit adjustment parameter are multiplied to obtain a zero adjustment recommendation value of the target moisture meter.

4. The method according to claim 1, characterized in that: The step of performing zero adjustment on the target moisture meter by using the zero adjustment recommended value to update the zero actual value of the target moisture meter includes: The zero position adjustment suggestion value is sent to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment suggestion value.

5. The method according to claim 1, characterized in that The step of performing zero adjustment on the target moisture meter by using the zero adjustment recommended value to update the zero actual value of the target moisture meter includes: Obtaining a zero position adjustment experience value after the user modifies the zero position adjustment recommended value, wherein an adjustment deviation value between the zero position adjustment experience value and the zero position adjustment recommended value is not greater than a preset adjustment deviation threshold; The zero position adjustment empirical value is sent to the target moisture meter, so that the target moisture meter adjusts the zero position actual value at the current moment according to the zero position adjustment empirical value.

6. The method according to claim 1, characterized in that After performing zero adjustment on the target moisture meter using the zero adjustment recommended value and updating the zero actual value of the target moisture meter, the method further includes: Reading the updated zero position actual value of the target moisture meter; The updated actual zero position value is compared with the expected zero position value of the target moisture meter for consistency. If they are inconsistent, the zero position adjustment abnormality alarm information of the target moisture meter is output, wherein the expected zero position value is the zero position value recorded after the system performs zero position adjustment on the target moisture meter based on the recommended zero position adjustment value.

7. The method according to claim 1, characterized in that Also includes: When it is determined that the zero position deviation value is greater than the preset zero position deviation threshold, zero position deviation warning information is output, wherein the zero position deviation warning information is used to indicate a moisture deviation measurement operation to be performed on the sampled shredded tobacco at the point position.

8. A tobacco moisture meter zero adjustment device, characterized in that: include: a zero-position characteristic data obtaining unit, a zero-position predicted value obtaining unit, a zero-position actual value obtaining unit, a zero-position deviation determining unit, a moisture display value obtaining unit, a moisture measurement value obtaining unit, a zero-position adjustment recommended value obtaining unit, and a zero-position actual value updating unit. The zero-position characteristic data obtaining unit is used to obtain the zero-position characteristic data of the moisture meter of the target moisture meter in the target tobacco production line at the current moment, wherein the zero-position characteristic data of the moisture meter includes the point position of the target moisture meter, tobacco brand data, ambient temperature value and ambient humidity value; The zero-position prediction value obtaining unit is used to input the zero-position characteristic data of the moisture meter into a pre-trained zero-position prediction model of the moisture meter to obtain the zero-position prediction value of the target moisture meter output by the moisture meter zero-position prediction model; The zero position actual value obtaining unit is used to obtain the zero position actual value of the target moisture meter at the current moment; The zero position deviation determination unit is used to determine whether the zero position deviation value between the zero position prediction value and the zero position actual value is greater than or equal to a preset zero position deviation threshold value, and if so, trigger the moisture display value acquisition unit; The moisture display value obtaining unit is used to obtain the moisture display value of the sampled shredded tobacco collected by the target moisture meter at the point position; The moisture measurement value obtaining unit is used to obtain the moisture measurement value of the sampled shredded tobacco measured by the drying oven; The zero adjustment recommended value obtaining unit is used to obtain the zero adjustment recommended value of the target moisture meter by using the moisture deviation value between the moisture display value and the moisture measurement value; The zero position actual value updating unit is used to perform zero position adjustment on the target moisture meter using the zero position adjustment recommended value, and update the zero position actual value of the target moisture meter.

9. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the tobacco moisture meter zero adjustment method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device includes at least one processor, and at least one memory and a bus connected to the processor; wherein the processor and the memory communicate with each other via the bus; the processor is used to call program instructions in the memory to execute the tobacco moisture meter zero adjustment method as described in any one of claims 1 to 7.