Differentiable Simulation for Signal Temporal Logic Controller Synthesis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing control synthesis techniques are limited in addressing rich temporal properties of closed-loop systems due to computational expense and only support monotonic signal temporal logic (STL) formulas, which restricts their ability to handle complex, non-monotonic behaviors.

Innovation Solution

The approach involves building a differentiable simulation model of a closed-loop system using signal temporal logic (STL) specifications, converting them into a differentiable computational graph, and automatically learning parameter values for a parametric control law through backpropagation, enabling efficient evaluation of robustness and synthesis of parameters for complex, possibly non-monotonic STL formulas.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional control synthesis techniques are used, then computational expense is reduced, but the ability to handle complex non-monotonic temporal properties is limited

Engineering Contradiction:
Improveability to handle complex non-monotonic temporal propertiesVSAvoidcomputational expense
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent transforms the control synthesis problem by changing the parameter representation from discrete control inputs to continuous parameters that can be optimized via backpropagation. This allows the system to handle complex non-monotonic temporal properties while reducing computational expense through gradient-based optimization rather than exhaustive search methods.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical control synthesis approaches with a differentiable simulation model that uses backpropagation through time. This substitution enables the system to learn optimal control parameters by propagating gradients through the simulation, efficiently handling complex temporal properties without the computational burden of traditional methods.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Ease of operation

If decision trees are used to approximate logical structure, then training by backpropagation is enabled, but dynamic richness for temporal logic properties is lost

Engineering Contradiction:
Improvetraining by backpropagationVSAvoiddynamic richness for temporal logic properties
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent introduces dynamics by using a differentiable simulation model that explicitly models temporal evolution of system states. Unlike static decision trees, this simulation captures dynamic behavior and temporal dependencies, enabling the system to learn complex temporal logic properties while remaining trainable through backpropagation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent adds a temporal dimension to the control synthesis problem by using simulation-based approaches that evolve system states over time. This dimensional extension allows the model to capture temporal logic properties that decision trees cannot represent, while maintaining differentiability for gradient-based optimization.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Reliability

If simulation-based techniques are used, then complex STL specifications can be satisfied, but computational expense increases

Engineering Contradiction:
Improvesatisfaction of complex STL specificationsVSAvoidcomputational expense
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent implements self-service by using the simulation model itself to generate training data and compute gradients through backpropagation. The simulation serves dual purposes: verifying STL specification satisfaction and providing the computational pathway for parameter optimization, eliminating the need for separate verification and training processes.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback by using the STL robustness metric as a differentiable loss function that guides parameter optimization. The simulation provides feedback on specification satisfaction, and this feedback is propagated through backpropagation to adjust control parameters, creating an efficient closed-loop optimization process.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11256611B2Simulation-based technique to synthesize controllers that satisfy signal temporal logic specifications
Publication Date: 2022.02.22 TOYOTA JIDOSHA KK
  • US11256611B2 patent drawing
  • US11256611B2 patent drawing
  • US11256611B2 patent drawing

AI summary

A method for synthesizing parameters for control of a closed loop system based on a differentiable simulation model of the closed loop system includes determining requirements/specifications for the closed loop system in signal temporal logic (STL). The method also includes selecting a parametric control law having a differentiable parameter control function. The method also includes converting the requirements in signal temporal logic into differentiable computational graph. The method further includes building the differentiable simulation model as a differentiable computational graph. Furthermore, the method includes automatically learning values of parameters for the differentiable parameter control function of the closed loop system by backpropagating an error.