Adjusting method and device of cut tobacco drying system and medium

Through Kalman filtering and model predictive control methods, the process parameters of the tobacco drying system are adjusted in real time, which solves the problem of unstable outlet moisture control, improves production quality and reduces waste, and achieves adaptive control of system and environmental changes. .

CN118805931APending Publication Date: 2024-10-22HANGZHOU ANMAISHENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310411968.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-18
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the existing tobacco drying process, outlet moisture control is unstable, resulting in reduced production quality and material waste. Parameter adjustment of the PID controller is time-consuming and cannot adapt to system properties and environmental changes.

Method used

Kalman filtering and model predictive control (MPC) methods are used to obtain the target values, process parameters and changes in interference variables of the drying system, establish state space equations, determine the optimal process parameters, and adjust the process parameters according to the constraints to achieve Real-time control.

Benefits of technology

It improves the stability of outlet moisture and production quality, reduces material waste, eliminates disturbances in real time, and adapts to system and environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118805931A_ABST
    Figure CN118805931A_ABST
Patent Text Reader

Abstract

The invention discloses an adjusting method and device of a cut tobacco drying system and a medium, and is suitable for the technical field of industrial intelligent control equipment. According to the method, based on a model prediction control mode, state variables (error model state variables such as inlet moisture and the like) of a previous moment are sensed in advance, a cut tobacco drying system is controlled in real time, multiple process cut tobacco drying process parameters are controlled at the same time, and constraint conditions of the process parameters are considered to obtain optimal process parameters; the process parameters are adjusted in time according to the optimized process parameters, so that the time delay problem of the cut tobacco drying system is solved, the output value (outlet moisture) in the cut tobacco production process is stable, the deviation between the output value and the set value (target value) is small, the production quality of cut tobacco drying is improved, and material waste is reduced; errors in the actual process are corrected through correction estimation in a Kalman filtering mode, and disturbance and unbiased control are eliminated in real time. According to the stable point data, the system can adapt to the system property and the offset change of the production environment along with seasons.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of industrial intelligent control equipment, and in particular to a regulation method, device and medium for a tobacco drying system. Background Art

[0002] Tobacco cutting is the core link in the cigarette production process. Figure 1 The schematic diagram of the existing thin plate drying process is as follows: Figure 1 As shown, in the thin plate silk drying (abbreviated as silk drying) process, raw silk with a higher moisture content enters the drum of the drum-type silk drying machine, and moisture is removed under the dual effects of the high-temperature inner drum wall heated by steam and the hot air introduced into the drum, and a series of complex physical and chemical changes occur, eventually forming pure silk with a low moisture content.

[0003] The silk drying process has the characteristics of nonlinearity, long delay, and multivariable. At present, the control methods for the moisture content of the outlet material are mostly manual adjustment or simple model-free proportional integration differential (PID) automatic feedback adjustment. PID feedback adjustment only adjusts the process parameters according to the outlet moisture content, and cannot foresee the impact of changes in interference variables on the outlet moisture content in advance, and the adjustment is delayed; at the same time, the PID controller parameter adjustment process takes a lot of time. If the moisture adjustment is not ideal, it may lead to substandard products or even waste of materials; in addition, the PID controller cannot adapt to the changes in system properties and production environment with the seasons, resulting in poor control effect; finally, PID control cannot consider the constraints of process parameters when calculating process parameters. In summary, the use of PID control is likely to cause the outlet moisture content to be unstable or deviate greatly from the set value during the silk production process, thereby reducing the production quality of silk drying.

[0004] Therefore, how to adjust and reduce the deviation of outlet moisture in real time to improve the production quality of dried silk is an urgent problem that technicians in this field need to solve. Summary of the invention

[0005] The purpose of the present invention is to provide a regulation method, device and medium for a tobacco drying system, so that the output value (outlet moisture) in the tobacco drying production process is relatively stable and has a small deviation from the set value, thereby improving the production quality of the tobacco drying and reducing material waste.

[0006] In order to solve the above technical problems, the present invention provides a method for adjusting a tobacco drying system, comprising:

[0007] Obtaining the target value of the tofu drying system, the changes of the process parameters and interference variables at the current moment relative to the current stable point data, and the state variables at the previous moment, wherein the state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering;

[0008] Establishing a state space equation of the tofu drying system according to the state matrix of the tofu drying system, the state variable at the previous moment, the change amount and the target value, and determining an output prediction value of the tofu drying system according to the state space equation at the current moment;

[0009] Based on the model predictive control method, the optimal process parameters at the current moment are determined according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, wherein the constraint conditions of the process parameters are determined by the value range of the process parameters of the tofu drying system;

[0010] The preferred process parameters are sent to the wire drying system, and the process parameters are adjusted to obtain the adjusted actual output values.

[0011] Preferably, the current stable point data includes process parameter stable point data and interference variable stable point data, and obtaining the changes of the process parameter and the interference variable at the current moment respectively corresponding to the current stable point data includes:

[0012] Acquire a plurality of measurement data points of the interference variables and corresponding data lengths;

[0013] Determining the interference variable stable point data according to a plurality of the measurement data points and the data length;

[0014] Obtaining optimization coefficients of a stable point model of a plurality of process parameters;

[0015] Determine the process parameter stable point data according to the optimization coefficient, the interference variable stable point data and the target value;

[0016] The variation of the process parameter corresponding to the interference variable is determined according to the interference variable stable point data and the process parameter stable point data at the current moment.

[0017] Preferably, the process of determining the state variable at the previous moment includes:

[0018] Obtaining the Kalman gain of the Kalman filter mode, the real-time state variable at the previous moment, the error model state variable, the actual output value and the output prediction value;

[0019] Determine respective augmented state variables before correction according to the real-time state variable at the previous moment and the error model state variable at the previous moment;

[0020] Merge each augmented state variable into an augmented state;

[0021] The augmented state, the Kalman gain, the actual output value at the previous moment and the output prediction value are corrected to obtain the state variable at the previous moment.

[0022] Preferably, the step of correcting the augmented state, the Kalman gain, the actual output value at the previous moment, and the output prediction value to obtain the state variable at the previous moment includes:

[0023] Determine a prediction difference value according to the relationship between the actual output value at the previous moment and the output prediction value;

[0024] Determine a gain value according to a relationship between the prediction difference and the Kalman gain;

[0025] The state variable at the previous moment is determined according to the relationship between the gain value and the augmentation state.

[0026] Preferably, the state matrix includes a system state transfer matrix, an input matrix and an output matrix, and the state space equation of the tow-bread drying system is established according to the state matrix of the tow-bread drying system, the state variable at the previous moment, the change amount and the target value, including:

[0027] Determine a first state space equation according to the relationship between the system state transfer matrix, the input matrix, the state variable at the previous moment and the change amount;

[0028] Determine a second state space equation according to the output matrix, the relationship between the real-time state variable output at the current moment in the first state space equation and the target value;

[0029] The first state-space equation and the second state-space equation are used as the state-space equation.

[0030] Preferably, the model-based predictive control method determines the optimal process parameters at the current moment according to the state space equation, the output prediction value, the target value and the constraints of the process parameters, including:

[0031] Determine a loss function according to the state space equation, the output prediction value at the current moment, the target value and the constraint conditions of the process parameters;

[0032] The loss function is minimized to obtain the optimal process parameters at the current moment under the model predictive control method.

[0033] Preferably, determining the loss function according to the state space equation, the output prediction value at the current moment, the target value and the constraint conditions of the process parameters includes:

[0034] Obtaining the output prediction value at the current moment, the weight matrix, the target value, the constraint conditions of the process parameters, and the change amount corresponding to the current moment and the previous moment in the state space equation;

[0035] Determine an output deviation value according to the relationship between the output prediction value and the target value;

[0036] The loss function is established according to the output deviation value, the weight matrix, the constraint conditions of the process parameters, and the change amount corresponding to the current moment and the previous moment.

[0037] In order to solve the above technical problems, the present invention also provides a regulating device for a tobacco drying system, comprising:

[0038] An acquisition module is used to acquire the target value of the tofu drying system, the changes of the process parameters and interference variables at the current moment relative to the current stable point data, and the state variables at the previous moment, wherein the state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering;

[0039] An establishing module, used to establish a state space equation of the tow-bread drying system according to the state matrix of the tow-bread drying system, the state variable at the previous moment, the change amount and the target value, and determine an output prediction value of the tow-bread drying system according to the state space equation at the current moment;

[0040] a determination module, for determining the preferred process parameters at the current moment based on the model predictive control method according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, wherein the constraint conditions of the process parameters are determined by the value range of the process parameters of the tofu drying system;

[0041] The adjustment module is used to send the preferred process parameters to the wire drying system and adjust the process parameters to obtain the adjusted actual output values.

[0042] In order to solve the above technical problems, the present invention also provides a regulating device for a tobacco drying system, comprising:

[0043] Memory for storing computer programs;

[0044] The processor is used to implement the steps of the adjustment method of the tobacco drying system as described above when executing the computer program.

[0045] In order to solve the above technical problems, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of adjusting the tobacco drying system as described above are implemented.

[0046] The present invention provides a method for regulating a tobacco drying system, comprising: obtaining a target value of the drying system, a process parameter at a current moment, and a variation of an interference variable corresponding to data of a current stable point, and a state variable at a previous moment, wherein the state variable at the previous moment is composed of a real-time state variable and an error model state variable, and is corrected by a Kalman filter; establishing a state space equation of the drying system according to a state matrix of the drying system, the state variable at a previous moment, the variation, and the target value, and determining an output prediction value of the drying system according to the state space equation at the current moment; determining the preferred process parameters at the current moment based on a model predictive control method according to the state space equation, the output prediction value, the target value, and the constraints of the process parameters, wherein the constraints of the process parameters are determined by the value range of the process parameters of the drying system; sending the preferred process parameters to the drying system, and adjusting the process parameters to obtain the actual output values ​​after adjustment. This method is based on the model predictive control method, which senses the state variables of the previous moment (error model state variables such as inlet moisture) in advance, controls the silk drying system in real time, and controls multiple silk drying process parameters at the same time. It also considers the constraints of the process parameters to obtain the optimal process parameters, and adjusts the process parameters in time according to the optimal process parameters to solve the delay problem of the silk drying system, so that the output value (outlet moisture) in the silk production process is relatively stable and has a small deviation from the set value (target value), which improves the production quality of silk drying and reduces material waste; through the correction estimation of the Kalman filter method, the error of the actual process is corrected, and the disturbance is eliminated in real time and unbiased control is achieved. According to the stable point data, the system can adapt to the offset changes of its own system properties and production environment with the seasons.

[0047] In addition, the present invention also provides a regulating device and medium for a tobacco drying system, which have the same beneficial effects as the regulating method for the tobacco drying system described above. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 It is a schematic diagram of the existing thin plate drying process;

[0050] Figure 2 A flow chart of a method for adjusting a tobacco drying system provided by an embodiment of the present invention;

[0051] Figure 3 An architecture diagram of a real-time control system provided by an embodiment of the present invention;

[0052] Figure 4 A structural diagram of an adjusting device for a tobacco drying system provided by an embodiment of the present invention;

[0053] Figure 5 A structural diagram of another adjusting device for a tobacco shred drying system provided by an embodiment of the present invention;

[0054] Figure 6 A schematic diagram of optimizing a process parameter stable point provided by an embodiment of the present invention;

[0055] Figure 7 This is a schematic diagram of the outlet moisture corresponding to the existing manual control and PID fine-tuning;

[0056] Figure 8 This is a schematic diagram of the inlet moisture corresponding to the existing manual control and PID fine-tuning;

[0057] Fig. 9 A schematic diagram of the outlet moisture of an MPC control system provided by an embodiment of the present invention;

[0058] Fig.10 A schematic diagram of inlet moisture of an MPC control system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] The core of the present invention is to provide a regulation method, device and medium for a tobacco drying system, so that the output value (outlet moisture) in the tobacco drying production process is relatively stable and has a small deviation from the set value, thereby improving the production quality of the tobacco drying and reducing material waste.

[0061] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0062] It should be noted that wire drying is usually the last step in wire making to adjust the moisture content of the cut tobacco. After wire drying, there is no artificial adjustment means, and the moisture of the cut tobacco can only be allowed to evaporate freely. Therefore, controlling the moisture content of the outlet material of the wire drying (referred to as outlet moisture) is crucial to the quality of the final product of the wire making, and has always been highly valued. Since the moisture content of the inlet material of the wire drying machine (referred to as inlet moisture) and the production environment of the wire drying machine are not constant, in order to maintain the consistency of the pure wire of the finished wire drying product, the process parameters during wire drying production must be fine-tuned in real time. The thin plate wire drying real-time control system based on the model predictive control method (Model Predictive Control, MPC) (also known as model predictive control theory) of the present invention can automatically adjust the entire process of thin plate wire drying production in real time according to the properties (brand) of the incoming tobacco, the production environment, and the outlet moisture set value, to ensure that the actual value of the outlet moisture is maintained near the set value and its standard deviation is as small as possible. MPC can be used for systems with multiple inputs and multiple outputs, and the inputs and outputs also affect each other. The control strategy of MPC can be summarized as a series of control actions that maximize the total benefits or minimize the total losses within the next few steps based on the current and past known system inputs, and return the action corresponding to the current moment as the controller output. Specifically, its current control action is obtained by solving a finite time domain open-loop optimal control problem at each sampling moment; when solving, the current state of the process is used as the initial state of the optimal control problem, and the solved optimal control sequence only implements the first control action. This is the biggest difference between it and those algorithms that use pre-calculated control laws. In essence, model predictive control is solving an open-loop optimal control problem. Its idea has nothing to do with the specific model, but its implementation is related to the model.

[0063] Figure 2 A flow chart of a method for adjusting a tobacco drying system provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method includes:

[0064] S11: Obtain the target value of the tofu drying system, the process parameters at the current moment, and the change amounts of the interference variables corresponding to the current stable point data;

[0065] The state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering;

[0066] S12: establishing a state space equation of the tofu drying system according to the state matrix of the tofu drying system, the state variables at the previous moment, the variation and the target value, and determining the output prediction value of the tofu drying system according to the state space equation at the current moment;

[0067] S13: Based on the model predictive control method, the optimal process parameters at the current moment are determined according to the state space equation, the output prediction value, the target value and the constraints of the process parameters;

[0068] The constraints of the process parameters are determined by the value range of the process parameters of the tofu drying system;

[0069] S14: Send the optimal process parameters to the tow drying system, and adjust the process parameters to obtain the adjusted actual output values.

[0070] Specifically, the target value of the wire drying system is the set value of the wire drying system output, and there may be an outlet moisture set value. It should be noted that the target value may change or remain unchanged according to the preset cycle according to the sensitivity of the wire drying system or the aging problem of the long-term production equipment operation, and can be set according to the actual situation. The process parameters and interference variables at the current moment, in this embodiment, only refer to the system input of the wire drying system obtained at the current moment, and when the system input is generated is not a limitation of this embodiment. Since in the actual wire drying system, there will be a delay problem when the various production equipment coordinates their work, the system input at the current moment is not the system input generated at the moment, but the system input generated at the previous moment. Specifically, as for the process parameters of the system input, different thin-plate wire drying processes can have different process parameters, parameters under the real-time process program, such as process gas flow, barrel wall temperature, etc.; for the interference variables of the system input, different wire drying processes also contain different interference variables, and the actual results generated by the previous material process generally include inlet moisture.

[0071] As an embodiment, the current stable point data is determined according to different classifications of interference variables and process parameters, and the current stable point data includes process parameter stable point data and interference variable stable point data. Obtaining the changes of the process parameters and interference variables at the current moment respectively relative to the current stable point data includes:

[0072] Obtaining measurement data points of multiple interference variables and corresponding data lengths;

[0073] Determine the disturbance variable stable point data based on multiple measurement data points and data length;

[0074] Obtaining optimization coefficients of the stable point model of multiple process parameters;

[0075] Determine the process parameter stable point data according to the optimization coefficient, the interference variable stable point data and the target value;

[0076] The variation of the process parameters corresponding to the interference variables is determined according to the interference variable stable point data and the process parameter stable point data at the current moment.

[0077] Correspondingly, the two types of process parameters and interference variables used as system inputs correspond to two models, one is the interference variable stable point estimation model, and the other is the process parameter stable point optimization model. In the interference variable stable point estimation model, at the beginning of a batch of production, the mathematical expectation of each interference variable of the current batch is estimated based on real-time data. For each interference variable, it can be the interference variable measurement data point corresponding to each time point in a time period, or it can be the data of multiple interference variable measurement data points corresponding to each time point, which can be set according to actual conditions. The interference variable stable point data is determined based on the measurement data points and data length of multiple interference variables, and the formula is as follows:

[0078]

[0079] in, is the interference variable stable point data corresponding to the interference variable estimate, w i is the measured data point of each interference variable, and N is the data length.

[0080] Based on the process parameter stable point optimization model, at the beginning of a batch of production, the process parameter stable point data can be determined according to the interference variable stable point data, target value and optimization parameters provided by the interference variable stable point estimation model. The formula is as follows:

[0081]

[0082] in, is the stable point data of process parameters, is the interference variable stable point data corresponding to the interference variable estimate, y sp is the target value, k w , k y and u o It is the optimization coefficient obtained by training with historical production data.

[0083] The variation of the process parameters corresponding to the interference variables is determined according to the interference variable stable point data and the process parameter stable point data at the current moment.

[0084] In this embodiment, the interference variable stable point prediction model and the process parameter stable point optimization model are used to provide reasonable stable point data for the real-time state model to obtain the corresponding change amount, so that the system can adapt to the drift changes of system properties and production environment with seasons.

[0085] The change amount in step S11 also corresponds to different change amounts according to the current stable point data. In combination with the above embodiment, the change amount is the process parameter equivalent to the current stable point data u op The change of the disturbance variable (inlet moisture) relative to the current stable point data wop The amount of change.

[0086] The state variable at the previous moment is composed of the real-time state variable at the previous moment and the error model state variable at the previous moment. It should be noted that the error model state variable represents the deviation between the model and the actual state caused by various factors such as modeling errors and unmeasurable interference. The value remains unchanged by default. For the convenience of calculation, the real-time state variable at the previous moment and the error model state variable at the previous moment are corrected online at one time using Kalman filtering in the actual engineering implementation process.

[0087] The correction process of the Kalman filter method uses the actual output value of the torrefaction production and the predicted value of the torrefaction model to correct the real-time state variables and error model state variables of the state space equation, where the predicted value is the prediction of the output value using the estimate of the previous state. The main purpose is to obtain a new real-time state variable and an estimated value of the error model state variable that is closer to the true value.

[0088] Based on the model predictive control method, compared with the existing PID control feedback, it has the ability to simultaneously control multiple process parameters of the drying process, realize the production process of less manpower, and save labor costs. The state space equation of the drying system itself is established by combining the state matrix of the drying system, the state variables and changes at the previous moment, and the target value.

[0089] The range of values ​​of the process parameters is used as the upper and lower limit constraints, and the variable parameters corresponding to the state space equation, the output prediction value of the current output, and the state variables and constraints at the current moment are used to determine the optimal process parameters of the model, and then the optimal process parameters are sent to the silk drying system to adjust the process parameters to obtain the actual output value after adjustment. The staff can decide whether to participate in the adjustment process for the optimal process parameters. The present invention is only an adjustment method. In addition, as a closed-loop control system, the optimal process parameters generated each time are sent to the silk drying system. During the process of adjusting the process parameters, the silk drying system will feedback the new process parameters, system output and the actual measured values ​​of the interference variables for the next moment to achieve closed-loop control.

[0090] A method for adjusting a tobacco drying system provided by an embodiment of the present invention comprises: obtaining a target value of the drying system, a process parameter at a current moment, and a change amount of an interference variable corresponding to data of a current stable point, and a state variable at a previous moment, wherein the state variable at the previous moment is composed of a real-time state variable and an error model state variable, and is corrected by a Kalman filter; establishing a state space equation of the drying system according to a state matrix of the drying system, the state variable at a previous moment, the change amount and the target value, and determining an output prediction value of the drying system according to the state space equation at the current moment; determining the preferred process parameters at the current moment according to the state space equation, the output prediction value, the target value and the constraints of the process parameters based on a model predictive control method, wherein the constraints of the process parameters are determined by the value range of the process parameters of the drying system; sending the preferred process parameters to the drying system, and adjusting the process parameters to obtain the actual output values ​​after adjustment. This method is based on the model predictive control method, which senses the state variables of the previous moment (error model state variables such as inlet moisture) in advance, controls the silk drying system in real time, and controls multiple silk drying process parameters at the same time. It also considers the constraints of the process parameters to obtain the optimal process parameters, and adjusts the process parameters in time according to the optimal process parameters to solve the delay problem of the silk drying system, so that the output value (outlet moisture) in the silk production process is relatively stable and has a small deviation from the set value (target value), which improves the production quality of silk drying and reduces material waste; through the correction estimation of the Kalman filter method, the error of the actual process is corrected, and the disturbance is eliminated in real time and unbiased control is achieved. According to the stable point data, the system can adapt to the offset changes of its own system properties and production environment with the seasons.

[0091] Based on the above embodiment, as an embodiment, the process of determining the state variable at the previous moment includes:

[0092] Obtain the Kalman gain of the Kalman filter method, the real-time state variable of the previous moment, the error model state variable, the actual output value and the output prediction value;

[0093] Determine the augmented state variables before correction according to the real-time state variables at the last moment and the error model state variables at the last moment;

[0094] Merge each augmented state variable into an augmented state;

[0095] The augmented state, Kalman gain, the actual output value at the previous moment and the output prediction value are corrected to obtain the state variable at the previous moment.

[0096] Specifically, the augmented state variables before correction are determined according to the real-time state variables and the error model state variables at the previous moment. For the convenience of calculation, the augmented state variables are combined into an augmented state. The formula is as follows:

[0097]

[0098] in, is the real-time state variable of the previous moment, is the error model state variable at the previous moment, For the augmented state.

[0099] The augmented state, Kalman gain, the actual output value at the previous moment, and the output prediction value at the previous moment are corrected to obtain the state variable at the previous moment to complete the online correction. How to correct is not limited here. It can be based on the gain calculation method of the ordinary Kalman filter or can be corrected by other methods. As an embodiment, the augmented state, Kalman gain, the actual output value at the previous moment, and the output prediction value at the previous moment are corrected to obtain the state variable at the previous moment, including:

[0100] Determine the prediction difference based on the relationship between the actual output value at the previous moment and the output prediction value;

[0101] Determine the gain value according to the relationship between the prediction difference and the Kalman gain;

[0102] The state variable at the previous moment is determined based on the relationship between the gain value and the augmented state.

[0103] The specific formula is as follows:

[0104]

[0105] in, is the augmented state before correction, which may correspond to the augmented state described above, is the corrected augmented state, y k-1 is the actual output value at the last moment, that is, the actual output value of the drying process at the last moment collected in the data acquisition program. is the output prediction value of the previous moment, is the Kalman gain.

[0106] That is to say, before the model predicts the output each time, the system will use the Kalman filter algorithm to perform online correction on the augmented state of the previous moment (including the real-time state variables of the system and the error model state variables).

[0107] The online correction process provided by the embodiment of the present invention corrects the error between the model and the actual process, thereby achieving disturbance elimination and unbiased control.

[0108] Based on the above embodiment, as an embodiment, the state matrix includes a system state transfer matrix, an input matrix and an output matrix. The state space equation of the tow-bread drying system is established according to the state matrix of the tow-bread drying system, the state variables at the previous moment, the variation and the target value, including:

[0109] Determine the first state space equation according to the relationship between the system state transfer matrix, the input matrix, the state variable at the last moment and the change amount;

[0110] Determine the second state space equation according to the output matrix, the relationship between the real-time state variable output at the current moment in the first state space equation and the target value;

[0111] The first state-space equation and the second state-space equation are referred to as state-space equations.

[0112] It can be understood that the state space equation of the original state model architecture is formulated as follows:

[0113]

[0114]

[0115]

[0116] in, is the process parameter relative to the current stable point u op The amount of change, is the disturbance variable relative to the current stable point w op The amount of change, are all state variables at the previous moment, is the real-time state variable of the previous moment, is the error model state variable at the previous moment, is the real-time state variable at the current moment, y sp is the target value, is the error model state variable at the current moment, A is the system state transfer matrix, which describes the real-time state variable at the previous moment How to affect the real-time state variables at the current moment Input matrix B u , B w , B d Describes the process parameters corresponding to the previous moment respectively Interference variables and the error model state variables How to affect the real-time state variables at the current moment Output matrices C and C d Describes the real-time state variables at the current moment and the error model state variables at the current moment How to convert to the model's predicted value

[0117] It should be noted that the state matrices A, B u , B w , B d , C, C d The specific value of varies with different production lines and production equipment, and is generally determined in the modeling stage. In combination with the above embodiment, the state variables at the previous moment are merged and corrected, and the first state space equation is determined according to the relationship between the system state transfer matrix, the input matrix, the state variables at the previous moment and the change amount, and the first state space equation is changed to the following expression:

[0118]

[0119] in, For the augmented state, is the process parameter relative to the current stable point u op The amount of change, is the disturbance variable relative to the current stable point w op The change in A aug is the system state transfer matrix of the first state space equation, B u,aug , B w,aug is the input matrix for the first state-space equation.

[0120] Specifically, the system state transfer matrix A aug The definition is as follows:

[0121]

[0122] Input matrix B u,aug , B w,aug , defined as follows:

[0123]

[0124]

[0125] Among them, 0 represents the zero matrix of the corresponding dimension, and I represents the identity matrix of the corresponding dimension. u , B w , B d The above embodiments have the same meanings and will not be described again.

[0126] The second state space equation is determined based on the relationship between the output matrix, the real-time state variables output at the current moment in the first state space equation, and the target value. The second state space equation is changed to the following expression:

[0127]

[0128] in, is the real-time state variable of the first state space at the current moment, C aug is the output matrix, y sp is the target value.

[0129] Specifically, the output matrix C aug The definition is as follows:

[0130] C aug =[CC d ]

[0131] Among them, the output matrices C and C d Describes the real-time state variables at the current moment and the error model state variables at the current moment How to convert it into the output prediction value of the model

[0132] The determination process of the state-space equation based on MPC provided in the embodiment of the present invention has the ability to simultaneously control the process parameters of multiple process wire-baking processes, and can be applied to the process control of thin-plate wire-baking based on various process designs, thereby realizing the unmanned or less-manned production process and saving labor costs. It can also perceive the changes of interference variables such as inlet moisture in advance based on the real-time state model of the system, and adjust the process parameters in time to solve the control difficulties caused by the large delay of the wire-baking system.

[0133] Based on the above embodiment, as an embodiment, the model-based predictive control method in step S13 determines the optimal process parameters at the current moment according to the state space equation, the output prediction value, the target value and the constraints of the process parameters, including:

[0134] Determine the loss function based on the state space equation, the output prediction value at the current moment, the target value and the constraints of the process parameters;

[0135] The loss function is minimized to obtain the optimal process parameters at the current moment under the model predictive control method.

[0136] Specifically, MPC is a model-based advanced process control theory, which calculates the state-space equation based on the above-mentioned implementation state model, the output prediction value of the state-space equation at the current moment, the set target value and the constraints of the process parameters to determine the loss function, also called the objective function, and minimizes the objective function to obtain the optimal process parameters at the current moment.

[0137] As an embodiment, the loss function is determined according to the state space equation, the output prediction value at the current moment, the target value and the constraint conditions of the process parameters, including:

[0138] Obtain the output prediction value, weight matrix, target value, process parameter constraints, and the change between the current moment and the previous moment in the state space equation;

[0139] Determine the output deviation value according to the relationship between the output prediction value and the target value;

[0140] A loss function is established based on the output deviation value, the weight matrix, the constraints of the process parameters, and the change corresponding to the current moment and the previous moment.

[0141] Correspondingly, the output deviation value is determined according to the relationship between the output prediction value and the target value, and the formula is as follows:

[0142]

[0143] Among them, e j is the output deviation value, y sp is the target value, is the output prediction value at the current moment.

[0144] The loss function is established based on the output deviation value, weight matrix, process parameter constraints, and the change between the current moment and the previous moment. The formula is as follows:

[0145]

[0146] Among them, e j is the deviation of the model's predicted value relative to the system's output set value, that is, the output deviation value. is the change at the current moment, is the change of process parameters compared with the previous moment, which is specifically e j , The transposed matrix of e , R u , R δu is the weight matrix, N p is the prediction time domain of MPC, and The upper and lower limit constraints are used as the constraints of process parameters.

[0147] It should be noted that the weight matrix Q e , R u , R δu All of them are adjustable parameters, which are required to be semi-positive definite matrices and can be adjusted according to the needs of each control target. For example, if the deviation of the outlet moisture from the set value is more important, Q can be appropriately increased. eThe diagonal of the matrix corresponds to the element value of the outlet moisture; if you want a process parameter to be maintained as close to the stable point data as possible, you can increase R appropriately. u The diagonal of the matrix corresponds to the element value of the process parameter; if you want the change of a process parameter to be as gentle as possible during real-time control, you can increase R appropriately. δu The element values ​​on the diagonal of the matrix correspond to the process parameters.

[0148] N p It is the prediction time domain of MPC and is an adjustable parameter that can be determined according to the accuracy and speed requirements of MPC and the hardware performance of the host computer in the implementation environment.

[0149] MPC will solve the optimization problem of minimizing J to obtain the optimal process parameters at the current moment. The corresponding formula for the minimization process is:

[0150]

[0151] in, To optimize the process parameters, the meanings of other parameters in the formula can refer to the meanings of the parameters in the previous formula and will not be repeated here.

[0152] The loss function establishment process and the optimal process parameter determination process provided by the embodiment of the present invention take into account the constraints of the process parameters, so that the deviation of the output value (outlet moisture) in the silk production process is small and relatively stable.

[0153] Figure 3 A real-time control system architecture diagram provided by an embodiment of the present invention, such as Figure 3 As shown in the figure, it includes two subsystems (real-time subsystem and batch-level subsystem). The real-time subsystem runs in real time during the production process. The real-time data interaction module is responsible for collecting the real-time production data required for the system operation from the production site and inputting it into the system. It is also responsible for sending the process parameters calculated by the controller to the production equipment (such as the tofu drying machine). Each functional module of the batch-level subsystem runs only once in a production batch, providing various necessary batch-level data for the operation of the batch.

[0154] The operation steps of this system are as follows:

[0155] 1. Before real-time control begins, the disturbance variable stable point estimation model estimates the current batch of disturbance variable stable points based on real-time collected data.

[0156] 2. Based on the current batch interference variable stable point and the set value of the moisture content of the export material, the process parameter stable point optimization model is used to calculate the process parameter stable point.

[0157] 3. After the real-time control starts, during each operation, the Kalman filter is used to correct the system state variables at the previous moment based on the real-time data and the set value of the moisture content of the outlet material.

[0158] 4. After correction, the current state variables are predicted based on the real-time data, the stable point of the interference variables of the current batch, the stable point of the process parameters, and the corrected system state variables of the previous moment.

[0159] 5. Using the current state variables, the state space equation of the model, the set value of the moisture content of the export material, and the upper and lower limits of the process parameters, MPC solves the optimal calculation value of the process parameters and selects the optimal parameters, which are returned to the real-time data interaction module and issued.

[0160] For an introduction to the architecture of a real-time control system provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned adjustment method of the tobacco drying system.

[0161] The above detailed descriptions of various embodiments corresponding to the adjustment method of the tobacco drying system are based on which the present invention further discloses an adjustment device for the tobacco drying system corresponding to the above method. Figure 4 The structural diagram of a regulating device of a tobacco drying system provided by an embodiment of the present invention. Figure 4 As shown, the regulating device of the tobacco drying system includes:

[0162] The acquisition module 11 is used to obtain the target value of the tofu drying system, the change amount of the process parameters and interference variables at the current moment relative to the current stable point data, and the state variables at the previous moment, wherein the state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering;

[0163] Establishing module 12, for establishing a state space equation of the tofu drying system according to the state matrix of the tofu drying system, the state variables at the previous moment, the variation and the target value, and determining the output prediction value of the tofu drying system according to the state space equation at the current moment;

[0164] A determination module 13 is used to determine the optimal process parameters at the current moment based on the model predictive control method according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, wherein the constraint conditions of the process parameters are determined by the value range of the process parameters of the tofu drying system;

[0165] The adjustment module 14 is used to send the optimal process parameters to the tow drying system and adjust the process parameters to obtain the adjusted actual output values.

[0166] Since the embodiments of the device part correspond to the above embodiments, please refer to the description of the embodiments of the method part for the embodiments of the device part, and will not be repeated here.

[0167] For an introduction to an adjusting device for a tobacco drying system provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned adjusting method for a tobacco drying system.

[0168] Figure 5 A structural diagram of another adjusting device for a tobacco drying system provided by an embodiment of the present invention, such as Figure 5 As shown, the device comprises:

[0169] A memory 21, used for storing computer programs;

[0170] The processor 22 is used to implement the steps of the adjustment method of the tobacco drying system when executing the computer program.

[0171] Among them, the processor 22 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 22 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 22 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 22 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 22 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0172] The memory 21 may include one or more computer-readable storage media, which may be non-transitory. The memory 21 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 21 is at least used to store the following computer program 211, wherein, after the computer program is loaded and executed by the processor 22, the relevant steps of the adjustment method of the tobacco drying system disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 21 may also include an operating system 212 and data 213, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 212 may include Windows, Unix, Linux, etc. The data 213 may include but is not limited to data involved in the adjustment method of the tobacco drying system, etc.

[0173] In some embodiments, the adjustment device of the tobacco drying system may further include a display screen 23 , an input / output interface 24 , a communication interface 25 , a power supply 26 , and a communication bus 27 .

[0174] Those skilled in the art can understand that Figure 5 The structure shown in the figure does not constitute a limitation on the adjustment device of the tobacco drying system, and may include more or less components than those shown in the figure.

[0175] The processor 22 implements the adjustment method of the tobacco drying system provided by any of the above embodiments by calling the instructions stored in the memory 21.

[0176] For an introduction to an adjusting device for a tobacco drying system provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. It has the same beneficial effects as the above-mentioned adjusting method for a tobacco drying system.

[0177] Furthermore, the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 22, the steps of the adjustment method of the tobacco drying system as described above are implemented.

[0178] It is understandable that the method in the above embodiment can be stored in a computer-readable storage medium when it is implemented in the form of a software functional unit and sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.

[0179] For an introduction to a computer-readable storage medium provided by the present invention, please refer to the above method embodiment, which will not be described in detail herein. The present invention has the same beneficial effects as the above-mentioned adjustment method for the tobacco drying system.

[0180] As an embodiment, preliminary tests were carried out on a certain cigarette silk production line. After reasonable model parameters and controller hyperparameter matrices were determined, the control system described in the present invention was deployed and implemented in the host computer of the production line to optimize a certain process parameter within a period of time. Figure 6 A schematic diagram of optimizing a process parameter stable point provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown in the figure, each data point corresponds to the optimal value of the process parameters of a production batch. The correlation coefficient is 0.663. 31 represents the actual value of the process parameter stable point, and 32 represents the optimal value of the process parameter stable point. The optimal value of the process parameter stable point is relatively gentle compared to the broken line corresponding to the actual value of the process parameter stable point.

[0181] After implementation, this system can automatically adjust the process parameters used in the production line according to the brand of incoming raw silk and the set value of moisture at the outlet of the silk drying machine, and perform real-time control of the moisture at the outlet. Figure 7 This is a schematic diagram of the outlet moisture corresponding to the existing manual control and PID fine-tuning. Figure 8 This is a schematic diagram of the inlet moisture corresponding to the existing manual control and PID fine-tuning. Fig. 9 A schematic diagram of the outlet moisture of an MPC control system provided by an embodiment of the present invention, Fig.10 A schematic diagram of inlet moisture of an MPC control system provided in an embodiment of the present invention. Figure 7-10 The control effect of two batches with the same inlet moisture standard deviation and similar change trend is shown, where Figure 7 , 8 The result shown is the result of manual control + PID fine-tuning. Figure 7 33 represents the outlet moisture set value, and 34 represents the outlet moisture actual value. Figure 8 It is the inlet moisture; Fig. 9 , 10 The results shown are under the full control of this system. Fig. 9 35 represents the outlet moisture set value, and 36 represents the outlet moisture actual value. Fig.10 is the inlet moisture. The results show that the actual value curve of the outlet moisture of the batch controlled by this system is more stable than that of the batch controlled by manual control. According to the statistics of the production system, the standard deviation of the steady-state section of the outlet moisture has dropped from 0.082 to 0.049, indicating that this system not only realizes the automatic control of the whole process, but also effectively reduces the standard deviation of the outlet moisture and improves the production quality of dried silk.

[0182] For an introduction to a comparison between the existing manual control and PID fine-tuning provided by the present invention and the adjustment schematic diagram of the tobacco drying system of the present invention, please refer to the above method embodiment. The present invention will not be repeated here, and it has the same beneficial effects as the above-mentioned tobacco drying system adjustment method.

[0183] The above is a detailed introduction to the adjustment method of a tobacco drying system, the adjustment device of the tobacco drying system and the medium provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, the present invention can also be improved and modified in several ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

[0184] It should also be noted that, in this specification, 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. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A method for adjusting a tobacco drying system, characterized in that: include: Obtaining the target value of the tofu drying system, the changes of the process parameters and interference variables at the current moment relative to the current stable point data, and the state variables at the previous moment, wherein the state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering; Establishing a state space equation of the tofu drying system according to the state matrix of the tofu drying system, the state variable at the previous moment, the change amount and the target value, and determining an output prediction value of the tofu drying system according to the state space equation at the current moment; Based on the model predictive control method, the optimal process parameters at the current moment are determined according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, wherein the constraint conditions of the process parameters are determined by the value range of the process parameters of the tofu drying system; The preferred process parameters are sent to the wire drying system, and the process parameters are adjusted to obtain the adjusted actual output values.

2. The adjustment method of the tobacco drying system according to claim 1, characterized in that: The current stable point data includes process parameter stable point data and interference variable stable point data, and obtaining the variation of the process parameter and the interference variable at the current moment respectively corresponding to the current stable point data includes: Acquire a plurality of measurement data points of the interference variables and corresponding data lengths; Determining the interference variable stable point data according to a plurality of the measurement data points and the data length; Obtaining optimization coefficients of a stable point model of a plurality of process parameters; Determine the process parameter stable point data according to the optimization coefficient, the interference variable stable point data and the target value; The variation of the process parameter corresponding to the interference variable is determined according to the interference variable stable point data and the process parameter stable point data at the current moment.

3. The adjustment method of the tobacco drying system according to claim 1, characterized in that: The process of determining the state variable at the previous moment includes: Obtaining the Kalman gain of the Kalman filter mode, the real-time state variable at the previous moment, the error model state variable, the actual output value and the output prediction value; Determine respective augmented state variables before correction according to the real-time state variable at the previous moment and the error model state variable at the previous moment; Merge each augmented state variable into an augmented state; The augmented state, the Kalman gain, the actual output value at the previous moment and the output prediction value are corrected to obtain the state variable at the previous moment.

4. The adjustment method of the tobacco drying system according to claim 3, characterized in that: The step of correcting the augmented state, the Kalman gain, the actual output value at the previous moment, and the output prediction value to obtain the state variable at the previous moment includes: Determine a prediction difference value according to the relationship between the actual output value at the previous moment and the output prediction value; Determine a gain value according to a relationship between the prediction difference and the Kalman gain; The state variable at the previous moment is determined according to the relationship between the gain value and the augmentation state.

5. The adjustment method of the tobacco drying system according to claim 2 or 4, characterized in that: The state matrix includes a system state transfer matrix, an input matrix and an output matrix. The state space equation of the tow-bread drying system is established according to the state matrix of the tow-bread drying system, the state variable at the previous moment, the change amount and the target value, including: Determine a first state space equation according to the relationship between the system state transfer matrix, the input matrix, the state variable at the previous moment and the change amount; Determine a second state space equation according to the output matrix, the relationship between the real-time state variable output at the current moment in the first state space equation and the target value; The first state-space equation and the second state-space equation are used as the state-space equation.

6. The adjustment method of the tobacco drying system according to claim 5, characterized in that: The model-based predictive control method determines the optimal process parameters at the current moment according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, including: Determine a loss function according to the state space equation, the output prediction value at the current moment, the target value and the constraint conditions of the process parameters; The loss function is minimized to obtain the optimal process parameters at the current moment under the model predictive control method.

7. The adjustment method of the tobacco drying system according to claim 6, characterized in that: The determining of the loss function according to the state space equation, the output prediction value at the current moment, the target value and the constraint condition of the process parameter comprises: Obtaining the output prediction value at the current moment, the weight matrix, the target value, the constraint conditions of the process parameters, and the change amount corresponding to the current moment and the previous moment in the state space equation; Determine an output deviation value according to the relationship between the output prediction value and the target value; The loss function is established according to the output deviation value, the weight matrix, the constraint conditions of the process parameters, and the change amount corresponding to the current moment and the previous moment.

8. A regulating device for a tobacco drying system, characterized in that: include: An acquisition module is used to acquire the target value of the tofu drying system, the changes of the process parameters and interference variables at the current moment relative to the current stable point data, and the state variables at the previous moment, wherein the state variables at the previous moment are composed of real-time state variables and error model state variables, and are corrected by Kalman filtering; An establishing module, used to establish a state space equation of the tow-bread drying system according to the state matrix of the tow-bread drying system, the state variable at the previous moment, the change amount and the target value, and determine an output prediction value of the tow-bread drying system according to the state space equation at the current moment; a determination module, for determining the preferred process parameters at the current moment based on the model predictive control method according to the state space equation, the output prediction value, the target value and the constraint conditions of the process parameters, wherein the constraint conditions of the process parameters are determined by the value range of the process parameters of the tofu drying system; The adjustment module is used to send the preferred process parameters to the wire drying system and adjust the process parameters to obtain the adjusted actual output values.

9. A regulating device for a tobacco drying system, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the method for adjusting the tobacco drying system according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of adjusting the tobacco drying system according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Multi-layer instruction adaptive control method, device and system and storage medium

    CN120295149A