# US 2017/0293509 A1 · Control device, control method and program

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

- Number: US 2017/0293509 A1
- Document ID: US20170293509A1
- Status: Published application
- Kind: A1
- Application number: 15/473,640
- Filed: 2017-03-30
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: OMRON Corporation
- Applicants: OMRON Corporation
- Inventors: Noriyuki MAKI; Shuhei MIYAGUCHI; Yoshitaka TAKEUCHI; Fred SCHEFFER; Thorstin CRIJNS
- Web page: https://patentgrep.com/patent/US20170293509A1

## CPC

- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/442: {Shutdown}
- 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)

## Abstract

A control device for controlling equipment or a machine includes: one or more processors, a general-purpose OS and a real-time OS executed in parallel on the one or more processors, and an input interface that receives a cutoff event from outside, wherein the real-time OS provides an execution environment of a user program for realizing control over the equipment or machine. The real-time OS has a function of executing a shutdown preparation process required for shutdown of the real-time OS in response to the cutoff event; a function of instructing the general-purpose OS to shut down after executing the shutdown preparation process; and a function of completing the shutdown of the real-time OS and cutting off power supply of the control device when a predetermined condition is satisfied, wherein the predetermined condition includes receipt of a notification of shutdown completion from the general-purpose OS.

## Claims

### Claim 1

A control device that controls an equipment or a machine, the control device comprising:
one or more processors;
a general-purpose operating system and a real-time operating system executed in parallel on the one or more processors, wherein the real-time operating system provides an execution environment of a user program to realize a control over the equipment or the machine; and
an input interface receiving a cutoff event from outside,
wherein the real-time operating system has:
a function of executing a shutdown preparation process required for a shutdown of the real-time operating system in response to the cutoff event;
a function of instructing the general-purpose operating system to shut down after executing the shutdown preparation process; and
a function of completing the shutdown of the real-time operating system and cutting off a power supply of the control device when a predetermined condition is satisfied, wherein the predetermined condition comprises a receipt of a notification of shutdown completion from the general-purpose operating system.

### Claim 2 (depends on 1)

The control device according to claim 1, wherein the real-time operating system cuts off the power supply of the control device without receiving the notification of shutdown completion from the general-purpose operating system when a predetermined period has passed since the general-purpose operating system is instructed to shut down.

### Claim 3 (depends on 1)

The control device according to claim 1, wherein the input interface is configured to receive the cutoff event that an uninterruptible power supply device supplying a power supply to the control device issues, when an external power supply supplied to the uninterruptible power supply device is lost, and
the real-time operating system further has a function of notifying the uninterruptible power supply device that the shutdown of the real-time operating system has been completed.

### Claim 4 (depends on 1)

The control device according to claim 1, wherein the real-time operating system further has a function of allowing the user program to refer to an information indicating whether the cutoff event has been received.

### Claim 5 (depends on 1)

The control device according to claim 1, wherein the real-time operating system executes the shutdown preparation process after the cutoff event is received when a predetermined condition is satisfied, wherein the predetermined condition comprises receiving a prescribed notification from the user program.

### Claim 6 (depends on 1)

The control device according to claim 1, wherein the real-time operating system starts the shutdown preparation process when a predetermined period has passed since the user program is instructed to shut down.

### Claim 7

A control method for a control device that controls an equipment or a machine, the control method comprising:
a process of executing in parallel a general-purpose operating system and a real-time operating system on one or more processors, wherein the real-time operating system provides an execution environment of a user program to realize a control over the equipment or the machine;
a process that the real-time operating system executes a shutdown preparation process required for a shutdown of the real-time operating system in response to a cutoff event received via an input interface;
a process that the real-time operating system instructs the general-purpose operating system to shut down after executing the shutdown preparation process; and
a process that the real-time operating system completes the shutdown of the real-time operating system and cuts off a power supply of the control device when a predetermined condition is satisfied, wherein the predetermined condition comprises a receipt of a notification of shutdown completion from the general-purpose operating system.

### Claim 8

A program comprising a real-time operating system that constructs an environment for controlling equipment or a machine according to a user program prepared in advance,
wherein the real-time operating system is executed in parallel with a general-purpose operating system on one or more processors, and
the program enables a computer to execute:
a process of executing a shutdown preparation process required for shutdown of the real-time operating system in response to a cutoff event received via an input interface;
a process of instructing the general-purpose operating system to shut down after executing the shutdown preparation process; and
a process of completing the shutdown of the real-time operating system and cutting off power supply when a predetermined condition is satisfied, wherein the predetermined condition comprises receipt of a notification of shutdown completion from the general-purpose operating system.
