JP2017059942A - Device, method and program for calculation - Google Patents

Device, method and program for calculation Download PDF

Info

Publication number
JP2017059942A
JP2017059942A JP2015181880A JP2015181880A JP2017059942A JP 2017059942 A JP2017059942 A JP 2017059942A JP 2015181880 A JP2015181880 A JP 2015181880A JP 2015181880 A JP2015181880 A JP 2015181880A JP 2017059942 A JP2017059942 A JP 2017059942A
Authority
JP
Japan
Prior art keywords
control
unit
control signal
signal
original signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015181880A
Other languages
Japanese (ja)
Other versions
JP6505557B2 (en
Inventor
徹 高仲
Toru Takanaka
徹 高仲
直哉 大西
Naoya Onishi
直哉 大西
俊也 丸地
Shunya Maruchi
俊也 丸地
中谷 博司
Hiroshi Nakatani
博司 中谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2015181880A priority Critical patent/JP6505557B2/en
Publication of JP2017059942A publication Critical patent/JP2017059942A/en
Application granted granted Critical
Publication of JP6505557B2 publication Critical patent/JP6505557B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a calculation device, a calculation method and a calculation program, capable of controlling a control target device within a fixed time if a transmission delay occurs on a communication line.SOLUTION: The calculation device includes a measurement unit, a transmitter unit, an acquisition unit, a generation unit and an interface. The measurement unit measures a communication time between the self-device and a control device. The transmitter unit transmits to the control device a source signal which is a signal to be a source for generating a control signal. The acquisition unit acquires from the control device the control signal which the control device generates based on the source signal. The generation unit generates, based on the source signal, the control signal according to the total value of a time, which is required for the control device to generate a control signal, and a communication time. The interface transmits a control signal which is transmittable at an earlier time, among the control signal acquired from the control device and the control signal generated by the generation unit.SELECTED DRAWING: Figure 1

Description

本発明の実施形態は、演算装置、演算方法及び演算プログラムに関する。   Embodiments described herein relate generally to a calculation device, a calculation method, and a calculation program.

制御対象の装置を容易に災害から復旧させるため、制御装置が通信回線を介して遠隔から制御対象の装置を制御する遠隔制御技術がある。しかしながら、従来の装置は、通信回線に伝送遅延が発生した場合には、制御対象の装置を一定時間内に制御することができない場合があった。   There is a remote control technology in which a control device remotely controls a control target device via a communication line in order to easily recover the control target device from a disaster. However, the conventional apparatus may not be able to control the apparatus to be controlled within a certain time when a transmission delay occurs in the communication line.

特開2014−63414号公報JP 2014-63414 A

本発明が解決しようとする課題は、通信回線に伝送遅延が発生した場合でも、制御対象の装置を一定時間内に制御することができる演算装置、演算方法及び演算プログラムを提供することである。   The problem to be solved by the present invention is to provide a computing device, a computing method, and a computing program capable of controlling a device to be controlled within a certain time even when a transmission delay occurs in a communication line.

実施形態の演算装置は、測定部と、送信部と、取得部と、生成部と、インタフェースとを持つ。測定部は、自装置と制御装置との間の通信時間を測定する。送信部は、制御信号を生成するための元となる信号である元信号を制御装置に送信する。取得部は、制御装置が元信号に基づいて生成した制御信号を制御装置から取得する。生成部は、制御装置が制御信号を生成するのに要する時間と通信時間との合計値に応じて制御信号を元信号に基づいて生成する。インタフェースは、制御装置から取得した制御信号と生成部が生成した制御信号とのうち、より早い時刻に送信可能である制御信号を送信する。   The arithmetic device according to the embodiment includes a measurement unit, a transmission unit, an acquisition unit, a generation unit, and an interface. The measurement unit measures a communication time between the own device and the control device. A transmission part transmits the original signal which is a signal used as the origin for producing | generating a control signal to a control apparatus. The acquisition unit acquires a control signal generated by the control device based on the original signal from the control device. The generation unit generates the control signal based on the original signal according to the total value of the time required for the control device to generate the control signal and the communication time. The interface transmits a control signal that can be transmitted at an earlier time among the control signal acquired from the control device and the control signal generated by the generation unit.

実施形態における、演算装置を備える制御システムの構成の第1例を示す図。The figure which shows the 1st example of a structure of a control system provided with an arithmetic unit in embodiment. 実施形態における、制御システムの動作の第1例を示すシーケンス図。The sequence diagram which shows the 1st example of operation | movement of the control system in embodiment. 実施形態における、演算装置の動作の第1例を示すフローチャート。The flowchart which shows the 1st example of operation | movement of the arithmetic unit in embodiment. 実施形態における、制御装置の動作の例を示すフローチャート。The flowchart which shows the example of operation | movement of the control apparatus in embodiment. 実施形態における、演算装置の動作の第2例を示すフローチャート。The flowchart which shows the 2nd example of operation | movement of the arithmetic unit in embodiment. 実施形態における、演算装置の動作の第3例を示すフローチャート。The flowchart which shows the 3rd example of operation | movement of the arithmetic unit in embodiment. 実施形態における、演算装置を備える制御システムの構成の第2例を示す図。The figure which shows the 2nd example of a structure of a control system provided with an arithmetic unit in embodiment. 実施形態における、制御システムの動作の第2例を示すシーケンス図。The sequence diagram which shows the 2nd example of operation | movement of the control system in embodiment. 実施形態における、演算装置の動作の第4例を示すフローチャート。The flowchart which shows the 4th example of operation | movement of the arithmetic unit in embodiment. 実施形態における、集約演算装置の動作の例を示すフローチャート。The flowchart which shows the example of operation | movement of the aggregation calculation apparatus in embodiment. 実施形態における、制御装置の動作の例を示すフローチャート。The flowchart which shows the example of operation | movement of the control apparatus in embodiment. 実施形態における、演算装置を備える制御システムの構成の第3例を示す図。The figure which shows the 3rd example of a structure of a control system provided with an arithmetic unit in embodiment. 実施形態における、演算装置を備える制御システムの構成の第4例を示す図。The figure which shows the 4th example of a structure of a control system provided with an arithmetic unit in embodiment.

以下、実施形態の演算装置、演算方法及び演算プログラムを、図面を参照して説明する。
(第1の実施形態)
図1は、演算装置20を備える制御システム1aの構成の例を示す図である。制御システム1aは、入力装置10と、演算装置20と、通信回線30と、制御装置40と、出力装置50とを備える。入力装置10は複数でもよい。制御装置40は複数でもよい。以下、制御装置40−1〜40−N(Nは1以上の整数)に共通する事項については、符号の一部を省略して「制御装置40」と表記する。出力装置50は複数でもよい。
Hereinafter, a computing device, a computing method, and a computing program according to embodiments will be described with reference to the drawings.
(First embodiment)
FIG. 1 is a diagram illustrating an example of a configuration of a control system 1 a including an arithmetic device 20. The control system 1a includes an input device 10, an arithmetic device 20, a communication line 30, a control device 40, and an output device 50. There may be a plurality of input devices 10. There may be a plurality of control devices 40. Hereinafter, with respect to matters common to the control devices 40-1 to 40-N (N is an integer equal to or greater than 1), a part of the reference numerals are omitted and expressed as “control device 40”. A plurality of output devices 50 may be provided.

入力装置10は、情報処理装置である。入力装置10は、制御信号を生成するための元となる信号(以下、「元信号」という。)を、演算装置20に送信する。入力装置10は、スイッチ又はボタンを備えている場合、スイッチ又はボタンに対する操作に応じたデジタルの元信号を、ローカルネットワーク100を介して、演算装置20に送信する。入力装置10は、センサでもよい。入力装置10は、出力装置50に関する温度又は圧力に応じたアナログの元信号を、ローカルネットワーク100を介して、演算装置20に送信する。   The input device 10 is an information processing device. The input device 10 transmits a signal (hereinafter referred to as “original signal”) that is a source for generating a control signal to the arithmetic device 20. When the input device 10 includes a switch or button, the input device 10 transmits a digital original signal corresponding to the operation on the switch or button to the arithmetic device 20 via the local network 100. The input device 10 may be a sensor. The input device 10 transmits an analog original signal corresponding to the temperature or pressure related to the output device 50 to the arithmetic device 20 via the local network 100.

第1の実施形態では、入力装置10は、一例として、第1の元信号と第2の元信号とを演算装置20に送信する。第1の元信号は、例えば、スイッチ又はボタンに対する操作に応じたデジタル信号である。第2の元信号は、例えば、出力装置50に関する温度に応じたアナログ信号である。ローカルネットワーク100は、フィールドバス、有線通信回線又は無線通信回線である。ローカルネットワーク100は、フィールドバスである場合、例えば、プロフィバス(Profibus)、MODBUS(登録商標)又はTC−NET(登録商標)である。ローカルネットワーク100は、有線通信回線である場合、例えば、イーサネット(登録商標)である。ローカルネットワーク100は、無線通信回線である場合、例えば、無線LANや920MHz帯等の無線通信回線である。   In the first embodiment, the input device 10 transmits the first original signal and the second original signal to the arithmetic device 20 as an example. The first original signal is, for example, a digital signal corresponding to an operation on a switch or button. The second original signal is an analog signal corresponding to the temperature related to the output device 50, for example. The local network 100 is a fieldbus, a wired communication line, or a wireless communication line. When the local network 100 is a fieldbus, for example, it is Profibus, MODBUS (registered trademark), or TC-NET (registered trademark). When the local network 100 is a wired communication line, for example, Ethernet (registered trademark) is used. When the local network 100 is a wireless communication line, for example, it is a wireless communication line such as a wireless LAN or a 920 MHz band.

演算装置20は、通信装置(通信モジュール)である。演算装置20は、ローカルネットワーク100を介して、第1の元信号と第2の元信号とを入力装置10から取得する。演算装置20は、通信回線30を介して、第2の元信号を制御装置40に送信する。演算装置20は、第1の元信号に基づいて第1制御信号を生成する。演算装置20は、第1制御信号を出力装置50に送信する。   The arithmetic device 20 is a communication device (communication module). The arithmetic device 20 acquires the first original signal and the second original signal from the input device 10 via the local network 100. The arithmetic device 20 transmits the second original signal to the control device 40 via the communication line 30. The computing device 20 generates a first control signal based on the first original signal. The arithmetic device 20 transmits the first control signal to the output device 50.

演算装置20は、自装置と制御装置40との間の往復又は片道の通信時間を測定する。演算装置20は、制御装置40が第2制御信号を生成するための処理時間と通信時間とに基づいて、通信回線30に伝送遅延が発生しているか否かを判定する。   The computing device 20 measures the round-trip or one-way communication time between itself and the control device 40. The computing device 20 determines whether or not a transmission delay has occurred in the communication line 30 based on the processing time for the control device 40 to generate the second control signal and the communication time.

演算装置20は、通信回線30を介して、第2の元信号に基づく第2制御信号を制御装置40から取得する。演算装置20は、通信回線30に伝送遅延が発生していない場合、制御装置40から取得した第2制御信号を出力装置50に送信する。演算装置20は、第2の元信号に基づいて第2制御信号を生成する。演算装置20は、通信回線30に伝送遅延が発生している場合、自装置が生成した第2制御信号を、一定時間内に出力装置50に送信する。   The arithmetic device 20 acquires a second control signal based on the second original signal from the control device 40 via the communication line 30. When there is no transmission delay in the communication line 30, the arithmetic device 20 transmits the second control signal acquired from the control device 40 to the output device 50. The computing device 20 generates a second control signal based on the second original signal. When a transmission delay occurs in the communication line 30, the arithmetic device 20 transmits the second control signal generated by the own device to the output device 50 within a certain time.

通信回線30は、広域ネットワークの通信回線である。通信回線30は、例えば、インターネット、専用回線、3G無線通信回線である。通信回線30の通信プロトコルは、例えば、HTTPS(Hypertext Transfer Protocol Secure)である。   The communication line 30 is a wide area network communication line. The communication line 30 is, for example, the Internet, a dedicated line, or a 3G wireless communication line. The communication protocol of the communication line 30 is, for example, HTTPS (Hypertext Transfer Protocol Secure).

制御装置40は、サーバ装置等の情報処理装置である。制御装置40は、クラウド技術に基づいて動作するクラウドサーバ装置でもよい。制御装置40は、第2の元信号に基づいて第2制御信号を生成する。制御装置40は、第2制御信号によって出力装置50を制御する。   The control device 40 is an information processing device such as a server device. The control device 40 may be a cloud server device that operates based on cloud technology. The control device 40 generates a second control signal based on the second original signal. The control device 40 controls the output device 50 with the second control signal.

制御装置40は、通信部41と、プログラム記憶部42と、制御部43とを備える。通信部41は、演算装置20と通信する。通信部41は、例えば、第2の元信号を演算装置20から取得する。通信部41は、プログラム記憶部42に記憶させるプログラムを演算装置20から取得してもよい。プログラム記憶部42は、制御部43が実行する制御プログラムを記憶する。   The control device 40 includes a communication unit 41, a program storage unit 42, and a control unit 43. The communication unit 41 communicates with the arithmetic device 20. For example, the communication unit 41 acquires the second original signal from the arithmetic device 20. The communication unit 41 may acquire a program to be stored in the program storage unit 42 from the arithmetic device 20. The program storage unit 42 stores a control program executed by the control unit 43.

制御部43は、演算装置20と制御装置40との間の通信回線30の通信時間を測定する。例えば、制御部43は、演算装置20から取得した信号のタイムスタンプに基づいて、通信回線30の通信時間を測定する。例えば、制御部43は、通信回線30の通信時間の平均値を測定する。制御部43は、第2の元信号に基づいて第2制御信号を生成する。制御部43は、第2制御信号を制御装置40が生成するのに要する時間と通信時間との合計値(以下、「応答時間」という。)の測定値を、通信部41を介して演算装置20に送信する。通信時間は、信号が往復するのに要する時間でもよいし、信号が一方向に通信されるのに要する時間(片道の時間)でもよい。制御部43は、応答時間の平均(以下、「平均応答時間」という。)の測定値を、通信部41を介して演算装置20に送信してもよい。制御部43が第2制御信号を生成する処理の時間は、予め測定されていてもよい。   The control unit 43 measures the communication time of the communication line 30 between the arithmetic device 20 and the control device 40. For example, the control unit 43 measures the communication time of the communication line 30 based on the time stamp of the signal acquired from the arithmetic device 20. For example, the control unit 43 measures the average value of the communication time of the communication line 30. The control unit 43 generates a second control signal based on the second original signal. The control unit 43 calculates the measured value of the total value of the time required for the control device 40 to generate the second control signal and the communication time (hereinafter referred to as “response time”) via the communication unit 41. 20 to send. The communication time may be the time required for the signal to reciprocate, or may be the time required for the signal to be communicated in one direction (one-way time). The control unit 43 may transmit a measurement value of the average response time (hereinafter referred to as “average response time”) to the arithmetic device 20 via the communication unit 41. The processing time for the control unit 43 to generate the second control signal may be measured in advance.

出力装置50は、制御対象の装置である。出力装置50は、サーボモータ等のアクチュエータである。出力装置50は、例えば、LED(Light Emitting Diode)表示器、警報装置でもよい。出力装置50は、ローカルネットワーク100を介して、第1制御信号及び第2制御信号を演算装置20から取得する。出力装置50は、第1制御信号及び第2制御信号に基づいて動作する。   The output device 50 is a device to be controlled. The output device 50 is an actuator such as a servo motor. The output device 50 may be, for example, an LED (Light Emitting Diode) display or an alarm device. The output device 50 acquires the first control signal and the second control signal from the arithmetic device 20 via the local network 100. The output device 50 operates based on the first control signal and the second control signal.

演算装置20の構成を説明する。
演算装置20は、インタフェース201と、分配先記憶部202と、プログラム記憶部203と、時間記憶部204と、結果記憶部205と、分配部206と、生成部207と、比較部208と、通信部209と、集約部210と、測定部211とを備える。
The configuration of the arithmetic device 20 will be described.
The computing device 20 includes an interface 201, a distribution destination storage unit 202, a program storage unit 203, a time storage unit 204, a result storage unit 205, a distribution unit 206, a generation unit 207, a comparison unit 208, a communication Unit 209, aggregation unit 210, and measurement unit 211.

インタフェース201と、分配部206と、生成部207と、比較部208と、通信部209と、集約部210と、測定部211との一部または全部は、例えば、CPU(Central Processing Unit)等のプロセッサが、記憶部に記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、これらの機能部のうち一部または全部は、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェア機能部であってもよい。   Some or all of the interface 201, the distribution unit 206, the generation unit 207, the comparison unit 208, the communication unit 209, the aggregation unit 210, and the measurement unit 211 may be, for example, a CPU (Central Processing Unit) or the like. The processor is a software function unit that functions by executing a program stored in the storage unit. Some or all of these functional units may be hardware functional units such as LSI (Large Scale Integration) and ASIC (Application Specific Integrated Circuit).

分配先記憶部202と、プログラム記憶部203と、時間記憶部204と、結果記憶部205との一部または全部は、例えば、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記憶媒体(非一時的な記録媒体)を有する記憶装置を用いて構成される。各記憶部は、例えば、RAM(Random Access Memory)やレジスタなどの揮発性の記憶媒体を有していてもよい。   A part or all of the distribution destination storage unit 202, the program storage unit 203, the time storage unit 204, and the result storage unit 205 may be, for example, a non-volatile storage medium (non-temporary) such as a magnetic hard disk device or a semiconductor storage device. A storage device having a typical recording medium). Each storage unit may include, for example, a volatile storage medium such as a RAM (Random Access Memory) or a register.

インタフェース201は、第1の元信号を入力装置10から取得する。インタフェース201は、取得した第1の元信号を通信部209に送信する。インタフェース201は、第2の元信号を入力装置10から取得する。インタフェース201は、取得した第2の元信号を通信部209に送信する。   The interface 201 acquires the first original signal from the input device 10. The interface 201 transmits the acquired first original signal to the communication unit 209. The interface 201 acquires the second original signal from the input device 10. The interface 201 transmits the acquired second original signal to the communication unit 209.

インタフェース201は、生成部207が生成した第1制御信号を、出力装置50に送信する。インタフェース201は、制御装置40が生成した第2制御信号を、通信部209から取得する。   The interface 201 transmits the first control signal generated by the generation unit 207 to the output device 50. The interface 201 acquires the second control signal generated by the control device 40 from the communication unit 209.

インタフェース201は、制御装置40が生成した第2制御信号を、出力装置50に送信する。インタフェース201は、生成部207が生成した第2制御信号を分配部206が選択した場合、生成部207が生成した第2制御信号を出力装置50に送信してもよい。例えば、インタフェース201は、制御装置40が生成した第2制御信号と、生成部207が生成した第2制御信号とのうち、より早い時刻に送信可能である第2制御信号を出力装置50に送信する。すなわち、インタフェース201は、制御装置40が生成した第2制御信号と、生成部207が生成した第2制御信号とのうち、生成のための演算が早く終了した第2制御信号を優先する。   The interface 201 transmits the second control signal generated by the control device 40 to the output device 50. When the distribution unit 206 selects the second control signal generated by the generation unit 207, the interface 201 may transmit the second control signal generated by the generation unit 207 to the output device 50. For example, the interface 201 transmits, to the output device 50, a second control signal that can be transmitted at an earlier time among the second control signal generated by the control device 40 and the second control signal generated by the generation unit 207. To do. That is, the interface 201 gives priority to the second control signal for which the calculation for generation has been completed earlier among the second control signal generated by the control device 40 and the second control signal generated by the generation unit 207.

インタフェース201は、異なるタイミングで取得された元信号が同じ内容を示す信号である場合、元信号に基づいて予め生成された制御信号を送信する。例えば、インタフェース201は、今回取得した第1の元信号と前回取得した第1の元信号とが同じ内容を示す信号である場合、前回取得した第1の元信号に基づいて生成された第1制御信号を出力装置50に送信する。インタフェース201は、今回取得した第2の元信号と前回取得した第2の元信号とが同じ内容を示す信号である場合、前回取得した第2の元信号に基づいて生成された第2制御信号を出力装置50に送信する。前回取得した元信号に基づいて生成された制御信号は、結果記憶部205に記憶されている。以下、第1制御信号及び第2制御信号等の複数の制御信号に共通する事項については、「制御信号」と表記する。インタフェース201は、生成部207を介して、結果記憶部205から制御信号を取得してもよい。   When the original signal acquired at different timings is a signal indicating the same content, the interface 201 transmits a control signal generated in advance based on the original signal. For example, when the first original signal acquired this time and the first original signal acquired last time are signals indicating the same content, the interface 201 generates the first generated based on the first original signal acquired last time. A control signal is transmitted to the output device 50. When the second original signal acquired this time and the second original signal acquired last time are signals indicating the same content, the interface 201 generates a second control signal generated based on the second original signal acquired last time. Is transmitted to the output device 50. A control signal generated based on the original signal acquired last time is stored in the result storage unit 205. Hereinafter, matters common to a plurality of control signals such as the first control signal and the second control signal will be referred to as “control signals”. The interface 201 may acquire a control signal from the result storage unit 205 via the generation unit 207.

分配先記憶部202は、元信号の分配先を表す情報(以下、「分配先情報」という。)を記憶する。第1の実施形態では、分配先記憶部202に記憶される分配先情報において、第1の元信号と演算装置20とが対応付けられている。すなわち、第1の元信号の分配先は、演算装置20である。これによって、演算装置20は、第1の元信号に基づいて第1制御信号を生成することができる。第1の実施形態では、分配先記憶部202に記憶される分配先情報において、第2の元信号と制御装置40とが対応付けられている。すなわち、第2の元信号の分配先は、制御装置40である。これによって、演算装置20は、第2の元信号に基づいて第2制御信号を生成することができる。制御装置40は、第2の元信号に基づいて第2制御信号を生成することができる。   The distribution destination storage unit 202 stores information indicating the distribution destination of the original signal (hereinafter referred to as “distribution destination information”). In the first embodiment, in the distribution destination information stored in the distribution destination storage unit 202, the first original signal and the arithmetic device 20 are associated with each other. That is, the distribution destination of the first original signal is the arithmetic device 20. Thereby, the arithmetic unit 20 can generate the first control signal based on the first original signal. In the first embodiment, in the distribution destination information stored in the distribution destination storage unit 202, the second original signal and the control device 40 are associated with each other. That is, the distribution destination of the second original signal is the control device 40. Thereby, the arithmetic unit 20 can generate the second control signal based on the second original signal. The control device 40 can generate the second control signal based on the second original signal.

プログラム記憶部203は、生成部207が演算を実行するためのプログラムを記憶する。プログラム記憶部203が記憶しているプログラムは、制御装置40から取得したプログラムでもよい。プログラム記憶部203が記憶しているプログラムは、制御装置40のプログラム記憶部42が記憶しているプログラムと同じでもよい。プログラム記憶部203が記憶しているプログラムは、制御装置40のプログラム記憶部42が記憶しているプログラムの一部でもよい。   The program storage unit 203 stores a program for the generation unit 207 to execute an operation. The program stored in the program storage unit 203 may be a program acquired from the control device 40. The program stored in the program storage unit 203 may be the same as the program stored in the program storage unit 42 of the control device 40. The program stored in the program storage unit 203 may be a part of the program stored in the program storage unit 42 of the control device 40.

時間記憶部204は、制御装置40がプログラムを実行した場合の処理時間を表す情報を記憶する。制御装置40がプログラムを実行した場合の処理時間は、例えば、制御装置40が第2制御信号を生成するのに要する時間である。時間記憶部204は、演算装置20がプログラムを実行した場合の処理時間を表す情報を記憶してもよい。演算装置20がプログラムを実行した場合の処理時間は、例えば、演算装置20が第1制御信号又は第2制御信号を生成するのに要する時間である。時間記憶部204は、制御装置40から取得した応答時間の測定値を記憶する。時間記憶部204は、制御装置40から取得した平均応答時間の測定値を記憶する。平均応答時間の測定値は、閾値として用いられてもよい。閾値は、予め定められた値でもよい。以下、閾値は、平均応答時間の測定値である。   The time storage unit 204 stores information representing the processing time when the control device 40 executes the program. The processing time when the control device 40 executes the program is, for example, the time required for the control device 40 to generate the second control signal. The time storage unit 204 may store information representing the processing time when the arithmetic device 20 executes the program. The processing time when the arithmetic device 20 executes the program is, for example, the time required for the arithmetic device 20 to generate the first control signal or the second control signal. The time storage unit 204 stores the measurement value of the response time acquired from the control device 40. The time storage unit 204 stores the measured value of the average response time acquired from the control device 40. The average response time measurement may be used as a threshold. The threshold value may be a predetermined value. Hereinafter, the threshold is a measured value of average response time.

結果記憶部205は、前回取得した第1の元信号と、前回取得した第1の元信号に基づいて生成された第1制御信号(生成結果)とを対応付けて記憶する。結果記憶部205は、前回取得した第2の元信号の情報と、前回取得した第2の元信号に基づいて生成された第2制御信号(生成結果)とを対応付けて記憶する。   The result storage unit 205 associates and stores the first original signal acquired last time and the first control signal (generation result) generated based on the first original signal acquired last time. The result storage unit 205 stores information on the second original signal acquired last time and the second control signal (generation result) generated based on the second original signal acquired last time in association with each other.

分配部206は、分配先情報に基づいて、第1の元信号の分配先を演算装置20に決定する。これによって、分配部206は、第1の元信号を制御装置40に送信しない、と判定することができる。分配部206は、分配先情報に基づいて、第2の元信号の分配先を制御装置40に決定する。   The distribution unit 206 determines the distribution destination of the first original signal to the arithmetic device 20 based on the distribution destination information. Accordingly, the distribution unit 206 can determine that the first original signal is not transmitted to the control device 40. The distribution unit 206 determines the distribution destination of the second original signal to the control device 40 based on the distribution destination information.

分配部206は、前回の応答時間の測定値に基づいて、制御装置40から取得した第2制御信号又は生成部207が生成した第2制御信号を選択する。すなわち、分配部206は、通信回線30に伝送遅延が発生しているか否かに基づいて、制御装置40から取得した第2制御信号又は生成部207が生成した第2制御信号を選択する。   The distribution unit 206 selects the second control signal acquired from the control device 40 or the second control signal generated by the generation unit 207 based on the previous measured response time. That is, the distribution unit 206 selects the second control signal acquired from the control device 40 or the second control signal generated by the generation unit 207 based on whether or not a transmission delay has occurred in the communication line 30.

例えば、分配部206は、閾値が前回の応答時間の測定値以上である場合、制御装置40から取得した第2制御信号を選択する。すなわち、分配部206は、通信回線30に伝送遅延が発生していない場合、制御装置40から取得した第2制御信号を選択する。   For example, the distribution unit 206 selects the second control signal acquired from the control device 40 when the threshold value is equal to or greater than the measurement value of the previous response time. That is, the distribution unit 206 selects the second control signal acquired from the control device 40 when there is no transmission delay in the communication line 30.

例えば、分配部206は、閾値が前回の応答時間の測定値未満である場合、生成部207が生成した第2制御信号を選択する。すなわち、分配部206は、通信回線30に伝送遅延が発生している場合、生成部207が生成した第2制御信号を選択する。   For example, the distribution unit 206 selects the second control signal generated by the generation unit 207 when the threshold value is less than the measurement value of the previous response time. That is, the distribution unit 206 selects the second control signal generated by the generation unit 207 when a transmission delay occurs in the communication line 30.

生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する。例えば、生成部207は、制御信号を生成するのに要する時間を考慮することによって、目標の送信時刻に間に合うように第1制御信号を生成する。生成部207が生成した第2制御信号を分配部206が選択した場合、目標の送信時刻に間に合うように、第2の元信号に基づいて第2制御信号を生成する。   The generation unit 207 generates the first control signal based on the first original signal so as to be in time for the target transmission time. For example, the generation unit 207 generates the first control signal in time for the target transmission time by considering the time required to generate the control signal. When the distribution unit 206 selects the second control signal generated by the generation unit 207, the second control signal is generated based on the second original signal in time for the target transmission time.

生成部207は、今回取得された第1の元信号と前回取得された第1の元信号とが同じ内容を示す信号である場合、前回取得された第1の元信号に基づいて生成された第1制御信号を、結果記憶部205から取得する。生成部207は、今回取得された第2の元信号と前回取得された第2の元信号とが同じ内容を示す信号である場合、前回取得された第2の元信号に基づいて生成された第2制御信号を、結果記憶部205から取得する。   When the first original signal acquired this time and the first original signal acquired last time are the same contents, the generation unit 207 is generated based on the first original signal acquired last time. The first control signal is acquired from the result storage unit 205. When the second original signal acquired this time and the second original signal acquired last time are signals indicating the same content, the generation unit 207 is generated based on the second original signal acquired last time. The second control signal is acquired from the result storage unit 205.

比較部208は、異なるタイミングでインタフェース部201に取得された元信号を比較する。例えば、比較部208は、今回の第1の元信号と前回の第1の元信号とを比較する。比較部208は、今回取得された第1の元信号と前回取得された第1の元信号とが同じ内容を示す信号であるか否かを判定する。比較部208は、今回の第2の元信号と前回の第2の元信号とを比較する。比較部208は、今回取得された第2の元信号と前回取得された第2の元信号とが同じ内容を示す信号であるか否かを判定する。   The comparison unit 208 compares the original signals acquired by the interface unit 201 at different timings. For example, the comparison unit 208 compares the current first original signal with the previous first original signal. The comparison unit 208 determines whether or not the first original signal acquired this time and the first original signal acquired last time are signals indicating the same content. The comparison unit 208 compares the current second original signal with the previous second original signal. The comparison unit 208 determines whether or not the second original signal acquired this time and the second original signal acquired last time are signals indicating the same content.

通信部209は、通信回線30を介して、制御装置40と通信する。例えば、通信部209は、第2制御信号を制御装置40から取得する。例えば、通信部209は、応答時間の測定値を制御装置40から取得する。例えば、通信部209は、平均応答時間の測定値を制御装置40から取得する。   The communication unit 209 communicates with the control device 40 via the communication line 30. For example, the communication unit 209 acquires the second control signal from the control device 40. For example, the communication unit 209 acquires a response time measurement value from the control device 40. For example, the communication unit 209 acquires a measured value of average response time from the control device 40.

集約部210は、複数の制御装置40から取得した第2制御信号を集約する。すなわち、集約部210は、複数の第2制御信号をまとめる。なお、集約部210は、制御装置40が1台である場合、制御装置40から取得した第2制御信号を集約しなくてもよい。   The aggregating unit 210 aggregates the second control signals acquired from the plurality of control devices 40. That is, the aggregation unit 210 collects a plurality of second control signals. Note that the aggregation unit 210 may not aggregate the second control signals acquired from the control device 40 when the number of the control devices 40 is one.

測定部211は、制御装置40の代わりに、応答時間を測定してもよい。測定部211は、例えば、通信部209から制御装置40に第2の元信号を送信した時刻と第2制御信号を通信部209が取得した時刻との差と、制御装置40がプログラムを実行した場合の処理時間とに基づいて、応答時間の測定値を算出してもよい。測定部211は、算出した応答時間の測定値を、時間記憶部204に記憶させてもよい。測定部211は、算出した平均応答時間の測定値を、時間記憶部204に記憶させてもよい。   The measurement unit 211 may measure the response time instead of the control device 40. For example, the measurement unit 211 is configured such that the difference between the time when the communication unit 209 transmits the second original signal to the control device 40 and the time when the communication unit 209 acquires the second control signal and the control device 40 executes the program. The measurement value of the response time may be calculated based on the processing time in the case. The measurement unit 211 may cause the time storage unit 204 to store the calculated measured response time. The measurement unit 211 may cause the time storage unit 204 to store the calculated measurement value of the average response time.

図2は、制御システム1aの動作の例を示すシーケンス図である。入力装置10は、第1の元信号及び第2の元信号を演算装置20に送信する(ステップS101)。演算装置20は、第1の元信号及び第2の元信号を取得する(ステップS102)。演算装置20は、前回の応答時間の測定値と閾値とを比較する。演算装置20は、分配先情報に基づいて第2の元信号の分配先を制御装置40に決定する(ステップS103)。演算装置20は、第2の元信号を制御装置40に送信する(ステップS104)。   FIG. 2 is a sequence diagram illustrating an example of the operation of the control system 1a. The input device 10 transmits the first original signal and the second original signal to the arithmetic device 20 (step S101). The arithmetic unit 20 acquires the first original signal and the second original signal (step S102). The arithmetic unit 20 compares the measured value of the previous response time with the threshold value. The computing device 20 determines the distribution destination of the second original signal to the control device 40 based on the distribution destination information (step S103). The computing device 20 transmits the second original signal to the control device 40 (step S104).

制御装置40は、第2の元信号を取得する(ステップS105)。制御装置40は、第2の元信号に基づいて第2制御信号を生成する(ステップS106)。制御装置40は、生成した第2制御信号を演算装置20に送信する(ステップS107)。   The control device 40 acquires the second original signal (step S105). The control device 40 generates a second control signal based on the second original signal (step S106). The control device 40 transmits the generated second control signal to the arithmetic device 20 (step S107).

演算装置20は、第1の元信号に基づいて第1制御信号を生成する(ステップS108)。演算装置20は、第1制御信号を出力装置50に送信する(ステップS109)。出力装置50は、第1制御信号を演算装置20から取得する(ステップS110)。   The computing device 20 generates a first control signal based on the first original signal (step S108). The computing device 20 transmits the first control signal to the output device 50 (step S109). The output device 50 acquires the first control signal from the arithmetic device 20 (step S110).

演算装置20は、第2の元信号に基づいて第2制御信号を生成する(ステップS111)。演算装置20は、閾値が前回の応答時間の測定値未満である場合(通信回線30に伝送遅延が発生している場合)、制御装置40から送信される第2制御信号を一定時間待つ。演算装置20は、一定時間内に第2制御信号の取得が可能である場合、第2制御信号を制御装置40から取得する。   The computing device 20 generates a second control signal based on the second original signal (step S111). When the threshold value is less than the measured value of the previous response time (when a transmission delay occurs in the communication line 30), the arithmetic unit 20 waits for a second control signal transmitted from the control device 40 for a certain period of time. The arithmetic unit 20 acquires the second control signal from the control device 40 when the second control signal can be acquired within a certain time.

演算装置20は、閾値が前回の応答時間の測定値以上である場合(通信回線30に伝送遅延が発生していない場合)、制御装置40から送信される第2制御信号を一定時間未満待つ。演算装置20は、一定時間未満以内に第2制御信号の取得が可能である場合、第2制御信号を制御装置40から取得する(ステップS112)。   When the threshold is equal to or greater than the measured value of the previous response time (when no transmission delay occurs in the communication line 30), the arithmetic unit 20 waits for the second control signal transmitted from the control device 40 for less than a certain time. If the second control signal can be acquired within less than a certain time, the arithmetic device 20 acquires the second control signal from the control device 40 (step S112).

演算装置20は、複数の制御装置40から取得した複数の第2制御信号を集約する(ステップS113)。演算装置20は、自装置が第2制御信号を生成する前に第2制御信号を制御装置40から取得した場合、取得した第2制御信号を出力装置50に送信する。演算装置20は、自装置が第2制御信号を生成する前に第2制御信号を制御装置40から取得していない場合、自装置が生成した第2制御信号を出力装置50に送信する(ステップS113)。出力装置50は、第2制御信号を演算装置20から取得する(ステップS110)。   The computing device 20 aggregates the plurality of second control signals acquired from the plurality of control devices 40 (step S113). When the arithmetic device 20 acquires the second control signal from the control device 40 before the own device generates the second control signal, the arithmetic device 20 transmits the acquired second control signal to the output device 50. In a case where the arithmetic device 20 has not acquired the second control signal from the control device 40 before the own device generates the second control signal, the arithmetic device 20 transmits the second control signal generated by the own device to the output device 50 (step). S113). The output device 50 acquires the second control signal from the arithmetic device 20 (step S110).

図3は、演算装置20の動作の例を示すフローチャートである。ステップS201は、図2に示すステップS102に対応する。ステップS210は、図2に示すステップS109に対応する。ステップS212は、図2に示すステップS114に対応する。   FIG. 3 is a flowchart illustrating an example of the operation of the arithmetic device 20. Step S201 corresponds to step S102 shown in FIG. Step S210 corresponds to step S109 shown in FIG. Step S212 corresponds to step S114 shown in FIG.

インタフェース201は、第1の元信号及び第2の元信号を取得する(ステップS201)。分配部206は、閾値が前回の応答時間の測定値以上であるか否かを判定する(ステップS202)。   The interface 201 acquires the first original signal and the second original signal (step S201). The distribution unit 206 determines whether or not the threshold is equal to or greater than the measured value of the previous response time (step S202).

閾値が前回の応答時間の測定値以上である場合(ステップS202:YES)、分配部206は、第1の元信号及び第2の元信号を制御装置40に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS203)。   If the threshold is equal to or greater than the measured value of the previous response time (step S202: YES), the distribution unit 206 determines whether or not to transmit the first original signal and the second original signal to the control device 40. A determination is made for each original signal based on the information (step S203).

第1の元信号を制御装置40に送信しないと分配部206が判定した場合(ステップS203:NO)、生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する(ステップS204)。第2の元信号を制御装置40に送信すると分配部206が判定した場合(ステップS203:YES)、通信部209は、第2の元信号を制御装置40に送信する(ステップS205)。   When the distribution unit 206 determines that the first original signal is not transmitted to the control device 40 (step S203: NO), the generation unit 207 determines the first original signal based on the first original signal in time for the target transmission time. 1 control signal is generated (step S204). When the distribution unit 206 determines that the second original signal is transmitted to the control device 40 (step S203: YES), the communication unit 209 transmits the second original signal to the control device 40 (step S205).

閾値が前回の応答時間の測定値未満である場合(ステップS202:NO)、分配部206は、第1の元信号及び第2の元信号を制御装置40に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS206)。   When the threshold value is less than the measurement value of the previous response time (step S202: NO), the distribution unit 206 determines whether or not to transmit the first original signal and the second original signal to the control device 40. A determination is made for each original signal based on the information (step S206).

第1の元信号を制御装置40に送信しないと分配部206が判定した場合(ステップS206:NO)、生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する。生成部207は、目標の送信時刻に間に合うように、第2の元信号に基づいて第2制御信号を生成する(ステップS207)。第2の元信号を制御装置40に送信すると分配部206が判定した場合(ステップS206:YES)、通信部209は、第2の元信号を制御装置40に送信する(ステップS208)。   When the distribution unit 206 determines that the first original signal is not transmitted to the control device 40 (step S206: NO), the generation unit 207 determines the first original signal based on the first original signal in time for the target transmission time. 1 control signal is generated. The generation unit 207 generates a second control signal based on the second original signal in time for the target transmission time (step S207). When the distribution unit 206 determines that the second original signal is transmitted to the control device 40 (step S206: YES), the communication unit 209 transmits the second original signal to the control device 40 (step S208).

分配部206は、取得した全ての第1の元信号について第1制御信号を生成したか否かを判定する(ステップS209)。演算装置20が第1制御信号の生成処理を施していない第1の元信号が残っている場合(ステップS209:NO)、分配部206は、ステップS202における判定結果に応じて、ステップS204又はステップS207に処理を戻す。   The distribution unit 206 determines whether or not the first control signal has been generated for all the acquired first original signals (step S209). When the first original signal for which the calculation device 20 has not performed the first control signal generation process remains (step S209: NO), the distribution unit 206 determines whether the step S204 or the step is performed according to the determination result in step S202. The process returns to S207.

取得した全ての第1の元信号について第1制御信号を生成した場合(ステップS209:YES)、インタフェース201は、第1制御信号を出力装置50に送信する(ステップS210)。集約部210は、複数の制御装置40から取得した複数の第2制御信号を集約する(ステップS211)。   When the first control signal is generated for all the acquired first original signals (step S209: YES), the interface 201 transmits the first control signal to the output device 50 (step S210). The aggregating unit 210 aggregates a plurality of second control signals acquired from the plurality of control devices 40 (step S211).

インタフェース201は、生成部207が第2制御信号を生成する前に第2制御信号を制御装置40から取得した場合、取得した第2制御信号を出力装置50に送信する。インタフェース201は、生成部207が第2制御信号を生成する前に第2制御信号を制御装置40から取得していない場合、生成部207が生成した第2制御信号を出力装置50に送信する(ステップS212)。演算装置20の各部は、ステップS201に処理を戻す。   When the generation unit 207 acquires the second control signal from the control device 40 before the generation unit 207 generates the second control signal, the interface 201 transmits the acquired second control signal to the output device 50. If the generation unit 207 has not acquired the second control signal from the control device 40 before the generation unit 207 generates the second control signal, the interface 201 transmits the second control signal generated by the generation unit 207 to the output device 50 ( Step S212). Each part of the arithmetic unit 20 returns the process to step S201.

図4は、制御装置40の動作の例を示すフローチャートである。ステップS301は、図2に示すステップS105に対応する。ステップS302は、図2に示すステップS106に対応する。ステップS303は、図2に示すステップS107に対応する。   FIG. 4 is a flowchart illustrating an example of the operation of the control device 40. Step S301 corresponds to step S105 shown in FIG. Step S302 corresponds to step S106 shown in FIG. Step S303 corresponds to step S107 shown in FIG.

通信部41は、第2の元信号を演算装置20から取得する(ステップS301)。制御部43は、プログラム記憶部42に記憶されているプログラムと第2の元信号とに基づいて、第2制御信号を生成する(ステップS302)。通信部41は、第2制御信号を演算装置20に送信する(ステップS303)。   The communication unit 41 acquires the second original signal from the arithmetic device 20 (step S301). The control unit 43 generates a second control signal based on the program stored in the program storage unit 42 and the second original signal (step S302). The communication unit 41 transmits the second control signal to the arithmetic device 20 (step S303).

図5は、演算装置20の動作の例を示すフローチャートである。ステップS401は、図2に示すステップS102に対応する。ステップS408は、図2に示すステップS109に対応する。ステップS410は、図2に示すステップS114に対応する。   FIG. 5 is a flowchart illustrating an example of the operation of the arithmetic device 20. Step S401 corresponds to step S102 shown in FIG. Step S408 corresponds to step S109 shown in FIG. Step S410 corresponds to step S114 shown in FIG.

インタフェース201は、第1の元信号及び第2の元信号を取得する(ステップS401)。比較部208は、今回取得された第1の元信号と前回取得された第1の元信号とが同じ内容を示す信号であるか否かを判定する。比較部208は、今回取得された第2の元信号と前回取得された第2の元信号とが同じ内容を示す信号であるか否かを判定する(ステップS402)。   The interface 201 acquires the first original signal and the second original signal (step S401). The comparison unit 208 determines whether or not the first original signal acquired this time and the first original signal acquired last time are signals indicating the same content. The comparison unit 208 determines whether or not the second original signal acquired this time and the second original signal acquired last time are the same contents (step S402).

今回取得された第1の元信号と前回取得された第1の元信号とが同じ内容を示す信号である場合(ステップS402:YES)、生成部207は、前回取得された第1の元信号に基づいて生成された第1制御信号を、結果記憶部205から取得する。すなわち、生成部207は、前回取得された第1の元信号に基づいて生成された第1制御信号を、今回取得された第1の元信号に基づいて生成された第1制御信号とする。   When the first original signal acquired this time and the first original signal acquired last time are signals indicating the same contents (step S402: YES), the generation unit 207 obtains the first original signal acquired last time. The first control signal generated based on is acquired from the result storage unit 205. That is, the generation unit 207 sets the first control signal generated based on the first original signal acquired last time as the first control signal generated based on the first original signal acquired this time.

また、今回取得された第2の元信号と前回取得された第2の元信号とが同じ内容を示す信号である場合(ステップS402:YES)、生成部207は、前回取得された第2の元信号に基づいて生成された第2制御信号を、結果記憶部205から取得する。すなわち、生成部207は、前回取得された第2の元信号に基づいて生成された第2制御信号を、今回取得された第2の元信号に基づいて生成された第2制御信号とする(ステップS403)。生成部207は、ステップS410に処理を進める。   In addition, when the second original signal acquired this time and the second original signal acquired last time are signals indicating the same contents (step S402: YES), the generation unit 207 acquires the second original signal acquired last time. The second control signal generated based on the original signal is acquired from the result storage unit 205. That is, the generation unit 207 sets the second control signal generated based on the second original signal acquired last time as the second control signal generated based on the second original signal acquired this time ( Step S403). The generation unit 207 proceeds with the process to step S410.

今回取得された第1の元信号と前回取得された第1の元信号とが異なる値を示す信号である場合(ステップS402:NO)、分配部206は、第1の元信号及び第2の元信号を制御装置40に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS404)。   When the first original signal acquired this time and the first original signal acquired last time are signals indicating different values (step S402: NO), the distribution unit 206 determines the first original signal and the second original signal. Whether or not to transmit the original signal to the control device 40 is determined for each original signal based on the distribution destination information (step S404).

第1の元信号を制御装置40に送信しないと分配部206が判定した場合(ステップS404:NO)、生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する(ステップS405)。第2の元信号を制御装置40に送信すると分配部206が判定した場合(ステップS404:YES)、通信部209は、第2の元信号を制御装置40に送信する(ステップS406)。   When the distribution unit 206 determines that the first original signal is not transmitted to the control device 40 (step S404: NO), the generation unit 207 determines the first original signal based on the first original signal in time for the target transmission time. 1 control signal is generated (step S405). When the distribution unit 206 determines that the second original signal is transmitted to the control device 40 (step S404: YES), the communication unit 209 transmits the second original signal to the control device 40 (step S406).

分配部206は、取得した全ての第1の元信号について第1制御信号を生成したか否かを判定する(ステップS407)。演算装置20が第1制御信号の生成処理を施していない第1の元信号が残っている場合(ステップS407:NO)、分配部206は、ステップS405に処理を戻す。   The distribution unit 206 determines whether or not the first control signal has been generated for all the acquired first original signals (step S407). When the first original signal for which the arithmetic device 20 has not performed the first control signal generation process remains (step S407: NO), the distribution unit 206 returns the process to step S405.

取得した全ての第1の元信号について第1制御信号を生成した場合(ステップS407:YES)、インタフェース201は、第1制御信号を出力装置50に送信する(ステップS408)。集約部210は、複数の制御装置40から取得した複数の第2制御信号を集約する(ステップS409)。   When the first control signal is generated for all the acquired first original signals (step S407: YES), the interface 201 transmits the first control signal to the output device 50 (step S408). The aggregating unit 210 aggregates a plurality of second control signals acquired from the plurality of control devices 40 (step S409).

インタフェース201は、ステップS403において生成部207が第1制御信号又は第2制御信号を結果記憶部205から取得した場合、結果記憶部205から取得された第1制御信号又は第2制御信号を、出力装置50に送信する。インタフェース201は、ステップS403において生成部207が第2制御信号を結果記憶部205から取得していない場合、制御装置40から取得した第2制御信号を、出力装置50に送信する。インタフェース201は、ステップS403において生成部207が第1制御信号を結果記憶部205から取得していない場合、生成部207が生成した第1制御信号を、出力装置50に送信する(ステップS410)。演算装置20の各部は、ステップS401に処理を戻す。   When the generation unit 207 acquires the first control signal or the second control signal from the result storage unit 205 in step S403, the interface 201 outputs the first control signal or the second control signal acquired from the result storage unit 205. To device 50. When the generation unit 207 has not acquired the second control signal from the result storage unit 205 in step S <b> 403, the interface 201 transmits the second control signal acquired from the control device 40 to the output device 50. If the generation unit 207 has not acquired the first control signal from the result storage unit 205 in step S403, the interface 201 transmits the first control signal generated by the generation unit 207 to the output device 50 (step S410). Each part of the arithmetic unit 20 returns the process to step S401.

図6は、演算装置20の動作の例を示すフローチャートである。ステップS501は、図2に示すステップS102に対応する。ステップS507は、図2に示すステップS109に対応する。ステップS509は、図2に示すステップS114に対応する。   FIG. 6 is a flowchart illustrating an example of the operation of the arithmetic device 20. Step S501 corresponds to step S102 shown in FIG. Step S507 corresponds to step S109 shown in FIG. Step S509 corresponds to step S114 shown in FIG.

インタフェース201は、第1の元信号及び第2の元信号を取得する(ステップS501)。分配部206は、元信号と制御プログラムとの対応付けに基づいて、第1の元信号及び第2の元信号を制御プログラムごとに分類する。分配部206は、第1の元信号及び第2の元信号に、分類を示す番号を付与してもよい(ステップS502)。分配部206は、第1の元信号及び第2の元信号を制御装置40に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS503)。   The interface 201 acquires the first original signal and the second original signal (step S501). The distribution unit 206 classifies the first original signal and the second original signal for each control program based on the association between the original signal and the control program. The distribution unit 206 may assign a number indicating classification to the first original signal and the second original signal (step S502). The distribution unit 206 determines whether to transmit the first original signal and the second original signal to the control device 40 for each original signal based on the distribution destination information (step S503).

第1の元信号を制御装置40に送信しないと分配部206が判定した場合(ステップS503:NO)、生成部207は、分類された第1の元信号に基づいて、目標の送信時刻に間に合うように第1制御信号を生成する(ステップS504)。第2の元信号を制御装置40に送信すると分配部206が判定した場合(ステップS503:YES)、通信部209は、分類された第2の元信号を制御装置40に送信する(ステップS505)。   When the distribution unit 206 determines that the first original signal is not transmitted to the control device 40 (step S503: NO), the generation unit 207 is in time for the target transmission time based on the classified first original signal. Thus, the first control signal is generated (step S504). When the distribution unit 206 determines that the second original signal is transmitted to the control device 40 (step S503: YES), the communication unit 209 transmits the classified second original signal to the control device 40 (step S505). .

分配部206は、取得した全ての第1の元信号について第1制御信号を生成したか否かを判定する(ステップS506)。演算装置20が第1制御信号の生成処理を施していない第1の元信号が残っている場合(ステップS506:NO)、分配部206は、ステップS504に処理を戻す。   The distribution unit 206 determines whether or not the first control signal has been generated for all the acquired first original signals (step S506). When the first original signal for which the arithmetic device 20 has not performed the first control signal generation process remains (step S506: NO), the distribution unit 206 returns the process to step S504.

取得した全ての第1の元信号について第1制御信号を生成した場合(ステップS506:YES)、インタフェース201は、第1制御信号を出力装置50に送信する(ステップS507)。集約部210は、複数の制御装置40から取得した複数の第2制御信号を集約する(ステップS508)。インタフェース201は、取得した第2制御信号を、出力装置50に送信する(ステップS509)。演算装置20の各部は、ステップS501に処理を戻す。   When the first control signal is generated for all the acquired first original signals (step S506: YES), the interface 201 transmits the first control signal to the output device 50 (step S507). The aggregating unit 210 aggregates a plurality of second control signals acquired from the plurality of control devices 40 (step S508). The interface 201 transmits the acquired second control signal to the output device 50 (step S509). Each part of the arithmetic unit 20 returns the process to step S501.

以上のように、第1の実施形態の演算装置20は、測定部211と、通信部209と、生成部207と、インタフェース201とを持つ。測定部211は、演算装置20と制御装置40との間の通信時間を測定する。通信部209(送信部)は、制御信号を生成するための元となる信号である元信号を制御装置に送信する。通信部209(取得部)は、制御装置40が第2の元信号に基づいて生成した第2制御信号を制御装置40から取得する。生成部207は、制御装置40が第2制御信号を生成するのに要する時間と通信時間との合計値(応答時間)に応じて第2制御信号を第2の元信号に基づいて生成する。インタフェース201は、制御装置40から取得した第2制御信号と生成部207が生成した第2制御信号とのうち、より早い時刻に送信可能である第2制御信号を送信する。   As described above, the arithmetic device 20 according to the first embodiment includes the measurement unit 211, the communication unit 209, the generation unit 207, and the interface 201. The measuring unit 211 measures the communication time between the arithmetic device 20 and the control device 40. The communication unit 209 (transmission unit) transmits an original signal, which is a source signal for generating a control signal, to the control device. The communication unit 209 (acquisition unit) acquires from the control device 40 the second control signal generated by the control device 40 based on the second original signal. The generation unit 207 generates the second control signal based on the second original signal according to the total value (response time) of the time required for the control device 40 to generate the second control signal and the communication time. The interface 201 transmits a second control signal that can be transmitted at an earlier time among the second control signal acquired from the control device 40 and the second control signal generated by the generation unit 207.

これによって、第1の実施形態の演算装置20は、通信回線30に伝送遅延が発生した場合でも、制御対象の出力装置50を一定時間内に制御することができる。   Thus, the arithmetic device 20 of the first embodiment can control the output device 50 to be controlled within a certain time even when a transmission delay occurs in the communication line 30.

第1の実施形態の演算装置20は、制御の一部を実行するので、制御システム1aの初期の設備コストを抑えることができる。第1の実施形態の制御システム1aは、クラウドサーバ装置等である制御装置40と演算装置20とが連携することで、通信回線30に発生した伝搬遅延の影響を低減することができる。   Since the arithmetic unit 20 of the first embodiment executes a part of the control, the initial equipment cost of the control system 1a can be suppressed. The control system 1a according to the first embodiment can reduce the influence of the propagation delay generated in the communication line 30 by cooperation between the control device 40 such as a cloud server device and the arithmetic device 20.

第1の実施形態の制御システム1aは、物理的に離れた複数の制御装置40にプログラムを記憶させることができる。第1の実施形態の制御システム1aは、制御プログラムが失われることがないため、制御プログラムの再構築時間及び制御装置40の交換時間を短くすることができる。   The control system 1a of the first embodiment can store a program in a plurality of control devices 40 that are physically separated. Since the control system 1a of the first embodiment does not lose the control program, the control program rebuilding time and the control device 40 replacement time can be shortened.

(第2の実施形態)
第2の実施形態では、制御システム1bが集約演算装置60を備える点が、第1の実施形態と相違する。第2の実施形態では、第1の実施形態との相違点についてのみ説明する。
(Second Embodiment)
The second embodiment is different from the first embodiment in that the control system 1b includes an aggregation calculation device 60. In the second embodiment, only differences from the first embodiment will be described.

図7は、演算装置20を備える制御システム1bの構成の例を示す図である。制御システム1bは、入力装置10と、演算装置20と、通信回線30と、制御装置40と、出力装置50と、集約演算装置60とを備える。   FIG. 7 is a diagram illustrating an example of the configuration of the control system 1b including the arithmetic device 20. The control system 1b includes an input device 10, an arithmetic device 20, a communication line 30, a control device 40, an output device 50, and an aggregate arithmetic device 60.

第2の実施形態では、入力装置10は、一例として、第1の元信号と第2の元信号と第3の元信号とを演算装置20に送信する。第1の元信号は、例えば、スイッチ又はボタンに対する操作に応じたデジタル信号である。第2の元信号は、例えば、出力装置50に関する温度に応じたアナログ信号である。第3の元信号は、例えば、出力装置50に関する圧力に応じたアナログ信号である。   In the second embodiment, as an example, the input device 10 transmits a first original signal, a second original signal, and a third original signal to the arithmetic device 20. The first original signal is, for example, a digital signal corresponding to an operation on a switch or button. The second original signal is an analog signal corresponding to the temperature related to the output device 50, for example. The third original signal is, for example, an analog signal corresponding to the pressure related to the output device 50.

比較部208は、今回取得された第1の元信号と前回取得された第1の元信号とが同じ内容を示す信号であるか否かを判定してもよい。比較部208は、今回取得された第2の元信号と前回取得された第2の元信号とが同じ内容を示す信号であるか否かを判定してもよい。比較部208は、今回取得された第3の元信号と前回取得された第3の元信号とが同じ内容を示す信号であるか否かを判定してもよい。   The comparison unit 208 may determine whether or not the first original signal acquired this time and the first original signal acquired last time are signals indicating the same content. The comparison unit 208 may determine whether or not the second original signal acquired this time and the second original signal acquired last time are signals indicating the same content. The comparison unit 208 may determine whether or not the third original signal acquired this time and the third original signal acquired last time are signals indicating the same content.

分配部206は、元信号と制御プログラムとの対応付けに基づいて、第1の元信号と第2の元信号と第3の元信号とを制御プログラムごとに分類してもよい。分配部206は、第1の元信号と第2の元信号と第3の元信号とに、分類を示す番号を付与してもよい。   The distribution unit 206 may classify the first original signal, the second original signal, and the third original signal for each control program based on the association between the original signal and the control program. The distribution unit 206 may assign a number indicating the classification to the first original signal, the second original signal, and the third original signal.

集約演算装置60は、通信を中継する中継装置である。集約演算装置60は、ローカルネットワーク110を介して、第1の元信号と第2の元信号と第3の元信号とを演算装置20から取得する。集約演算装置60は、通信回線30を介して、第2の元信号と第3の元信号とを制御装置40に送信する。集約演算装置60は、第3の元信号に基づいて第3制御信号を生成する。集約演算装置60は、第3御信号を演算装置20に送信する。   The aggregation arithmetic device 60 is a relay device that relays communication. The aggregation arithmetic device 60 acquires the first original signal, the second original signal, and the third original signal from the arithmetic device 20 via the local network 110. The aggregation arithmetic device 60 transmits the second original signal and the third original signal to the control device 40 via the communication line 30. The aggregation calculation device 60 generates a third control signal based on the third original signal. The aggregation arithmetic device 60 transmits the third control signal to the arithmetic device 20.

集約演算装置60の構成を説明する。
集約演算装置60は、第2制御信号を制御装置40から取得する。集約演算装置60は、第2制御信号を制御装置40ごとに取得し、複数の第2制御信号を集約する。集約演算装置60は、集約した第2制御信号を演算装置20に送信する。集約演算装置60は、集約した第2制御信号を、複数の演算装置20に送信してもよい。
The configuration of the aggregation calculation device 60 will be described.
The aggregation calculation device 60 acquires the second control signal from the control device 40. The aggregation calculation device 60 acquires the second control signal for each control device 40 and aggregates the plurality of second control signals. The aggregation arithmetic device 60 transmits the aggregated second control signal to the arithmetic device 20. The aggregation arithmetic device 60 may transmit the aggregated second control signal to the plurality of arithmetic devices 20.

集約演算装置60は、通信部601と、分配先記憶部602と、プログラム記憶部603と、時間記憶部604と、分配部605と、生成部606と、集約部607と、測定部608とを備える。   The aggregation calculation device 60 includes a communication unit 601, a distribution destination storage unit 602, a program storage unit 603, a time storage unit 604, a distribution unit 605, a generation unit 606, an aggregation unit 607, and a measurement unit 608. Prepare.

通信部601と、分配部605と、生成部606と、集約部607と、測定部608との一部または全部は、例えば、CPU等のプロセッサが、記憶部に記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、これらの機能部のうち一部または全部は、LSIやASIC等のハードウェア機能部であってもよい。   Some or all of the communication unit 601, the distribution unit 605, the generation unit 606, the aggregation unit 607, and the measurement unit 608, for example, a processor such as a CPU executes a program stored in the storage unit. This is a software function unit that functions according to Some or all of these functional units may be hardware functional units such as an LSI or an ASIC.

分配先記憶部602と、プログラム記憶部603と、時間記憶部604との一部または全部は、例えば、磁気ハードディスク装置や半導体記憶装置等の不揮発性の記憶媒体(非一時的な記録媒体)を有する記憶装置を用いて構成される。各記憶部は、例えば、RAMやレジスタなどの揮発性の記憶媒体を有していてもよい。   Part or all of the distribution destination storage unit 602, the program storage unit 603, and the time storage unit 604 is a non-volatile storage medium (non-temporary recording medium) such as a magnetic hard disk device or a semiconductor storage device. It is configured using a storage device. Each storage unit may have, for example, a volatile storage medium such as a RAM or a register.

通信部601は、第2の元信号を演算装置20から取得する。通信部601は、第3の元信号を入力装置10から取得する。通信部601は、取得した第2の元信号を制御装置40に送信する。通信部601は、制御装置40が第2の元信号に基づいて生成した第2制御信号を、通信回線30を介して制御装置40から取得する。通信部601は、制御装置40が第2の元信号に基づいて生成した第2制御信号を、ローカルネットワーク110を介して、演算装置20に送信する。   The communication unit 601 acquires the second original signal from the arithmetic device 20. The communication unit 601 acquires the third original signal from the input device 10. The communication unit 601 transmits the acquired second original signal to the control device 40. The communication unit 601 acquires the second control signal generated by the control device 40 based on the second original signal from the control device 40 via the communication line 30. The communication unit 601 transmits the second control signal generated by the control device 40 based on the second original signal to the arithmetic device 20 via the local network 110.

分配先記憶部602は、分配先情報を記憶する。第2の実施形態では、分配先記憶部602に記憶される分配先情報において、第3の元信号と集約演算装置60とが対応付けられている。すなわち、第3の元信号の分配先は、集約演算装置60である。これによって、集約演算装置60は、第3の元信号に基づいて第3制御信号を生成することができる。第2の実施形態では、分配先記憶部602に記憶される分配先情報において、第2の元信号と制御装置40とが対応付けられている。すなわち、第2の元信号の分配先は、制御装置40である。これによって、集約演算装置60は、第2の元信号に基づいて第2制御信号を生成することができる。制御装置40は、第2の元信号に基づいて第2制御信号を生成することができる。   The distribution destination storage unit 602 stores distribution destination information. In the second embodiment, in the distribution destination information stored in the distribution destination storage unit 602, the third original signal and the aggregation calculation device 60 are associated with each other. That is, the distribution destination of the third original signal is the aggregation arithmetic device 60. Thereby, the aggregation calculation device 60 can generate the third control signal based on the third original signal. In the second embodiment, in the distribution destination information stored in the distribution destination storage unit 602, the second original signal and the control device 40 are associated with each other. That is, the distribution destination of the second original signal is the control device 40. Thereby, the aggregation calculation device 60 can generate the second control signal based on the second original signal. The control device 40 can generate the second control signal based on the second original signal.

プログラム記憶部603は、生成部606が演算を実行するためのプログラムを記憶する。プログラム記憶部603が記憶しているプログラムは、制御装置40から取得したプログラムでもよい。プログラム記憶部603が記憶しているプログラムは、制御装置40のプログラム記憶部42が記憶しているプログラムと同じでもよい。プログラム記憶部203が記憶しているプログラムは、制御装置40のプログラム記憶部42が記憶しているプログラムの一部でもよい。   The program storage unit 603 stores a program for the generation unit 606 to execute an operation. The program stored in the program storage unit 603 may be a program acquired from the control device 40. The program stored in the program storage unit 603 may be the same as the program stored in the program storage unit 42 of the control device 40. The program stored in the program storage unit 203 may be a part of the program stored in the program storage unit 42 of the control device 40.

時間記憶部604は、制御装置40がプログラムを実行した場合の処理時間を表す情報を記憶する。制御装置40がプログラムを実行した場合の処理時間は、例えば、制御装置40が第2制御信号を生成するのに要する時間である。時間記憶部604は、集約演算装置60がプログラムを実行した場合の処理時間を表す情報を記憶してもよい。集約演算装置60がプログラムを実行した場合の処理時間は、例えば、集約演算装置60が第2制御信号又は第3制御信号を生成するのに要する時間である。時間記憶部604は、制御装置40から取得した応答時間の測定値を記憶する。時間記憶部604は、制御装置40から取得した平均応答時間の測定値を記憶する。   The time storage unit 604 stores information representing the processing time when the control device 40 executes the program. The processing time when the control device 40 executes the program is, for example, the time required for the control device 40 to generate the second control signal. The time storage unit 604 may store information representing a processing time when the aggregate arithmetic device 60 executes a program. The processing time when the central processing unit 60 executes the program is, for example, the time required for the central processing unit 60 to generate the second control signal or the third control signal. The time storage unit 604 stores the response time measurement value acquired from the control device 40. The time storage unit 604 stores the average response time measurement value acquired from the control device 40.

分配部605は、分配先情報に基づいて、第3の元信号の分配先を集約演算装置60に決定する。これによって、分配部605は、第3の元信号を制御装置40に送信しない、と判定することができる。分配部605は、分配先情報に基づいて、第2の元信号の分配先を制御装置40に決定する。   The distribution unit 605 determines the distribution destination of the third original signal to the aggregation arithmetic device 60 based on the distribution destination information. Thereby, the distribution unit 605 can determine that the third original signal is not transmitted to the control device 40. The distribution unit 605 determines the distribution destination of the second original signal to the control device 40 based on the distribution destination information.

分配部605は、前回の応答時間の測定値に基づいて、制御装置40から取得した第2制御信号又は生成部606が生成した第2制御信号を選択する。すなわち、分配部605は、通信回線30に伝送遅延が発生しているか否かに基づいて、制御装置40から取得した第2制御信号又は生成部606が生成した第2制御信号を選択する。   The distribution unit 605 selects the second control signal acquired from the control device 40 or the second control signal generated by the generation unit 606 based on the previous measured response time. That is, the distribution unit 605 selects the second control signal acquired from the control device 40 or the second control signal generated by the generation unit 606 based on whether or not a transmission delay has occurred in the communication line 30.

例えば、分配部605は、閾値が前回の応答時間の測定値以上である場合、制御装置40から取得した第2制御信号を選択する。すなわち、分配部605は、通信回線30に伝送遅延が発生していない場合、制御装置40から取得した第2制御信号を選択する。   For example, the distribution unit 605 selects the second control signal acquired from the control device 40 when the threshold is equal to or greater than the measurement value of the previous response time. That is, the distribution unit 605 selects the second control signal acquired from the control device 40 when there is no transmission delay in the communication line 30.

例えば、分配部605は、閾値が前回の応答時間の測定値未満である場合、生成部606が生成した第2制御信号を選択する。すなわち、分配部206は、通信回線30に伝送遅延が発生している場合、生成部606が生成した第2制御信号を選択する。   For example, the distribution unit 605 selects the second control signal generated by the generation unit 606 when the threshold value is less than the measured value of the previous response time. That is, the distribution unit 206 selects the second control signal generated by the generation unit 606 when a transmission delay occurs in the communication line 30.

生成部606は、目標の送信時刻に間に合うように、第3の元信号に基づいて第3制御信号を生成する。生成部606が生成した第3制御信号を分配部605が選択した場合、目標の送信時刻に間に合うように、第3の元信号に基づいて第3制御信号を生成する。   The generation unit 606 generates a third control signal based on the third original signal so as to be in time for the target transmission time. When the distribution unit 605 selects the third control signal generated by the generation unit 606, the third control signal is generated based on the third original signal in time for the target transmission time.

集約部607は、複数の制御装置40から取得した第2制御信号を集約する。すなわち、集約部607は、複数の第2制御信号をまとめる。なお、集約部607は、制御装置40が1台である場合、制御装置40から取得した第2制御信号を集約しなくてもよい。   The aggregating unit 607 aggregates the second control signals acquired from the plurality of control devices 40. That is, the aggregation unit 607 collects a plurality of second control signals. Note that the aggregation unit 607 may not aggregate the second control signals acquired from the control device 40 when the number of the control devices 40 is one.

測定部608は、制御装置40の代わりに、応答時間を測定してもよい。測定部608は、例えば、通信部601から制御装置40に第2の元信号を送信した時刻と第2制御信号を通信部601が取得した時刻との差と、制御装置40がプログラムを実行した場合の処理時間とに基づいて、応答時間の測定値を算出してもよい。測定部608は、算出した応答時間の測定値を、時間記憶部604に記憶させてもよい。測定部608は、算出した平均応答時間の測定値を、時間記憶部604に記憶させてもよい。   The measurement unit 608 may measure the response time instead of the control device 40. The measurement unit 608, for example, the difference between the time when the second original signal is transmitted from the communication unit 601 to the control device 40 and the time when the communication unit 601 acquires the second control signal, and the control device 40 executes the program. The measurement value of the response time may be calculated based on the processing time in the case. The measurement unit 608 may cause the time storage unit 604 to store the calculated measured response time. The measurement unit 608 may cause the time storage unit 604 to store the calculated measurement value of the average response time.

図8は、制御システム1bの動作の例を示すシーケンス図である。入力装置10は、第1の元信号と第2の元信号と第3の元信号とを、演算装置20に送信する(ステップS601)。演算装置20は、第1の元信号と第2の元信号と第3の元信号とを取得する(ステップS602)。演算装置20は、前回の応答時間の測定値と閾値とを比較する。演算装置20は、分配先情報に基づいて第2の元信号の分配先を制御装置40に決定する。演算装置20は、分配先情報に基づいて第3の元信号の分配先を集約演算装置60に決定する(ステップS603)。演算装置20は、第2の元信号と第3の元信号とを集約演算装置60に送信する(ステップS604)。   FIG. 8 is a sequence diagram illustrating an example of the operation of the control system 1b. The input device 10 transmits the first original signal, the second original signal, and the third original signal to the arithmetic device 20 (step S601). The arithmetic unit 20 acquires the first original signal, the second original signal, and the third original signal (step S602). The arithmetic unit 20 compares the measured value of the previous response time with the threshold value. The arithmetic device 20 determines the control device 40 as a distribution destination of the second original signal based on the distribution destination information. The arithmetic unit 20 determines the distribution destination of the third original signal as the aggregate arithmetic unit 60 based on the distribution destination information (step S603). The arithmetic device 20 transmits the second original signal and the third original signal to the aggregate arithmetic device 60 (step S604).

集約演算装置60は、第2の元信号及び第3の元信号を取得する(ステップS605)。集約演算装置60は、前回の応答時間の測定値と閾値とを比較する。集約演算装置60は、分配先情報に基づいて第2の元信号の分配先を制御装置40に決定する(ステップS606)。集約演算装置60は、第2の元信号を制御装置40に送信する(ステップS607)。   The aggregation calculation device 60 acquires the second original signal and the third original signal (step S605). The aggregation calculation device 60 compares the measured value of the previous response time with a threshold value. The aggregation calculation device 60 determines the distribution destination of the second original signal to the control device 40 based on the distribution destination information (step S606). The aggregation calculation device 60 transmits the second original signal to the control device 40 (step S607).

制御装置40は、第2の元信号を取得する(ステップS608)。制御装置40は、第2の元信号に基づいて第2制御信号を生成する(ステップS609)。制御装置40は、生成した第2制御信号を演算装置20に送信する(ステップS610)。   The control device 40 acquires the second original signal (step S608). The control device 40 generates a second control signal based on the second original signal (step S609). The control device 40 transmits the generated second control signal to the arithmetic device 20 (step S610).

演算装置20は、第1の元信号に基づいて第1制御信号を生成する(ステップS611)。演算装置20は、第1制御信号を出力装置50に送信する(ステップS612)。出力装置50は、第1制御信号を演算装置20から取得する(ステップS613)。演算装置20は、第2の元信号に基づいて第2制御信号を生成する(ステップS614)。   The computing device 20 generates a first control signal based on the first original signal (step S611). The computing device 20 transmits the first control signal to the output device 50 (step S612). The output device 50 acquires the first control signal from the arithmetic device 20 (step S613). The computing device 20 generates a second control signal based on the second original signal (step S614).

集約演算装置60は、第3の元信号に基づいて第3制御信号を生成する(ステップS615)。集約演算装置60は、第3制御信号を演算装置20に送信する(ステップS616)。演算装置20は、第3制御信号を取得する(ステップS617)。演算装置20は、第3制御信号を出力装置50に送信する(ステップS618)。出力装置50は、第3制御信号を演算装置20から取得する(ステップS619)。   The aggregation calculation device 60 generates a third control signal based on the third original signal (step S615). The aggregate calculation device 60 transmits the third control signal to the calculation device 20 (step S616). The arithmetic unit 20 acquires the third control signal (step S617). The computing device 20 transmits the third control signal to the output device 50 (step S618). The output device 50 acquires the third control signal from the arithmetic device 20 (step S619).

集約演算装置60は、第2の元信号に基づいて第2制御信号を生成する(ステップS620)。集約演算装置60は、第2制御信号を取得する(ステップS621)。集約演算装置60は、第2制御信号を演算装置20に送信する(ステップS622)。演算装置20は、第2制御信号を取得する(ステップS623)。演算装置20は、第2制御信号を出力装置50に送信する(ステップS624)。出力装置50は、第2制御信号を演算装置20から取得する(ステップS625)。   The aggregation calculation device 60 generates a second control signal based on the second original signal (step S620). The aggregation calculation device 60 acquires the second control signal (step S621). The aggregate calculation device 60 transmits the second control signal to the calculation device 20 (step S622). The arithmetic unit 20 acquires the second control signal (step S623). The computing device 20 transmits the second control signal to the output device 50 (step S624). The output device 50 acquires the second control signal from the arithmetic device 20 (step S625).

図9は、演算装置20の動作の例を示すフローチャートである。ステップS701は、図8に示すステップS602に対応する。ステップS710は、図8に示すステップS612に対応する。ステップS712は、図8に示すステップS618に対応する。   FIG. 9 is a flowchart illustrating an example of the operation of the arithmetic device 20. Step S701 corresponds to step S602 shown in FIG. Step S710 corresponds to step S612 shown in FIG. Step S712 corresponds to step S618 shown in FIG.

インタフェース201は、第1の元信号と第2の元信号と第3の元信号とを取得する(ステップS701)。分配部206は、閾値が前回の応答時間の測定値以上であるか否かを判定する(ステップS702)。   The interface 201 acquires the first original signal, the second original signal, and the third original signal (step S701). The distribution unit 206 determines whether or not the threshold is equal to or greater than the measured value of the previous response time (step S702).

閾値が前回の応答時間の測定値以上である場合(ステップS702:YES)、分配部206は、第1の元信号と第2の元信号と第3の元信号とを集約演算装置60に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS703)。   When the threshold is equal to or greater than the measurement value of the previous response time (step S702: YES), the distribution unit 206 transmits the first original signal, the second original signal, and the third original signal to the aggregation processing device 60. It is determined for each original signal based on the distribution destination information (step S703).

第1の元信号を集約演算装置60に送信しないと分配部206が判定した場合(ステップS703:NO)、生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する(ステップS704)。第2の元信号及び第3の元信号を集約演算装置60に送信すると分配部206が判定した場合(ステップS703:YES)、通信部209は、第2の元信号及び第3の元信号を集約演算装置60に送信する(ステップS705)。   When the distribution unit 206 determines that the first original signal is not transmitted to the aggregation processing device 60 (step S703: NO), the generation unit 207 is based on the first original signal so as to be in time for the target transmission time. A first control signal is generated (step S704). When the distribution unit 206 determines that the second original signal and the third original signal are transmitted to the aggregation processing device 60 (step S703: YES), the communication unit 209 transmits the second original signal and the third original signal. The data is transmitted to the aggregation calculation device 60 (step S705).

閾値が前回の応答時間の測定値未満である場合(ステップS702:NO)、分配部206は、第1の元信号と第2の元信号と第3の元信号とを集約演算装置60に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS706)。   When the threshold value is less than the measured value of the previous response time (step S702: NO), the distribution unit 206 transmits the first original signal, the second original signal, and the third original signal to the aggregation processing device 60. It is determined for each original signal based on the distribution destination information (step S706).

第1の元信号を集約演算装置60に送信しないと分配部206が判定した場合(ステップS706:NO)、生成部207は、目標の送信時刻に間に合うように、第1の元信号に基づいて第1制御信号を生成する。生成部207は、目標の送信時刻に間に合うように、第3の元信号に基づいて第3制御信号を生成する(ステップS707)。第2の元信号及び第3の元信号を集約演算装置60に送信すると分配部206が判定した場合(ステップS706:YES)、通信部209は、第2の元信号及び第3の元信号を集約演算装置60に送信する(ステップS708)。   When the distribution unit 206 determines that the first original signal is not transmitted to the aggregation processing device 60 (step S706: NO), the generation unit 207 is based on the first original signal so as to be in time for the target transmission time. A first control signal is generated. The generation unit 207 generates a third control signal based on the third original signal so as to be in time for the target transmission time (step S707). When the distribution unit 206 determines that the second original signal and the third original signal are transmitted to the aggregation processing device 60 (step S706: YES), the communication unit 209 transmits the second original signal and the third original signal. The data is transmitted to the aggregation calculation device 60 (step S708).

分配部206は、取得した全ての第1の元信号について第1制御信号を生成し、かつ、取得した全ての第3の元信号について第3制御信号を生成したか否かを判定する(ステップS709)。演算装置20が生成処理を施していない第1の元信号又は第3の元信号が残っている場合(ステップS709:NO)、分配部206は、ステップS702における判定結果に応じて、ステップS704又はステップS707に処理を戻す。   The distribution unit 206 determines whether or not the first control signal has been generated for all the acquired first original signals and the third control signal has been generated for all the acquired third original signals (step). S709). When the first original signal or the third original signal that has not been subjected to the generation process by the arithmetic device 20 remains (step S709: NO), the distribution unit 206 determines whether or not the step S704 or step S702 The process returns to step S707.

取得した全ての第1の元信号について第1制御信号を生成し、かつ、取得した全ての第3の元信号について第3制御信号を生成した場合(ステップS709:YES)、インタフェース201は、第1制御信号を出力装置50に送信する(ステップS710)。集約部210は、集約演算装置60から取得した複数の第3制御信号を集約してもよい(ステップS711)。   When the first control signal is generated for all the acquired first original signals and the third control signal is generated for all the acquired third original signals (step S709: YES), the interface 201 One control signal is transmitted to the output device 50 (step S710). The aggregation unit 210 may aggregate a plurality of third control signals acquired from the aggregation calculation device 60 (step S711).

インタフェース201は、生成部207が第3制御信号を生成する前に第3制御信号を集約演算装置60から取得した場合、取得した第3制御信号を出力装置50に送信する。インタフェース201は、生成部207が第3制御信号を生成する前に第3制御信号を集約演算装置60から取得していない場合、生成部207が生成した第3制御信号を出力装置50に送信する(ステップS712)。演算装置20の各部は、ステップS701に処理を戻す。   When the generation unit 207 acquires the third control signal from the aggregation arithmetic device 60 before the generation unit 207 generates the third control signal, the interface 201 transmits the acquired third control signal to the output device 50. The interface 201 transmits the third control signal generated by the generation unit 207 to the output device 50 when the generation unit 207 has not acquired the third control signal from the aggregation processing device 60 before generating the third control signal. (Step S712). Each unit of the arithmetic device 20 returns the process to step S701.

図10は、集約演算装置60の動作の例を示すフローチャートである。ステップS801は、図8に示すステップS605に対応する。ステップS810は、図8に示すステップS616に対応する。ステップS812は、図8に示すステップS622に対応する。   FIG. 10 is a flowchart illustrating an example of the operation of the aggregation calculation device 60. Step S801 corresponds to step S605 shown in FIG. Step S810 corresponds to step S616 shown in FIG. Step S812 corresponds to step S622 shown in FIG.

インタフェース201は、第2の元信号及び第3の元信号を取得する(ステップS801)。分配部605は、閾値が前回の応答時間の測定値以上であるか否かを判定する(ステップS702)。   The interface 201 acquires the second original signal and the third original signal (step S801). The distribution unit 605 determines whether or not the threshold is equal to or greater than the measured value of the previous response time (step S702).

閾値が前回の応答時間の測定値以上である場合(ステップS802:YES)、分配部605は、第2の元信号及び第3の元信号を集約演算装置60に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS803)。   When the threshold is equal to or greater than the measured value of the previous response time (step S802: YES), the distribution unit 605 determines whether or not to transmit the second original signal and the third original signal to the aggregation processing device 60. A determination is made for each original signal based on the destination information (step S803).

第3の元信号を集約演算装置60に送信しないと分配部605が判定した場合(ステップS803:NO)、生成部606は、目標の送信時刻に間に合うように、第3の元信号に基づいて第3制御信号を生成する(ステップS804)。第2の元信号を集約演算装置60に送信すると分配部605が判定した場合(ステップS803:YES)、通信部209は、第2の元信号を集約演算装置60に送信する(ステップS805)。   When the distribution unit 605 determines that the third original signal is not transmitted to the aggregation processing device 60 (step S803: NO), the generation unit 606 is based on the third original signal so as to be in time for the target transmission time. A third control signal is generated (step S804). When the distribution unit 605 determines that the second original signal is transmitted to the aggregate arithmetic device 60 (step S803: YES), the communication unit 209 transmits the second original signal to the aggregate arithmetic device 60 (step S805).

閾値が前回の応答時間の測定値未満である場合(ステップS802:NO)、分配部605は、第2の元信号及び第3の元信号を集約演算装置60に送信するか否かを、分配先情報に基づいて元信号ごとに判定する(ステップS806)。   When the threshold value is less than the measured value of the previous response time (step S802: NO), the distribution unit 605 determines whether or not to transmit the second original signal and the third original signal to the aggregation processing device 60. A determination is made for each original signal based on the destination information (step S806).

第3の元信号を集約演算装置60に送信しないと分配部605が判定した場合(ステップS806:NO)、生成部606は、目標の送信時刻に間に合うように、第2の元信号に基づいて第2制御信号を生成する。生成部606は、目標の送信時刻に間に合うように、第3の元信号に基づいて第3制御信号を生成する(ステップS807)。第2の元信号を集約演算装置60に送信すると分配部605が判定した場合(ステップS806:YES)、通信部209は、第2の元信号を集約演算装置60に送信する(ステップS808)。   When the distribution unit 605 determines that the third original signal is not transmitted to the aggregation processing device 60 (step S806: NO), the generation unit 606 is based on the second original signal so as to be in time for the target transmission time. A second control signal is generated. The generation unit 606 generates a third control signal based on the third original signal so as to be in time for the target transmission time (step S807). When the distribution unit 605 determines that the second original signal is transmitted to the aggregate arithmetic device 60 (step S806: YES), the communication unit 209 transmits the second original signal to the aggregate arithmetic device 60 (step S808).

分配部605は、取得した全ての第2の元信号について第2制御信号を生成し、かつ、取得した全ての第3の元信号について第3制御信号を生成したか否かを判定する(ステップS809)。演算装置20が生成処理を施していない第2の元信号又は第3の元信号が残っている場合(ステップS809:NO)、分配部605は、ステップS802における判定結果に応じて、ステップS804又はステップS807に処理を戻す。   The distribution unit 605 determines whether or not the second control signal has been generated for all the acquired second original signals and the third control signal has been generated for all the acquired third original signals (step). S809). When the second original signal or the third original signal that is not subjected to the generation process by the arithmetic device 20 remains (step S809: NO), the distribution unit 605 determines whether or not the step S804 or the step S802 depends on the determination result in step S802. The process returns to step S807.

取得した全ての第2の元信号について第2制御信号を生成し、かつ、取得した全ての第3の元信号について第3制御信号を生成した場合(ステップS809:YES)、通信部601は、第3制御信号を出力装置50に送信する(ステップS810)。集約部607は、複数の制御装置40から取得した複数の第2制御信号を集約する(ステップS811)。   If the second control signal is generated for all the acquired second original signals and the third control signal is generated for all the acquired third original signals (step S809: YES), the communication unit 601 The third control signal is transmitted to the output device 50 (step S810). The aggregating unit 607 aggregates a plurality of second control signals acquired from the plurality of control devices 40 (step S811).

通信部601は、生成部606が第2制御信号を生成する前に第2制御信号を制御装置40から取得した場合、取得した第2制御信号を出力装置50に送信する。通信部601は、生成部606が第2制御信号を生成する前に第2制御信号を制御装置40から取得していない場合、生成部606が生成した第2制御信号を出力装置50に送信する(ステップS812)。集約演算装置60の各部は、ステップS801に処理を戻す。   When the generation unit 606 acquires the second control signal from the control device 40 before the generation unit 606 generates the second control signal, the communication unit 601 transmits the acquired second control signal to the output device 50. When the generation unit 606 has not acquired the second control signal from the control device 40 before the generation unit 606 generates the second control signal, the communication unit 601 transmits the second control signal generated by the generation unit 606 to the output device 50. (Step S812). Each unit of the central processing unit 60 returns the process to step S801.

図11は、制御装置40の動作の例を示すフローチャートである。ステップS901は、図8に示すステップS608に対応する。ステップS902は、図8に示すステップS609に対応する。ステップS903は、図8に示すステップS610に対応する。   FIG. 11 is a flowchart illustrating an example of the operation of the control device 40. Step S901 corresponds to step S608 shown in FIG. Step S902 corresponds to step S609 shown in FIG. Step S903 corresponds to step S610 shown in FIG.

通信部41は、第2の元信号を集約演算装置60から取得する(ステップS901)。制御部43は、プログラム記憶部42に記憶されているプログラムと第2の元信号とに基づいて、第2制御信号を生成する(ステップS902)。通信部41は、第2制御信号を集約演算装置60に送信する(ステップS903)。   The communication unit 41 acquires the second original signal from the aggregation processing device 60 (step S901). The control unit 43 generates a second control signal based on the program stored in the program storage unit 42 and the second original signal (step S902). The communication unit 41 transmits the second control signal to the aggregation calculation device 60 (step S903).

以上のように、第2の実施形態の通信部209は、通信を中継する中継装置である集約演算装置60を介して、複数の制御装置60に元信号を送信する。これによって、第2の実施形態の演算装置20は、演算装置20は、通信回線30に伝送遅延が発生した場合でも、制御対象の出力装置50を一定時間内に制御することができる。   As described above, the communication unit 209 according to the second embodiment transmits the original signal to the plurality of control devices 60 via the aggregation processing device 60 that is a relay device that relays communication. Thereby, the arithmetic device 20 of the second embodiment can control the output device 50 to be controlled within a certain time even when a transmission delay occurs in the communication line 30.

(第3の実施形態)
第3の実施形態では、制御システム1cが端末70を備える点が、第1の実施形態と相違する。第3の実施形態では、第1の実施形態との相違点についてのみ説明する。
(Third embodiment)
The third embodiment is different from the first embodiment in that the control system 1c includes a terminal 70. In the third embodiment, only differences from the first embodiment will be described.

図12は、演算装置20を備える制御システム1cの構成の例を示す図である。制御システム1cは、入力装置10と、演算装置20と、通信回線30と、制御装置40と、出力装置50と、端末70とを備える。端末70は複数でもよい。   FIG. 12 is a diagram illustrating an example of a configuration of a control system 1 c including the arithmetic device 20. The control system 1 c includes an input device 10, an arithmetic device 20, a communication line 30, a control device 40, an output device 50, and a terminal 70. There may be a plurality of terminals 70.

端末70は、パーソナルコンピュータ装置やタブレット端末等の情報処理装置である。端末70は、表示部71と、操作部72とを備える。表示部71は、表示装置である。表示部71は、プログラムを実行した装置を識別するための情報を表示する。例えば、表示部71は、プログラム記憶部203に記憶されているプログラムを演算装置20−1が実行した場合、演算装置20−1に割り当てられた識別番号を表示する。操作部72は、キーボードやマウス等のインタフェースである。操作部72は、表示部71に表示する画像を切り替える操作を受け付ける。操作部72は、表示部71に表示する画像を切り替える操作を受け付ける。   The terminal 70 is an information processing device such as a personal computer device or a tablet terminal. The terminal 70 includes a display unit 71 and an operation unit 72. The display unit 71 is a display device. The display unit 71 displays information for identifying the device that has executed the program. For example, when the arithmetic device 20-1 executes a program stored in the program storage unit 203, the display unit 71 displays an identification number assigned to the arithmetic device 20-1. The operation unit 72 is an interface such as a keyboard and a mouse. The operation unit 72 receives an operation for switching an image to be displayed on the display unit 71. The operation unit 72 receives an operation for switching an image to be displayed on the display unit 71.

演算装置20の通信部209は、生成部207がプログラムを実行した場合、自装置に割り当てられた識別情報を、端末70に送信する。端末70の表示部71は、演算装置20から取得した識別番号を表示する。すなわち、通信部209は、生成部207が制御信号を元信号に基づいて生成した場合、自装置を示す情報を表示部71に表示させる。   When the generation unit 207 executes the program, the communication unit 209 of the arithmetic device 20 transmits the identification information assigned to the own device to the terminal 70. The display unit 71 of the terminal 70 displays the identification number acquired from the arithmetic device 20. That is, the communication unit 209 causes the display unit 71 to display information indicating its own device when the generation unit 207 generates a control signal based on the original signal.

以上のように、第3の実施形態の通信部209は、プログラムを実行した演算装置20を示す情報を、端末70に送信する。これによって、第3の実施形態の端末70は、複数の演算装置20のうちプログラムを実行した演算装置20を、ユーザに把握させることができる。   As described above, the communication unit 209 according to the third embodiment transmits information indicating the computing device 20 that has executed the program to the terminal 70. Thereby, the terminal 70 of the third embodiment can make the user grasp the arithmetic device 20 that has executed the program among the plurality of arithmetic devices 20.

(第4の実施形態)
第4の実施形態では、制御システム1dが集約演算装置60を備える点が、第3の実施形態と相違する。第4の実施形態では、第3の実施形態との相違点についてのみ説明する。
(Fourth embodiment)
The fourth embodiment is different from the third embodiment in that the control system 1d includes an aggregation calculation device 60. In the fourth embodiment, only differences from the third embodiment will be described.

図13は、演算装置20を備える制御システム1dの構成の例を示す図である。制御システム1cは、入力装置10と、演算装置20と、通信回線30と、制御装置40と、出力装置50と、集約演算装置60と、端末70とを備える。端末70は複数でもよい。   FIG. 13 is a diagram illustrating an example of a configuration of a control system 1 d including the arithmetic device 20. The control system 1 c includes an input device 10, an arithmetic device 20, a communication line 30, a control device 40, an output device 50, an aggregate arithmetic device 60, and a terminal 70. There may be a plurality of terminals 70.

通信部209は、プログラムを実行した演算装置20を示す情報を、端末70に送信する。通信部601は、プログラムを実行した集約演算装置60を示す情報を、端末70に送信する。表示部71は、プログラム記憶部203に記憶されているプログラムを実行した演算装置20に割り当てられた識別番号を表示する。表示部71は、プログラム記憶部603に記憶されているプログラムを実行した集約演算装置60に割り当てられた識別番号を表示する。   The communication unit 209 transmits information indicating the arithmetic device 20 that has executed the program to the terminal 70. The communication unit 601 transmits information indicating the aggregate arithmetic device 60 that has executed the program to the terminal 70. The display unit 71 displays the identification number assigned to the arithmetic device 20 that has executed the program stored in the program storage unit 203. The display unit 71 displays the identification number assigned to the aggregate arithmetic device 60 that has executed the program stored in the program storage unit 603.

以上のように、第4の実施形態の通信部209は、プログラムを実行した演算装置20を示す情報を、端末70に送信する。第4の実施形態の通信部601は、プログラムを実行した集約演算装置60を示す情報を、端末70に送信する。これによって、第4の実施形態の端末70は、複数の演算装置20と集約演算装置60とのうちプログラムを実行した装置を、ユーザに把握させることができる。   As described above, the communication unit 209 according to the fourth embodiment transmits information indicating the computing device 20 that has executed the program to the terminal 70. The communication unit 601 according to the fourth embodiment transmits information indicating the aggregate arithmetic device 60 that has executed the program to the terminal 70. Thereby, the terminal 70 according to the fourth embodiment can allow the user to grasp the device that has executed the program among the plurality of arithmetic devices 20 and the aggregate arithmetic device 60.

以上述べた少なくともひとつの実施形態によれば、制御装置が制御信号を生成するのに要する時間と通信時間との合計値に応じて制御信号を元信号に基づいて生成する生成部を持つことにより、通信回線に伝送遅延が発生した場合でも、制御対象の装置を一定時間内に制御することができる。   According to at least one embodiment described above, by including a generation unit that generates a control signal based on an original signal according to a total value of a time required for the control device to generate a control signal and a communication time. Even when a transmission delay occurs in the communication line, the device to be controlled can be controlled within a certain time.

以上、本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。   As mentioned above, although some embodiment of this invention was described, these embodiment is shown as an example and is not intending limiting the range of invention. These embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and gist of the invention, and are also included in the invention described in the claims and the equivalents thereof.

1a…制御システム、1b…制御システム、1c…制御システム、1d…制御システム、10…入力装置、20…演算装置、30…通信回線、40…制御装置、41…通信部、42…プログラム記憶部、43…制御部、50…出力装置、60…集約演算装置、70…端末、71…表示部、72…操作部、100…ローカルネットワーク、110…ローカルネットワーク、201…インタフェース、202…分配先記憶部、203…プログラム記憶部、204…時間記憶部、205…結果記憶部、206…分配部、207…生成部、208…比較部、209…通信部、210…集約部、211…測定部、601…通信部、602…分配先記憶部、603…プログラム記憶部、604…時間記憶部、605…分配部、606…生成部、607…集約部、608…測定部 DESCRIPTION OF SYMBOLS 1a ... Control system, 1b ... Control system, 1c ... Control system, 1d ... Control system, 10 ... Input device, 20 ... Arithmetic device, 30 ... Communication line, 40 ... Control device, 41 ... Communication part, 42 ... Program storage part , 43 ... control unit, 50 ... output device, 60 ... aggregation processing device, 70 ... terminal, 71 ... display unit, 72 ... operation unit, 100 ... local network, 110 ... local network, 201 ... interface, 202 ... distribution destination storage , 203 ... Program storage unit, 204 ... Time storage unit, 205 ... Result storage unit, 206 ... Distribution unit, 207 ... Generation unit, 208 ... Comparison unit, 209 ... Communication unit, 210 ... Aggregation unit, 211 ... Measurement unit, 601: Communication unit, 602 ... Distribution destination storage unit, 603 ... Program storage unit, 604 ... Time storage unit, 605 ... Distribution unit, 606 ... Generation unit, 607 ... Collection Department, 608 ... measurement unit

Claims (7)

自装置と制御装置との間の通信時間を測定する測定部と、
制御信号を生成するための元となる信号である元信号を前記制御装置に送信する送信部と、
前記制御装置が前記元信号に基づいて生成した制御信号を前記制御装置から取得する取得部と、
前記制御装置が制御信号を生成するのに要する時間と前記通信時間との合計値に応じて制御信号を前記元信号に基づいて生成する生成部と、
前記制御装置から取得した制御信号と前記生成部が生成した制御信号とのうち、より早い時刻に送信可能である制御信号を送信するインタフェースと、
を備える演算装置。
A measuring unit for measuring the communication time between the own device and the control device;
A transmission unit that transmits an original signal, which is a signal for generating a control signal, to the control device;
An acquisition unit for acquiring from the control device a control signal generated by the control device based on the original signal;
A generation unit that generates a control signal based on the original signal according to a total value of a time required for the control device to generate a control signal and the communication time;
Of the control signal acquired from the control device and the control signal generated by the generation unit, an interface for transmitting a control signal that can be transmitted at an earlier time;
An arithmetic device comprising:
異なるタイミングで取得された前記元信号を比較する比較部
を更に備え、
前記インタフェースは、異なるタイミングで取得された前記元信号が同じ内容を示す信号である場合、前記元信号に基づいて予め生成された制御信号を送信する、請求項1に記載の演算装置。
A comparison unit for comparing the original signals acquired at different timings;
The arithmetic unit according to claim 1, wherein the interface transmits a control signal generated in advance based on the original signal when the original signal acquired at different timings is a signal indicating the same content.
前記生成部は、前記生成部が実行するプログラムごとに分類された前記元信号に基づいて制御信号を生成する、請求項1に記載の演算装置。   The arithmetic unit according to claim 1, wherein the generation unit generates a control signal based on the original signal classified for each program executed by the generation unit. 前記送信部は、通信を中継する中継装置を介して、複数の前記制御装置に前記元信号を送信する、請求項1に記載の演算装置。   The computing device according to claim 1, wherein the transmission unit transmits the original signal to a plurality of the control devices via a relay device that relays communication. 前記送信部は、前記生成部が制御信号を前記元信号に基づいて生成した場合、自装置を示す情報を表示装置に表示させる、請求項1に記載の演算装置。   The arithmetic unit according to claim 1, wherein when the generation unit generates a control signal based on the original signal, the transmission unit displays information indicating the own device on a display device. 演算装置における演算方法であって、
自装置と制御装置との間の通信時間を測定するステップと、
制御信号を生成するための元となる信号である元信号を前記制御装置に送信するステップと、
前記制御装置が前記元信号に基づいて生成した制御信号を前記制御装置から取得するステップと、
前記制御装置が制御信号を生成するのに要する時間と前記通信時間との合計値に応じて制御信号を前記元信号に基づいて生成するステップと、
前記制御装置から取得した制御信号と自装置が生成した制御信号とのうち、より早い時刻に送信可能である制御信号を送信するステップと、
を含む演算方法。
An arithmetic method in an arithmetic device,
Measuring the communication time between the device itself and the control device;
Transmitting an original signal, which is an original signal for generating a control signal, to the control device;
Obtaining from the control device a control signal generated by the control device based on the original signal;
Generating a control signal based on the original signal according to a total value of a time required for the control device to generate a control signal and the communication time;
Transmitting a control signal that can be transmitted at an earlier time among the control signal acquired from the control device and the control signal generated by the device;
Calculation method including
コンピュータに、
自装置と制御装置との間の通信時間を測定する手順と、
制御信号を生成するための元となる信号である元信号を前記制御装置に送信する手順と、
前記制御装置が前記元信号に基づいて生成した制御信号を前記制御装置から取得する手順と、
前記制御装置が制御信号を生成するのに要する時間と前記通信時間との合計値に応じて制御信号を前記元信号に基づいて生成する手順と、
前記制御装置から取得した制御信号と自装置が生成した制御信号とのうち、より早い時刻に送信可能である制御信号を送信する手順と、
を実行させるための演算プログラム。
On the computer,
A procedure for measuring the communication time between the own device and the control device;
A procedure for transmitting an original signal, which is an original signal for generating a control signal, to the control device;
A procedure for acquiring from the control device a control signal generated by the control device based on the original signal;
A procedure for generating a control signal based on the original signal in accordance with a total value of a time required for the control device to generate a control signal and the communication time;
Among the control signal acquired from the control device and the control signal generated by the device itself, a procedure for transmitting a control signal that can be transmitted at an earlier time;
Arithmetic program to execute.
JP2015181880A 2015-09-15 2015-09-15 Arithmetic device, arithmetic method and arithmetic program Active JP6505557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015181880A JP6505557B2 (en) 2015-09-15 2015-09-15 Arithmetic device, arithmetic method and arithmetic program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015181880A JP6505557B2 (en) 2015-09-15 2015-09-15 Arithmetic device, arithmetic method and arithmetic program

Publications (2)

Publication Number Publication Date
JP2017059942A true JP2017059942A (en) 2017-03-23
JP6505557B2 JP6505557B2 (en) 2019-04-24

Family

ID=58390636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015181880A Active JP6505557B2 (en) 2015-09-15 2015-09-15 Arithmetic device, arithmetic method and arithmetic program

Country Status (1)

Country Link
JP (1) JP6505557B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004086367A (en) * 2002-08-23 2004-03-18 Toshiba Corp Apparatus and method for diagnosing plant network integrity
US20070069850A1 (en) * 2005-09-29 2007-03-29 Siemens Corporation Intellectual Property Department Building control system communication system timing measurement arrangement and method
JP2014017795A (en) * 2012-07-11 2014-01-30 Kyocera Corp Power control system, power controller, server device, and method of controlling power control system
JP2014165804A (en) * 2013-02-27 2014-09-08 Toshiba Corp Control system
JP2015056766A (en) * 2013-09-11 2015-03-23 株式会社東芝 Cloud control system, and execution method for control program of the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004086367A (en) * 2002-08-23 2004-03-18 Toshiba Corp Apparatus and method for diagnosing plant network integrity
US20070069850A1 (en) * 2005-09-29 2007-03-29 Siemens Corporation Intellectual Property Department Building control system communication system timing measurement arrangement and method
JP2014017795A (en) * 2012-07-11 2014-01-30 Kyocera Corp Power control system, power controller, server device, and method of controlling power control system
JP2014165804A (en) * 2013-02-27 2014-09-08 Toshiba Corp Control system
JP2015056766A (en) * 2013-09-11 2015-03-23 株式会社東芝 Cloud control system, and execution method for control program of the same

Also Published As

Publication number Publication date
JP6505557B2 (en) 2019-04-24

Similar Documents

Publication Publication Date Title
EP3270307A3 (en) Cell processing system and method with centralized data management, monitoring and/or control
WO2015194182A1 (en) Service chain management apparatus, service chain management system, service chain management method, and program recording medium
US20170006358A1 (en) Sensor information management device, sensor information management method, and sensor information management program
CN108292138B (en) Random map aware stereo vision sensor model
JP2016206067A (en) Sensor monitoring system, disaster monitoring system, and disaster monitoring method
JP2018169994A (en) Information processing device, information processing method, and computer program
JPWO2016121390A1 (en) Air conditioning control system, air conditioning control device, and air conditioning control method
JP2015525390A (en) Aircraft information management system
US20180152826A1 (en) Integration of transducer data collection
JP2016114361A (en) Positioning method, server, and program
JP6505557B2 (en) Arithmetic device, arithmetic method and arithmetic program
JP5612010B2 (en) Information processing apparatus and program
JP6925889B2 (en) Relay device, transmission processing program
US10943473B2 (en) Information management apparatus and non-transitory computer-readable recording medium recording program
JP2017069814A (en) Remote monitoring system, relay node device, and remote monitoring method
JP2016208349A (en) Remote monitoring system, node device, and remote monitoring method
JP5959452B2 (en) Control system
JP2012037991A (en) Prediction device, prediction system and program
JP6382752B2 (en) REMOTE CONTROL SYSTEM, REMOTE CONTROL METHOD, DISTRIBUTION DEVICE, DISTRIBUTION METHOD, CONTROL DEVICE, CONTROL METHOD, ANALYSIS DEVICE, ANALYSIS METHOD, AND COMPUTER PROGRAM
JP2018022413A (en) Congestion prediction device, congestion prediction method and congestion prediction program
JPWO2010107107A1 (en) Event processing system, event processing method, rule distribution device, and program storage medium
JP2016139207A (en) Node apparatus, remote monitoring system, and remote monitoring method
JP2018206320A (en) Server device, monitoring system, data processing method, and data processing program
KR102384241B1 (en) User behavior pattern learning device and method
US11422914B2 (en) Metadata generation apparatus, metadata generation method, and program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20170912

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20170912

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190226

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190327

R150 Certificate of patent or registration of utility model

Ref document number: 6505557

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150