Download PDF

Contract-Guided Architecture Synthesis for Mechatronic Systems

Publication date: 2025-07-02

Author:

Ribeiro dos Santos, César Augusto
Schrijvers, Tom ; Nicolai, Mike

Abstract:

Systems engineering is a discipline focused on the design, integration and maintenance of complex systems over their life-cycle. To lower the risks and costs involved with the design and implementation of complex systems, it is necessary to evaluate the quality of the system's design as soon as possible in the design process. The use of simulation software is the most common solution for early design evaluation. Not just simulation of detailed 3D models that take into account the physical structure of the system, but also lower fidelity models that simply consider the logical structure of the system, i.e., its architecture (meaning how its internal components are connected). Generative Engineering (a form of Computation Design Synthesis) enables the evaluation of system designs even earlier in the design process, through the use of artificial intelligence techniques to automate the exploration and evaluation of potential architectures. Generative Engineering can be applied as soon as the hierarchical decomposition of the system into sub-systems and sub-components is known. However, state-of-the-art Generative Engineering tools have various trade-offs that limit their applicability for certain use-cases. Some tools are highly effective for a particular domain but can only be applied to problems in that domain. Other tools are very general, but rely on brute-force simulation of candidate architectures, limiting their scalability, or they require formal requirement specifications, which are often not available. Industrial tools tend to favor the former approach (simulation), while academic tools tend to favor the latter approach (formal requirements). In this thesis we present a synthesis algorithm that is a best-of-all-worlds solution: If formal requirement specifications are not available, it has state-of-the-art performance for generation of candidate architectures. If formal requirement specifications are available, they are used to guide the search towards valid architectures, avoiding the scalability issues of brute-force simulation. Our algorithm also supports a novel synthesis mode where formal requirement specifications are used to generate test-cases that can then be used to guide the search process in a very efficient manner. This mode was inspired by how simulation verification is done in the real-world, but the encoding turned out to be similar to that of some domain-specific synthesis tools, particularly those used in the synthesis of logic circuits. For problems with small input and output domains, like logic circuits, this mode allows our algorithm to find all the valid architectures in milliseconds, whereas its other modes and other general-purpose generative engineering tools are unable to even when given a one hour time limit. For problems with larger domains, this mode can still be used to reduce the search space and be combined with the other modes for completeness. We evaluate our algorithm on three use-cases and using various backend Constraint Programming (CP) and Satisfiability Modulo Theories (SMT) solvers. We show that CP solvers have a major advantage on candidate architecture generation performance, and we also show that the native quantifier reasoning of SMT solvers has unexpected suboptimal performance. In addition, we contrast our raw architecture generation performance against the closest general-purpose generative engineering tool used in industry, Simcenter Studio, and show a substantial performance lead when using a CP solver as a backend. We posit that the reason for the advantage is due to the use of 'blocking clauses' in Simcenter Studio, which was also an issue for our tool when using certain SMT solvers as a backend.