arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2503.11916eess.SYcs.SYmath.OC
收藏

使用幽灵代码和积分二次约束(IQC)形式化证明控制程序的不变系统性质

Formally Proving Invariant Systemic Properties of Control Programs Using Ghost Code and Integral Quadratic Constraints

Elias Khalife, Pierre-Loic Garoche, Mazen Farhood

AI总结:

本文提出结合逐点IQC过近似与Frama-C/ACSL/WP及幽灵代码的形式化方法,在模型和代码层级验证控制程序及闭环系统的不变性质。

摘要:

本文聚焦于在模型和代码两个层级上形式化验证控制程序的不变性质。物理过程由一个不确定离散时间状态空间系统描述,其中定义该系统的状态空间矩阵值函数对不确定性的依赖可以是有理的。所提出的方法利用逐点积分二次约束(IQC)来刻画影响系统行为的不确定性。多种不确定性均可由逐点IQC刻画,包括静态线性时变扰动和扇区有界非线性。借助IQC框架,构建了不确定系统的可靠过近似,且该过近似可在代码层级表达。研究采用Frama-C、ACSL、WP以及Alt-Ergo插件等工具,以确保状态和输出不变性质在实数模型与浮点模型中均成立。所提出的第一种方法可用于形式化验证控制代码的(局部)不变性质;该能力通过两个示例得到展示,示例涉及为无人航空器系统和自主水下航行器设计的增益调度路径跟踪控制器。第二种方法能够在实数模型和浮点模型中验证闭环不变性质,即受控系统作为整体的不变性质,同时保持可执行控制器代码的完整性。这是通过将附着于控制代码的幽灵代码用于所有与含不确定性被控对象模型相关的元素来实现的,因为幽灵代码不会干扰可执行代码。该方法的有效性通过四推进器气垫船控制和双质量旋转系统控制两个示例得到证明。

英文摘要:

This paper focuses on formally verifying invariant properties of control programs both at the model and code levels. The physical process is described by an uncertain discrete-time state-space system, where the dependence of the state-space matrix-valued functions defining the system on the uncertainties can be rational. The proposed approaches make use of pointwise integral quadratic constraints (IQCs) to characterize the uncertainties affecting the behavior of the system. Various uncertainties can be characterized by pointwise IQCs, including static linear time-varying perturbations and sector-bounded nonlinearities. Using the IQC framework, a sound overapproximation of the uncertain system, which is expressible at the code level, is constructed. Tools such as Frama-C, ACSL, WP, and an Alt-Ergo plugin are employed to ensure the validity of the state and output invariant properties across both real and float models. The first proposed approach can be used to formally verify (local) invariant properties of the control code. This capability is demonstrated in a couple of examples involving gain-scheduled path-following controllers designed for an uncrewed aircraft system and an autonomous underwater vehicle. The second approach enables the verification of closed-loop invariant properties, i.e., invariant properties of the controlled system as a whole, in both real and float models, while preserving the integrity of the executable controller code. This is achieved by using ghost code attached to the control code for all elements related to the plant model with uncertainties, as the ghost code does not interfere with the executable code. The effectiveness of this approach is demonstrated in two examples on the control of a four-thruster hovercraft and the control of a two-mass rotational system.

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

↑