PREDICTIVE FUZZY PID CONTROL METHOD FOR INTELLIGENT GREENHOUSE

20260050806 ยท 2026-02-19

Assignee

Inventors

Cpc classification

International classification

Abstract

A predictive fuzzy PID control method for an intelligent greenhouse includes: acquiring greenhouse real-time data, where the real-time data includes temperature data and humidity data; obtaining fuzzy quantity, control quantity and error data based on the real-time data, where the error data includes an error value and an error change rate; obtaining a target value based on the error data and a predictive functional control; controlling the target value and the error data for fuzzy inference, determining and adjusting parameters, and generating a control signal based on the parameters; and controlling greenhouse equipment adjustment based on the control signal to enable an output value of the equipment to approach the target value, and repeating the above steps to achieve continuous greenhouse environment control. This method achieves more accurate and efficient control of environmental parameters such as temperature, humidity, and illumination, and provides an optimal growing environment for plants.

Claims

1-10. (canceled)

11. A predictive fuzzy proportional-integral-derivative (PID) control method for an intelligent greenhouse, applied to a predictive fuzzy PID controller, wherein the predictive fuzzy PID controller comprises a predictive functional control and a fuzzy PID controller, and comprising the following steps: acquiring greenhouse real-time data, wherein the real-time data comprises temperature data and humidity data; obtaining fuzzy quantity, control quantity and error data based on the real-time data, wherein the error data comprises an error value and an error change rate; obtaining a target value based on the error data and the predictive functional control; controlling the target value and the error data for fuzzy inference, determining and adjusting parameters, and generating a control signal based on the parameters; and controlling adjustment of a greenhouse device based on the control signal to enable an output value of the greenhouse device to approach the target value, and repeating the above steps to achieve continuous greenhouse environment control.

12. The predictive fuzzy PID control method according to claim 11, wherein the fuzzy PID controller comprises: variable fuzzification, configured to convert input variables and output variables into fuzzy sets, wherein the fuzzy sets comprise low temperature, moderate temperature, high temperature, low humidity, moderate humidity and high humidity; a knowledge base, configured to store a fuzzy rule and a membership function and provide support for the fuzzy inference; fuzzy inference, configured to, based on the fuzzy rules and a membership of the input variables, determine a fuzzy set of the output variables by a fuzzy inference engine, and calculate a fuzzy set of the output variables; a defuzzification interface, configured to, based on a maximum membership method, convert the fuzzy set of the output variables into a specific control signal, wherein the specific control signal is configured to control devices of the intelligent greenhouse; and online parameter adjustment, configured to, through a fuzzy control rule and a fuzzification result of the input variables, according to a preset benchmark parameter, adjust parameters of the PID controller in real time to adapt to different control requirements and changing environments.

13. The predictive fuzzy PID control method according to claim 11, wherein the predictive functional control implements predictive control based on elements, the elements comprise a basis function, a reference trajectory, a predictive model, feedback correction and rolling optimization, the basis function provides a basis for expression of a control strategy, the reference trajectory indicates a control objective, the predictive model performs future state prediction, the feedback correction corrects a prediction error, and the rolling optimization continuously adjusts the control strategy based on real-time information.

14. The predictive fuzzy PID control method according to claim 13, wherein the basis function is represented as: u ( K + i ) = .Math. j = 1 N j ( K ) f ( i ) wherein N is an order of the basis function, u.sub.j(K) is a linear combination weight coefficient of the basis function, and .sub.j(i) is a value of the basis function at an i-th sampling period.

15. The predictive fuzzy PID control method according to claim 14, wherein when the basis function is in a form of a step, a ramp, or a parabola, values of the basis function in each sampling period is represented as: a step function .sub.j(i)=step(ik), a ramp function .sub.j(i)=max(0, ik), and a parabola function .sub.j(i)=max(0, (ik).sup.2), wherein k is a center position of the basis function, and the values of the basis function are as follows: F = ( 1 0 .Math. 0 1 1 .Math. 1 1 2 .Math. 2 N - 1 .Math. .Math. .Math. .Math. 1 h s .Math. H S N - 1 ) ( h s + 1 ) N f j ( i ) = F ( i , j ) wherein S is a number of fitting points, h.sub.s is an s-th fitting point moment, and F takes a sampling period T as a unit.

16. The predictive fuzzy PID control method according to claim 13, wherein the reference trajectory compares the output value of the greenhouse device with the target value, and limits and adjusts the output value of the greenhouse device to ensure that the output value of the greenhouse device approaches the target value and remains stable, and a reference trajectory at a moment k+i is represented as: Y .Math. "\[LeftBracketingBar]" ( k + i ) = C ( k ) - I ( C ( k ) - Y P ( k ) ) C ( K ) = [ c 1 ( k ) , .Math. .Math. , c n ( k ) ] T I = e - T s T m Y P ( K ) = [ y p 1 ( k ) , .Math. .Math. , y pn ( k ) ] T wherein C(K) is a set value at a moment K, T.sub.s is a sampling time, T.sub.m is a desired reaction time of a reference trajectory n, and Y.sub.P(K) is an actual output of an n-th input at the moment K.

17. The predictive fuzzy PID control method according to claim 13, wherein the predictive model is implemented based on a dynamic matrix algorithm, an output value of an object in future is predicted by a model parameter{a.sub.i} of a system in the dynamic matrix algorithm, and an output value formula at a future moment is: y ~ i ( k + i k ) = y ~ 0 ( k + i k ) + a i u ( k ) , i = 1 , .Math. , N under the action of M continuous control increments u (k), . . . , u (K+M1), an output value at each moment in the future is predicted: y ~ m ( k + i k ) = y ~ 0 ( k + i k ) + .Math. j = 1 min ( M , j ) a i - j + 1 u ( K + M - 1 ) , i = 1 , .Math. , N wherein y is a number of times the control quantity changes, and ( k + i k ) is a predicted value at a moment k to a moment k+i.

18. The predictive fuzzy PID control method according to claim 11, wherein in the determination and adjustment of the parameters, the parameters are PID parameters, and a principle of the PID parameters is: determining a proportional gain, an integral gain, and a differential gain according to a size of the error, a size of an error change rate and a system requirement.

19. The predictive fuzzy PID control method according to claim 11, wherein the adjusting PID parameters comprises: controlling a deviation e and a deviation derivative ec for fuzzifying; calculating reference parameters K.sub.p, K.sub.i and K.sub.d according to a fuzzy control rule table; and obtaining final control parameters according to initial parameters K.sub.p0, K.sub.i0 and K.sub.d0 and the reference parameters, wherein the formula is as follows: { K p = K p 0 + K p K i = K i 0 + K i K d = K d 0 + K d .

20. The predictive fuzzy PID control method according to claim 11, wherein the controlling the target value and the error data for fuzzy inference is implemented based on a fuzzy rule, and the fuzzy rules constitute a fuzzy rule control table based on a basic control criterion, a PID parameter self-tuning rule, and expert experience.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The above and other objectives, features and advantages of the present application will become more apparent through a more detailed description of exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0040] FIG. 1 is a schematic flowchart of a predictive fuzzy PID control method according to the present application;

[0041] FIG. 2 is a block diagram of predictive fuzzy PID control of a predictive fuzzy PID control method according to the present application;

[0042] FIG. 3 is a schematic diagram of a predictive control structure of a predictive fuzzy PID control method according to the present application;

[0043] FIG. 4 is a schematic diagram of a fuzzy language subset membership function of a predictive fuzzy PID control method according to the present application;

[0044] FIG. 5 is a schematic diagram of a fuzzy rule of a predictive fuzzy PID control method according to the present application;

[0045] FIG. 6 is a schematic diagram of a kp characteristic surface of a predictive fuzzy PID control method according to the present application;

[0046] FIG. 7 is a schematic diagram of a ki characteristic surface of a predictive fuzzy PID control method according to the present application; and

[0047] FIG. 8 is a schematic diagram of a kd characteristic surface of a predictive fuzzy PID control method according to the present application.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0048] Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0049] It should be understood that although the terms first, second, third, and the like may be used in the present application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Therefore, a feature defined with first or second may explicitly or implicitly include one or more features. In the description of the present application, a plurality of means two or more unless specifically limited otherwise.

[0050] In the description of the present application, it should be understood that directions or positional relationships indicated by terms length, width, upper, lower, front, rear, left, right, vertical, horizontal, top, bottom, inner, outer and the like are those shown based on the accompanying drawings, and are merely intended to facilitate and simplify description rather than indicate or imply that the indicated apparatus or element must have a specific direction and must be configured and operated according to the specific direction. Therefore, these directions or positional relationships should not be construed as limiting the present application.

[0051] Unless otherwise specified and limited, the terms such as mount, link, connect, and fasten should be understood broadly. For example, the term connect may be a fixed connection, may be a detachable connection, or may be integration; may be a mechanical connection or may be an electrical connection; or may be a direct connection, may be an indirect connection implemented by using an intermediate medium, or may be communication inside two elements or an interaction relationship between two elements. Those of ordinary skill in the art may understand specific meanings of the foregoing terms in the present application according to specific cases.

[0052] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0053] In the actual control of a greenhouse environment, there are various environmental factors disturbances, which makes it difficult for the control process to accurately match the model, resulting in errors between a target value and an actual value. Such errors may affect the performance of the controller, and therefore corresponding measures need to be taken to address this problem.

[0054] Referring to FIG. 2, an output value at time k is predicted by a model, so that the output follows a target set point. A difference between a predicted output YP(k+P) at k+P and the set point c is assumed to be an error e, which is obtained using a feedback correction method.

[0055] In controller design, the role of predictive functional control (PFC) is only to make predictions and does not participate in the actual control of the system. A predictive fuzzy controller requires that the control performance is related to the structure of the control input. In the predictive functional control (PFC), a control signal is expressed as a combination of a series of basic functions, such as a step function and a slope function. In this embodiment, a step function is selected, and a transfer function of the PFC prediction model used is a first-order model.

[0056] In the predictive fuzzy PID controller, the predictive functional control and the fuzzy PID controller cooperate with each other to achieve precise control of a controlled object by adjusting the parameters of the PID controller and calculating an optimal input value. When the output of the controlled object deviates from the target value, the prediction function model predicts a future output value and pass this future output value to the fuzzy PID controller, and the fuzzy PID controller then calculates a control quantity to make the controlled object approach the target value.

[0057] The predictive fuzzy PID control method for an intelligent greenhouse as shown in FIG. 1 is applied to a predictive fuzzy PID controller. The predictive fuzzy PID control method includes the following steps:

[0058] S1: Greenhouse real-time data is acquired, wherein the real-time data includes temperature data and humidity data.

[0059] Temperature and humidity, two major environmental factors, are taken as research objects, and the tracking and control of target values (temperature and humidity in the greenhouse) are achieved based on an environmental control mechanism modeling method. The purpose of effectively controlling the greenhouse environment is achieved through remote control of the actuator to create the optimal crop growth environment. The real-time temperature and humidity of the greenhouse are detected by sensors as input signals.

[0060] S2: The real-time data is fuzzified to obtain fuzzy quantity, control quantity and error data, wherein the error data includes an error value and an error change rate.

[0061] The real-time temperature and humidity data are fuzzified and converted into fuzzy quantities. The fuzzy controller processes the fuzzy quantities and obtains the corresponding control quantities through fuzzy inference. The output value of the future system is predicted using predictive control technology by calculating an optimal input value and an error and an error change rate between an actual input value and an expected input value. If the output of the controlled object differs from the target value, the prediction function model predicts the future output value.

[0062] S3: A target value is obtained based on the error data and the predictive functional control.

[0063] The prediction results and error data are passed to the fuzzy PID controller as input. The fuzzy PID controller adjusts the parameters of the PID controller by fuzzy logic inference to ensure that the system adjusts as expected. The fuzzy PID controller determines the final control quantity by using fuzzy logic inference, so as to achieve accurate control on the controlled object.

[0064] S4: The target value and the error data are controlled for fuzzy inference, parameters are determined and adjusted, and a control signal is generated based on the parameters.

[0065] The fuzzy PID controller calculates a final control quantity and applies the final control quantity to the controlled object to make the system output as close to the target value as possible. The control signal is sent to actuators to adjust devices in the greenhouse environment, such as heaters, coolers, and humidifiers, so that the system output is as close to the target value as possible.

[0066] S5: The adjustment of a greenhouse device is controlled based on the control signal to enable an output value of the device to approach the target value.

[0067] S6: The above steps are repeated to achieve continuous greenhouse environment control.

[0068] The fuzzy PID control adjusts the parameters of the PID controller through fuzzy logic inference. The fuzzy PID controller first fuzzifies the deviation e and the deviation derivative ec, and finds out the fuzzy relationship between the input variables e and ec, and then corrects the parameters of the PID controller by using the PID parameter correction values kp, ki, and kd output by the fuzzy inference and defuzzification processes.

[0069] Compared with traditional PID controller, the fuzzy PID controller has better adaptability and robustness and has been widely used in many industrial fields. The fuzzy controller design includes the following processes:

(1) Fuzzification of Variables

[0070] Through experimental data or operating experience, the basic domains of input variable deviation e and deviation change rate ec and output variables K.sub.p, K.sub.i, K.sub.d are determined;

[0071] The fuzzy domains of input variables and output variables are determined and fuzzified into seven fuzzy subsets. Temperature and humidity have a very large interactive relationship. Generally, high temperature means low humidity, and low temperature means high humidity. The seven fuzzy subsets have the opposite effects on humidity. In the formulation of fuzzy rules, the relationship between temperature, humidity and carbon dioxide is taken into consideration to conduct comprehensive control of tracking values. Each fuzzy subset represents a degree or direction, including negative large, negative medium, negative small, zero, positive small, positive medium, and positive large. In this embodiment, Gaussian distribution is used as a membership function, and the editing function of the fuzzy designer in MATLAB is used to establish a fuzzy controller based on the input deviation and input deviation conversion rate inferred by Mamdani and the three outputs of K.sub.p, K.sub.i and K.sub.d. The seven fuzzy subsets designed are NB, NM, NS, O, PS, PM, and PB. Based on the above steps, an effective fuzzy controller as shown in FIG. 4 is established to achieve precise control of the controlled object.

(2) Principles of PID Parameters

[0072] (a) When |e| is large, a relatively large proportional gain K.sub.p and a relatively small differential gain K.sub.d should be selected. Furthermore, to prevent the integral action from causing over-regulation, the integral gain K.sub.i is usually set to zero. This ensures that the system does not experience significant overshoot.

[0073] (b) When |e| is medium, to reduce the overshoot of the system and ensure the response speed of the system, a relatively small proportional gain K.sub.p should be selected. Meanwhile, the values of proportional gain K.sub.p and integral gain K.sub.i need to be appropriately selected to ensure that the system has a reasonable response speed. This allows the system to achieve a certain balance between control accuracy and dynamic performance.

[0074] (c) When the error |ec| is small, to ensure that the system has good steady-state performance, a relatively large proportional gain K.sub.p and integral gain K.sub.i should be selected. Meanwhile, it is necessary to select an appropriate differential gain K.sub.d value to ensure that the system has good stability near the set value. When the error |ec| is small, a slightly larger K.sub.d value should be selected, and when the error |ec| is large, a slightly smaller K.sub.d value should be selected. This allows the system to have reasonable stability within different error ranges and ensures that the system can quickly return to the set state.

(3) Establishment of Fuzzy Rules

[0075] The fuzzy rules are based on some basic control criteria and PID parameter self-tuning rules, and also combine the rich operating experience of control experts to form a fuzzy rule control table. The control rule table is designed and optimized according to the actual application scenario to ensure that the control system may maintain stability and robustness under various working conditions. By using these control rules, precise control of the controlled object may be achieved and the adaptability and flexibility of the control system may be improved, as shown in the following table. These rules provide guidance for the control of the devices, helping the system respond quickly to changes and maintain stable operation.

TABLE-US-00001 TABLE Fuzzy rules of K.sub.p, K.sub.i and K.sub.d e NB NM PB NB PB/NB/PS PB/NB/NS PM/NM/NB PS/NM/NB PS/NS/NB O/O/NM O/O/PS NM PB/NB/PS PB/NB/NS PM/NM/NB PS/NS/NM PS/NS/NM O/O/NS NS/O/O NS PM/NB/O PM/NM/NS PM/NS/NM PS/NS/NM O/O/NS NS/PS/NS NS/PS/O O PM/NB/O PM/NM/NS PS/NS/NS O/O/NS NS/PS/NS NM/PM/NS NM/PM/O PS PS/NS/O PS/NS/O O/O/O NS/PS/O NS/PS/O NM/PM/O NM/PB/O PM PS/O/PB O/O/NS NS/PS/PS NM/PS/PS NM/PM/PS NM/PB/PS NB/PB/PB PB O/O/PB O/O/PM NM/PS/PM NM/PM/PM NM/PM/PS NB/PB/PS NB/PB/PB

[0076] The fuzzy rules are set for K.sub.p, K.sub.i and K.sub.d according to the control rules shown in the above table using a fuzzy rule editor in a fuzzy logic designer on Matlab software. The established fuzzy rule view is shown in FIG. 5, and the output characteristic surfaces of the fuzzy inference system are shown in FIGS. 6 to 8.

(4) Online Parameter Adjustment

[0077] According to the fuzzy control rules introduced above, K.sub.p0, K.sub.i0 and K.sub.d0 are used as three reference parameters to adjust the parameters online. Specifically, after the deviation e and the deviation derivative ec are controlled for fuzzy processing, K.sub.p, K.sub.I and K.sub.d are calculated according to the fuzzy control rule table, and are combined with the reference parameters K.sub.p, K.sub.i and K.sub.d to obtain the final control parameters. The calculation is shown in formulas 2-13. This allows the PID controller to adapt to changes in real time during operation and maintain the stability and accuracy of the system.

[00008] { K p = K p 0 + K p K i = K i 0 + K i K d = K d 0 + K d .

[0078] In summary, the main components of the fuzzy PID controller include:

[0079] Fuzzification of variables: Input variables and output variables are converted into fuzzy sets, and the actual input and output are mapped to the fuzzy sets by selecting appropriate membership functions and defining fuzzy subsets.

[0080] Knowledge base: A database that stores fuzzy rules and membership functions, including fuzzy rules for input variables and membership functions for output variables, used in fuzzy inference and decision-making processes.

[0081] Fuzzy inference: Based on fuzzy rules and the membership of input variables, the fuzzy set of output variables is determined by a fuzzy inference engine. The fuzzy inference includes two steps, matching and synthetic inference, which are used to calculate the fuzzy set of output variables.

[0082] Defuzzification: The fuzzy set is converted into a specific control signal, and the final control result is determined by methods such as maximum membership method, average method or centroid method.

[0083] Online parameter adjustment: Through a fuzzy control rule and a fuzzification result of the input variables, according to a preset benchmark parameter, parameters of the PID controller in real time are adjusted to adapt to different control requirements and changing environments.

[0084] Through the above components, the fuzzy PID controller may adjust the parameters of the PID controller in real time according to the input variables and preset fuzzy rules, thereby achieving precise control of the controlled object. The fuzzy control method shows good control performance and adaptability in dealing with complex nonlinear systems and fuzzy changing environments.

[0085] Predictive control is a control algorithm. The basic idea is to pay attention to the past state of the target while considering future targets, so as to minimize the deviation between the controlled quantity and the target value, thereby improving the control performance of the system. Predictive functional control is a relatively new predictive control algorithm, which introduces the concept of basis function to improve control regularity, response speed and accuracy, while maintaining the advantages of model control. The predictive control principle is shown in FIG. 3.

[0086] The predictive functional control implements predictive control based on elements, the elements include a basis function, a reference trajectory, a predictive model, feedback correction and rolling optimization, the basis function provides a basis for expression of a control strategy, the reference trajectory indicates a control objective, the predictive model performs future state prediction, the feedback correction corrects a prediction error, and the rolling optimization continuously adjusts the control strategy based on real-time information.

(1) Basis Function

[0087] Predictive functional control (PFC) considers the newly added control action as a linear combination of several known basis functions, the output of which is a weighted combination of the above basis functions to the changes in the object's response [23]. The form of the basis function can be arbitrary, such as, polynomial, trigonometric function, and Gaussian function. The selection of basis functions should be based on the actual situation of the controlled object to achieve the optimal prediction effect. The predictive functional control predicts future deviations based on the established dynamic model and corrects the current control strategy through a feedback mechanism to achieve precise control of the controlled object. The predictive functional control has the advantages of strong adaptability, good stability and high robustness, and has been widely used in industrial control systems.

[00009] u ( K + i ) = .Math. j = 1 N j ( K ) f ( i ) ( 2 - 1 )

[0088] Formula (2-1) indicates that the order N of the basis function may be determined based on the tracking set value and the process model. The linear combination weight coefficients u.sub.j(k) of the basis functions need to be optimized. .sub.j(i) represents the value of the basis function at the i-th sampling period. When the commonly used basis function formsstep, ramp and parabola are adopted, values of the basis functions in each sampling period is represented as: a step function .sub.j(i)=step(i-k), a ramp function .sub.j(i)=max(0,ik), and a parabola function .sub.j(i)=max(0,(ik).sup.2), wherein k is a center position of the basis function. The value of the basis functions is as follows:

[00010] f j ( i ) = F ( i , j ) ( 2 - 3 ) [0089] wherein S is a number of fitting points, h.sub.s is an s-th fitting point moment, and F takes a sampling period T as a unit.

(2) Reference Trajectory

[0090] To ensure that the system output can reach the preset value in a stable and orderly manner, a reference trajectory method is proposed to limit and adjust the system output value by comparing the difference between the predicted output value and the actual process output value, so as to ensure that the system output can effectively approach the preset value and remain stable. This reference trajectory may take the form of a first order exponential, and a trace step set value is used herein, that is, a slowly increasing trend that sets the reference trajectory to gradually approach a future predetermined value. Precise control of the reference trajectory may effectively match the input and output in a multivariable system, thereby achieving precise control objectives. The reference trajectory at a moment k+i may be represented as:

[00011] Y r ( k + i ) = C ( k ) - I ( C ( k ) - Y p ( k ) ) C ( K ) = [ c 1 ( k ) , .Math. . , c n ( k ) ] T I = e - T s T m Y P ( K ) = [ y p 1 ( k ) , .Math. .Math. , y pn ( k ) ] T [0091] wherein C(k) is a set value at a moment K, T.sub.s is a sampling time, T.sub.m is a desired reaction time of a reference trajectory n, and Y.sub.p(K) is an actual output of an n-th input at the moment K.

(3) Model Prediction of Dynamic Matrix

[0092] Compared with traditional control methods based on transfer function or state-space model parameter identification, the dynamic matrix control (DMC) algorithm does not require these steps. The algorithm takes the response of the controlled object to a step signal as input, and the time lag problem of system process control is often solved by multi-step prediction technology. The dynamic matrix control controls linear objects more accurately and gradually, and achieves stability by predicting the error between the output value and the reference value through quadratic performance indicators during control. Therefore, the DMC algorithm may be called an optimal control technique.

[0093] In DMC control, the sampling value a=a(iT) of the controlled object for a unit step signal has a sampling number set to i and a sampling period set to T. If the object is asymptotically stable, the response state of the object tend to be stable after tN=NT (a certain moment), so when i>N, the sampling value ai is similar to the steady-state value as=a() of the step response. The finite set {a1, a2, . . . aN} is used to approximately describe the dynamic information of the object. The parameters of this set constitute the model parameters of the DMC algorithm. The model vector is a=[a1,a2, . . . aN]T, and the length of the modeling domain is N. The simulation program is used to determine the optimization program and calculate the control coefficients d1 . . . dp.

[0094] The model parameters {a.sub.i} of the system are used to predict an output value of the object in the future. The output value formula at future moment is:

[00012] y ~ 1 ( k + i k ) = y ~ 0 ( k + i k ) + a i u ( k ) , i = 1 , .Math. . , N ( 2 - 5 ) [0095] wherein

[00013] y ~ 0 ( k + i k )

is the output at a moment k (assuming the control effect remains unchanged) using the initial prediction to predict the output at the next N moments. [0096] under the action of M continuous control increments u (k), . . . , u (K+M1), an output value at each moment in the future is predicted:

[00014] y ~ m ( k + i k ) = y ~ 0 ( k + i k ) + .Math. j = 1 min ( M , i ) a i - j + 1 u ( K + M - 1 ) , i = 1 , .Math. , N ( 2 - 6 ) [0097] wherein y is a number of times the control quantity changes, and

[00015] ( k + i k )

is a predicted value at the moment k to the moment k+i.

(4) Rolling Optimization of Dynamic Matrix

[0098] The goal of the dynamic matrix algorithm is to start at any moment k, and the next M control increments u(k), . . . , u(k+M1) are determined, so that the output prediction value {tilde over (y)}.sub.M (k+i/k) of the controlled object at the next P moments under control is as close as possible to the given expected value {circle around (1)}(k+i). In this process, the control domain and the optimization domain are represented by M and P respectively. At the moment k, the control effect of the system may be evaluated as a whole using the optimization performance index.

[00016] min J ( k ) = .Math. i = 1 P qi [ ( k + i ) - y ~ M ( k + i ) k ) ] 2 + .Math. j = 1 M j u 2 ( k + j - 1 ) ( 2 - 7 )

[0099] The qi and j are weight coefficients, which are used to suppress tracking errors and control quantity changes. In the dynamic matrix algorithm, these weight coefficients are used to adjust the optimization performance indicators of the system, so that the system may track the expected output value more stably and accurately, and minimize the change of the control amount.

[0100] Without considering any constraints, the prediction model may be used to derive the relationship between y and u in the performance indicator.

[00017] y ~ PM ( k ) = y ~ P 0 ( k ) + A u M ( k ) ( 2 - 8 )

[0101] The dynamic matrix A is associated with the prediction model and consists of a matrix of P rows and M columns with step response coefficients ai. At the moment k, given .sub.p (k), {tilde over (y)}.sub.p0 (k),

[00018] dJ ( k ) d uM ( k ) = 0 ,

as uM(k) that minimizes J(k), can be obtained through the necessary conditions for the extreme value:

[00019] u M ( k ) = ( A T QA + R ) - 1 A T Q [ 1 p ( k ) - y ~ P 0 ( k ) ] ( 2 - 9 )

[0102] The dynamic matrix A is not regarded as a solution that needs to be implemented, but only as the value of the immediate control increment u(k), which is used to form the actual control signal u(k) u(k1)+ u(k) to act on the object. With the rolling optimization strategy, the system raises a similar optimization problem at the next moment and solve a new optimal solution u(k+1). This process is repeated continuously, that is, the dynamic matrix algorithm optimization calculation is performed again at each moment to obtain the real-time optimal control increment value.

(5) Dynamic Matrix Feedback Correction

[0103] In practical applications, the predicted values obtained by the prediction model may deviate from the actual values due to various unknown factors such as model mismatch and environmental interference. Therefore, in the next optimization process, if modeling and optimization are performed based on the dummy information, the result is inaccurate. In the DMC algorithm, the actual output y(k+1) of the controlled object is obtained through actual measurement. The output of {tilde over (y)}.sub.1 (k+1/k) predicted by the model is compared with the actual output to calculate the output error information. This output error information may be used to correct the model and adjust the optimization parameters to achieve more accurate control effects.

[00020] e ( k + 1 ) = y ( k + 1 ) - y ~ 1 ( k + 1 k ) ( 2 - 10 ) [0104] wherein e(k+1) is the output error information, which may be used to predict future output errors and supplement the model prediction. The error is caused by the lack of causal description, so the time series method is used to predict the output error. A common approach is to weight e(k+1) and then use the corrected result to predict future outputs. This method can improve the control effect and make the model reflect the actual behavior of the controlled object more accurately. The output prediction vector may be represented as:

[00021] y cor ( k + 1 ) = y ~ N 1 ( k ) + he ( k + 1 ) ( 2 - 11 ) y cor ( k + 1 ) = [ y ~ cor ( K + 1 k + 1 ) y ~ cor ( K + N k + 1 ) ] . ( 2 - 12 ) [0105] wherein the corrected output prediction vector is y.sub.cor(k+1), the N-dimensional vector h=[h.sub.1 . . . h.sub.N] composed of weight coefficients is called the correction vector.

[0106] It should be noted that, in the present application, relational terms such as first and second are merely used to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual relationship or order between such entities or operations. Moreover, terms include, comprise, or any other variants thereof are intended to cover a non-exclusive inclusion, so that a process, a method, an article, or a device that includes a list of elements includes those elements, and also includes other elements which are not expressly listed, or further includes elements inherent to this process, method, article, or device.

[0107] The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units may be selected based on actual requirements to achieve the objectives of the solutions of embodiments.

[0108] Various embodiments of the present application have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations are apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to explain the principles of the embodiments, practical applications or improvements to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.