# US 2021/0116877 A1 · Motion Control Program, Motion Control Method, and Motion Control Device

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

- Number: US 2021/0116877 A1
- Document ID: US20210116877A1
- Status: Published application
- Kind: A1
- Application number: 17/254,756
- Filed: 2018-06-22
- Published: 2021-04-22
- Earliest claimed: 2018-06-22
- Assignees: Soft Servo Systems, Inc.
- Applicants: Soft Servo Systems, Inc.
- Inventors: Ziyuan PAN; Jsoon KIM; Boo-Ho YANG
- Web page: https://patentgrep.com/patent/US20210116877A1

## CPC

- G05B 19/0421: {Multiprocessor system}
- G05B 15/02: electric
- G05B 19/042: using digital processors (G05B19/05 takes precedence)
- G05B 19/40: Open loop systems, e.g. using stepping motor
- G05B 19/409: characterised by using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters (G05B19/408, G05B19/4093 take precedence)
- G05B 19/4155: characterised by program execution, i.e. part program or machine function execution, e.g. selection of a program
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G05B 2219/25346: Several operating systems in one device
- G05B 2219/33216: Operational, real time for system, and service for configuration is non real time
- 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)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A motion control program is provided which causes a computer to function as: a channel management unit on a real-time OS that creates an operation channel common to a plurality of reception units on a shared memory; the plurality of reception units on a non-real-time OS each of which instructs via the operation channel, when receiving a preparation instruction from a user-created programs associated with the each reception unit, a generation unit to generate a control command channel; the channel management unit on the real-time OS that creates, on the shared memory, a control command channel associated with the user-created program that has provided the preparation instruction; the reception unit on the non-real-time OS that receives a control command from the user creation program and stores control command information indicating a content of the received control command, in the control command channel; and a fixed-cycle processing unit on the real-time OS that transmits an interpolation command to a control target device for each motion control cycle, based on the control command information obtained from the control command channel.

## Claims

### Claim 1

A motion control program that is executed by a computer for performing motion control of a control target device, the computer having a non-real-time OS and a real-time OS installed thereon, wherein
the motion control program causes the computer to function as:
a plurality of reception units operating on the non-real-time OS, each of the plurality of reception units being associated with each of a plurality of user-created programs that controls the control target device;
a channel management unit operating on the real-time OS; and
a fixed-cycle processing unit operating on the real-time OS;
wherein
the channel management unit creates an operation channel common to the plurality of reception units on a shared memory referable from the non-real-time OS and the real-time OS;
the reception units each provides via the operation channel, when receiving a preparation instruction to perform preparation for starting motion control of the control target device from the user-created program associated with the each reception unit, an instruction to generate a control command channel to the channel management unit,
the channel management unit creates on the shared memory, when receiving the instruction from the reception unit, the control command channel associated with the user-created program that has provided the preparation instruction;
the each reception unit receives from the user-created program a control command indicating an operation that should be performed by the control target device over a plurality of motion control cycles and stores control command information indicating a content of the received control command, in the control command channel; and
the fixed-cycle processing unit transmits to the control target device for each of the motion control cycles an interpolation command indicating an operation that should be executed for each of the motion control cycles, based on the control command information obtained from the control command channel, thereby performing motion control of the control target device.

### Claim 2 (depends on 1)

The motion control program according to claim 1, wherein
the reception units each notifies via the operation channel the channel management unit of an instruction to generate a state channel for storing feedback information indicating a state of the control target device; and
the channel management unit generates the state channel on the shared memory when receiving the instruction to generate the state channel via the operation channel and in addition when the state channel is not generated on the shared memory.

### Claim 3 (depends on 2)

The motion control program according to claim 2, wherein
each of the reception units obtains, when receiving from the user-created program an instruction to obtain the feedback information, the feedback information from the state channel and passes it to the user-created program.

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

The motion control program according to any one of claims 1 to 3, wherein
the reception units each performs the following:
obtains a use authority of the operation channel and when having obtained the use authority, notifies via the operation channel the channel management unit of an instruction to generate the control command channel; and
releases the use authority of the operation channel when receiving from the channel management unit a notification that generation of the control command channel is complete.

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

The motion control program according to any one of claims 1 to 4, wherein the channel management unit performs the following:
periodically obtains presence or absence of an existence report showing that each of the user-created programs exists; and
when the existence report cannot be obtained for a predetermined period of time, deletes from the shared memory the control command channel associated with the user-created program for which the existence report cannot be obtained.

### Claim 6

A motion control method that is executed by a motion control device for performing motion control of a control target device, the motion control device having a non-real-time OS and a real-time OS installed thereon,
the motion control device comprising:
a plurality of reception units each associated with each of a plurality of user-created programs on the non-real-time OS, the each user-created program controlling the control target device;
a channel management unit operating on the real-time OS; and
a fixed-cycle processing unit operating on the real-time OS;
wherein,
the motion control method comprising:
a step in which the channel management unit creates an operation channel common to the plurality of reception units on a shared memory referable from the non-real-time OS and the real-time OS;
a step in which when receiving a preparation instruction to perform preparation for starting motion control of the control target device from the user-created program associated with each of the reception units, the each reception unit provides via the operation channel an instruction to generate a control command channel to the channel management unit;
a step in which when receiving the instruction from the reception unit, the channel management unit creates on the shared memory the control command channel associated with the user-created program that has provided the preparation instruction;
a step in which the reception unit receives from the user-created program a control command indicating an operation that should be performed by the control target device over a plurality of motion control cycles and stores control command information indicating a content of the received control command, in the control command channel; and
a step in which the fixed-cycle processing unit transmits to the control target device for each of the motion control cycles an interpolation command indicating an operation that should be executed for each of the motion control cycles, based on the control command information obtained from the control command channel, thereby performing motion control of the control target device.

### Claim 7

A motion control device for performing motion control of a control target device, the motion control device having a non-real-time OS and a real-time OS installed thereon, comprising:
a plurality of reception units operating on the non-real-time OS, each of the plurality of reception units being associated with each of a plurality of user-created programs that controls the control target device;
a channel management unit operating on the real-time OS; and
a fixed-cycle processing unit operating on the real-time OS;
wherein,
the channel management unit creates an operation channel common to the plurality of reception units on a shared memory referable from the non-real-time OS and the real-time OS;
the reception units each provides via the operation channel, when receiving a preparation instruction to perform preparation for starting motion control of the control target device from the user-created program associated with the each reception unit, an instruction to generate a control command channel to the channel management unit;
the channel management unit creates on the shared memory, when receiving the instruction from the reception unit, the control command channel associated with the user-created program that has provided the preparation instruction;
the reception unit receives from the user-created program a control command indicating an operation that should be performed by the control target device over a plurality of motion control cycles and stores control command information indicating a content of the received control command, in the control command channel; and
the fixed-cycle processing unit transmits to the control target device for each of the motion control cycles an interpolation command indicating an operation that should be executed for each of the motion control cycles, based on the control command information obtained from the control command channel, thereby performing motion control of the control target device.
