# US 2021/0263772 A1 · Ahead of Time Scheduling Process for Autonomous Vehicles

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

- Number: US 2021/0263772 A1
- Document ID: US20210263772A1
- Status: Published application
- Kind: A1
- Application number: 17/317,038
- Filed: 2021-05-11
- Published: 2021-08-26
- Earliest claimed: 2019-08-02
- Assignees: Argo AI, LLC
- Applicants: Argo AI, LLC
- Inventors: Evgeny Televitckiy; Guillaume Binet
- Web page: https://patentgrep.com/patent/US20210263772A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G05D 1/0088: {characterized by the autonomous decision making process, e.g. artificial intelligence, predefined behaviours (using knowledge based models G06N5/00)}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05D: SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES

## Abstract

A method of scheduling a plurality of tasks in an autonomous vehicle system (AVS) includes, by a processor, prior to runtime of an autonomous vehicle, identifying a plurality of tasks to be implemented by the AVS of the autonomous vehicle, for each of the tasks, identifying at least one fixed parameter and at least one variable, and developing a schedule for each of the tasks. The schedule includes an event loop that minimizes an overall time for execution of the tasks. The method includes compiling the schedule into an execution plan, and saving the execution plan to a memory of the autonomous vehicle. During runtime of the autonomous vehicle, the processor receives data corresponding to the variables of the tasks, and uses the variables to implement the execution plan on the autonomous vehicle.

## Claims

### Claim at position 1

-16. (canceled)

### Claim 17

A method of scheduling a plurality of tasks in an autonomous vehicle system (AVS), the method comprising:
by a processor, prior to runtime of an autonomous vehicle:
identifying a plurality of tasks to be implemented by the AVS of the autonomous vehicle,
for a task from the plurality of tasks, identifying at least one variable,
developing a schedule for the plurality of tasks, wherein the schedule comprises an event loop that minimizes an overall time for execution of the plurality of tasks,
compiling the schedule into an execution plan, and
saving the execution plan to a memory of the autonomous vehicle; and
by the processor during runtime of the autonomous vehicle:
receiving data corresponding to the at least one variable, and
using the at least one variable to implement the execution plan on the autonomous vehicle.

### Claim 18 (depends on 17)

The method of claim 17, wherein developing the schedule comprises:
identifying a second task from the plurality of tasks having a function that is dependent on an output of a first task from the plurality of tasks; and
when developing the schedule, arranging the first task to occur before the second task in the schedule.

### Claim 19 (depends on 17)

The method of claim 17, wherein:
developing the schedule comprises assigning a maximum time to one or more of the plurality of tasks; and
when implementing the execution plan, for any task whose execution time exceeds its assigned maximum time, performing one or more actions pertaining to the task and moving to a subsequent task in the schedule.

### Claim 20 (depends on 19)

The method of claim 19, wherein performing one or more actions pertaining to the task comprises one or more of the following:
skipping the task;
suspending execution of the task;
halting execution of the task; or
terminating execution of the task.

### Claim 21 (depends on 17)

The method of claim 17, wherein the processor comprises a subsystem of the autonomous vehicle.

### Claim 22 (depends on 17)

The method of claim 17, wherein developing the schedule comprises executing a Monte Carlo function to minimize a total processing time of the execution plan.

### Claim 23 (depends on 17)

The method of claim 17, wherein receiving data corresponding to the at least one variable comprises receiving data from one or more sensors of the autonomous vehicle.

### Claim 24 (depends on 17)

The method of claim 17, further comprising, for one or more of the plurality of tasks, identifying one or more fixed parameters, wherein the one or more fixed parameters comprise one or more of the following:
a task description;
a rate of execution;
one or more items of hardware that is required to execute the task;
a maximum execution time associated with the task; or
one or more task dependencies.

### Claim 25

A system for scheduling a plurality of tasks in an autonomous vehicle system (AVS), the system comprising:
a processor; and
a computer-readable storage medium comprising:
one or more programming instructions that, when executed, causes the processor to, prior to runtime of an autonomous vehicle:
identify a plurality of tasks to be implemented by the AVS of the autonomous vehicle,
for a task from the plurality of tasks, identify at least one variable,
develop a schedule for the plurality of tasks, wherein the schedule comprises an event loop that minimizes an overall time for execution of the plurality of tasks,
compile the schedule into an execution plan, and
save the execution plan to a memory of the autonomous vehicle; and
one or more programming instructions that, when executed, causes the processor to, during runtime of the autonomous vehicle:
receive data corresponding to the at least one variable, and
use the at least one variable to implement the execution plan on the autonomous vehicle.

### Claim 26 (depends on 25)

The system of claim 25, wherein the one or more programming instructions that, when executed, cause the processor to develop the schedule comprise one or more programming instructions that, when executed, cause the processor to:
identify a second task from the plurality of tasks having a function that is dependent on an output of a first task from the plurality of tasks; and
when developing the schedule, arrange the first task to occur before the second task in the schedule.

### Claim 27 (depends on 26)

The system of claim 26, wherein:
the one or more programming instructions that, when executed, cause the processor to develop the schedule comprise one or more programming instructions that, when executed, cause the processor to assign a maximum time to one or more of the plurality of tasks; and
the one or more programming instructions that, when executed, cause the processor to implement the execution plan comprise one or more programming instructions that, when executed, cause the processor to, for any task whose execution time exceeds its assigned maximum time, perform one or more actions pertaining to the task and moving to a subsequent task in the schedule.

### Claim 28 (depends on 27)

The system of claim 27, wherein the one or more programming instructions that, when executed, cause the processor to perform one or more actions pertaining to the task comprise one or more programming instructions that, when executed, cause the processor to perform one or more of the following:
skip the task;
suspend execution of the task;
halt execution of the task; or
terminate execution of the task.

### Claim 29 (depends on 25)

The system of claim 25, wherein the processor comprises a subsystem of the autonomous vehicle.

### Claim 30 (depends on 25)

The system of claim 25, wherein the one or more programming instructions that, when executed, cause the processor to develop the schedule comprise one or more programming instructions that, when executed, cause the processor to execute a Monte Carlo function to minimize a total processing time of the execution plan.

### Claim 31 (depends on 25)

The system of claim 25, wherein the one or more programming instructions that, when executed, cause the processor to receive data corresponding to the at least one variable comprise one or more programming instructions that, when executed, cause the processor to receive data from one or more sensors of the autonomous vehicle.

### Claim 32 (depends on 25)

The system of claim 25, wherein the computer-readable storage medium further comprises one or more programming instructions that, when executed, cause the processor to, for one or more of the one or more tasks, identify one or more fixed parameters, wherein the one or more fixed parameters comprise one or more of the following:
a task description;
a rate of execution;
one or more items of hardware that is required to execute the task;
a maximum execution time associated with the task; or
one or more task dependencies.

### Claim 33

A non-transitory computer-readable storage medium comprising:
one or more programming instructions that, when executed by one or more processors, cause the one or more processors to, prior to runtime of an autonomous vehicle:
identify a plurality of tasks to be implemented by an autonomous vehicle system (AVS) of the autonomous vehicle,
for a task from the plurality of tasks, identify at least one variable,
develop a schedule for the plurality of tasks, wherein the schedule comprises an event loop that minimizes an overall time for execution of the plurality of tasks,
compile the schedule into an execution plan, and
save the execution plan to a memory of the autonomous vehicle; and
one or more programming instructions that, when executed, causes the one or more processors to, during runtime of the autonomous vehicle:
receive data corresponding to the at least one variable, and
use the at least one variable to implement the execution plan on the autonomous vehicle.

### Claim 34 (depends on 33)

The non-transitory computer-readable storage medium of claim 33, wherein the one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to develop the schedule comprise one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to:
identify a second task from the plurality of tasks having a function that is dependent on an output of a first task from the plurality of tasks; and
when developing the schedule, arranging the first task to occur before the second task in the schedule.

### Claim 35 (depends on 33)

The non-transitory computer-readable storage medium of claim 33, wherein the one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to develop the schedule comprise one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to:
assign a maximum time to one or more of the plurality of tasks; and
when implementing the execution plan, for any task whose execution time exceeds its assigned maximum time, perform one or more actions pertaining to the task and moving to a subsequent task in the schedule.

### Claim 36 (depends on 35)

The non-transitory computer-readable storage medium of claim 35, wherein the one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to perform one or more actions pertaining to the task comprise one or more programming instructions that, when executed by the one or more processors, cause the one or more processors to perform one or more of the following:
skip the task;
suspend execution of the task;
halt execution of the task; or
terminate execution of the task.
