arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.03833cs.LOcs.SYeess.SY
收藏

线性模型预测控制的验证实验:内点法算法的自动生成与形式验证

Experiments in Verification of Linear Model Predictive Control: Automatic Generation and Formal Verification of an Interior Point Method Algorithm

Onera - The French Aerospace Lab(法国航空航天实验室);CNRS LAAS(法国国家科学研究中心图卢兹实验室);Georgia Institute of Technology(佐治亚理工学院)

Guillaume Davy, Eric Féron, Pierre-Loïc Garoche, Didier Henrion

AI总结:

本文研究了线性模型预测控制中内点法算法的自动生成与形式验证,通过代码专门化阶段生成额外的注释来形式化算法的意图规范,并利用演绎方法自动证明这些断言的有效性,同时通过SMT求解器验证整个证明过程。

摘要:

传统的物理系统控制曾依赖于基本的线性控制器。这些控制器提供了安全和鲁棒的行为,但缺乏执行更复杂控制的能力,如激进的机动或执行燃油效率控制。另一种方法称为最优控制,能够计算此类困难轨迹,但缺乏适应环境动态变化的能力。在两种情况下,控制都是离线设计的,依赖于更或更复杂的算法来找到合适的参数。更近期的方法,如线性模型预测控制(MPC),依赖于在线使用凸优化来计算每个采样时间的最佳控制。在这些设置中,优化算法专门针对特定的控制问题并嵌入到设备中。本文提出重新审视内点法(IPM)算法的代码生成,这是一种高效的凸优化家族,重点在于在代码级别证明其实现的有效性。我们的方法依赖于代码专门化阶段来生成额外的注释,以形式化算法的意图规范。然后使用演绎方法自动证明这些断言的有效性。由于算法复杂,还生成额外的引理,使整个证明能够仅通过SMT求解器进行验证。这项工作是首次针对内点法算法的有效形式证明进行研究。这种方法也可以更系统地推广到代码生成框架中,为数值密集型软件生成证明证书。

英文摘要:

Classical control of cyber-physical systems used to rely on basic linear controllers. These controllers provided a safe and robust behavior but lack the ability to perform more complex controls such as aggressive maneuvering or performing fuel-efficient controls. Another approach called optimal control is capable of computing such difficult trajectories but lacks the ability to adapt to dynamic changes in the environment. In both cases, the control was designed offline, relying on more or less complex algorithms to find the appropriate parameters. More recent kinds of approaches such as Linear Model-Predictive Control (MPC) rely on the online use of convex optimization to compute the best control at each sample time. In these settings, optimization algorithms are specialized for the specific control problem and embed on the device. This paper proposes to revisit the code generation of an interior point method (IPM)algorithm, an efficient family of convex optimization, focusing on the proof of its implementation at code level. Our approach relies on the code specialization phase to produce additional annotations formalizing the intented specification of the algorithm. Deductive methods are then used to prove automatically the validity of these assertions. Since the algorithm is complex, additional lemmas are also produced, allowing the complete proofto be checked by SMT solvers only. This work is the first to address the effective formal proof of an IPM algorithm. Theapproach could also be generalized more systematically to code generation frameworks, producing proof certificate along the code, for numerical intensive software.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑