CN103425048B - A kind of multi-model generalized predictable control system and its control method based on dynamic optimization - Google Patents

A kind of multi-model generalized predictable control system and its control method based on dynamic optimization Download PDF

Info

Publication number
CN103425048B
CN103425048B CN201310191901.9A CN201310191901A CN103425048B CN 103425048 B CN103425048 B CN 103425048B CN 201310191901 A CN201310191901 A CN 201310191901A CN 103425048 B CN103425048 B CN 103425048B
Authority
CN
China
Prior art keywords
value
model
time
output
optimization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310191901.9A
Other languages
Chinese (zh)
Other versions
CN103425048A (en
Inventor
王昕�
宋治强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiao Tong University
Original Assignee
Shanghai Jiao Tong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiao Tong University filed Critical Shanghai Jiao Tong University
Priority to CN201310191901.9A priority Critical patent/CN103425048B/en
Publication of CN103425048A publication Critical patent/CN103425048A/en
Application granted granted Critical
Publication of CN103425048B publication Critical patent/CN103425048B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

一种基于动态优化的多模型广义预测控制系统,其包括动态优化层、MPC层以及基础控制层;所述动态优化层位于上层,其计算出关键控制变量的优化值作为MPC层的最优设定值;所述MPC层位于下层在待优化变量满足模型动态行为的条件下采用滚动优化的预测算法对该待优化变量进行调节,使其跟踪S1中得出的最优设定值;所述基础控制层位于底层,将该待优化变量的最终优化值送至执行机构。本发明降低系统成本消耗,提高系统经济效益,并且可以提高系统暂态性能以及系统模型参数跳变的调节能力,同时还可以有效的消除扰动对系统输出的干扰。

A multi-model generalized predictive control system based on dynamic optimization, which includes a dynamic optimization layer, an MPC layer and a basic control layer; fixed value; the MPC layer is located in the lower layer and adopts the prediction algorithm of rolling optimization to adjust the variable to be optimized under the condition that the variable to be optimized satisfies the dynamic behavior of the model, so that it can track the optimal set value obtained in S1; the said The basic control layer is located at the bottom layer, and the final optimized value of the variable to be optimized is sent to the actuator. The invention reduces system cost consumption, improves system economic benefits, and can improve the system transient performance and the adjustment ability of system model parameter jumps, and can effectively eliminate the interference of disturbance on system output at the same time.

Description

一种基于动态优化的多模型广义预测控制系统及其控制方法A multi-model generalized predictive control system and its control method based on dynamic optimization

技术领域technical field

本发明涉及控制优化领域,尤其涉及一种基于动态优化的多模型广义预测控制系统的设计方法。The invention relates to the field of control optimization, in particular to a design method of a multi-model generalized predictive control system based on dynamic optimization.

背景技术Background technique

生产全球化加剧的市场竞争使得对降低成本消耗,提高经济效益的要求越来越高。过程的操作性能优化可以为企业生产创造巨大的利益,因此需要更有效、更先进的优化和控制策略应用到相关的工业设备中。基于稳态模型的传统过程优化技术已经取得了非凡的成就,对于模型时变不强烈的过程有良好的优化效果。但在实际工业中,经常出现模型时变强烈的现象,导致基于稳态模型的传统优化技术很难满足现代化工业的要求。动态优化可以较好的处理具有强烈时变、反应机理较为复杂的工业过程,并且很多学者将动态优化与模型预测控制结合组成分层式预测控制结构来对工业设备进行优化,并取得了不错地效果。The market competition intensified by the globalization of production makes the requirements for reducing cost consumption and improving economic benefits increasingly high. The optimization of the operational performance of the process can create huge benefits for the production of enterprises, so more effective and advanced optimization and control strategies are required to be applied to related industrial equipment. The traditional process optimization technology based on the steady-state model has made remarkable achievements, and it has a good optimization effect on the process whose model is not strongly time-varying. However, in the actual industry, the time-varying phenomenon of the model often occurs, which makes it difficult for the traditional optimization technology based on the steady-state model to meet the requirements of the modern industry. Dynamic optimization can better deal with industrial processes with strong time-varying and complex reaction mechanisms, and many scholars combine dynamic optimization with model predictive control to form a hierarchical predictive control structure to optimize industrial equipment, and have achieved good results. Effect.

传统的动态优化与模型预测控制结合组成分层式预测控制结构中,MPC层多采用单模型预测控制器,但实际工业过程中,经常出现过程参数随生产运行跳变的情况。由于实际生产过程非常复杂,很难建立一个简洁的全局控制模型,因此单一模型的预测控制器很难满足参数时变或跳变时系统仍处于良好控制状态的要求。多模型的方法可以有效的处理复杂工业过程中的多工作点和参数时变问题,不少学者也已将多模型预测控制运用到化工、制药、电力等领域,并取得很好的效果。但由于随机噪声的存在使得常规的多模型很难与实际过程特征相匹配。因此如何建立一个即可以考虑经济效益又可以保证系统的暂态性能和跳变时调节能力的控制器是目前特需解决的一个问题。In the traditional dynamic optimization and model predictive control combined to form a layered predictive control structure, the MPC layer mostly uses a single model predictive controller, but in actual industrial processes, process parameters often jump with production operations. Due to the complexity of the actual production process, it is difficult to establish a concise global control model, so the predictive controller of a single model is difficult to meet the requirements that the system is still in a good control state when the parameters change or jump. The multi-model method can effectively deal with multi-operating points and time-varying parameters in complex industrial processes. Many scholars have also applied multi-model predictive control to chemical, pharmaceutical, electric power and other fields and achieved good results. However, due to the existence of random noise, it is difficult for the conventional multi-model to match the actual process characteristics. Therefore, how to establish a controller that can not only consider the economic benefits but also ensure the transient performance of the system and the ability to adjust when jumping is a problem that needs to be solved at present.

发明内容Contents of the invention

1.为解决上述难题,本发明提供了一种基于动态优化的多模型广义预测控制系统,其特征在于,包括动态优化层、MPC层以及基础控制层;1. For solving the above-mentioned difficult problem, the invention provides a kind of multi-model generalized predictive control system based on dynamic optimization, it is characterized in that, comprises dynamic optimization layer, MPC layer and basic control layer;

所述动态优化层位于上层,其采用控制向量参数化与粒子群优化算法的结合对经济目标函数进行动态优化获得关键变量的最优值的轨迹,该最优值作为所述MPC层的优化设定值;The dynamic optimization layer is located at the upper layer, and it adopts the combination of control vector parameterization and particle swarm optimization algorithm to dynamically optimize the economic objective function to obtain the track of the optimal value of the key variable, which is used as the optimization design of the MPC layer. Value;

所述MPC层位于下层,其在待优化变量满足模型动态行为的条件下采用滚动优化的预测算法对待优化变量进行调节,使其跟踪所述最优设定值;The MPC layer is located in the lower layer, and it adopts a predictive algorithm of rolling optimization to adjust the variable to be optimized under the condition that the variable to be optimized satisfies the dynamic behavior of the model, so that it can track the optimal set value;

所述基础控制层位于底层,其用于将待优化变量的最终优化值送至执行机构。The basic control layer is located at the bottom layer, which is used to send the final optimized value of the variable to be optimized to the actuator.

较佳地,所述模型动态行为包括模型参数变化与干扰影响。Preferably, the dynamic behavior of the model includes model parameter changes and disturbance effects.

较佳地,所述MPC层采用多个固定模型和自适应模型来并行辨识系统的动态特性。Preferably, the MPC layer uses multiple fixed models and adaptive models to identify the dynamic characteristics of the system in parallel.

较佳地,所述基础控制层包括一PID控制器,所述PID控制器用于抑制、消除进入到过程中的扰动对输出的影响。Preferably, the basic control layer includes a PID controller, and the PID controller is used to suppress and eliminate the influence of the disturbance entering the process on the output.

本发明还提供了种基于动态优化的多模型广义预测控制系统的工作方法,其包括以下步骤:The present invention also provides a working method of a multi-model generalized predictive control system based on dynamic optimization, which includes the following steps:

S1:所述动态优化层针对系统的经济目标函数及其时变约束采用控制向量参数化与粒子群优化算法的结合的方法获取关键变量的最优值轨迹,并将该轨迹将作为下层MPC层的最优设定值参考轨迹;S1: The dynamic optimization layer uses the combination of control vector parameterization and particle swarm optimization algorithm to obtain the optimal value trajectory of key variables for the economic objective function of the system and its time-varying constraints, and uses this trajectory as the lower MPC layer The optimal set value reference trajectory of ;

S2:所述MPC层采用滚动优化的预测算法对过程中待优化的变量满足模型参数变化和干扰影响动态行为的条件下进行调节,使其跟踪S1中得出的该变量的最优设定值轨迹,并且采用多个固定模型和自适应模型来并行辨识系统的动态特性;S2: The MPC layer adopts the rolling optimization prediction algorithm to adjust the variable to be optimized in the process under the condition that the model parameter changes and the disturbance affects the dynamic behavior, so that it can track the optimal setting value of the variable obtained in S1 Trajectories, and multiple fixed and adaptive models are used to identify the dynamic characteristics of the system in parallel;

S3:所述基础层通过PID作用抑制、消除进入到过程中的扰动对输出的影响,并将该变量的最终优化值送到执行结构。S3: The base layer suppresses and eliminates the influence of the disturbance entering the process on the output through the PID function, and sends the final optimized value of the variable to the execution structure.

较佳地,所述关键变量的最优值轨迹的获取过程包括以下步骤:Preferably, the process of obtaining the optimal value track of the key variable includes the following steps:

S11:首先将时间区间[t0,tf]分成相同的多段,每段用分段常数轨迹近似最优轨迹,得到多个待优化控制参数;S11: First divide the time interval [t 0 ,t f ] into the same multiple segments, each segment approximates the optimal trajectory with a piecewise constant trajectory, and obtains multiple control parameters to be optimized;

S12:粒子群初始化:设置粒子数m、维数D、两个学习因子c1,c2,位置上下界xmax,xmin及最大迭代次数M,初始位置,初始速度,初始化全局最优解gBest以及局部最优解pBest;S12: Particle swarm initialization: set the number of particles m, dimension D, two learning factors c 1 , c 2 , position upper and lower bounds x max , x min and maximum number of iterations M, initial position, initial velocity, and initialize the global optimal solution gBest and local optimal solution pBest;

S13:计算各粒子适应度,更新局部最优值和全局最优值;S13: Calculate the fitness of each particle, update the local optimal value and the global optimal value;

S14:计算更新速度与更新位置,如果位置超过上下界则设定为边界值;S14: Calculate the update speed and update position, if the position exceeds the upper and lower bounds, set it as the boundary value;

S15:判断是否达到最大迭代次数,若没有则返回c)继续计算。若满足条件则输出当前最优值。S15: Determine whether the maximum number of iterations is reached, if not, return to c) to continue calculation. If the conditions are met, the current optimal value is output.

较佳地,在步骤S2中,被控对象为:A(z-1)y(k)=B(z-1)u(k-1)+ξ(k)/Δ,多模型集表示为:Preferably, in step S2, the controlled object is: A(z -1 )y(k)=B(z -1 )u(k-1)+ξ(k)/Δ, and the multi-model set is expressed as :

Δyi(k)=φi(k)Tθ0(k)+ξi(k)Δy i (k)=φ i (k) T θ 0 (k)+ξ i (k)

i=1,2…,m,m+1,m+2i=1,2...,m,m+1,m+2

其中 in

φ(k)=[-Δy(k-1)…-Δy(k-na)Δu(k-1)+…Δu(k-nb-1)];φ(k)=[-Δy(k-1)...-Δy(kn a )Δu(k-1)+...Δu(kn b -1)];

自适应模型采用如下递推最小二乘法进行系统动态特性的辨识:The adaptive model uses the following recursive least squares method to identify the dynamic characteristics of the system:

K(k)=P(k-1)φ(k)[φ(k)TP(K-1)φ(k)+μ]-1 K(k)=P(k-1)φ(k)[φ(k) T P(K-1)φ(k)+μ] -1

式中0<μ<1为遗忘因子,K(k)为权因子,P(k)为正定协方差阵;In the formula, 0<μ<1 is the forgetting factor, K(k) is the weight factor, and P(k) is the positive definite covariance matrix;

多模型切换指标表示为:The multi-model switching index is expressed as:

i=1,2,...,m+2 i=1,2,...,m+2

上式为模型i在时刻k的性能指标,其中ei(k)为第i个模型在k时刻的输出误差,γ和η是当前和过去时刻的误差权重,ρ为误差遗忘因子,L为过去时刻误差长度,在k时刻,会根据性能指标Ji最小切换到相应模型。The above formula is the performance index of model i at time k, where e i (k) is the output error of the i-th model at time k, γ and η are the error weights at the current and past time, ρ is the error forgetting factor, and L is The error length in the past time, at time k , will switch to the corresponding model according to the minimum performance index Ji.

较佳地,所述PID的性能优化指标为Preferably, the performance optimization index of the PID is

式中E{·}为数学期望,wr为输出期望值,Nu为控制时域,λ为控制加权系数,k表示时刻;In the formula, E{·} is the mathematical expectation, w r is the expected output value, Nu is the control time domain, λ is the control weighting coefficient, and k is the time;

对象输出的期望值为wr(k+j)=w(k+j)j∈{1,2,…,N},式中w(k+j)为上层动态优化所给的关键变量设定值,N为优化时域终止时刻。The expected value of the object output is w r (k+j)=w(k+j)j∈{1,2,…,N}, where w(k+j) is the key variable setting given by the upper dynamic optimization value, and N is the end time of the optimization time domain.

与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:

1.降低系统成本消耗,提高系统经济效益;1. Reduce system cost consumption and improve system economic benefits;

2.提高系统暂态性能;2. Improve the transient performance of the system;

3.提高系统模型参数跳变的调节能力;3. Improve the adjustment ability of the system model parameter jump;

4.可以有效的消除扰动对系统输出的干扰。4. It can effectively eliminate the interference of disturbance to the system output.

附图说明Description of drawings

图1为本发明实施例提供的控制器的结构示意图;FIG. 1 is a schematic structural diagram of a controller provided by an embodiment of the present invention;

图2为本发明实施例提供的多模型切换结构示意图;FIG. 2 is a schematic diagram of a multi-model switching structure provided by an embodiment of the present invention;

图3为本发明实施例提供的控制器仿真结果示意图。FIG. 3 is a schematic diagram of a controller simulation result provided by an embodiment of the present invention.

具体实施例specific embodiment

本发明提供了一种基于动态优化的多模型广义预测控制系统,如图1所示,包括动态优化层、MPC层以及基础控制层;所述动态优化层位于上层,其计算出关键控制变量的最优值作为MPC层的最优设定值;所述MPC层位于下层在该待优化变量满足模型动态行为的条件下采用滚动优化的预测算法对该待优化变量进行调节,使其跟踪S1中得出的最优设定值;所述基础控制层位于底层,将该待优化变量的最终优化值送至执行机构。The present invention provides a kind of multi-model generalized predictive control system based on dynamic optimization, as shown in Figure 1, comprises dynamic optimization layer, MPC layer and basic control layer; The optimal value is used as the optimal setting value of the MPC layer; the MPC layer is located in the lower layer, and the rolling optimization prediction algorithm is used to adjust the variable to be optimized under the condition that the variable to be optimized satisfies the dynamic behavior of the model, so that it can track The obtained optimal setting value; the basic control layer is located at the bottom layer, and the final optimized value of the variable to be optimized is sent to the actuator.

本发明具体的控制过程包括以下步骤:包括以下步骤:Concrete control process of the present invention comprises the following steps: comprises the following steps:

S1:所述动态优化层针对系统的经济目标函数及其时变约束采用控制向量参数化与粒子群优化算法的结合的方法获取关键变量的最优值轨迹,并将该轨迹将作为下层MPC层的参考轨迹;S1: The dynamic optimization layer uses the combination of control vector parameterization and particle swarm optimization algorithm to obtain the optimal value trajectory of key variables for the economic objective function of the system and its time-varying constraints, and uses this trajectory as the lower MPC layer the reference trajectory;

S2:所述MPC层采用滚动优化的预测算法对过程中待优化的变量满足模型参数变化和干扰影响动态行为的条件下进行调节,使其跟踪S1中得出的该变量的最优设定值轨迹,并且采用多个固定模型和自适应模型来并行辨识系统的动态特性;S2: The MPC layer adopts the rolling optimization prediction algorithm to adjust the variable to be optimized in the process under the condition that the model parameter changes and the disturbance affects the dynamic behavior, so that it can track the optimal setting value of the variable obtained in S1 Trajectories, and multiple fixed and adaptive models are used to identify the dynamic characteristics of the system in parallel;

S3:所述基础层通过PID作用抑制、消除进入到过程中的扰动对输出的影响,并将该变量的最终优化值送到执行结构。S3: The base layer suppresses and eliminates the influence of the disturbance entering the process on the output through the PID function, and sends the final optimized value of the variable to the execution structure.

步骤S1中,动态优化求取关键变量的最优值轨迹步骤如下:In step S1, the steps of dynamic optimization to obtain the optimal value trajectory of key variables are as follows:

S11首先将时间区间[t0,tf]分成相同的N段,每段用分段常数轨迹近似最优轨迹,得到N个的待优化控制参数。S11 first divides the time interval [t 0 ,t f ] into the same N segments, each segment uses a piecewise constant trajectory to approximate the optimal trajectory, and obtains N control parameters to be optimized.

S12粒子群初始化:设置粒子数m、维数D、两个学习因子c1,c2,位置上下界xmax,xmin及最大迭代次数M,初始位置,初始速度,初始化全局最优解gBest和局部最优解pBestS12 Particle swarm initialization: set the number of particles m, dimension D, two learning factors c 1 , c 2 , position upper and lower bounds x max , x min and maximum number of iterations M, initial position, initial velocity, and initialize the global optimal solution gBest and the local optimal solution pBest

S13计算各粒子适应度,更新局部最优值和全局最优值。S13 calculates the fitness of each particle, and updates the local optimal value and the global optimal value.

S14计算更新速度和更新位置。如果位置超过上下界设定为边界值S14 calculates update speed and update position. If the position exceeds the upper and lower bounds set to the boundary value

S15判断是否达到最大迭代次数,若没有则返回c)继续计算。若满足条件则输出当前最优值S15 judges whether the maximum number of iterations is reached, if not, returns to c) to continue calculation. If the conditions are met, output the current optimal value

步骤S2中关于多模型广义预测控制器设计如下In step S2, the multi-model generalized predictive controller design is as follows

被控对象表示为:The controlled object is expressed as:

A(z-1)y(k)=B(z-1)u(k-1)+ξ(k)/Δ (1)A(z -1 )y(k)=B(z -1 )u(k-1)+ξ(k)/Δ (1)

其中in

式中z-1为后移算子;y(k)、u(k)、ξ(k)分别为系统的输出,输入和均值为零的白噪声序列;Δ=1-z-1为差分算子。In the formula, z -1 is the backward shift operator; y(k), u(k), and ξ(k) are the output of the system, the input and the white noise sequence with zero mean; Δ=1-z -1 is the difference operator.

多模型集表示为:A multi-model set is represented as:

Δyi(k)=φi(k)Tθ0(k)+ξi(k) (2)Δy i (k)=φ i (k) T θ 0 (k)+ξ i (k) (2)

i=1,2…,m,m+1,m+2i=1,2...,m,m+1,m+2

其中in

φ(k)=[-Δy(k-1)…-Δy(k-na)Δu(k-1)+…Δu(k-nb-1)]φ(k)=[-Δy(k-1)...-Δy(kn a )Δu(k-1)+...Δu(kn b -1)]

当i=1,2,…,m时,θi(k)为固定模型的恒定值,相对于单个模型,m个固定模型可以提高系统的暂态性能。When i=1,2,...,m, θ i (k) is a constant value of the fixed model, and m fixed models can improve the transient performance of the system compared with a single model.

当i=m+1,m+2时,模型为一个自适应模型和一个可赋值自适应模型。自适应模型在线实时辨识系统参数不仅可以消除稳态误差保证了系统的收敛性而且能够保证系统的稳定性,可赋初值的自适应模型的引入则进一步提高了系统的暂态性能,增加了系统的快速性。可采用如下递推最小二乘算法进行模型参数的辨识When i=m+1, m+2, the model is an adaptive model and an assignable adaptive model. The online real-time identification of system parameters by the adaptive model can not only eliminate the steady-state error and ensure the convergence of the system, but also ensure the stability of the system. The introduction of the adaptive model that can be assigned an initial value further improves the transient performance of the system and increases the The rapidity of the system. The following recursive least squares algorithm can be used to identify the model parameters

K(k)=P(k-1)φ(k)[φ(k)TP(K-1)φ(k)+μ]-1 K(k)=P(k-1)φ(k)[φ(k) T P(K-1)φ(k)+μ] -1

式中0<μ<1为遗忘因子;K(k)为权因子;P(k)为正定协方差阵In the formula, 0<μ<1 is the forgetting factor; K(k) is the weight factor; P(k) is the positive definite covariance matrix

多模型切换指标表示为:The multi-model switching index is expressed as:

i=1,2,...,m+2 (4) i=1,2,...,m+2 (4)

式(4)为模型i在时刻k的性能指标,式中ei(k)为第i个模型在k时刻的输出误差;γ和η是当前和过去时刻的误差权重;ρ为误差遗忘因子;L为过去时刻误差长度。在k时刻,会根据性能指标Ji最小切换到相应模型。Equation (4) is the performance index of model i at time k, where e i (k) is the output error of the i-th model at time k; γ and η are the error weights of the current and past time; ρ is the error forgetting factor ; L is the error length in the past time. At time k, it will switch to the corresponding model according to the minimum performance index J i .

控制器设计:Controller design:

k时刻的性能优化指标为The performance optimization index at time k is

式中E{·}为数学期望;wr为输出期望值;Nu为控制时域;λ为控制加权系数对象输出的期望值为In the formula, E{·} is the mathematical expectation; w r is the expected value of the output; Nu is the control time domain; λ is the expected value of the control weighting coefficient object output

wr(k+j)=w(k+j)j∈{1,2,…,N} (6)w r (k+j)=w(k+j)j∈{1,2,…,N} (6)

式中为上层动态优化所给的关键变量设定值(模型输出设定值),N为优化时域终止时刻。In the formula It is the key variable setting value (model output setting value) given by the dynamic optimization of the upper layer, and N is the end time of the optimization time domain.

为了利用公式(1)来计算出第i步后输出预测值,首先引入引入丢番图方程In order to use the formula (1) to calculate the output prediction value after the i-th step, first introduce the Diophantine equation

1=Ej(z-1)A(z-1)Δ+z-jFj(z-1) (7)1=E j (z -1 )A(z -1 )Δ+z -j F j (z -1 ) (7)

Ej(z-1)B(z-1)=Gj(z-1)+z-jHj(z-1) (8)E j (z -1 )B(z -1 )=G j (z -1 )+z -j H j (z -1 ) (8)

式中In the formula

Ej(z-1)=ej,0+ej,1z-1+…+ej,j-1z-(j-1) E j (z -1 )=e j,0 +e j,1 z -1 +…+e j,j-1 z -(j-1)

Gj(z-1)=gj,0+gj,1z-1+…+gj,j-1z-(j-1) G j (z -1 )=g j,0 +g j,1 z -1 +…+g j,j-1 z -(j-1)

式中In the formula

F(z-1)=[F1(z-1),…,FN(z-1)]T F(z -1 )=[F 1 (z -1 ),…,F N (z -1 )] T

H(z-1)=[H1(z-1),…HN(z-1)]T H(z -1 )=[H 1 (z -1 ),…H N (z -1 )] T

由此可得实际输出控制量为From this, the actual output control quantity can be obtained as

u(k)=u(k-1)+Δu(k|k)。u(k)=u(k-1)+Δu(k|k).

实施例Example

S1动态优化层设为如下过程数学模型:The S1 dynamic optimization layer is set as the following process mathematical model:

x(0)=[300]T,0≤δ(k)≤30,k∈[0,kf] (11)x(0)=[300] T ,0≤δ(k)≤30,k∈[0,k f ] (11)

式中,f为经济目标函数,xA,xB为与关键变量δ(k)有关的两个参数。In the formula, f is the economic objective function, and x A and x B are two parameters related to the key variable δ(k).

将时间区间分成相同的10段,然后PSO参数设置粒子数取m=10,维数D=10,学习因子c1=2,c2=2,最大迭代次数为500.通过动态优化得到关键变量的设定值,并将此设定值作为多模型广义预测控制器的参考轨迹。Divide the time interval into the same 10 segments, and then set the PSO parameters as m=10, dimension D=10, learning factor c 1 =2, c 2 =2, and the maximum number of iterations is 500. The key variables are obtained through dynamic optimization , and use this set value as the reference trajectory of the multi-model generalized predictive controller.

S2MPC层被控对象表示为:The S2MPC layer controlled object is expressed as:

y(k)+a1y(k-1)+a2y(k-2)=b1u(k-1)+b2u(k-2)+ξ(k)/Δy(k)+a 1 y(k-1)+a 2 y(k-2)=b 1 u(k-1)+b 2 u(k-2)+ξ(k)/Δ

控制步数取为300,a1=-1.8,a2=1.2,b1=1,b2=2,在150步时系统参数发生跳变。跳变为a1=-0.8,a2=-1.2,b1,b2保持不变。ξ(k)为[0.1,-0.1]均匀分布的白噪声固定模型取为a1={-2,-1},a2={-2,-1,1,1.5,2},b1=1,b2=2共10个,自适应模型参数初始值均取为0.1。对应的多模型切换指标为:The number of control steps is 300, a 1 =-1.8, a 2 =1.2, b 1 =1, b 2 =2, and the system parameters jump at 150 steps. The jump becomes a 1 =-0.8, a 2 =-1.2, b 1 and b 2 remain unchanged. ξ(k) is [0.1,-0.1] uniformly distributed white noise fixed model is taken as a 1 ={-2,-1}, a 2 ={-2,-1,1,1.5,2}, b 1 =1, b 2 =2, a total of 10, and the initial values of the adaptive model parameters are all taken as 0.1. The corresponding multi-model switching index is:

具体切换执行形式如附图2所示,根据切换指标切换到相应模型作为对象输出的模型The specific switching execution form is shown in Figure 2, and the corresponding model is switched to the model output as the object according to the switching index

k时刻的性能优化指标去为The performance optimization index at time k is

对象输出的期望值。即MPC中的参考轨迹有下式得到The expected value of the object's output. That is, the reference trajectory in MPC is obtained by the following formula

wr(k+j)=w(k+j)j∈{1,2,…,N}w r (k+j)=w(k+j)j∈{1,2,…,N}

式中w()为S1求出的关键变量的参考轨迹(模型输出设定值),N为优化时域终止时刻。In the formula, w() is the reference trajectory of the key variable (model output setting value) calculated by S1, and N is the end time of the optimization time domain.

引入引入丢番图方Diophantine square

1=Ej(z-1)A(z-1)Δ+z-jFj(z-1)1=E j (z -1 )A(z -1 )Δ+z -j F j (z -1 )

Ej(z-1)B(z-1)=Gj(z-1)+z-jHj(z-1)E j (z -1 )B(z -1 )=G j (z -1 )+z -j H j (z -1 )

have to

由此可得实际输出控制量为From this, the actual output control quantity can be obtained as

u(k)=u(k-1)+Δu(k|k)u(k)=u(k-1)+Δu(k|k)

从图3的仿真效果可以看出,在达到稳态前,本发明设计的暂态性能更优,输出量变化更加平缓,随干扰的波动较小,即对于参考轨迹的跟踪性能更好,在第150步发生跳变后的控制性能也得到明显的提高。It can be seen from the simulation effect in Fig. 3 that before reaching the steady state, the transient performance of the design of the present invention is better, the change of the output is more gentle, and the fluctuation with the disturbance is small, that is, the tracking performance for the reference trajectory is better. The control performance after the jump in the 150th step is also significantly improved.

与现有技术相比,本发明降低系统成本消耗,提高系统经济效益,并且可以提高系统暂态性能以及系统模型参数跳变的调节能力,同时还可以有效的消除扰动对系统输出的干扰。Compared with the prior art, the present invention reduces system cost consumption, improves system economic benefits, and can improve system transient performance and adjustment ability of system model parameter jump, and can effectively eliminate disturbance to system output.

以上公开的本发明优选实施例只是用于帮助阐述本发明。优选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本发明的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本发明。本发明仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of the invention disclosed above are only to help illustrate the invention. The preferred embodiments are not exhaustive in all detail, nor are the inventions limited to specific embodiments described. Obviously, many modifications and variations can be made based on the contents of this specification. This description selects and specifically describes these embodiments in order to better explain the principle and practical application of the present invention, so that those skilled in the art can well understand and utilize the present invention. The invention is to be limited only by the claims, along with their full scope and equivalents.

Claims (1)

1. A dynamic optimization-based optimization method of a multi-model generalized predictive control system is characterized by comprising the following steps:
s1: the dynamic optimization layer adopts a method of combining control vector parameterization and particle swarm optimization algorithm aiming at the economic objective function and the time-varying constraint of the system to obtain the optimal value track of the key variable, and the track is used as the optimal setting value reference track of the lower MPC layer;
s2: the MPC layer adopts a rolling optimization prediction algorithm to adjust the variables to be optimized in the process under the condition that the variables meet the model parameter change and the dynamic behavior is influenced by interference, so that the MPC layer tracks the optimal set value reference track of the MPC layer obtained in S1, and adopts a plurality of fixed models and self-adaptive models to parallelly identify the dynamic characteristics of the system;
s3: the base layer inhibits and eliminates the influence of disturbance entering the process on output through PID action, and sends the final optimized value of the variable to an execution structure; the process for acquiring the optimal value track of the key variable comprises the following steps:
s11: first, the time interval t0,tf]Dividing the data into a plurality of sections, wherein each section is similar to the optimal track by using a section constant track to obtain a plurality of control parameters to be optimized;
s12: initializing a particle swarm: setting the number of particles m, the dimension D and two learning factors c1,c2Upper and lower bounds of position xmax,xminThe maximum iteration number M, the initial position, the initial speed, the global optimal solution gBest and the local optimal solution pBest are initialized;
s13: calculating the fitness of each particle, and updating a local optimal value and a global optimal value;
s14: calculating the updating speed and the updating position, and setting the updating speed and the updating position as boundary values if the positions exceed upper and lower boundaries;
s15: judging whether the maximum iteration number is reached, if not, returning to S13 for continuous calculation, and if so, outputting the current optimal value; in step S2, the controlled object is: a (z)-1)y(k)=B(z-1) u (k-1) + ξ (k)/Δ, the multiple model set is expressed as:
Δyi(k)=φi(k)Tθ0(k)+ξi(k)
i=1,2…,m,m+1,m+2
whereinTo actually optimize the system parameters of the target object model,
phi (k) is a general expression of the input and output values of the actual optimization target object
φ(k)=[-Δy(k-1)…-Δy(k-na)Δu(k-1)+…Δu(k-nb-1)]Form(s) ofSet of vectors of composition phii(k) For the input and output values of the i-th model, according to phi (k) [ -deltay (k-1) … -deltay (k-n)a)Δu(k-1)+…Δu(k-nb-1)]The vector set is formed in a form, wherein delta y (k-1) is the difference value of the output value y (k-1) of the system at the k-1 moment and the output value y (k-2) of the system at the k-2 moment, and delta u (k-1) is the difference value of the input value u (k-1) of the system at the k-1 moment and the input value u (k-2) of the system at the k-2 moment;
wherein, ξi(k) Represents the noise of the system at time k; n isaRepresenting a controlled object;
A(z-1)y(k)=B(z-1) A (z) in u (k-1) + ξ (k)/Δ-1) Order of (1), nbRepresenting controlled objects
A(z-1)y(k)=B(z-1) u (k-1) + ξ (k)/Δ B (z)-1) The order of (a);represents theta at time k-1 for system dynamics identification according to the recursive least squares method0An estimated value; when i is 1,2, …, m, thetai(k) Being constant values of the fixed model, m fixed models may improve the transient performance of the system relative to a single model,
wherein,
A ( z - 1 ) = 1 + a 1 z - 1 + ...... + a n a z - n a
B ( z - 1 ) = b 0 + b 1 z - 1 + ...... + b n b z - n b
in the formula z-1For the post-shift operator, y (k), u (k), ξ (k) are respectively the output of the system, the input and the white noise sequence with zero mean value, and Delta is 1-z-1Is a difference operator;
the adaptive model adopts the following recursive least square method to identify the dynamic characteristics of the system:
K(k)=P(k-1)φ(k)[φ(k)TP(k-1)φ(k)+μ]-1
P ( k ) = 1 &mu; &lsqb; 1 - K ( k ) &phi; ( k ) T &rsqb; P ( k - 1 )
wherein 0< mu <1 is forgetting factor, K (k) is weight factor, P (k) is positive covariance matrix;
the multi-model switching index is expressed as:
J i = &gamma;e i 2 ( k ) + &eta; &Sigma; j = 1 L &rho; j e i 2 ( k - j ) , i = 1 , 2 , ... , m + 2
the above equation is the performance index of model i at time k, where ei(k) For the output error of the ith model at time k, γ and η are the error weights of the current and past times, ρ is the error forgetting factor, L is the error length of the past time, and at time k, the performance index J is usediMinimum switching to the corresponding model; the performance optimization indexes of the PID are as follows:
min J ( k ) = E { &Sigma; j = 1 N &lsqb; y ( k + j | k ) - w r ( k + j ) &rsqb; 2 + &Sigma; j = 1 N u &lambda; &lsqb; &Delta; u ( k + j - 1 | k ) &rsqb; 2 } ,
where E {. is a mathematical expectation, wrIs wr(k) Abbreviated and output expected value, NuIn order to control the time domain, lambda is a control weighting coefficient, k represents the time, and y (k + j/k) is the output of k + j time obtained by prediction according to the input and the output of k time; u (k + j-1/k) is input at the moment k + j-1 which is obtained by input and output prediction at the moment k;
the expected value of the output of the object is wr(k + j) ═ w (k + j) j ∈ {1,2, …, N }, where w (k + j) is the key variable set value given by the upper layer dynamic optimization and N is the optimization time domain termination time;
the expected values of the object outputs are:
wr(k+j)=w(k+j)j∈{1,2,…,N}
in the formula, w (k + j) is a key variable set value given by upper layer dynamic optimization, namely a model output set value, and N is an optimization time domain termination time;
in order to calculate the output predicted value after the ith step, firstly introducing a loss map equation:
1=Ej(z-1)A(z-1)Δ+z-jFj(z-1)
Ej(z-1)B(z-1)=Gj(z-1)+z-jHj(z-1)
in the formula:
Ej(z-1)=ej,0+ej,1z-1+…+ej,j-1z-(j-1)
F j ( z - 1 ) = f j , 0 + f j , 1 z - 1 + ... + f j , n a z - n a
Gj(z-1)=gj,0+gj,1z-1+…+gj,j-1z-(j-1)
H j ( z - 1 ) = h j , 0 + h j , 1 z - 1 + ... + h j , n b - 1 z - ( n b - 1 )
&Delta; u ( k ) = Q T ( w r - F ( z - 1 ) y ( k ) - H ( z - 1 ) &Delta; u ( k - 1 ) ) Q T Q + &lambda; ( 1 + &beta; 2 + ... &beta; 2 ( N u - 1 ) )
in the formula:
Q = g 1 , 0 g 2 , 1 + &beta;g 1 , 0 . . . g i , N u - 1 + &beta;g i - 1 , N u - 2 + ... &beta; N u - 1 g 1 , 0 . . . g j , N - 1 + &beta;g j - 1 , N - 2 + ... &beta; N u - 1 g j - N u + 1 , N - N u
F(z-1)=[F1(z-1),…,FN(z-1)]T
H(z-1)=[H1(z-1),…HN(z-1)]T
wherein, gj,iIs a polynomial Gj(z-1) The actual output control quantity obtained by this method is:
u(k)=u(k-1)+Δu(k|k);
Ej(z-1) And Fj(z-1) Are respectively satisfying Ej(z-1)=ej,0+ej,1z-1+…+ej,j-1z-(j-1)Andbased on polynomial form and under the condition of known A (z)-1) According to 1 ═ Ej(z-1)A(z-1)Δ+z-jFj(z-1) Solving the obtained polynomial;
wherein n isaRepresents a controlled object A (z)-1)y(k)=B(z-1) A (z) in u (k-1) + ξ (k)/Δ-1) J is the desired optimization step size, j ∈ {1,2, …, N } and N is the optimized time domain termination time, ej.0……ej.j-1Represents Ej(z-1) The coefficient value obtained in correspondence with the calculated value,is represented by Fj(z-1) The corresponding found coefficient value;
then, E is obtainedj(z-1) And known B (z)-1) According to formula Ej(z-1)B(z-1)=Gj(z-1)+z-jHj(z-1) Determine Gj(z-1)=gj,0+gj,1z-1+…+gj,j-1z-(j-1)Polynomial of form Gj(z-1)、Hj(z-1) Wherein g isj.0……gj.j-1Each represents Gj(z-1)、Hj(z-1) The obtained corresponding coefficient;nbRepresents a controlled object A (z)-1)y(k)=B(z-1) u (k-1) + ξ (k)/Δ B (z)-1) The order of (a);
wherein beta is an influence coefficient and beta belongs to [0,1 ];
when j takes 1,2, … and N respectively to obtain Fj(z-1) Then, according to the formula F (z)-1)=[F1(z-1),…,FN(z-1)]TCan obtain F (z)-1) (ii) a Similarly, when j takes 1,2, …, N respectively to obtain Hj(z-1) Then, H (z) can be obtained-1) (ii) a After all variables are derived, the controller output increment at time k, Δ u (k | k), which represents the difference between the input value at time k and the input value at time k-1, can be derived.
CN201310191901.9A 2013-05-22 2013-05-22 A kind of multi-model generalized predictable control system and its control method based on dynamic optimization Expired - Fee Related CN103425048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310191901.9A CN103425048B (en) 2013-05-22 2013-05-22 A kind of multi-model generalized predictable control system and its control method based on dynamic optimization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310191901.9A CN103425048B (en) 2013-05-22 2013-05-22 A kind of multi-model generalized predictable control system and its control method based on dynamic optimization

Publications (2)

Publication Number Publication Date
CN103425048A CN103425048A (en) 2013-12-04
CN103425048B true CN103425048B (en) 2017-03-15

Family

ID=49649963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310191901.9A Expired - Fee Related CN103425048B (en) 2013-05-22 2013-05-22 A kind of multi-model generalized predictable control system and its control method based on dynamic optimization

Country Status (1)

Country Link
CN (1) CN103425048B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104977848B (en) * 2014-04-03 2018-11-09 北京中科富海低温科技有限公司 A kind of pneumatic control valve and its Dynamics Optimization method
CN104199296B (en) * 2014-08-15 2017-02-08 上海交通大学 Linear regression performance evaluation method with forgetting factor
CN104375475B (en) * 2014-08-19 2018-05-04 上海交通大学 The optimal control method of Batch reaction processes in batch reactor
US10386796B2 (en) 2014-12-11 2019-08-20 University Of New Brunswick Model predictive controller and method with correction parameter to compensate for time lag
CN107615184B (en) * 2015-06-05 2021-02-09 国际壳牌研究有限公司 System and method for estimating and controlling background element switching of a model in an application for model prediction
CN105223812A (en) * 2015-09-17 2016-01-06 浙江大学 A kind of method for designing of rare acetone rectifying industrial dynamics optimal control layer output constraint
CN105182752B (en) * 2015-09-17 2018-04-27 浙江大学 A kind of Fast design method of dilute acetone rectifying industrial dynamics optimal control layer output constraint
US9771883B1 (en) * 2016-03-22 2017-09-26 GM Global Technology Operations LLC Supervisory model predictive control in an engine assembly
CN107065576B (en) * 2017-06-14 2019-10-29 重庆科技学院 Reaction-regeneration system optimal control method based on PSO-DMPC
CN107180279B (en) * 2017-06-14 2020-08-25 重庆科技学院 Optimal control method of reaction regeneration system based on QPSO-DMPC
CN108549228B (en) * 2018-04-18 2021-02-02 南京工业大学 Multivariate DMC system model mismatch channel positioning method based on cross evaluation
CN108490902B (en) * 2018-04-24 2021-06-25 长春融成智能设备制造股份有限公司 Control parameter self-correction algorithm based on process-type production task
CN109375515B (en) * 2018-12-05 2021-07-13 北京航天自动控制研究所 An online identification method of dynamic characteristics for online trajectory planning of vertical take-off and landing rockets
EP4111266A1 (en) * 2020-02-28 2023-01-04 3M Innovative Properties Company Deep causal learning for advanced model predictive control
CN114200840B (en) * 2021-12-10 2023-05-23 广东工业大学 Traditional Chinese medicine pharmaceutical process operation optimization method based on distributed model predictive control
CN116193254B (en) * 2022-12-30 2024-10-18 北京凌云光子技术有限公司 Lens control method, lens control device and lens control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348481A (en) * 2003-05-22 2004-12-09 Jgc Corp Process control unit and method
CN101286045A (en) * 2008-05-12 2008-10-15 杭州电子科技大学 A hybrid control method for a coal-fired boiler system
CN101813917A (en) * 2010-03-19 2010-08-25 浙江工业大学 Industrial model predictive control method realizing dynamic optimization based on linear programming
CN102998974A (en) * 2012-11-28 2013-03-27 上海交通大学 Multi-model generalized predictive control system and performance evaluation method thereof
CN103048927A (en) * 2012-12-28 2013-04-17 浙江大学 Model prediction control method for rectification system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7826909B2 (en) * 2006-12-11 2010-11-02 Fakhruddin T Attarwala Dynamic model predictive control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004348481A (en) * 2003-05-22 2004-12-09 Jgc Corp Process control unit and method
CN101286045A (en) * 2008-05-12 2008-10-15 杭州电子科技大学 A hybrid control method for a coal-fired boiler system
CN101813917A (en) * 2010-03-19 2010-08-25 浙江工业大学 Industrial model predictive control method realizing dynamic optimization based on linear programming
CN102998974A (en) * 2012-11-28 2013-03-27 上海交通大学 Multi-model generalized predictive control system and performance evaluation method thereof
CN103048927A (en) * 2012-12-28 2013-04-17 浙江大学 Model prediction control method for rectification system

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
Adaptive Constrained Predictive PID Controller via Particle Swarm Optimization;Song Ying et al.;《Proceedings of the 26th Chinese Control Conference July 26-31, 2007, Zhangjiajie, Hunan, China》;20070731;第729-733页 *
Generalized Predictive Control based on Particle Swarm Optimization for Linear/Nonlinear Process with constraints;Zenghui Wang et al.;《2010 Second International Conference on Computational Intelligence and Natural Computing (CINC)》;20101231;第303-306页 *
一种新型的快速无超调预测控制器及其应用;陈增强 等;《工业仪表与自动化装置》;20020815(第4期);第3-5页 *
基于改进粒子群算法的约束广义预测控制算法;杜希奇 等;《科学技术与工程》;20110531;第11卷(第14期);第3306-3309页 *
基于粒子群优化的有约束模型预测控制器;董娜 等;《控制理论与应用》;20090930;第26卷(第9期);第965-969页 *
基于粒子群算法的广义预测控制及其应用研究;李瑞瑞;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130115(第1期);全文 *
多模型阶梯式广义预测控制策略研究;李小田;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120615(第6期);全文 *

Also Published As

Publication number Publication date
CN103425048A (en) 2013-12-04

Similar Documents

Publication Publication Date Title
CN103425048B (en) A kind of multi-model generalized predictable control system and its control method based on dynamic optimization
CN103472723A (en) Predictive control method and system based on multi-model generalized predictive controller
Júnior et al. A PSO-based optimal tuning strategy for constrained multivariable predictive controllers with model uncertainty
CN105222648B (en) Linear pseudo-spectrum GNEM guidance and control method
Ding Dynamic output feedback MPC for LPV systems via near-optimal solutions
Chang et al. Sliding mode fuzzy control for Takagi–Sugeno fuzzy systems with bilinear consequent part subject to multiple constraints
CN104698842B (en) A kind of LPV model nonlinear forecast Control Algorithms based on interior point method
CN101114166A (en) A Contour Control Method for Complicated Trajectories
Sun et al. Process knowledge-based random forest regression for model predictive control on a nonlinear production process with multiple working conditions
CN113359445A (en) Distributed output feedback asymptotic consistent control method for multi-agent hysteresis system
CN109254530A (en) MFA control method based on grinding process basis circuit
CN105974795A (en) Model prediction control method for inhibiting low-frequency oscillation of electric power system based on controllable reactor
Liu et al. Adaptive dynamic programming for optimal control of unknown nonlinear discrete-time systems
Mamboundou et al. Indirect adaptive model predictive control supervised by fuzzy logic
CN111240201B (en) Disturbance suppression control method
Ren et al. A new grey wolf optimizer tuned extended generalized predictive control for distillation process
Lagrat et al. Fuzzy sliding mode PI controller for nonlinear systems
Mohammed et al. Optimal controller design for the system of ball-on-sphere: the linear quadratic Gaussian (LQG) case
Ho et al. Multivariable Adaptive Predictive Model Based Control of
Zhang et al. Adaptive integral sliding-mode finite-time control with integrated extended state observer for uncertain nonlinear systems
Hermansson et al. Multiple model predictive control of nonlinear pH neutralization system
CN109828459B (en) Steady control implementation method based on multivariable constraint interval predictive control
Mei et al. Fast model predictive control based on multiscale system theory
Azuma et al. Receding horizon Nash game approach for distributed nonlinear control
Ma et al. Data-Driven Iterative Learning Model Predictive Control With Self-Modified Prior Knowledge

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170315

Termination date: 20200522

CF01 Termination of patent right due to non-payment of annual fee