We study automated test generation for verifying discrete decision-making modules in autonomous systems. We utilize linear temporal logic to encode the requirements on the system under test in the system specification and the behavior that we want to observe during the test is given as the test specification which is unknown to the system. First, we use the specifications and their corresponding non-deterministic B\"uchi automata to generate the specification product automaton. Second, a virtual product graph representing the high-level interaction between the system and the test environment is constructed modeling the product automaton encoding the system, the test environment, and specifications. The main result of this paper is an optimization problem, framed as a multi-commodity network flow problem, that solves for constraints on the virtual product graph which can then be projected to the test environment. Therefore, the result of the optimization problem is reactive test synthesis that ensures that the system meets the test specifications along with satisfying the system specifications. This framework is illustrated in simulation on grid world examples, and demonstrated on hardware with the Unitree A1 quadruped, wherein dynamic locomotion behaviors are verified in the context of reactive test environments.
翻译:我们研究自动测试生成,以核查自主系统中的离散决策模块。我们使用线性时间逻辑,在系统规格和测试期间我们想要观察到的行为中将测试系统的要求编码为系统所不知道的测试规格。首先,我们使用规格及其相应的非确定性 B\\\"uchi Automata 来生成规格产品自动图。第二,一个代表系统与测试环境之间高级别互动的虚拟产品图正在构建成产品自动成像系统、测试环境和规格的模型。本文的主要结果是优化问题,以多通货网络流程问题为框架,解决虚拟产品图上的限制,然后可以预测到测试环境。因此,优化问题的结果是反应性测试合成,确保系统符合测试规格,同时满足系统规格。这个框架在电网世界示例模拟中加以说明,并在硬件上演示了A1号单元四分解,其中动态移动行为在反应性测试环境中得到验证。