# US 2019/0102217 A1 · Method and Apparatus for Determination of Slot-Duration in Time-Triggered Control System

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

- Number: US 2019/0102217 A1
- Document ID: US20190102217A1
- Status: Published application
- Kind: A1
- Application number: 16/143,632
- Filed: 2018-09-27
- Published: 2019-04-04
- Earliest claimed: 2017-10-04
- Assignees: Tttech Computertechnik AG
- Applicants: TTTech Computertechnik AG
- Inventors: Hermann Kopetz
- Web page: https://patentgrep.com/patent/US20190102217A1

## CPC

- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G05B 19/0423: {Input/output}
- G06F 9/4494: {data driven}
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- H04L 12/40026: {Details regarding a bus guardian}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for a determination of the optimal duration of a time slot for computational actions in a time-triggered controller. The controller includes a sensor subsystem, a computational subsystem, an actuator subsystem, and a time-triggered communication system. The time-triggered communication system is placed between the sensor subsystem, the computational subsystem, the actuator subsystem, and a monitor subsystem. An anytime algorithms is executed in the computational subsystem. A plurality of execution slot durations of the anytime algorithms is probed during the development phase, starting from the minimum execution slot duration, increasing this slot duration by the execution slot granularity until the maximum execution slot duration is reached. In each of the execution slot durations, a multitude of frames is executed in a destined application environment. In each frame the computational subsystem calculates imprecise anticipated values of observable state variables by interrupting execution of the anytime algorithm at the end of the provided execution slot duration, using data received from the sensor subsystems at the beginning of the frame.

## Claims

### Claim 1

A method for a determination of the optimal duration of a time slot for computational actions in a time-triggered controller, the controller comprising a sensor subsystem, a computational subsystem, an actuator subsystem and a time-triggered communication system, wherein:
the time-triggered communication system is placed between the sensor subsystem, the computational subsystem, the actuator subsystem and a monitor subsystem;
outgoing messages of the sensor subsystem can be routed to the computational subsystem and the monitor subsystem via the time-triggered communication system;
outgoing messages of the computational subsystem can be routed to the actuator subsystem and the monitor subsystem via the time-triggered communication system;
an anytime algorithms is executed in the computational subsystem;
a plurality of execution slot durations of the anytime algorithms is probed during the development phase, starting from the minimum execution slot duration, increasing this slot duration by the execution slot granularity until the maximum execution slot duration is reached; and
in each one of the execution slot durations a multitude of frames is executed in a destined application environment;
in each frame the computational subsystem calculates imprecise anticipated values of observable state variables by interrupting the execution of the anytime algorithm at the end of the provided execution slot duration, using data received from the sensor subsystems at the beginning of the frame;
in each frame the monitor subsystem calculates the precise anticipated values of observable state variables by executing the anytime algorithm until completion using data received from the sensor subsystems at the beginning of the frame;
the monitor subsystem computes an anytime-algorithm impreciseness by calculating the absolute values of the respective difference between these precise anticipated values of observable state variables and the imprecise anticipated values of observable state variables contained in the messages delivered from the computational subsystems to the monitor subsystem at the end of the frame;
the monitor subsystem computes a model error by calculating the absolute values of the difference between these precise anticipated values of observable state variables and the respective acquired values of observable state variables contained in messages from the sensor subsystem to the monitor subsystem at the end of the frame;
an average anytime-algorithm impreciseness and an average model error of a slot duration are calculated by the monitor subsystem by averaging the results of the multitude of probed frames of the slot; and
at the end of the development phase, an execution slot duration for the computational subsystem is selected out of the probed execution slot durations, wherein the sum of the average model error and the average anytime-algorithm impreciseness is minimal.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the data collection for the determination of the optimal slot duration is performed in the destined operational environment during the development phase.

### Claim 3

A controller apparatus for the determination of the slot-duration in a time-triggered control system, the apparatus comprising:
a sensor subsystem;
a computational subsystem;
an actuator subsystem;
a monitor subsystem; and
a time-triggered communication subsystem, which time-triggered communication system is placed between the sensor subsystem, the computational subsystem, the actuator subsystem, and the monitor subsystem.

### Claim 4 (depends on 1, 3)

The controller apparatus according to claim 3, which is configured to execute the method of claim 1.
