The invention discloses a simultaneous solution method of singular optimal control based on partial mobile finite element nodes. The difficulty of solving the singular optimal control problem is that it is difficult to find the switching point between the singular arc and the non-singular arc accurately. This method discretizes the singular optimal control problem into a non-linear programming problem by using the orthogonal collocation of the finite element method. The switching function based on the control equation is used to determine the location of the finite element nodes that need to move, and the location of the finite element nodes that need to move in this part is determined. As optimization variables and control variables, the switching points between singular and non-singular arcs can be found with high accuracy. For a large number of singular optimal control problems existing in the production process, the present invention can obtain a high-precision optimal control curve with fast calculation speed, and is suitable for solving large-scale singular optimal control problems.
【技术实现步骤摘要】
一种基于部分移动有限元节点的奇异最优控制联立求解方法
本专利技术涉及过程系统控制领域,尤其涉及一种基于部分移动有限元节点的联立求解方法。
技术介绍
奇异最优控制问题在化工、制药等生产过程中是普遍存在的,比如催化剂混合、分批补料培养中代谢产物的优化等等。对于过程系统控制中经常出现的奇异最优控制问题,经典的处理方法是正则化方法,Jacobson提出在目标函数中增加惩罚因子,将求解奇异最优控制问题变成求解一系列非奇异的最优控制子问题[JacobsonD,GershwinS,LeleM.ComputationofOptimalSingularControls[J].IEEETransactionsonAutomaticControl,1970,15(1):67-73]。但是这种方法计算繁琐,计算量大,并且当惩罚因子接近0时,会导致数值计算困难。即使利用目前已有的商业化的伪谱法求解正则化方法的子问题,依然得不到好的结果。另外,伪谱法为提高计算精度,在求解过程中会加入大量的网格节点或者增加插值多项式的阶数,因此其求解子问题的计算量也会很大[DarbyCL,HagerWW,RaoAV.Anhp-AdaptivePseudospectralMethodforSolvingOptimalControlProblems[J].OptimalControlApplicationsandMethods,2011,32(4):476-502]。
技术实现思路
本专利技术的目的在于针对现有技术的不足,提出了一种基于部分移动有限元节点的奇异最优控制联立求解方法。本专利技术的目的是通过以下技 ...
【技术保护点】
1.一种基于部分移动有限元节点的奇异最优控制联立求解方法,其特征在于,包括以下步骤:步骤一:将控制时域等分成M个有限元,在每个有限元上采用P个正交配置点,将原奇异最优控制问题离散为非线性规划问题,求解非线性规划问题得到近似的最优控制曲线。步骤二:检测每个有限元上相邻配置点之间的非配置点上离散误差,若小于指定的容差ε1,则进行步骤三;否则在非配置点上插入有限元节点,重新求解非线性规划问题直到非配置点上的离散误差满足容差ε1为止,并将该步骤得到的最终的有限元个数记为N,有限元节点分布记为a1,a2,…,aN。步骤三:基于得到的近似最优控制曲线,计算各个有限元上切换函数,若切换函数的值与理论上的值不相符则插入新的有限元节点,并将新插入的有限元节点和控制变量一起作为待优化的变量进行寻优,得到改进后最优控制曲线。步骤四:基于改进后最优控制曲线,若第j个有限元上的控制曲线斜率大于预定的阈值,则删除该有限元,否则计算结束。步骤五:若步骤四中有过删除有限元,则固定剩下的所有有限元节点,重新优化控制曲线,并结束计算。
【技术特征摘要】
1.一种基于部分移动有限元节点的奇异最优控制联立求解方法,其特征在于,包括以下步骤:步骤一:将控制时域等分成M个有限元,在每个有限元上采用P个正交配置点,将原奇异最优控制问题离散为非线性规划问题,求解非线性规划问题得到近似的最优控制曲线。步骤二:检测每个有限元上相邻配置点之间的非配置点上离散误差,若小于指定的容差ε1,则进行步骤三;否则在非配置点上插入有限元节点,重新求解非线性规划问题直到非配置点上的离散误差满足容差ε1为止,并将该步骤得到的最终的有限元个数记为N,有限元节点分布记为a1,a2,…,aN。步骤三:基于得到的近似最优控制曲线,计算各个有限元上切换函数,若切换函数的值与理论上的值不相符则插入新的有限元节点,并将新插入的有限元...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。