# US 2017/0293285 A1 · Systems and methods for testing convergence of closed-loop control systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0293285 A1
- Document ID: US20170293285A1
- Status: Published application
- Kind: A1
- Application number: 15/093,975
- Filed: 2016-04-08
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: Toyota Motor Engineering & Manufacturing North America, Inc.
- Applicants: Toyota Motor Engineering & Manufacturing North America, Inc.
- Inventors: Jyotirmoy V. Deshmukh; James P. Kapinski; Xiaoqing Jin
- Web page: https://patentgrep.com/patent/US20170293285A1

## CPC

- G05B 19/0426: {Programming the control sequence}
- G05B 17/02: electric
- G05B 19/0428: {Safety, monitoring (G05B19/0423 takes precedence)}
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

Systems and methods for evaluating closed-loop control systems are disclosed. In one embodiment, a method of evaluating a control system includes determining, using a processing device, one or more convergence classifier functions from a closed-loop model, wherein the one or more convergence classifier functions convey convergent behavior of the closed-loop model over a pre-determined period of time. The method further includes generating, using the processing device, a plurality of test cases of an input space of the closed-loop model under evaluation, and determining, using the processing device, whether one or more individual test cases of the plurality of test cases do not satisfy the one or more convergence classifier functions.

## Claims

### Claim 1

A method of evaluating a control system, the method comprising:
determining, using a processing device, one or more convergence classifier functions from a closed-loop model, wherein the one or more convergence classifier functions convey convergent behavior of the closed-loop model over a pre-determined period of time;
generating, using the processing device, a plurality of test cases of an input space of the closed-loop model under evaluation; and
determining, using the processing device, whether one or more individual test cases of the plurality of test cases do not satisfy the one or more convergence classifier functions.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
the input space comprises a parameter space, an initial condition space, and an input signal space; and
each test case of the plurality of test cases comprises a combination of a parameter value within the parameter space, an initial condition value within the initial condition space, and an input signal value of the input signal space.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more convergence classifier functions are user-selectable.

### Claim 4 (depends on 1)

The method of claim 1, further comprising outputting one or more test cases of the plurality of test cases that do not satisfy the one or more convergence classifier functions.

### Claim 5 (depends on 4)

The method of claim 4, wherein outputting the one or more test cases of the plurality of test cases that do not satisfy the one or more convergence classifier functions comprises displaying the one or more test cases of the plurality of test cases that do not satisfy the one or more convergence classifier functions on a display device.

### Claim 6 (depends on 1)

The method of claim 1, wherein:
the one or more convergence classifier functions is a signal temporal logic convergence classifier function; and
an individual test case of the plurality of test cases satisfies the signal temporal logic convergence classifier function when an output trace of the individual test case remains within a setting region after a settling time.

### Claim 7 (depends on 1)

The method of claim 1, wherein the one or more convergence classifier functions is a Lyapunov-like function from a range of an output trace of a signal from x to R, such that:
V(xj)>0 for all j in [0, N], and
V(xj)−V(xj+1)>α(|x|) for all j in [0, N−1], where α is an increasing and continuous function such that α(0)=0.

### Claim 8 (depends on 7)

The method of claim 7, wherein the Lyapunov-like function is determined by:
receiving a set of initial trajectories from the closed-loop model;
determining, by a semidefinite programming solver module or a linear programming solver module, one or more candidate Lyapunov-like functions based on the set of initial trajectories; and
performing a plurality of simulations using to create a set of discovered trajectories.

### Claim 9 (depends on 8)

The method of claim 8, wherein the Lyapunov-like function is a sum-of-squares Lyapunov-like function defined by z(x0)TMz(x0), wherein M is a n×n matrix of numbers, and z is a vector of monomials over x, and x0 is an initial value for an output trace.

### Claim 10 (depends on 8)

The method of claim 8, wherein the Lyapunov-like function is an M-step Lyapunov-like function defined by yTMy, where y is a vector representing an n-dimensional signal x over an output trace of length N, and M is an nN×nN matrix.

### Claim 11 (depends on 1)

The method of claim 1, wherein the one or more convergence classifier functions is an ISS Lyapunov-like function from a range of an output trace of a signal from x to R, such that:
V(xj)>0 for all j in [0, N], and
V(xj)−V(xj+1)>α(|x|)−γ(|u|) for all j in [0, N−1], where α and γ are strictly increasing and continuous functions such that α(0)=0 and γ(0)=0.

### Claim 12 (depends on 1)

The method of claim 1, wherein determining whether one or more individual test cases of the plurality of test cases do not satisfy the one or more convergence classifier functions comprises, for individual test cases of the plurality of test cases:
performing a simulation to generate an output trace at least some test cases of the plurality of test cases;
inputting the output trace into the one or more convergence classifier functions to calculate one or more output values, wherein:
when the one or more output values is greater than zero, an individual test case satisfies the one or more convergence classifier functions; and
when the one or more output values is less than or equal to zero, the individual test case does not satisfy the one or more convergence classifier functions.

### Claim 13 (depends on 1)

The method of claim 1, wherein the plurality of test cases are determined by a global optimizer that is configured to determine one or more test cases of the plurality of test cases that minimize an output value of the one or more convergence classifier functions.

### Claim 14 (depends on 1)

The method of claim 1, wherein the plurality of test cases are determined by a sampling process.

### Claim 15 (depends on 14)

The method of claim 14, wherein the sampling process comprises:
randomly selecting parameter values of a parameter space of the closed-loop model; and
obtaining output traces corresponding to the parameter values.

### Claim 16 (depends on 14)

The method of claim 14, wherein:
the closed-loop model comprises a parameter space comprising a plurality of parameter values; and
the sampling process comprises:
positioning a grid over the parameter space, wherein points of the grid corresponding with parameter values of the parameter space; and
obtaining output traces corresponding to the parameter values corresponding to the points of the grid.

### Claim 17 (depends on 14)

The method of claim 14, wherein the closed-loop model comprises a parameter space comprising a plurality of parameter values, and the sampling process comprises an adaptive grid process, the adaptive grid process further comprising:
positioning a grid over the parameter space, wherein points of the grid corresponding with parameter values of the parameter space;
establishing an influence factor;
selecting a grid point of the grid;
determining an output trace of the closed-loop model using a parameter value corresponding with the selected grid point of the grid;
inputting the output trace into the one or more convergence classifier functions to calculate one or more output values;
when the one or more output values is greater than zero, marking a region of the grid as an influence region, wherein an area of the influence region is determined by the influence factor;
when the one or more output values is less than or equal to zero, outputting the parameter value; and
selecting additional grid points of the grid outside of the influence region to mark additional influence regions until an entirety of the grid is marked with a plurality of influence regions or the grid is marked with a predetermined number of influence regions.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
determining a plurality of grid points having a plurality of lowest output values and corresponding influence regions containing at least one grid point of the plurality of grid points having the plurality of lowest output values;
reducing the influence factor to set a reduced influence factor;
selecting an individual grid point within a selected influence region containing at least one grid point of the plurality of grid points having the plurality of lowest output values;
determining an output trace of the closed-loop model using the parameter value corresponding with the selected grid point of the plurality of grid points having the plurality of lowest output values;
inputting the output trace into the one or more convergence classifier functions to calculate one or more additional output values;
when the one or more additional output values is greater than zero, marking a region of the grid as a reduced influence region, wherein an area of the reduced influence region is determined by the reduced influence factor;
when the one or more additional output values is less than or equal to zero, outputting the parameter value; and
selecting additional grid points of the grid outside of the reduced influence region to mark additional reduced influence regions until all the influence regions containing at least one grid point of the plurality of grid points having a lowest output value are covered with reduced influence regions or the grid is marked with a predetermined number of reduced influence regions.

### Claim 19 (depends on 1)

The method of claim 1, wherein the closed-loop model comprises a parameter space, and the method further comprises displaying, on a display device, a graphical representation of the parameter space that was tested by the plurality of test cases.

### Claim 20

A system for evaluating a control system comprising:
one or more processing devices;
a non-transitory computer-readable medium storing computer-executable instructions that, when executed by the one or more processing devices, causes the one or more processing devices to:
determine one or more convergence classifier functions from a closed-loop model, wherein the one or more convergence classifier functions convey convergent behavior of the closed-loop model over a pre-determined period of time;
generate a plurality of test cases of an input space of the closed-loop model under evaluation; and
determine whether one or more individual test cases of the plurality of test cases do not satisfy the one or more convergence classifier functions.
