# US 2024/0069508 A1 · System and Method for Controlling an Operation of a Device

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

- Number: US 2024/0069508 A1
- Document ID: US20240069508A1
- Status: Published application
- Kind: A1
- Application number: 17/819,557
- Filed: 2022-08-12
- Published: 2024-02-29
- Earliest claimed: 2022-08-12
- Assignees: Mitsubishi Electric Research Laboratories, Inc.
- Applicants: Mitsubishi Electric Research Laboratories, Inc.
- Inventors: Marcel Menner; Stefano Di Cairano; Karl Berntorp; Ankush Chakrabarty
- Web page: https://patentgrep.com/patent/US20240069508A1

## CPC

- G05B 13/048: {using a predictor}
- G05B 6/02: electric
- G05B 13/041: {in which a variable is automatically adjusted to optimise the performance}
- G05B 2219/41146: Kalman filter
- G05B 2219/42061: Stochastic predictive controller spc
- 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

The present disclosure provides a feedback controller and method for controlling an operation of a device at different control steps. The feedback controller comprises at least one processor, and the memory having instructions stored thereon that, when executed by the at least one processor, causes the feedback controller, for a control step, to collect a measurement indicative of a state of the device at the control step, and execute, recursively until a termination condition is met, a probabilistic solver parameterized on a control input to an actuator operating the device to produce a control input for the control step. The feedback controller is further configured to control the actuator operating the device based on the produced control input.

## Claims

### Claim 1

A feedback controller for controlling an operation of a device at different control steps based on a feedback signal including measurements indicative of a state of the device at the different control steps, the feedback controller comprising: at least one processor; and the memory having instructions stored thereon that, when executed by the at least one processor, causes the feedback controller, for a control step, to:
collect a measurement indicative of the state of the device at the control step;
execute, recursively until a termination condition is met, a probabilistic solver parameterized on a control input to an actuator operating the device to produce a control input for the control step, wherein, during each of the executions, the probabilistic solver is configured to
estimate a probabilistic distribution function (PDF) of predicted values of the control input from a PDF of values of the control input using a prediction model;
evaluate a cost function of an optimal control problem for controlling the device based on a simulation of the operation of the device with the measurement and a value of the control input sampled from the PDF of predicted values of the control input to produce a performance metric of the operation of the device; and
estimate a PDF of simulated values connected to the control input based on a measurement model connecting the performance metric of the operation of the device with the control input; and
correct the PDF of the predicted values of the control input based on the PDF of the simulated values connected to the control input to produce the PDF of the values of the control input; and
control the actuator operating the device using at least a mean of the PDF of the values of control input.

### Claim 2 (depends on 1)

The feedback controller of claim 1, wherein the prediction model is an identify model.

### Claim 3 (depends on 1)

The feedback controller of claim 1, wherein the prediction model is given by a gradient of the cost function with respect to the control input.

### Claim 4 (depends on 1)

The feedback controller of claim 1, wherein, for each iteration of iterations performed for each of the control steps, the probabilistic solver is further configured to evaluate the cost function for multiple samples defining simulation trials of the PDF of predicted values.

### Claim 5 (depends on 4)

The feedback controller of claim 4, wherein to produce the PDF of the simulated values connected to the control input from multiple performance metrics, the probabilistic solver is further configured to determine a weighted combination of evaluations of multiple samples of the PDF of predicted values.

### Claim 6 (depends on 4)

The feedback controller of claim 4, wherein the cost function for multiple samples of the PDF of predicted values is evaluated in parallel using multiple processors.

### Claim 7 (depends on 1)

The controller of claim 1, wherein the termination condition is based on a similarity metric between the PDF of values of the control input and a PDF of values of the control input at a previous iteration.

### Claim 8 (depends on 1)

The feedback controller of claim 1, wherein the probabilistic solver is a Kalman filter.

### Claim 9 (depends on 1)

The feedback controller of claim 1, wherein the probabilistic solver is an unscented Kalman filter performing a gradient-free correction of the predicted values of the control input.

### Claim 10 (depends on 9)

The feedback controller of claim 9, wherein to update the PDF of the predicted values using the gradient-free correction, the unscented Kalman filter is configured to produce a PDF of the simulated values connected to the control input using evaluations of the cost function.

### Claim 11 (depends on 9)

The feedback controller of claim 9, wherein the unscented Kalman filter evaluates the cost function for multiple sigma points of the PDF of the predicted values.

### Claim 12 (depends on 11)

The feedback controller of claim 11, wherein, to determine the sigma points, the unscented Kalman filter is configured to generate the sigma points based on a predicted mean of the PDF of predicted values and a covariance matrix of the PDF of predicted values.

### Claim 13 (depends on 12)

The feedback controller of claim 12, wherein the sigma points are determined based on a Cholesky decomposition.

### Claim 14

A method for controlling an operation of a device at different control steps based on a feedback signal including measurements indicative of a state of the device at the different control steps, the method comprising:
collecting a measurement indicative of the state of the device at the control step;
executing, recursively until a termination condition is met, a probabilistic solver parameterized on a control input to an actuator operating the device to produce a control input for the control step, wherein, during each of the executions, the probabilistic solver is configured to
estimate a probabilistic distribution function (PDF) of predicted values of the control input from a PDF of values of the control input using a prediction model;
evaluate a cost function of an optimal control problem for controlling the device based on a simulation of the operation of the device with the measurement and a value of the control input sampled from the PDF of predicted values of the control input to produce a performance metric of the operation of the device; and
estimate a PDF of simulated values connected to the control input based on a measurement model connecting the performance metric of the operation of the device with the control input; and
correct the PDF of the predicted values of the control input based on the PDF of the simulated values connected to the control input to produce the PDF of the values of the control input; and
controlling the actuator operating the device using at least a mean of the PDF of the values of control input.

### Claim 15 (depends on 14)

The method of claim 14, wherein the prediction model is an identify model.

### Claim 16 (depends on 14)

The method of claim 14, wherein the prediction model is given by a gradient of the cost function with respect to the control input.

### Claim 17 (depends on 14)

The method of claim 14, wherein, for each iteration of iterations performed for each of the control steps, the probabilistic solver is further configured to evaluate the cost function for multiple samples defining simulation trials of the PDF of predicted values.

### Claim 18 (depends on 17)

The method of claim 17, wherein to produce the PDF of the simulated values connected to the control input from multiple performance metrics, the probabilistic solver is further configured to determine a weighted combination of evaluations of multiple samples of the PDF of predicted values.

### Claim 19 (depends on 14)

The method of claim 14, wherein the termination condition is based on a similarity metric between the PDF of values of the control input and a PDF of values of the control input at a previous iteration.

### Claim 20

A non-transitory computer-readable storage medium embodied thereon a program executable by a processor for performing a method for controlling an operation of a device at different control steps based on a feedback signal including measurements indicative of a state of the device at the different control steps, the method comprising:
collecting a measurement indicative of the state of the device at the control step;
executing, recursively until a termination condition is met, a probabilistic solver parameterized on a control input to an actuator operating the device to produce a control input for the control step, wherein, during each of the executions, the probabilistic solver is configured to
estimate a probabilistic distribution function (PDF) of predicted values of the control input from a PDF of values of the control input using a prediction model;
evaluate a cost function of an optimal control problem for controlling the device based on a simulation of the operation of the device with the measurement and a value of the control input sampled from the PDF of predicted values of the control input to produce a performance metric of the operation of the device; and
estimate a PDF of simulated values connected to the control input based on a measurement model connecting the performance metric of the operation of the device with the control input; and
correct the PDF of the predicted values of the control input based on the PDF of the simulated values connected to the control input to produce the PDF of the values of the control input; and
controlling the actuator operating the device using at least a mean of the PDF of the values of control input.
