Disclosure of Invention
The invention provides a method and a system for controlling the moisture content of cut tobacco of sheet cut tobacco drying, which solve the problems of inaccurate and uneven control of the moisture content of the outlet of the existing sheet cut tobacco drying, can improve the consistency of the moisture content of the outlet of each batch of sheet cut tobacco drying, and improve the quality control capability of the production process.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method for controlling the moisture content of cut tobacco of sheet cut tobacco drying comprises the following steps:
setting the hot air temperature and the cylinder wall temperature of the thin plate cut tobacco drying according to a set value, and setting a target value of the water content of an outlet of the thin plate cut tobacco drying;
acquiring a measured value of the outlet moisture content of the sheet cut tobacco drying process, and acquiring a target deviation value of the outlet moisture content according to the target value and the measured value;
and establishing a PID feedback control model for adjusting the air speed of the hot air according to the target deviation value so as to perform feedback control on the moisture content of the outlet, so that the moisture content of the outlet of the sheet cut tobacco in the batch is controlled according to the target value.
Preferably, the method further comprises the following steps:
acquiring outlet water content and hot air speed in sheet cut tobacco drying within set time in real time, and fitting according to a time relation to obtain a regression fitting function of the outlet water content and the hot air speed;
and establishing a double-layer EWMA control model of the hot air speed and the outlet water content according to the regression fitting function so as to establish a consistency control model of the outlet water content of the sheet cut tobacco between different batches.
Preferably, the method further comprises the following steps:
taking the hot air speed as the control input of the double-layer EWMA control model, and taking the water content of the outlet as the control output of the double-layer EWMA control model;
obtaining an intercept term and a gain function coefficient of a double-layer EWMA control model of the water content of the outlet and the wind speed of the hot wind according to the regression fitting function;
and controlling the hot air speed by adjusting the smooth coefficient of the double-layer EWMA control model according to the preset target value of the outlet water content, so that the outlet water content among different batches is kept consistent.
Preferably, the method further comprises the following steps:
collecting the value of the water content of the outlet of each batch, and calculating the mean square error of the batch after each batch is finished;
and if the mean square error of two continuous batches is continuously increased, adjusting the smoothing coefficient in the double-layer EWMA control model.
Preferably, constructing the two-layer EWMA control model includes:
the EWMA control process is described in the following model:
yt=a+fβ(ut-1)+εt,
wherein, ytFor the process output at time t, a represents the intercept term of the EWMA control model, fβ(ut-1) Is a gain function of the control input and output with a coefficient beta, ut-1For the control input of the control system at time point t-1, epsilontIs a process disturbance;
every time t, the EWMA control model updates the intercept term through a simple EWMA filter: alpha is alphat=λ(yt-fb(ut-1))+(1-λ)αt-1Wherein, ytIs the actual value of the process output at the time point t, lambda is the EWMA prediction weight, lambda is more than or equal to 0 and less than or equal to 1, b is the estimated value of beta in the process model, fb(ut-1) The process control model is obtained by a regression analysis method;
adding a trend term d in a linear model of a production processtThe following can be obtained: y ist=αt-1+fβ(ut-1)+dt+εt;
After the intercept term and the trend term are estimated by applying an EWMA algorithm, the following results can be obtained:
wherein λ is
1,λ
2Is EWMA smoothing coefficient, 0 is more than or equal to lambda
1,λ
2≤1;
Thus, a double-layer EWMA control model is constructed, and the control input at the time t is calculated by the following formula:
preferably, the establishing of the double-layer EWMA control model of the hot wind speed and the water content of the outlet according to the regression fitting function includes:
obtaining an intercept term alpha and a gain function coefficient of a double-layer EWMA control model of the water content of the outlet and the wind speed of the hot wind according to the regression fitting function;
determining and estimating an intercept term alpha of each moment according to the sample values of the hot air speed and the water content of the outlet acquired in real timetAnd a trend term dt;
Establishing a mathematical expression model of the hot air speed and the water content of the outlet: hot wind speed ut=(yT-αt-dt) Coefficient of gain function, where yTThe target value of the outlet water content is constant.
The invention also provides a control system for the water content of the cut tobacco of the sheet cut tobacco drying, which comprises the following components:
the first setting unit is used for setting the hot air temperature and the cylinder wall temperature of the thin plate cut tobacco drying according to set values and setting a target value of the water content of an outlet of the thin plate cut tobacco drying;
the acquisition unit is used for acquiring the measured value of the outlet water content of the sheet cut tobacco drying process and obtaining a target deviation value of the outlet water content according to the target value and the measured value;
and the PID control unit is used for establishing a PID feedback control model and is used for adjusting the hot air speed according to the target deviation value so as to perform feedback control on the moisture content of the outlet, so that the moisture content of the outlet of the sheet cut tobacco in the batch is controlled according to the target value.
Preferably, the method further comprises the following steps:
the fitting unit is used for acquiring the outlet water content and the hot air speed in the cut tobacco drying process of the thin plate in real time within set time, and fitting according to the time relationship to obtain a regression fitting function of the outlet water content and the hot air speed;
and the EWMA control unit is used for establishing a double-layer EWMA control model of the hot air speed and the outlet water content according to the regression fitting function so as to establish a consistency control model of the outlet water content of the sheet cut tobacco between different batches.
Preferably, the method further comprises the following steps:
the second setting unit is used for taking the hot air speed as the control input of the double-layer EWMA control model and taking the water content of the outlet as the control output of the double-layer EWMA control model;
the obtaining unit is used for obtaining an intercept term and a gain function coefficient of the double-layer EWMA control model of the outlet water content and the hot air wind speed according to the regression fitting function;
and the adjusting unit is used for controlling the hot air speed by adjusting the smooth coefficient of the double-layer EWMA control model according to the preset target value of the outlet water content, so that the outlet water content among different batches is kept consistent.
Preferably, the method further comprises the following steps:
the mean square error calculation unit is used for collecting the value of the water content of the outlet of each batch and calculating the mean square error of the batch after each batch is finished;
and the correcting unit is used for adjusting the smoothing coefficient in the double-layer EWMA control model if the mean square errors of two continuous batches are continuously increased.
The invention provides a method and a system for controlling the moisture content of cut tobacco of sheet cut tobacco drying, wherein the moisture content of an outlet is controlled by adjusting the air speed of hot air by setting a PID feedback control model in the same batch, so that the problems of inaccurate and uneven control of the moisture content of the outlet of the conventional sheet cut tobacco drying are solved, the uniformity of the cut tobacco drying of each batch of sheet cut tobacco can be improved, and the quality control capability of the production process is improved.
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 the moisture content of an outlet in the current sheet cut tobacco drying is inaccurate and uneven, the quality of tobacco leaves in batches or between batches is inconsistent, and the quality of tobacco is affected, the invention provides a method and a system for controlling the moisture content of cut tobacco of sheet cut tobacco drying.
As shown in fig. 1, a method for controlling moisture content of cut tobacco of sheet cut tobacco includes:
s1: setting the hot air temperature and the cylinder wall temperature of the thin plate cut tobacco drying according to a set value, and setting a target value of the water content of an outlet of the thin plate cut tobacco drying;
s2: acquiring a measured value of the outlet moisture content of the sheet cut tobacco drying process, and acquiring a target deviation value of the outlet moisture content according to the target value and the measured value;
s3: and establishing a PID feedback control model for adjusting the air speed of the hot air according to the target deviation value so as to perform feedback control on the moisture content of the outlet, so that the moisture content of the outlet of the sheet cut tobacco in the batch is controlled according to the target value.
Specifically, in the production process of the sheet cut tobacco drying procedure, the moisture content of the outlet can be influenced and controlled in the aspects of hot air temperature, opening degree of a cold and hot air valve, hot air speed and the like. In order to avoid instability of the production process caused by simultaneous action of a plurality of influence factors, a plurality of influence variables can be respectively fixed at a proper value, and only one influence factor is adjusted to control the water content of the outlet. According to the method, the temperature of the hot air is set at a fixed value, and the moisture content of the outlet is adjusted by adjusting the speed of the hot air. As shown in fig. 3, the outlet moisture content is adjusted in real time through the PID feedback control model, the measured value of the outlet moisture content is compared with the target value, then the target deviation value is used as the input of the PID feedback control model, and the adaptive learning is performed according to the input hot air speed, so that the parameter values of P, I and D are determined and adjusted, the control of the outlet moisture content is realized, the stability of the control of the outlet moisture content in batches is improved, and the consistency of the control between batches is increased.
The method further comprises the following steps:
s4: acquiring outlet water content and hot air speed in sheet cut tobacco drying within set time in real time, and fitting according to a time relation to obtain a regression fitting function of the outlet water content and the hot air speed;
s5: and establishing a double-layer EWMA control model of the hot air speed and the outlet water content according to the regression fitting function so as to establish a consistency control model of the outlet water content of the sheet cut tobacco drying process among different batches.
Specifically, before performing regression analysis to model the control process of sheet cut-tobacco, the inputs (i.e., control parameters) and outputs (control results) of the control process are first determined. The current control mode can realize the feedback control of the moisture content of the outlet by adjusting the wind speed of the hot wind. If the moisture content of the outlet is higher, the air speed of the hot air is reduced to reduce the moisture content of the outlet, and if the moisture content of the outlet is lower, the air speed of the hot air is increased to increase the moisture content of the outlet. The control of the hot air speed is mainly automatically completed through a PID feedback control model, and an operator can manually adjust the hot air speed according to actual conditions. Therefore, the input of the control process is the hot air speed, and the output is the outlet moisture content. Further, a double-layer Exponential Weighted Moving Average (EWMA) method is adopted to establish a quality consistency control model of the outlet moisture content, and a self-adaptive algorithm is adopted to automatically optimize and correct the model so as to control the consistency of the outlet moisture content of the sheet cut tobacco drying process among different batches.
Further, constructing a two-tier EWMA control model comprises:
assume that the EWMA control process can be described in the following model:
yt=a+fβ(ut-1)+εt,
wherein, ytFor the process output at time t, a represents the intercept of the EWMA control modelDistance term, fβ() Is a gain function of the control input and output with a coefficient beta, ut-1For the control input of the control system at time point t-1, epsilontIs a process disturbance;
every time t, the EWMA control model updates the intercept term through a simple EWMA filter: alpha is alphat=λ(yt-fb(ut-1))+(1-λ)αt-1Wherein, ytIs the actual value of the process output at the time point t, lambda is the EWMA prediction weight, lambda is more than or equal to 0 and less than or equal to 1, b is the estimated value of beta in the process model, fb() Can be obtained by a method of regression analysis of the process control model;
adding a trend term d in a linear model of a production processtThe following can be obtained: y ist=αt-1+fβ(ut-1)+dt+εt;
After the intercept term and the trend term are estimated by applying an EWMA algorithm, the following results can be obtained:
wherein λ is
1,λ
2Is EWMA smoothing coefficient, 0 is more than or equal to lambda
1,λ
2≤1;
Thus, a double-layer EWMA control model is constructed, and the control input at the time t can be calculated by the following formula:
as shown in fig. 2, the method further includes:
s6: taking the hot air speed as the control input of the double-layer EWMA control model, and taking the water content of the outlet as the control output of the double-layer EWMA control model;
s7: obtaining an intercept term and a gain function coefficient of a double-layer EWMA control model of the water content of the outlet and the wind speed of the hot wind according to the regression fitting function;
s8: and controlling the hot air speed by adjusting the smooth coefficient of the double-layer EWMA control model according to the preset target value of the outlet water content, so that the outlet water content among different batches is kept consistent.
Specifically, as shown in fig. 4, the moisture content of the outlet is controlled by a double-layer EWMA control model between batches, and the moisture content of the outlet is controlled by a PID feedback control model in a batch, so that the control level of the production process of the process can be effectively improved, and the consistency of the moisture content of the outlet of the cut tobacco drying process between different batches can be controlled.
The method further comprises the following steps:
s9: collecting the value of the water content of the outlet of each batch, and calculating the mean square error of the batch after each batch is finished;
s10: and if the mean square error of two continuous batches is continuously increased, adjusting the smoothing coefficient in the double-layer EWMA control model.
Specifically, in the process of controlling by applying the double-layer EWMA control model, 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
iAnd taking the value of the water content of the outlet in each sample.
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. In the double-layer EWMA control model, an adjustment method that is relatively easy to implement is to adjust the smoothing coefficient λ. In fact, from the viewpoint of signal processing, the EWMA can be regarded as a low-pass filter, and by controlling the value of λ, a smooth form of the signal is provided for eliminating short-term fluctuations and preserving the long-term development tendency, so that from the long-term viewpoint, it is better to take a smaller value of λ (usually, λ ═ 0.20 is desirable). But the lambda value also determines the ability of the EWMA controller to track process changes, i.e., the effectiveness, and it is obvious that the larger the lambda value, the more effective the controller is, and vice versa. When the MSE of two consecutive batches increases, the value of λ may be modified to increase the value of λ from 0.20 to 0.40, and if the MSE of the next batch still increases, the value of λ may be increased from 0.40 to 0.60. However, in order to obtain a good long-term process trend, the lambda value should not be too large, so when the lambda value reaches 0.60 and needs to be adjusted, the latest 3 to 5 batches of data are needed to perform regression fitting again according to the methods in 2.2 and 2.3, and a new control model is established.
Further, the double-layer EWMA control model for establishing the hot air speed and the water content of the outlet according to the regression fitting function comprises the following steps:
obtaining an intercept term alpha and a gain function coefficient of a double-layer EWMA control model of the water content of the outlet and the wind speed of the hot wind according to the regression fitting function;
determining and estimating an intercept term alpha of each moment according to the sample values of the hot air speed and the water content of the outlet acquired in real timetAnd a trend term dt;
Establishing a mathematical expression model of the hot air speed and the water content of the outlet: hot wind speed ut=(yT-αt-dt) Coefficient of gain function, where yTThe target value of the outlet water content is constant.
Therefore, on the basis of automatic feedback control of the moisture content of the sheet cut tobacco drying outlet, a process quality consistency control model is constructed by adopting a double-layer EWMA method, and a self-adaptive algorithm is designed to optimize and correct parameters of the control model. The result comparison verification shows that: the improved control effect is obviously improved, the average offset, the process range and the mean square error of the process mean value and the control target are respectively reduced by 29 percent, 2 percent and 32 percent, the process capability index is improved by 18 percent, and the batch consistency of the outlet moisture content of the sheet cut tobacco and the quality control capability of the production process are effectively improved. The method for online intelligent control and optimization adjustment can also be popularized and applied to other similar silk production processes.
The invention provides a method for controlling the moisture content of cut tobacco of sheet cut tobacco, wherein the moisture content of an outlet is controlled by adjusting the air speed of hot air by setting a PID feedback control model in the same batch, and the moisture content of the outlet is controlled in a consistent manner by adopting a double-layer EWMA control model in different batches. The problem of the export moisture content of current sheet metal cut tobacco drying process control inaccurate and inhomogeneous is solved, the uniformity of each batch of sheet metal cut tobacco drying degree of consistency can be improved, the production process quality control ability is promoted.
Correspondingly, the invention also provides a control system for the moisture content of the cut tobacco of the sheet cut tobacco drying, which comprises the following components: and the first setting unit is used for setting the hot air temperature of the sheet cut tobacco drying according to a set value and setting a target value of the moisture content of the outlet of the sheet cut tobacco drying. And the acquisition unit is used for acquiring the measured value of the outlet moisture content of the sheet cut tobacco drying process and acquiring a target deviation value of the outlet moisture content according to the target value and the measured value. And the PID control unit is used for establishing a PID feedback control model and is used for adjusting the hot air speed according to the target deviation value so as to perform feedback control on the moisture content of the outlet, so that the moisture content of the outlet of the sheet cut tobacco in the batch is controlled according to the target value.
The system further comprises: and the fitting unit is used for acquiring the outlet water content and the hot air speed in the cut tobacco drying process of the thin plate in real time within set time, and fitting according to the time relationship to obtain a regression fitting function of the outlet water content and the hot air speed. And the EWMA control unit is used for establishing a double-layer EWMA control model of the hot air speed and the outlet water content according to the regression fitting function so as to establish a consistency control model of the outlet water content of the sheet cut tobacco between different batches.
The system further comprises: and the second setting unit is used for inputting the hot air speed as the control input of the double-layer EWMA control model, and outputting the water content as the control output of the double-layer EWMA control model. And the obtaining unit is used for obtaining an intercept term and a gain function coefficient of the double-layer EWMA control model of the outlet water content and the hot air wind speed according to the regression fitting function. And the adjusting unit is used for controlling the hot air speed by adjusting the smooth coefficient of the double-layer EWMA control model according to the preset target value of the outlet water content, so that the outlet water content among different batches is kept consistent.
The system further comprises: and the mean square error calculation unit is used for acquiring the value of the water content of the outlet of each batch and calculating the mean square error of the batch after each batch is finished. And the correcting unit is used for adjusting the smoothing coefficient in the double-layer EWMA control model if the mean square errors of two continuous batches are continuously increased.
Therefore, the invention provides a control system for the water content of cut tobacco of sheet cut tobacco drying, wherein the water content of an outlet is controlled by setting a PID feedback control model to adjust the air speed of hot air in the same batch, and the water content of the outlet is controlled in a consistent manner by adopting a double-layer EWMA control model in different batches. The problem of inaccurate and inhomogeneous control of the export moisture content of sheet metal cut tobacco process is solved, the uniformity of each batch of sheet metal cut tobacco drying degree of consistency can be improved, the production process quality control ability is promoted.
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.