Disclosure of Invention
The invention provides a tobacco stem quality control method and system based on tobacco stem temperature increase, which solve the problems that the steam injection amount is not accurate and the tobacco stem temperature increase efficiency is influenced when the existing tobacco stems are heated, can improve the tobacco stem temperature increase efficiency and improve the quality control capability in the production process.
In order to achieve the above purpose, the invention provides the following technical scheme:
a tobacco stem quality control method based on tobacco stem temperature increase comprises the following steps:
setting a tobacco stem temperature target value for increasing the temperature of the tobacco stems;
acquiring an outlet tobacco stem temperature measured value of the tobacco stem, and acquiring a target deviation value according to the tobacco stem temperature target value and the tobacco stem temperature measured value;
and establishing a temperature PID feedback control model for regulating the steam injection quantity according to the target deviation value so as to perform feedback control on the tobacco stem temperature, so that the tobacco stem temperature of each batch is controlled according to the target value.
Preferably, the method further comprises the following steps:
the method comprises the steps of obtaining tobacco stem temperature and steam injection amount in a tobacco stem temperature increasing procedure within set time in real time, and fitting according to a time relation to obtain a regression fitting function of the tobacco stem temperature and the steam injection amount;
and determining the value range of the PID parameters according to the regression fitting function, so that the water content PID feedback control model adjusts the PID parameters according to the value range in the tobacco stem temperature increasing process in the same batch.
Preferably, the method further comprises the following steps:
collecting a value sample of the temperature of each batch of outlet tobacco stems, and calculating the mean square error of each batch after each batch is finished;
and if the mean square error of two continuous batches is continuously increased, adjusting the PID parameters in the temperature PID feedback control model.
Preferably, the method further comprises the following steps:
establishing a corresponding relation table of the steam injection quantity and the opening of the steam valve, dividing the steam injection quantity into N intervals, determining the opening of the steam valve corresponding to different intervals, and controlling the opening of the steam valve to reach a corresponding value according to the interval where the actual value of the steam injection quantity is located so as to realize the control of the steam injection quantity.
The invention also provides a tobacco stem quality control system based on tobacco stem temperature increase, which comprises the following components:
the first setting unit is used for setting a tobacco stem temperature target value for increasing the temperature of the tobacco stems;
the acquiring unit is used for acquiring an outlet tobacco stem temperature measured value of the tobacco stem and acquiring a target deviation value according to the tobacco stem temperature target value and the tobacco stem temperature measured value;
and the temperature control unit is used for establishing a temperature PID feedback control model and is used for adjusting the steam injection quantity according to the target deviation value so as to perform feedback control on the tobacco stem temperature, so that the tobacco stem temperature of each batch is controlled according to the target value.
Preferably, the method further comprises the following steps:
the fitting unit is used for acquiring the tobacco stem temperature and the steam injection amount in the tobacco stem temperature increasing procedure within set time in real time, and fitting according to a time relationship to obtain a regression fitting function of the tobacco stem temperature and the steam injection amount;
and the first PID parameter adjusting unit is used for determining the value range of the PID parameters according to the regression fitting function, so that the water content PID feedback control model can carry out PID parameter adjustment according to the value range in the tobacco stem temperature increasing process in the same batch.
Preferably, the method further comprises the following steps:
the error calculation unit is used for acquiring a value sample of the temperature of each batch of the tobacco stems at the outlet and calculating the mean square error of each batch after each batch is finished;
and the second PID parameter adjusting unit is used for adjusting the PID parameters in the temperature PID feedback control model when the mean square errors of two continuous batches are continuously increased.
Preferably, the method further comprises the following steps:
and the steam valve control unit is used for establishing a corresponding relation table of the steam injection amount and the steam valve opening, dividing the steam injection amount into N intervals, determining the steam valve openings corresponding to different intervals, and controlling the steam valve opening to reach a corresponding value according to the interval where the actual value of the steam injection amount is located so as to realize the control of the steam injection amount.
The invention provides a tobacco stem quality control method and system based on tobacco stem temperature increase, which adjust steam injection quantity by setting an outlet tobacco stem temperature PID feedback control model to control the opening of a steam valve, so that the tobacco stem temperature in a tobacco stem temperature increase procedure reaches a target value, solve the problems that the steam injection quantity is inaccurate and the tobacco stem temperature increase efficiency is influenced when the conventional tobacco stem is heated, improve the tobacco stem temperature increase efficiency and improve the quality control capability in the production process.
Detailed Description
In order to make the technical field of the invention better understand the scheme of the embodiment of the invention, the embodiment of the invention is further described in detail with reference to the drawings and the implementation mode.
Aiming at the problems that steam injection quantity is inaccurate and tobacco stem heating efficiency is affected when the existing tobacco stems are heated, the invention provides a tobacco stem quality control method and a tobacco stem quality control system based on tobacco stem heating.
As shown in fig. 1, a quality control method for tobacco flake charging comprises the following steps:
s1: setting a tobacco stem temperature target value for increasing the temperature of the tobacco stems;
s2: acquiring an outlet tobacco stem temperature measured value of the tobacco stem, and acquiring a target deviation value according to the tobacco stem temperature target value and the tobacco stem temperature measured value;
s3: and establishing a temperature PID feedback control model for regulating the steam injection quantity according to the target deviation value so as to perform feedback control on the tobacco stem temperature, so that the tobacco stem temperature of each batch is controlled according to the target value.
Specifically, the tobacco stems are conveyed into the roller by the conveyor, and the roller is driven by the transmission device to rotate, so that the tobacco flakes automatically flow towards the direction of the discharge hole. When the tobacco stems are under the action of steam, the tobacco stems are heated. The method controls the temperature of hot air through the opening of a steam valve, and then realizes the adjustment of the temperature of tobacco stems by adjusting the injection amount of feed liquid. The steam injection quantity is adjusted in real time through the PID feedback control model, the measured value of the outlet tobacco stem temperature is compared with a target value, then the target deviation value is used as the input of the PID feedback control model, self-adaptive learning is carried out according to the input steam injection quantity, and then the parameter values of P, I and D are determined and adjusted, so that the control of the tobacco stem temperature is realized, the tobacco stem temperature increasing efficiency is improved, and the quality control capability of the production process is improved.
As shown in fig. 1, the method further comprises:
s4: the method comprises the steps of obtaining tobacco stem temperature and steam injection amount in a tobacco stem temperature increasing procedure within set time in real time, and fitting according to a time relation to obtain a regression fitting function of the tobacco stem temperature and the steam injection amount;
s5: and determining the value range of the PID parameters according to the regression fitting function, so that the water content PID feedback control model adjusts the PID parameters according to the value range in the tobacco stem temperature increasing process in the same batch.
Specifically, before performing regression analysis to model the control process of the stem temperature, the input (i.e., control parameters) and output (control results) of the control process are first determined. The current control mode can be that the feedback control of the tobacco stem temperature is realized by adjusting the steam injection quantity. If the tobacco stem temperature is higher, the steam injection amount is reduced to reduce the hot air temperature, and if the tobacco stem temperature at the outlet is lower, the steam injection amount is increased to increase the hot air temperature. The control of the steam injection amount is mainly automatically finished through a PID feedback control model, and an operator can manually adjust the steam injection amount according to actual conditions.
As shown in fig. 1, the method further comprises:
s7: collecting a value sample of the temperature of each batch of outlet tobacco stems, and calculating the mean square error of each batch after each batch is finished;
s8: and if the mean square error of two continuous batches is continuously increased, adjusting the PID parameters in the temperature PID feedback control model.
Specifically, after each batch is finished, the quality consistency of the batch is analyzed. There are many evaluation methods for batch quality, and a simpler and common evaluation method is adopted to calculate the Mean Square Error (MSE):
wherein n is the number of samples obtained in each batch, y
iTaking the value of the water content of the outlet in each sample, y
TThe mean value of the water content at the outlet.
In practical applications, we expect that a smaller MSE is better, and a smaller MSE indicates a more stable process quality. If the MSE of two consecutive batches is increased, it indicates that a new change occurs in the production process, which causes the current control mode to be not adapted to the actual production, and therefore, the current control mode needs to be adjusted.
Further, the method also includes: establishing a corresponding relation table of the steam injection quantity and the opening of the steam valve, dividing the steam injection quantity into N intervals, determining the opening of the steam valve corresponding to different intervals, and controlling the opening of the steam valve to reach a corresponding value according to the interval where the actual value of the steam injection quantity is located so as to realize the control of the steam injection quantity.
In practical applications, the steam injection amount may be divided into a plurality of zones, for example, 10 zones, and each zone is in one-to-one correspondence with the valve opening value. The opening degree of the valve is adjusted according to the obtained divisional value of the steam injection amount.
Therefore, the tobacco stem quality control method based on tobacco stem temperature increase provided by the invention has the advantages that the steam injection quantity is adjusted by setting the PID feedback control model of the outlet tobacco stem temperature to control the opening of the steam valve, so that the tobacco stem temperature in the tobacco stem temperature increase procedure reaches the target value, the problems that the steam injection quantity is inaccurate and the tobacco stem temperature increase efficiency is influenced when the conventional tobacco stem is heated are solved, the tobacco stem temperature increase efficiency can be improved, and the quality control capability in the production process is improved.
Correspondingly, the invention also provides a tobacco stem quality control system based on tobacco stem temperature increase, which comprises: the first setting unit is used for setting a tobacco stem temperature target value for increasing the temperature of the tobacco stems. And the obtaining unit is used for obtaining an outlet tobacco stem temperature measured value of the tobacco stem and obtaining a target deviation value according to the tobacco stem temperature target value and the tobacco stem temperature measured value. And the temperature control unit is used for establishing a temperature PID feedback control model and is used for adjusting the steam injection quantity according to the target deviation value so as to perform feedback control on the tobacco stem temperature, so that the tobacco stem temperature of each batch is controlled according to the target value.
The system further comprises: and the fitting unit is used for acquiring the tobacco stem temperature and the steam injection amount in the tobacco stem temperature increasing procedure within set time in real time, and fitting according to the time relationship to obtain a regression fitting function of the tobacco stem temperature and the steam injection amount. And the first PID parameter adjusting unit is used for determining the value range of the PID parameters according to the regression fitting function, so that the water content PID feedback control model can carry out PID parameter adjustment according to the value range in the tobacco stem temperature increasing process in the same batch.
The system further comprises: and the error calculation unit is used for acquiring the value sample of the temperature of each batch of the tobacco stems at the outlet and calculating the mean square error of each batch after each batch is finished. And the second PID parameter adjusting unit is used for adjusting the PID parameters in the temperature PID feedback control model when the mean square errors of two continuous batches are continuously increased.
The system further comprises: and the steam valve control unit is used for establishing a corresponding relation table of the steam injection amount and the steam valve opening, dividing the steam injection amount into N intervals, determining the steam valve openings corresponding to different intervals, and controlling the steam valve opening to reach a corresponding value according to the interval where the actual value of the steam injection amount is located so as to realize the control of the steam injection amount.
Therefore, the tobacco stem quality control system based on tobacco stem temperature increase provided by the invention adjusts the steam injection quantity by setting the outlet tobacco stem temperature PID feedback control model to control the opening of the steam valve, so that the tobacco stem temperature in the tobacco stem temperature increase procedure reaches the target value, the problems that the steam injection quantity is inaccurate and the tobacco stem temperature increase efficiency is influenced when the conventional tobacco stem is heated are solved, the tobacco stem temperature increase efficiency can be improved, and the quality control capability in the production process is improved.
The construction, features and functions of the present invention have been described in detail with reference to the embodiments shown in the drawings, but the present invention is not limited to the embodiments shown in the drawings, and all equivalent embodiments modified or modified by the spirit and scope of the present invention should be protected without departing from the spirit of the present invention.