Restraint system real-time control method and device based on model forward iterative prediction

Through the real-time control method of constrained systems based on model forward iterative prediction, using discretized prediction models and non-online optimization real-time controllers to iteratively predict and weighted control input variables, the problem of introducing system constraints and nonlinear reference states in the existing technology is solved. , achieving high real-time and low-cost control effects.

CN118567227APending Publication Date: 2024-08-30UNIV OF SCI & TECH BEIJING
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410583679.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-11
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing automatic control methods are difficult to explicitly take system constraints into account, and cannot introduce future nonlinear reference states, resulting in limited convergence and accuracy of the control system. Moreover, the online optimization solution cost is high and cannot be implemented on low-cost hardware. Real-time control.

Method used

A real-time control method for the constraint system based on forward iterative prediction of the model is adopted. By establishing a discretized prediction model and a non-online optimized real-time controller, it iteratively predicts the state in the time domain, calculates and weights the input variables, and performs single-step and final constraint processing to ensure Incorporation of system constraints and high real-time performance.

Benefits of technology

It achieves explicit consideration of system constraints, can introduce future nonlinear reference states, without the need for online optimization solutions, has high real-time performance and control accuracy, and reduces computational costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567227A
    Figure CN118567227A
Patent Text Reader

Abstract

The invention discloses a constraint system real-time control method and device based on model forward iteration prediction, and belongs to the technical field of automatic control, and the method comprises the steps: building a discretization prediction model of a controlled object and a non-online optimization real-time controller; calculating a current control input variable and carrying out constraint processing on the current control input variable to obtain a constrained current control input variable; iteratively predicting states in a time domain and calculating a control input variable of each step to obtain a plurality of future control input variables; and carrying out weighted summation on the obtained future control input variables and carrying out constraint processing on the future control input variables to obtain a final control input variable. By adopting the scheme of the invention, system constraints are explicitly considered, a future nonlinear reference state can be introduced, online optimization solution is not needed, and the real-time performance is relatively high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automatic control, and in particular to a real-time control method and device for a constraint system based on model forward iterative prediction. Background Art

[0002] Among the existing automatic control methods, other control methods except the model predictive control method cannot explicitly take system constraints into consideration, and it is difficult to introduce a large amount of future reference state information. Therefore, when the control system has input variable constraints, input increment constraints and other constraints, the control system based on these control methods is difficult to respond in advance, and its convergence and accuracy will be greatly negatively affected, and large oscillations or even control failures may occur. The model predictive control method can explicitly take system constraints into consideration, and the future nonlinear reference state can be taken into consideration based on multi-preview point nonlinear model predictive control and multi-preview point linear model predictive control. Therefore, better convergence and accuracy can be guaranteed by early response, but these methods require online optimization and solution, with high computational cost, and cannot achieve real-time control on low-cost hardware.

[0003] In summary, there is currently a lack of control methods that can explicitly take system constraints into account, introduce future nonlinear reference states, do not require online optimization solutions, and have high real-time performance. Summary of the invention

[0004] The present invention provides a real-time control method and device for a constraint system based on forward iterative prediction of a model, so as to solve the technical problem that there is currently a lack of a control method that can explicitly take system constraints into consideration, can introduce future nonlinear reference states, does not require online optimization solutions, and has high real-time performance.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] In one aspect, the present invention provides a real-time control method for a restraint system based on forward iterative model prediction, the real-time control method for a restraint system based on forward iterative model prediction comprising:

[0007] Establish a discrete prediction model of the controlled object;

[0008] Construct a non-online optimized real-time controller for the controlled object;

[0009] The current control input variable is calculated by using a non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing to obtain the constrained current control input variable;

[0010] Based on the current control input variables after constraints, the discrete prediction model and the non-online optimization real-time controller are used to iteratively predict the state in the time domain and calculate the control input variables at each step to obtain multiple future control input variables;

[0011] Performing weighted summation on the obtained multiple future control input variables to obtain a weighted summed control input variable;

[0012] The weighted control input variables are constrained to obtain the final control input variables.

[0013] Furthermore, based on the current control input variables after the constraints, the discrete prediction model and the non-online optimization real-time controller are used to iteratively predict the state in the time domain and calculate the control input variables at each step to obtain multiple future control input variables, including:

[0014] Step 1: Substitute the constrained current control input variables into the discretization prediction model, and use the discretization prediction model to predict the state of the controlled object after one iteration cycle;

[0015] Step 2: Based on the state of the controlled object obtained in step 1, the control input variable after one iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after one iteration cycle after the constraint is recorded as the future control input variable;

[0016] Step 3, substituting the currently obtained future control input variable into the discretization prediction model to predict the state of the controlled object after the next iteration cycle of the iteration cycle corresponding to the currently obtained future control input variable;

[0017] Step 4: Based on the state of the controlled object obtained in step 3, the control input variable after the corresponding iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after the corresponding iteration cycle after the constraint is used as the new future control input variable;

[0018] Step 5, iteratively execute steps 3 to 4 until the product of the iteration cycle and the number of iterations is equal to the prediction time domain, at which time the number of future control input variables equal to the number of iterations is obtained.

[0019] Furthermore, the formula for the single-step constraint processing is expressed as:

[0020]

[0021] Among them, δ o(t+1) represents the constrained control input variable obtained at the first iteration at time t; δ(t) represents the actual control input variable at time t; δ(t+1) represents the control input variable obtained at the first iteration at time t; δ lim Indicates the limit value of the control input variable; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0022] Furthermore, the formula for constraining the weighted summed control input variables is expressed as:

[0023]

[0024] Among them, δ fo (t+1) represents the weighted sum of the final output of the controller at time t+1 and the constrained control input variable; δ fo (t) represents the actual control input variable at time t; δ a (t+1) represents the weighted sum of the control input variables of the controller at time t+1; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0025] On the other hand, the present invention also provides a real-time control device for a restraint system based on forward iterative model prediction, the real-time control device for a restraint system based on forward iterative model prediction comprising:

[0026] Basic model building blocks for:

[0027] Establish a discrete prediction model of the controlled object;

[0028] Construct a non-online optimized real-time controller for the controlled object;

[0029] A single-step control input variable constraint module is used to calculate the current control input variable using the non-online optimization real-time controller constructed by the basic model construction module, and perform single-step constraint processing on the calculated control input variable to obtain the constrained current control input variable;

[0030] The control variable iterative prediction module in the time domain is used to iteratively predict the state in the time domain and calculate the control input variable of each step based on the constrained current control input variable output by the single-step control input variable constraint module, using a discretized prediction model and a non-online optimization real-time controller, to obtain multiple future control input variables;

[0031] A time-domain control variable weighting module, used for performing weighted summation on a plurality of future control input variables output by the time-domain control variable iterative prediction module to obtain a weighted summed control input variable;

[0032] The final control input variable constraint module is used to perform constraint processing on the weighted control input variables output by the control variable weighting module in the time domain to obtain the final control input variables.

[0033] Furthermore, the control variable iterative prediction module in the time domain is specifically used to perform the following steps:

[0034] Step 1: Substitute the constrained current control input variables into the discretization prediction model, and use the discretization prediction model to predict the state of the controlled object after one iteration cycle;

[0035] Step 2: Based on the state of the controlled object obtained in step 1, the control input variable after one iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after one iteration cycle after the constraint is recorded as the future control input variable;

[0036] Step 3, substituting the currently obtained future control input variable into the discretization prediction model to predict the state of the controlled object after the next iteration cycle of the iteration cycle corresponding to the currently obtained future control input variable;

[0037] Step 4: Based on the state of the controlled object obtained in step 3, the control input variable after the corresponding iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after the corresponding iteration cycle after the constraint is used as the new future control input variable;

[0038] Step 5, iteratively execute steps 3 to 4 until the product of the iteration cycle and the number of iterations is equal to the prediction time domain, at which time the number of future control input variables equal to the number of iterations is obtained.

[0039] Furthermore, the formula for the single-step constraint processing is expressed as:

[0040]

[0041] Among them, δ o (t+1) represents the constrained control input variable obtained at the first iteration at time t; δ(t) represents the actual control input variable at time t; δ(t+1) represents the control input variable obtained at the first iteration at time t; δ lim Indicates the limit value of the control input variable; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0042] Furthermore, the formula for constraining the weighted summed control input variables is expressed as:

[0043]

[0044] Among them, δ fo (t+1) represents the weighted sum of the final output of the controller at time t+1 and the constrained control input variable; δ fo (t) represents the actual control input variable at time t; δ a (t+1) represents the weighted sum of the control input variables of the controller at time t+1; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0045] On the other hand, the present invention further provides an electronic device, comprising a processor and a memory; wherein the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the above method.

[0046] In yet another aspect, the present invention further provides a computer-readable storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the above method.

[0047] The beneficial effects brought about by the technical solution provided by the present invention include at least:

[0048] The present invention is based on a discrete prediction model and a non-online optimization real-time controller. By constraining single-step control input variables, iteratively predicting states in the time domain and calculating control variables at each step, weighted predicting control variables in the time domain, and constraining final control input variables, the system constraints can be explicitly taken into consideration, future nonlinear reference states can be introduced, and no online optimization solution is required, thereby having high real-time performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of 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 creative work.

[0050] Figure 1 It is a schematic diagram of the execution flow of the real-time control method of the constraint system based on model forward iterative prediction provided by an embodiment of the present invention;

[0051] Figure 2 It is a schematic diagram of the system structure of a real-time control device for a constraint system based on forward iterative prediction of a model provided in an embodiment of the present invention;

[0052] Figure 3 It is a system block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0053] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.

[0054] First of all, it should be noted that in the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplarily" is intended to present the concept in a concrete way. In addition, in the embodiments of the present invention, the meaning expressed by "and / or" can be both, or it can be either of the two.

[0055] First embodiment

[0056] In response to the current lack of a control method that can explicitly take system constraints into consideration, introduce future nonlinear reference states, and does not require online optimization and solution, and has high real-time performance, this embodiment provides a real-time control method for a constraint system based on model forward iterative prediction. The real-time control method for a constraint system can be implemented by an electronic device, which can be a terminal or a server.

[0057] The execution flow of this method is as follows Figure 1 As shown, the following steps are included:

[0058] S1, establish a discrete prediction model of the controlled object;

[0059] It should be noted that the discretization prediction model is a necessary basic component of the scheme of the present invention, but it is also a conventional technical means of the general model predictive control method, so this embodiment does not limit this. Here, the discretization prediction model is briefly introduced only from the perspective of ensuring the integrity of the scheme.

[0060] The discretization prediction model is based on the mathematical model of the controlled object, taking the kinematic model of an unmanned vehicle as an example:

[0061]

[0062] Among them, x and y are the horizontal and vertical coordinates of the center of the rear axle of the unmanned vehicle in the global coordinate system; θ is the heading angle of the unmanned vehicle in the global coordinate system; v is the longitudinal speed; δ is the equivalent front wheel turning angle, which is the control input; l is the wheelbase.

[0063] Generally speaking, it can be abstracted as:

[0064]

[0065] in:

[0066]

[0067] The model can be discretized by the Euler method or the Runge-Kutta method. Taking the Euler method as an example, we can get:

[0068] ξ(t+1)=ξ(t)+Tf(ξ(t),u(t+1)) (4)

[0069] Among them, t is the time; T is the iteration period.

[0070] S2, constructing a non-online optimized real-time controller for the controlled object;

[0071] It should be noted that the non-online optimization real-time controller is a necessary basic component of the solution of the present invention, but it is also a conventional technical means in the field, so this embodiment does not specifically limit it. Here, only from the perspective of ensuring the integrity of the solution, the non-online optimization real-time controller is briefly introduced.

[0072] The non-online optimization real-time controller can adopt a variety of control methods, such as PID control, sliding mode control, etc. Taking the path tracking control of an unmanned vehicle as an example, Stanley control can be used:

[0073] δ=δ d +δ h (5)

[0074] in:

[0075]

[0076] Among them, δ d is the control law component corresponding to the lateral error; k is the control gain coefficient; δ h is the control law component corresponding to the heading error; y kl is the ordinate of the key reference point in the vehicle body coordinate system. The key reference point is the point on the reference path that is closest to the center of the front axle of the controlled vehicle model. θ is the heading of the vehicle in the global coordinate system. k is the heading of the reference path at the key reference point in the global coordinate system; k ,y k is the horizontal and vertical coordinates of the key reference point in the global coordinate system; f ,y f are the horizontal and vertical coordinates of the midpoint of the vehicle's front axle in the global coordinate system.

[0077] The conversion relationship between the front and rear axle centers is:

[0078]

[0079] S3, using the non-online optimization real-time controller to calculate the current control input variable, and performing single-step constraint processing on the calculated control input variable to obtain the constrained current control input variable;

[0080] It should be noted that the above S3 is for constraining the single-step control input variables, and in order to constrain the control input variables, it is first necessary to use a non-online optimization real-time controller to calculate the current control input variables.

[0081] Taking the path tracking control of an unmanned vehicle as an example, by substituting the current coordinates and heading of the unmanned vehicle and the current key reference points, the control input variables required at the moment can be obtained. The control input variables are constrained according to the control input variable constraints and control input increment constraints of the system:

[0082]

[0083] Wherein, the subscript o represents the control variable output by the controller, the subscript lim represents the constraint, and Δ represents the increment. o (t+1) represents the control input variable after the first forward iteration prediction and constraint at time t; δ(t) represents the control input variable after the 0th forward iteration prediction and constraint at time t, that is, the actual control input variable at time t; δ(t+1) represents the control input variable predicted by the first forward iteration at time t; δ lim Indicates the limit value of the control input variable; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0084] S4, based on the current control input variables after constraints, using the discretized prediction model and the non-online optimization real-time controller, iteratively predicts the state in the time domain and calculates the control input variables at each step to obtain multiple future control input variables;

[0085] Among them, it should be noted that the above S4 is for iteratively predicting the state in the time domain and calculating the control variables for each step; its specific implementation process is: the constrained control input variables are substituted into the discretized prediction model, the state of the controlled object after one iteration cycle can be predicted, and its state and the key reference point corresponding to the future moment are substituted into the non-online optimization real-time controller, and then the control input variables are constrained to obtain the control input variables after one iteration cycle. Substituting the control input variables into the discretized prediction model, the state of the controlled object after two iteration cycles can be predicted, and its state and the key reference point corresponding to the future moment are substituted into the non-online optimization real-time controller, and then the control input variables are constrained to obtain the control input variables after two iteration cycles. The above process is looped until the product of the iteration cycle and the number of iterations is equal to the prediction time domain and stops.

[0086] S5, performing weighted summation on the obtained multiple future control input variables to obtain a weighted summed control input variable;

[0087] It should be noted that the above S5 is for weighted prediction of control variables in the time domain; after the above iterative prediction, a number of future control inputs equal to the number of iterations can be obtained, and these inputs are weighted and summed to obtain the final control variable. When weighting, if the weight of the near future is larger, better anti-residual ability can be obtained, and if the weight of the far future is larger, better anti-oscillation ability can be obtained.

[0088] S6, performing constraint processing on the weighted summed control input variables to obtain the final control input variables;

[0089] It should be noted that the above S6 is to constrain the final control input variable; after constraining the single-step control input variable, the weighted summation result will not exceed the control input variable constraint, but may exceed the control input increment constraint, causing the change of the control input variable to exceed the actuator response capability, so the final control input variable needs to be constrained. Take the path tracking control of an unmanned vehicle as an example:

[0090]

[0091] Among them, the subscript fo represents the control variable finally output by the controller in this control cycle, and the subscript a represents the result of the control variable in the weighted prediction time domain. fo (t+1) represents the weighted sum of the final output of the controller at time t+1 and the constrained control input variable; δ fo (t) represents the actual control input variable at time t; δ a (t+1) represents the weighted sum of the control input variables of the controller at time t+1; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

[0092] In summary, this embodiment provides a real-time control method for a constraint system based on model forward iterative prediction. The method is based on a discretized prediction model and a non-online optimization real-time controller. By constraining single-step control input variables, iteratively predicting the state in the time domain and calculating the control variables for each step, weightedly predicting the control variables in the time domain, and constraining the final control input variables, the system constraints can be explicitly taken into consideration, future nonlinear reference states can be introduced, and there is no need for online optimization solution, so the method has high real-time performance.

[0093] Second embodiment

[0094] This embodiment provides a real-time control device for a restraint system based on model forward iterative prediction. The system structure of the real-time control device for a restraint system based on model forward iterative prediction is as follows: Figure 2 As shown, including:

[0095] Basic model building blocks for:

[0096] Establish a discrete prediction model of the controlled object;

[0097] Construct a non-online optimized real-time controller for the controlled object;

[0098] A single-step control input variable constraint module is used to calculate the current control input variable using the non-online optimization real-time controller constructed by the basic model construction module, and perform single-step constraint processing on the calculated control input variable to obtain the constrained current control input variable;

[0099] The control variable iterative prediction module in the time domain is used to iteratively predict the state in the time domain and calculate the control input variable of each step based on the constrained current control input variable output by the single-step control input variable constraint module, using a discretized prediction model and a non-online optimization real-time controller, to obtain multiple future control input variables;

[0100] A time-domain control variable weighting module, used for performing weighted summation on a plurality of future control input variables output by the time-domain control variable iterative prediction module to obtain a weighted summed control input variable;

[0101] The final control input variable constraint module is used to perform constraint processing on the weighted summed control input variables output by the control variable weighting module in the time domain to obtain the final control input variables.

[0102] It should be noted that, for the sake of convenience, Figure 2 Only the main components of the device are shown. Moreover, the real-time control device for a restraint system based on model forward iteration prediction of this embodiment corresponds to the real-time control method for a restraint system based on model forward iteration prediction of the first embodiment; wherein, the functions implemented by each functional module in the real-time control device for a restraint system based on model forward iteration prediction of this embodiment correspond to each process step in the real-time control method for a restraint system based on model forward iteration prediction of the first embodiment; therefore, no further description is given here.

[0103] Third embodiment

[0104] This embodiment provides an electronic device, such as Figure 3As shown, the electronic device includes: a processor and a memory; wherein the processor and the memory can be connected via a communication bus; the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method of the first embodiment. In addition, the electronic device may also include a transceiver, the processor and the transceiver can be connected via a communication bus, and the transceiver is used to communicate with other devices.

[0105] Next, combine Figure 3 The following is a detailed introduction to the various components of the electronic device:

[0106] Among them, the processor is the control center of the electronic device, and the electronic device may include multiple processors, each of which may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor here may be a processor or a general term for multiple processing elements. For example, the processor is one or more central processing units (CPUs), or other general-purpose processors, application specific integrated circuits (ASICs), or one or more integrated circuits configured to implement an embodiment of the present invention, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (field programmable gate arrays, FPGAs), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor may execute various functions of the electronic device by running or executing software programs stored in the memory and calling data stored in the memory.

[0107] In a specific implementation, as an embodiment, the processor may include one or more CPUs, such as Figure 3 The CPU0 and CPU1 shown in the figure are, of course, only exemplary.

[0108] The memory is used to store the software program for executing the solution of the present invention, and the execution is controlled by the processor. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0109] Optionally, the memory may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may be integrated with the processor or exist independently and accessed through the interface circuit ( Figure 3 (not shown) is coupled to the processor, which is not specifically limited in this embodiment of the present invention.

[0110] The transceiver may include a receiver and a transmitter ( Figure 3 The receiver is used to implement the receiving function, and the transmitter is used to implement the sending function. The transceiver can be integrated with the processor or exist independently and communicate with the electronic device through the interface circuit ( Figure 3 (not shown) is coupled to the processor, which is not specifically limited in this embodiment of the present invention.

[0111] In addition, it should be noted that Figure 3 The structure of the electronic device shown in the figure does not constitute a limitation on the device, and the actual device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In addition, the technical effects achieved by the electronic device when executing the method of the first embodiment above can refer to the technical effects described in the first embodiment above, so they are not repeated here.

[0112] Fourth embodiment

[0113] This embodiment provides a computer-readable storage medium, which stores at least one instruction, and the instruction is loaded and executed by a processor to implement the method of the first embodiment. The computer-readable storage medium may be a ROM, a random access memory, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc. The instructions stored therein may be loaded by a processor in a terminal to execute the method.

[0114] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiment of the present invention can be in the form of a full or partial hardware embodiment, a full or partial software embodiment or an embodiment combining software and hardware. Moreover, when implemented using software, the embodiment of the present invention can be in the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program codes. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center containing one or more available media sets. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium. The semiconductor medium may be a solid state hard disk.

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

[0116] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0117] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or terminal 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 terminal device. In the absence of more restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements. In addition, the term "and / or" is only an association relationship describing the associated objects, indicating that there can be three relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone, wherein A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding. "At least one" means one or more, and "plurality" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can be represented by: a, b, c, ab, ac, bc or abc, where a, b, c can be single or plural.

[0118] In addition, it can be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0119] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0120] In several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of functional modules / units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0121] If the method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0122] Finally, it should be noted that the above is only a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for ordinary technicians in this technical field, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.

Claims

1. A real-time control method for constraint systems based on model forward iterative prediction, It is characterized in that include: Establish a discrete prediction model of the controlled object; Construct a non-online optimized real-time controller for the controlled object; The current control input variable is calculated by using a non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing to obtain the constrained current control input variable; Based on the current control input variables after constraints, the discrete prediction model and the non-online optimization real-time controller are used to iteratively predict the state in the time domain and calculate the control input variables at each step to obtain multiple future control input variables; Performing weighted summation on the obtained multiple future control input variables to obtain a weighted summed control input variable; The control input variables after weighted summation are constrained to obtain the final control input variables.

2. The real-time control method for a constraint system based on model forward iterative prediction according to claim 1, It is characterized in that Based on the current control input variables after constraints, the discrete prediction model and the non-online optimization real-time controller are used to iteratively predict the state in the time domain and calculate the control input variables at each step to obtain multiple future control input variables, including: Step 1: Substitute the constrained current control input variables into the discretization prediction model, and use the discretization prediction model to predict the state of the controlled object after one iteration cycle; Step 2: Based on the state of the controlled object obtained in step 1, the control input variable after one iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after one iteration cycle after the constraint is recorded as the future control input variable; Step 3, substituting the currently obtained future control input variable into the discretization prediction model to predict the state of the controlled object after the next iteration cycle of the iteration cycle corresponding to the currently obtained future control input variable; Step 4: Based on the state of the controlled object obtained in step 3, the control input variable after the corresponding iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after the corresponding iteration cycle after the constraint is used as the new future control input variable; Step 5, iteratively execute steps 3 to 4 until the product of the iteration cycle and the number of iterations is equal to the prediction time domain, at which time the number of future control input variables equal to the number of iterations is obtained.

3. The real-time control method for a constraint system based on model forward iterative prediction according to claim 1, It is characterized in that The formula for the single-step constraint processing is expressed as: Among them, δ o (t+1) represents the constrained control input variable obtained at the first iteration at time t; δ(t) represents the actual control input variable at time t; δ(t+1) represents the control input variable obtained at the first iteration at time t; δ lim Indicates the limit value of the control input variable; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

4. The real-time control method for a constraint system based on model forward iterative prediction according to claim 1, It is characterized in that The formula for constraining the weighted summed control input variables is expressed as: Among them, δ fo (t+1) represents the weighted sum of the final output of the controller at time t+1 and the constrained control input variable; δ fo (t) represents the actual control input variable at time t; δ a (t+1) represents the weighted sum of the control input variables of the controller at time t+1; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

5. A real-time control device for a constraint system based on model forward iterative prediction, It is characterized in that include: Basic model building blocks for: Establish a discrete prediction model of the controlled object; Construct a non-online optimized real-time controller for the controlled object; A single-step control input variable constraint module is used to calculate the current control input variable using the non-online optimization real-time controller constructed by the basic model construction module, and perform single-step constraint processing on the calculated control input variable to obtain the constrained current control input variable; The control variable iterative prediction module in the time domain is used to iteratively predict the state in the time domain and calculate the control input variable of each step based on the constrained current control input variable output by the single-step control input variable constraint module, using a discretized prediction model and a non-online optimization real-time controller, to obtain multiple future control input variables; A time-domain control variable weighting module, used for performing weighted summation on a plurality of future control input variables output by the time-domain control variable iterative prediction module to obtain a weighted summed control input variable; The final control input variable constraint module is used to perform constraint processing on the weighted summed control input variables output by the control variable weighting module in the time domain to obtain the final control input variables.

6. The real-time control device for a restraint system based on model forward iterative prediction as claimed in claim 5, It is characterized in that The control variable iterative prediction module in the time domain is specifically used to perform the following steps: Step 1: Substitute the constrained current control input variables into the discretization prediction model, and use the discretization prediction model to predict the state of the controlled object after one iteration cycle; Step 2: Based on the state of the controlled object obtained in step 1, the control input variable after one iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after one iteration cycle after the constraint is recorded as the future control input variable; Step 3, substituting the currently obtained future control input variable into the discretization prediction model to predict the state of the controlled object after the next iteration cycle of the iteration cycle corresponding to the currently obtained future control input variable; Step 4: Based on the state of the controlled object obtained in step 3, the control input variable after the corresponding iteration cycle is calculated using the non-online optimization real-time controller, and the calculated control input variable is subjected to single-step constraint processing, and the control input variable after the corresponding iteration cycle after the constraint is used as the new future control input variable; Step 5, iteratively execute steps 3 to 4 until the product of the iteration cycle and the number of iterations is equal to the prediction time domain, at which time the number of future control input variables equal to the number of iterations is obtained.

7. The real-time control device for a restraint system based on model forward iterative prediction according to claim 5, It is characterized in that The formula for the single-step constraint processing is expressed as: Among them, δ o (t+1) represents the constrained control input variable obtained at the first iteration at time t; δ(t) represents the actual control input variable at time t; δ(t+1) represents the control input variable obtained at the first iteration at time t; δ lim Indicates the limit value of the control input variable; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.

8. The real-time control device for a restraint system based on model forward iterative prediction according to claim 5, It is characterized in that The formula for constraining the weighted summed control input variables is expressed as: Among them, δ fo (t+1) represents the weighted sum of the final output of the controller at time t+1 and the constrained control input variable; δ fo (t) represents the actual control input variable at time t; δ a (t+1) represents the weighted sum of the control input variables of the controller at time t+1; Δδ lim Represents the limit value of the control input variable increment for a single-step iteration.