JP2014178852A - Control system and control program - Google Patents
Control system and control program Download PDFInfo
- Publication number
- JP2014178852A JP2014178852A JP2013052062A JP2013052062A JP2014178852A JP 2014178852 A JP2014178852 A JP 2014178852A JP 2013052062 A JP2013052062 A JP 2013052062A JP 2013052062 A JP2013052062 A JP 2013052062A JP 2014178852 A JP2014178852 A JP 2014178852A
- Authority
- JP
- Japan
- Prior art keywords
- control
- packet
- unit
- sampling period
- network
- 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
Links
Images
Abstract
Description
本発明の実施形態は、制御対象となるプロセスで用いられる駆動装置を、ネットワークを介してフィードバック制御する制御システムと、この制御システムで用いられる制御プログラムとに関する。 Embodiments described herein relate generally to a control system that feedback-controls a drive device used in a process to be controlled via a network, and a control program used in the control system.
近年の制御システムにおいて、通信の果たす役割が大きくなっている。例えば、インターネットを介して駆動装置を遠隔地からリアルタイムで制御し、又は、大規模プラントにおいて共有回線で接続される多くの組込機器を制御する等、ネットワークを介して機器を制御するネットワーク化制御(NCSs: Networked Control Systems)が現実のものとなりつつある。 In a recent control system, the role played by communication is increasing. For example, networking control that controls devices via a network, such as controlling a drive device from a remote location in real time via the Internet, or controlling many embedded devices connected by a shared line in a large-scale plant (NCSs: Networked Control Systems) is becoming a reality.
従来、制御システムにおける制御理論は、フィードバック系内の信号伝送に無限の通信スループット(bps)を仮定している。制御システム内の通信が専用線を用いて実施される場合には、無限の通信スループットを想定して制御装置を実装しても特に問題は生じない。一方、制御システム内の通信がインターネット等の共有回線を用いて実施される場合には、通信スループットに制約がある。通信スループットの制約を無視して制御系を設計すると、制御系の性能や安定性に支障をきたすおそれがある。 Conventionally, the control theory in a control system assumes an infinite communication throughput (bps) for signal transmission in the feedback system. When communication within the control system is performed using a dedicated line, no particular problem arises even if the control device is mounted assuming an infinite communication throughput. On the other hand, when communication in the control system is performed using a shared line such as the Internet, there is a restriction on communication throughput. If the control system is designed ignoring the restrictions on the communication throughput, the control system performance and stability may be hindered.
例えば、UDP通信プロトコルは、通信速度及び/又はリアルタイム性を求める場合に使用されるが、TCP/IPのように、3-way handshake(コネクション確立)、再送制御及びウィンドウ制御等の機能が無いため、データパケットが到達する保証が無い。そのため、UDP通信プロトコルを利用した通信では、いわゆるパケットロスが発生することがある。 For example, the UDP communication protocol is used when a communication speed and / or real-time property is required. However, unlike TCP / IP, there are no functions such as 3-way handshake (connection establishment), retransmission control, and window control. There is no guarantee that the data packet will arrive. Therefore, so-called packet loss may occur in communication using the UDP communication protocol.
ところで、従来の制御システムでは、ネットワーク上でパケットロスが発生し、一定時間データが到達されない場合、警報を発報したり、フィードバック制御を異常停止したりせざるを得ないという問題がある。 By the way, in the conventional control system, there is a problem that when packet loss occurs on the network and data is not reached for a certain period of time, an alarm is issued or feedback control is stopped abnormally.
以上のように、従来の制御システムでは、共有回線を利用して駆動装置をフィードバック制御しようとする場合、ネットワーク上でパケットロスが発生すると、警報を発報したり、フィードバック制御を異常停止したりせざるを得ないという問題がある。 As described above, in the conventional control system, when trying to feedback control the drive device using a shared line, if a packet loss occurs on the network, an alarm is issued or the feedback control is abnormally stopped. There is a problem that it must be done.
そこで、目的は、共有回線を利用して駆動装置をフィードバック制御する場合に、ネットワーク上でパケットロスが発生したときであっても、プロセスに支障が無い範囲内でパケットロスを許容して制御を継続することが可能な制御システム及びこの制御システムで用いられる制御プログラムを提供することにある。 Therefore, the purpose is to perform control by allowing packet loss within a range that does not hinder the process even when packet loss occurs on the network when feedback control of the drive device is performed using a shared line. It is an object of the present invention to provide a control system capable of continuing and a control program used in the control system.
実施形態によれば、制御システムは、駆動装置、計測装置及び制御装置を具備する。駆動装置は、ネットワークを介して第1のパケットとして供給される制御信号を受信し、前記受信した制御信号に従って制御対象プロセスにおける所定の動作を実行する。計測装置は、前記制御対象プロセスの状態を計測し、計測結果を第2のパケットに変換して前記ネットワークへ出力する。制御装置は、前記ネットワークを介して前記駆動装置及び前記計測装置と接続し、受信部、判定部、演算部及び送信部を備える。受信部は、前記ネットワークを介して前記第2のパケットを受信し、前記第2のパケットの受信間隔に基づいてサンプリング周期を算出する。判定部は、前記サンプリング周期が、予め設定される最大許容サンプリング周期を超えるか否かを判定し、超える場合、異常が発生したと判定する。演算部は、前記異常が発生したと判定されない場合、前記第2のパケットに含まれる計測結果と、前記駆動装置に対して設定される制御目標とに基づいて前記制御信号を生成し、前記異常が発生したと判定される場合、前記制御信号の生成を抑制する。送信部は、前記生成された制御信号を前記第1のパケットに変換して前記ネットワークへ出力する。 According to the embodiment, the control system includes a drive device, a measurement device, and a control device. The driving device receives the control signal supplied as the first packet via the network, and executes a predetermined operation in the process to be controlled according to the received control signal. The measuring device measures the state of the process to be controlled, converts the measurement result into a second packet, and outputs the second packet to the network. The control device is connected to the drive device and the measurement device via the network, and includes a reception unit, a determination unit, a calculation unit, and a transmission unit. The receiving unit receives the second packet via the network, and calculates a sampling period based on a reception interval of the second packet. The determination unit determines whether or not the sampling period exceeds a preset maximum allowable sampling period, and if it exceeds, determines that an abnormality has occurred. When it is not determined that the abnormality has occurred, the arithmetic unit generates the control signal based on a measurement result included in the second packet and a control target set for the driving device, and the abnormality When it is determined that the occurrence of the control signal is generated, the generation of the control signal is suppressed. The transmission unit converts the generated control signal into the first packet and outputs the first packet to the network.
以下、実施の形態について、図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
(第1の実施形態)
図1は、第1の実施形態に係る制御システムの構成を示す模式図である。図1に示す制御システムは、制御装置10−1,10−2、アクチュエータ20−1,20−2及び計測装置30−1,30−2を具備する。制御装置10−1,10−2とアクチュエータ20−1,20−2との間、及び、計測装置30−1,30−2と制御装置10−1,10−2との間は、ネットワークで接続される。このネットワークは、専用線通信と比較して安価な共有回線であって、ノイズ及び/又はその他の通信状況によって通信スループットが変動し易いものとする。
(First embodiment)
FIG. 1 is a schematic diagram illustrating a configuration of a control system according to the first embodiment. The control system shown in FIG. 1 includes control devices 10-1 and 10-2, actuators 20-1 and 20-2, and measurement devices 30-1 and 30-2. The network between the control devices 10-1 and 10-2 and the actuators 20-1 and 20-2 and between the measurement devices 30-1 and 30-2 and the control devices 10-1 and 10-2 is a network. Connected. This network is an inexpensive shared line compared to leased line communication, and the communication throughput is likely to vary depending on noise and / or other communication conditions.
制御装置10−1,10−2は、目標値に基づき、アクチュエータ20−1,20−2へ操作量を送信する。アクチュエータ20−1,20−2は、制御対象プロセスにおける所定の動作を実行するための駆動装置であり、例えば、ポンプ、バルブ又は空調機等である。なお、アクチュエータ20−1,20−2は、これらに限定されるものではない。計測装置30−1,30−2は、制御対象プロセスの状態を計測するものであり、例えば、温度計、湿度計又はpH計等である。なお、計測装置30−1,30−2は、これらに限定されるものではない。 The control devices 10-1 and 10-2 transmit the operation amount to the actuators 20-1 and 20-2 based on the target value. The actuators 20-1 and 20-2 are drive devices for executing a predetermined operation in the process to be controlled, and are, for example, a pump, a valve, an air conditioner, or the like. The actuators 20-1 and 20-2 are not limited to these. The measuring devices 30-1 and 30-2 measure the state of the process to be controlled, and are, for example, a thermometer, a hygrometer, a pH meter, or the like. Note that the measuring devices 30-1 and 30-2 are not limited to these.
制御対象プロセスは、例えば、鉄鋼用プラント、電力系統プラント、発電プラント、又は、上下水道プラント等の各種の制御対象プラントにおいて、ネットワークを介して制御されるプロセスを表す。制御対象プロセスは、例えば、池水位、配管圧力又は室内温度等である。しかしながら、制御対象プロセスは、これらに限定されるものではない。 A control object process represents the process controlled via a network in various control object plants, such as a steel plant, a power system plant, a power generation plant, or a water and sewage plant, for example. The process to be controlled is, for example, a pond water level, piping pressure, room temperature, or the like. However, the process to be controlled is not limited to these.
図2は、図1に示す制御システムの機能構成を示すブロック図である。なお、図2では、説明を簡潔にするため、制御装置10−1、アクチュエータ20−1及び計測装置30−1について説明し、それぞれを制御装置10、アクチュエータ20及び計測装置30と称して説明する。
FIG. 2 is a block diagram showing a functional configuration of the control system shown in FIG. In FIG. 2, the control device 10-1, the actuator 20-1, and the measurement device 30-1 will be described for the sake of brevity and will be referred to as the
制御装置10は、計測量受信部11、計時部12、判定部13、演算部14及び操作量送信部15を備える。なお、計測量受信部11、判定部13、演算部14及び操作量送信部15は、例えば、制御装置10に備えられるコンピュータに、制御プログラムを実行させることにより実現させるようにしてもよい。
The
計測量受信部11は、受信時刻付与部111及び受信処理部112を備える。
The measurement amount receiving unit 11 includes a reception
受信時刻付与部111は、受信処理部112で計測量が受信されると、計時部12から供給される時刻情報を受信処理部112へ出力する。
When the
受信処理部112は、ネットワークを介し、計測装置30から送信される計測量を受信する。受信処理部112は、計測量を受信すると、受信した計測量に受信時刻付与部111から出力された時刻情報を付与して記憶する。また、受信処理部112は、計測量を受信すると、受信時刻付与部111から出力された時刻情報と、前回受信した計測量に付与されている時刻情報とを比較し、サンプリング周期を算出する。受信処理部112は、受信した計測量を演算部14へ出力すると共に、算出したサンプリング周期を判定部13へ出力する。
The
判定部13は、制御対象プロセス毎に設定される最大許容サンプリング周期を予め記憶する。最大許容サンプリング周期の決定方法は限定されるものではないが、例えば、次のように決定される。
The
パケットロスが確率的に発生する場合、制御対象プロセスを含む離散時間の線形システムは、以下の状態方程式で与えられる。
ここで、Ad、Bdは、
のA、Bを離散時間で表現したものである。このとき、Ad−BdFdの固有値の絶対値がすべて1未満となるようにコントローラFdが設計される。 A and B are expressed in discrete time. At this time, the controller F d is designed so that the absolute values of the eigenvalues of A d −B d F d are all less than 1.
ネットワークの状態が正常であれば所定の制御周期ΔT毎に信号が到達するが、パケットロスが1回以上連続してσ(i)回発生すると、通常の制御周期ΔTに対してσ(i)・ΔTだけ制御周期が遅れることになる。つまり、離散時間系において、σ(i)回のパケットロスが発生すると、離散時間の変化、Ad及びBdは次式のように表される。
ここで、τ(i)は離散時間iの時刻を表す。 Here, τ (i) represents the time of the discrete time i.
(1)式を利用し、σ(i)=0を想定して設計された制御則Fdに対し、Ad−BdFdの固有値の絶対値が1になるまでのσ(i)を求める。このように、σ(i)を求めることで、パケットロスの発生をどの程度許容できるかを把握する。最大許容サンプリング周期は、把握した許容回数に基づいて決定される。 Using the equation (1), σ (i) until the absolute value of the eigenvalue of A d −B d F d becomes 1 with respect to the control law F d designed assuming σ (i) = 0. Ask for. In this way, by obtaining σ (i), it is understood how much packet loss can be tolerated. The maximum allowable sampling period is determined based on the grasped allowable number of times.
なお、離散時間系に対するリヤプノフの安定条件から、任意の正定(又は半正定)行列Qに対して、P=Ad TPAd+Qとなるような正定行列Pが存在するまで、σ(i)を許容する方法を採用し、最大許容サンプリング周期を決定してもよい。また、サンプリング定理に従い、制御対象プロセスの時定数の1/2までを許容するように最大許容サンプリング周期を決定してもよい。サンプリング定理によれば、制御対象プロセスが持つ最大周波数fに対して2fよりも高い周波数で計測すれば、制御対象プロセスの計測信号を受信側で完全に復元することが可能となる。 Note that σ (i) until a positive definite matrix P such that P = A d T PA d + Q exists for any positive definite (or semi-definite) matrix Q from the Lyapunov stability condition for the discrete time system. May be adopted, and the maximum allowable sampling period may be determined. Further, according to the sampling theorem, the maximum allowable sampling period may be determined so as to allow up to 1/2 of the time constant of the process to be controlled. According to the sampling theorem, if measurement is performed at a frequency higher than 2f with respect to the maximum frequency f of the control target process, the measurement signal of the control target process can be completely restored on the receiving side.
判定部13は、計測量受信部11から出力されるサンプリング周期が、予め記憶する最大許容サンプリング周期を逸脱していないか判定する。判定部13は、サンプリング周期が最大許容サンプリング周期を逸脱すると判定した場合、警報を発報すると共に、停止信号を演算部14へ出力する。
The
演算部14は、外部から供給される制御目標値(SV)と、計測量受信部11から供給される計測量(PV)とを受け取る。演算部14は、予め設定される制御周期に従い、計測量及び制御目標値に基づき、アクチュエータ20を駆動させる操作量(MV)を演算する。操作量を演算する手法は、PID制御、モデル予測制御及びHインフィニティ制御等、様々なアルゴリズムがある。しかしながら、本実施形態では、上記のいずれの演算手法も採用せずとも、フィードバック制御であれば良い。演算部14は、求めた操作量を操作量送信部15へ出力する。
The
また、演算部14は、判定部13から停止信号が出力されると、演算処理を停止する。
In addition, when a stop signal is output from the
操作量送信部15は、演算部14から出力された操作量を、ネットワークと対応するプロトコルのデータパケットへ変換する。操作量送信部15は、変換後のデータパケットを、アクチュエータ20を指定してネットワークへ送信する。
The operation
アクチュエータ20は、操作量受信部21及び駆動部22を備える。操作量受信部21は、制御装置10の操作量送信部15からネットワークを介して送信されてきた操作量に基づいて、駆動部22を操作する。アクチュエータ20がポンプである場合、操作量は、ポンプ回転数であり、駆動部22は、ポンプ回転数に応じて羽根車を回転させる機構のことである。
The
計測装置30は、計測部31及び計測量送信部32を備える。計測部31は、予め設定された周期で制御対象プロセスの状態を計測する。計測量送信部32は、計測部31により計測された計測量を、ネットワークと対応するプロトコルのデータパケットへ変換する。計測量送信部32は、変換後のデータパケットを、制御装置10を指定してネットワークへ送信する。
The
図3は、本実施形態に係る制御装置10の動作を説明する模式図である。図3(a)は、ネットワークが正常な状態での制御装置10の動作を示す。図3(b),(c)は、ネットワークが混雑し、パケットロスが発生する状態での制御装置10の動作を示す。図3(d)は、ネットワークが混雑し、パケットロスが発生する状態での従来の制御装置の動作を示す。なお、以下の説明では、最大許容サンプリング周期が3.5Δtである場合を説明する。また、従来の制御装置では、通信系の制約として2Δt以内に次のデータパケットが到達しないと、通信エラーとして警報を発報し、及び/又は、アクチュエータを緊急停止させるものとする。
FIG. 3 is a schematic diagram for explaining the operation of the
図3(a)において、制御装置10は、計測装置30からネットワークを介して送信されるデータパケットを、ΔT間隔で受信する。受信処理部112は、T=t+3Δtでデータパケットを受信すると、前回に受信されたデータパケットの受信時刻T=t+2Δtと、T=t+3Δtとの差から、Δtをサンプリング周期として算出する。
In FIG. 3A, the
判定部13は、サンプリング周期Δtが、最大許容サンプリング周期3.5Δtを逸脱していないか判定する。ここでは、3.5Δt>Δtであり、サンプリング周期は最大許容サンプリング周期を逸脱していないため、演算部14は、アクチュエータ20に対するフィードバック制御を継続する。
The
図3(b)において、計測装置30からネットワークを介して送信されるデータパケットは、T=t+Δtと、T=t+2Δtとにおいて消失している。受信処理部112は、T=t+3Δtでデータパケットを受信すると、前回に受信されたデータパケットの受信時刻T=tと、T=t+3Δtとの差から、3Δtをサンプリング周期として算出する。
In FIG. 3B, the data packet transmitted from the measuring
判定部13は、サンプリング周期3Δtが、最大許容サンプリング周期3.5Δtを逸脱していないか判定する。ここでは、3.5Δt>3Δtであり、サンプリング周期は最大許容サンプリング周期を逸脱していないため、演算部14は、アクチュエータ20に対するフィードバック制御を継続する。
The
図3(c)において、計測装置30からネットワークを介して送信されるデータパケットは、T=t+Δtと、T=t+2Δtと、T=t+3Δtとにおいて消失している。受信処理部112は、T=t+4Δtでデータパケットを受信すると、前回に受信されたデータパケットの受信時刻T=tと、T=t+4Δtとの差から、4Δtをサンプリング周期として算出する。
In FIG. 3C, the data packet transmitted from the measuring
判定部13は、サンプリング周期4Δtが、最大許容サンプリング周期3.5Δtを逸脱していないか判定する。ここでは、4Δt>3.5Δtであり、サンプリング周期は最大許容サンプリング周期を逸脱しているため、判定部13は、停止信号を演算部14へ出力する。演算部14は、停止信号を受け取ると、アクチュエータ20に対するフィードバック制御を停止する。
The
図3(d)では、従来の制御装置は、T=t+2Δtにおいて、データパケットが到達しない場合には、通信系の制約である2Δtを超えてデータパケットが到達しないため、制御対象プロセスに異常がないとしても、通信エラーが発生したとして、アクチュエータに対するフィードバック制御を停止する。 In FIG. 3D, when the data packet does not arrive at T = t + 2Δt, the conventional control apparatus does not reach the data packet exceeding 2Δt, which is a restriction of the communication system. Even if not, it is determined that a communication error has occurred, and feedback control for the actuator is stopped.
以上のように、第1の実施形態では、受信処理部112は、計測量を受信するサンプリング周期を算出する。判定部13は、サンプリング周期と、予め設定される最大許容サンプリング周期とを比較し、サンプリング周期が最大許容サンプリング周期を逸脱しないか否かを判定する。サンプリング周期が最大許容サンプリング周期を逸脱する場合、判定部13は、演算部14に対して、アクチュエータ20のフィードバック制御を停止させるようにしている。これにより、通信系からの制約ではなく、制御系からの制約となる最大許容サンプリング周期を基準として、フィードバック制御を継続するか、停止するかを決定することが可能となる。
As described above, in the first embodiment, the
したがって、第1の実施形態に係る制御システムによれば、共有回線を利用して駆動装置をフィードバック制御する場合に、ネットワーク上でパケットロスが発生したときであっても、プロセスに支障が無い範囲内でパケットロスを許容して制御を継続することができる。 Therefore, according to the control system according to the first embodiment, in the case where the drive device is feedback-controlled using a shared line, even if a packet loss occurs on the network, there is no problem in the process. The control can be continued while allowing packet loss.
なお、第1の実施形態に係る制御システムでは、判定部13の判定結果に従い、アクチュエータ20へのフィードバック制御を停止させる場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図4に示す制御装置40を備えていてもよい。すなわち、制御装置40は、計測量受信部11、計時部12、判定部41、演算部42、操作量送信部15及び定常状態判定部43を備える。
In the control system according to the first embodiment, the case where feedback control to the
判定部41は、計測量受信部11から出力されるサンプリング周期が、予め記憶する最大許容サンプリング周期を逸脱していないか判定する。判定部41は、サンプリング周期が最大許容サンプリング周期を逸脱すると判定した場合、エラー信号を定常状態判定部43へ出力する。
The
定常状態判定部43は、判定部41から出力されるエラー信号を受信すると、計測量受信部11から出力される計測量に基づき、制御対象プロセスが定常状態であるか否かを判定する。制御対象プロセスが定常状態であるかを判定する方法は限定されるものではないが、例えば、以下のように判定する。
When the steady
時刻kの計測量x(k)が受信できない場合に、前回までの計測量x(k−1),x(k−2),…,x(k−i),i=1,2,…,Nに対して、以下の平均μと分散σとを考える。
定常状態判定部43は、平均μと分散σとの値が予め設定した閾値の範囲内である場合、制御対象プロセスが定常状態にあると判定する。
The steady
定常状態判定部43は、制御対象プロセスが定常状態にあると判定した場合、演算部42によるアクチュエータ20のフィードバック制御を継続させる。また、定常状態判定部41は、制御対象プロセスが定常状態にないと判定した場合、警報を発報すると共に、停止信号を演算部42へ出力する。
When the steady
演算部42は、外部から供給される制御目標値と、計測量受信部11から供給される計測量とを受け取る。演算部42は、予め設定される制御周期に従い、計測量及び制御目標値に基づき、アクチュエータ20を駆動させる操作量を演算する。演算部42は、求めた操作量を操作量送信部15へ出力する。演算部42は、定常状態判定部41から停止信号が出力されると、演算処理を停止する。
The
これにより、制御装置40は、制御対象プロセスが定常状態にある場合は、最大許容サンプリング周期を逸脱するサンプリング周期が計測されても、アクチュエータ20のフィードバック制御を継続することが可能となる。
Thereby, when the process to be controlled is in a steady state, the
また、第1の実施形態に係る制御システムは、判定部13が最大許容サンプリング周期を予め記憶し、計測量受信部11から供給されるサンプリング周期と、最大許容サンプリング周期とを比較する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図5に示す制御装置50を備えていてもよい。すなわち、制御装置50は、計測量受信部11、計時部12、サンプリング周期算出部51、判定部52、演算部14及び操作量送信部15を備える。
The control system according to the first embodiment is an example in which the
サンプリング周期算出部51は、計測量として許容できる上下限値を予め記憶する。サンプリング周期算出部51は、予め設定した期間に受信した計測量を参照し、計測量の動向を示す値として外挿値を算出する。外挿値を算出する方法は、例えば、ARモデルを利用して算出する方法が考えられる。外挿値は、
と求められる。ここで、φiはモデルパラメータを示し、cは定数を示す。また、計測量に外乱を含む場合、すなわち、y(k)=Cx(k)+vの場合は、カルマンフィルタを用いて外挿値を算出する方法もある。なお、vはノイズを示す。外挿値は、
と求められる。ここで、Kはカルマンゲインを示す。なお、外挿値を算出する方法はこれらに限定される訳ではない。 Is required. Here, K indicates Kalman gain. Note that the method of calculating the extrapolation value is not limited to these.
サンプリング周期算出部51は、外挿値を算出すると、図6に示すように、外挿値が上下限値に至るまでの時間を算出する。サンプリング周期算出部51は、算出した時間を第2の最大許容サンプリング周期とする。サンプリング周期算出部51は、算出した第2の最大許容サンプリング周期を判定部52へ出力する。
When the extrapolation value is calculated, the sampling period calculation unit 51 calculates the time until the extrapolation value reaches the upper and lower limit values as shown in FIG. The sampling period calculation unit 51 sets the calculated time as the second maximum allowable sampling period. The sampling period calculation unit 51 outputs the calculated second maximum allowable sampling period to the
判定部52は、サンプリング周期算出部51で算出された第2の最大許容サンプリング周期が、予め記憶する最大許容サンプリング周期以上であるか判断し、以上である場合、計測量受信部11から出力されるサンプリング周期が、最大許容サンプリング周期ではなく、第2の最大許容サンプリング周期を逸脱していないか判定する。サンプリング周期が第2の最大許容サンプリング周期を逸脱すると判定した場合、判定部52は、警報を発報すると共に、停止信号を演算部14へ出力する。
The
第2の最大許容サンプリング周期が最大許容サンプリング周期未満である場合、判定部52は、計測量受信部11から出力されるサンプリング周期が、最大許容サンプリング周期を逸脱していないか判定する。判定部52は、サンプリング周期が最大許容サンプリング周期を逸脱すると判定した場合、警報を発報すると共に、停止信号を演算部14へ出力する。
When the second maximum allowable sampling period is less than the maximum allowable sampling period, the
これにより、制御装置50は、計測量が上限値を超えるタイミングを取得可能である場合には、最大許容サンプリング周期を逸脱するサンプリング周期が計測されても、アクチュエータ20のフィードバック制御を継続することが可能となる。
As a result, the
また、第1の実施形態では、演算部14は、予め設定される制御周期に従って操作量を演算する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図7に示す制御装置60を備えていてもよい。すなわち、制御装置60は、計測量受信部61、計時部12、判定部13、演算部62及び操作量送信部15を備える。
Moreover, in 1st Embodiment, the calculating
計測量受信部61は、受信時刻付与部111及び受信処理部611を備える。受信処理部611は、計測量を受信すると、サンプリング周期を算出する。受信処理部611は、受信した計測量を演算部62へ出力すると共に、算出したサンプリング周期を判定部13及び演算部62へ出力する。
The measurement
演算部62は、周期修正部621及び操作量算出部622を備える。
The
周期修正部621は、計測量受信部から出力されるサンプリング周期を受信すると、受信したサンプリング周期に制御周期を同期させる。周期修正部621は、サンプリング周期に同期させた制御周期を操作量算出部622へ出力する。
When receiving the sampling period output from the measurement amount receiving unit, the
操作量算出部622は、外部から供給される制御目標値と、計測量受信部61から供給される計測量とを受け取る。操作量算出部622は、周期修正部621から出力される制御周期に従い、計測量及び制御目標値に基づき、アクチュエータ20−1を駆動させる操作量を演算する。PID制御により操作量を演算する場合、操作量は次式に基づいて算出される。
ここで、MV(k)は時刻kに送信する操作量を示し、ΔMV(k)は時刻kに操作量を変更する差分操作量を示し、e(k)は時刻kにおける制御目標値と計測量の偏差を示し、Kpは予め設定される比例ゲインを示し、Tiは予め設定される積分時間を示し、ΔTは周期修正部621により修正される制御周期を示す。操作量算出部622は、算出した操作量を操作量送信部15へ出力する。
Here, MV (k) indicates an operation amount to be transmitted at time k, ΔMV (k) indicates a differential operation amount at which the operation amount is changed at time k, and e (k) is a control target value and measurement at time k. A deviation of the quantity is indicated, Kp indicates a preset proportional gain, Ti indicates a preset integration time, and ΔT indicates a control period corrected by the
ネットワーク上で発生するパケットロス率は、(4)式に示すように、受信データ量[bit]と送信データ量[bit]とで定義される。ここで、ネットワーク上のルータで発生するパケットロスは、(5)式で示すように、ルータ処理能力B[bps]、送信周期T[sec]及び送信データ量M[bit]に依存する。なお、送信データ量Mは、データ数n[個]×データサイズS[bit]から求められる。 The packet loss rate that occurs on the network is defined by the amount of received data [bit] and the amount of transmitted data [bit], as shown in equation (4). Here, the packet loss that occurs in the router on the network depends on the router processing capability B [bps], the transmission cycle T [sec], and the transmission data amount M [bit], as shown in equation (5). The transmission data amount M is obtained from the number of data n [pieces] × data size S [bits].
パケットロス率[%]=1−(受信データ量[bit]/送信データ量[bit]) (4)
受信データ量[bit]=送信データ量[bit]−Σ((M/T)[bps]−B[bps]) (5)
(ただし、M/T≦Bの時は受信データ量=送信データ量)
つまり、送信周期を長くし、かつ、送信データ量を少なくすることで、パケットロス率は低減されることになる。
Packet loss rate [%] = 1- (received data amount [bit] / transmitted data amount [bit]) (4)
Received data amount [bit] = transmitted data amount [bit] −Σ ((M / T) [bps] −B [bps]) (5)
(However, when M / T ≦ B, received data amount = transmitted data amount)
That is, the packet loss rate is reduced by lengthening the transmission cycle and reducing the amount of transmission data.
パケットロスが(特にバースト的に)発生した場合、制御装置60は、操作量演算に必要な計測量を長時間受信することができない。そのため、制御装置60は、制御対象プロセスの計測量と、所望の制御目標値とに基づいて操作量を作成できない。これにより、パケットロスは、制御システムにおいて、通信異常としてシステム異常を発生させる要因となり得る。 When packet loss occurs (particularly in a burst manner), the control device 60 cannot receive the measurement amount necessary for the operation amount calculation for a long time. Therefore, the control device 60 cannot create an operation amount based on the measured amount of the process to be controlled and the desired control target value. Thereby, the packet loss can be a factor causing a system abnormality as a communication abnormality in the control system.
演算部62は、周期修正部621により、計測量受信部61で算出されるサンプリング周期に基づいて制御周期を変更し、操作量算出部622により、変更した制御周期に従って操作量を算出する。これにより、サンプリング周期が長くなっている場合には、制御装置60は、送信するデータパケットの量を減らすことが可能となる。パケットロス率は、通信環境である通信スペック及び/又はルータ等の周囲環境に依存するが、本実施形態に係る制御装置60は、データパケットの送信周期を調整することによって、パケットロス率の抑制を行う。これにより、ネットワークが混雑している場合において、パケットロスの影響を最小限に抑えることが可能となる。
The
また、第1の実施形態に係る制御システムでは、計測装置30から送信される計測量に時刻情報が含まれない場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図8に示す制御装置70、アクチュエータ20−1,20−2及び計測装置80を備えていてもよい。計測装置80は、計測部31、計測量送信部81及び計時部82を備える。
Moreover, in the control system which concerns on 1st Embodiment, the case where time information was not included in the measured quantity transmitted from the measuring
計測量送信部81は、送信時刻付与部811及び送信処理部812を備える。送信時刻付与部811は、送信部31で計測量が計測されると、計時部82から供給される時刻情報を送信処理部812へ出力する。
The measured amount transmission unit 81 includes a transmission
送信処理部812は、計測量が測定されると、測定された計測量に送信時刻付与部811から出力された時刻情報を付与する。送信処理部812は、時刻情報を付与した計測量を、ネットワークと対応するプロトコルのデータパケットへ変換する。送信処理部812は、変換後のデータパケットを、制御装置70を指定してネットワークへ送信する。
When the measurement amount is measured, the
制御装置70は、計測量受信部71、計時部12、判定部13、演算部72及び操作量送信部15を備える。
The
計測量受信部71は、受信時刻付与部111及び受信処理部711を備える。
The measurement amount receiving unit 71 includes a reception
受信処理部711は、ネットワークを介し、計測装置80から送信される計測量を受信する。受信処理部711は、計測量を受信すると、受信した計測量に受信時刻付与部111から出力された時刻情報を付与して記憶する。
The
また、受信処理部711は、計測量を受信すると、受信時刻付与部111から出力された時刻情報と、前回受信した計測量に付与されている時刻情報とを比較し、サンプリング周期を算出する。受信処理部711は、受信した計測量を演算部72へ出力すると共に、算出したサンプリング周期を判定部13へ出力する。
In addition, when receiving the measurement amount, the
また、受信処理部711は、計測量を受信すると、計測量に付与されている送信時の時刻情報と、受信時刻付与部111から出力された時刻情報とを比較し、ネットワークにより計測量を送信する際の所要時間を算出する。受信処理部711は、所要時間が予め設定する許容所要時間を超えるか否かを判定する。所要時間が予め設定した許容所要時間を超える場合、受信処理部711は、フラグ付与信号を作成し、作成したフラグ付与信号を演算部72へ出力する。予め設定する許容所要時間は、ネットワークが混雑していると判断するためのパケット到達時間である。
In addition, when the
演算部72は、操作量算出部721及びフラグ付与部722を備える。
The
操作量算出部721は、外部から供給される制御目標値と、計測量受信部71から供給される計測量とを受け取る。操作量算出部721は、予め設定される制御周期に従い、計測量及び制御目標値に基づき、アクチュエータ20−1,20−2を駆動させる操作量を演算する。操作量算出部721は、算出した操作量をフラグ付与部722へ出力する。
The operation
また、操作量算出部721は、判定部13から停止信号が出力されると、演算処理を停止する。
In addition, when the stop signal is output from the
フラグ付与部722は、アクチュエータ20−1,20−2に対して予め設定された優先度を記憶している。フラグ付与部722は、計測量受信部71から出力されるフラグ付与信号を受信すると、アクチュエータ20−1,20−2のうち、優先度が高いアクチュエータが送信先として指定される操作量に優先度フラグを付与する。フラグ付与部722は、優先度フラグを付与した操作量及び付与していない操作量を操作量送信部15へ出力する。
The
このとき、ネットワークは、優先度フラグが付与されたデータパケットを優先的にアクチュエータへ送信するプロトコルを備える。 At this time, the network includes a protocol for preferentially transmitting the data packet to which the priority flag is assigned to the actuator.
以上のように、フラグ付与部722は、ネットワークが混雑している場合、優先度の高いアクチュエータを対象とする操作量に優先度フラグを付与し、データパケットが優先的にアクチュエータへ到達させるようにしている。パケットロス率は、通信環境である通信スペック及び/又はルータ等の周囲環境に依存するが、本実施形態に係る制御装置70は、優先的に送信させるデータパケットに優先度フラグを付けることで、パケットロス率の抑制を行う。すなわち、必要最低限の操作量については、ネットワーク上でのパケットロスを極力発生しないようにすることが可能となる。
As described above, when the network is congested, the
また、上記第1の実施形態では、判定部13,41,52はサンプリング周期が最大許容サンプリング周期を逸脱する場合、警報を発報すると共に、停止信号を演算部へ出力する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、判定部13,41,52はサンプリング周期が最大許容サンプリング周期を逸脱する場合、「緊急停止」、「異常発報」、「待機」又は「信号を外挿して継続」等を演算部に対して指示する指示信号を出力するようにしても構わない。
In the first embodiment, the
(第2の実施形態)
図9は、第2の実施形態に係る制御システムの機能構成を示すブロック図である。図9に示す制御システムは、制御装置90、アクチュエータ20及び計測装置30を具備する。制御装置90とアクチュエータ20との間、及び、計測装置30と制御装置90との間は、ネットワークで接続される。
(Second Embodiment)
FIG. 9 is a block diagram illustrating a functional configuration of a control system according to the second embodiment. The control system shown in FIG. 9 includes a
制御装置90は、計測量受信部91、計時部92、演算部93及び操作量送信部94を備える。なお、計測量受信部91、演算部93及び操作量送信部94は、例えば、制御装置90に備えられるコンピュータに、制御プログラムを実行させることにより実現させるようにしてもよい。
The
計測量受信部91は、受信処理部911を備える。受信処理部911は、ネットワークを介し、計測装置30から送信される計測量を受信する。受信処理部911は、計測量を受信すると、受信した計測量を演算部93へ出力する。
The measurement
演算部93は、操作量算出部931及び判定部932を備える。
The
操作量算出部931は、外部から供給される制御目標値(SV)と、計測量受信部91から供給される計測量(PV)とを受け取る。操作量算出部931は、計測量を受け取ると、受け取った計測量及び制御目標値に基づき、アクチュエータ20を駆動させる操作量(MV)を演算する。操作量を演算する手法は、PID制御、モデル予測制御及びHインフィニティ制御等、様々なアルゴリズムがある。しかしながら、本実施形態では、上記のいずれの演算手法も採用せずとも、フィードバック制御であれば良い。操作量算出部931は、求めた操作量を判定部932及び操作量送信部94へ出力する。
The operation
また、操作量算出部931は、判定部932から停止信号が出力されると、演算処理を停止する。
In addition, when the stop signal is output from the
判定部932は、計時部92と接続し、時刻情報が供給される。判定部932は、操作量算出部931から出力される操作量を受信すると、受信した操作量に計時部92から供給される時刻情報を付与して記憶する。また、判定部932は、操作量を受信すると、計時部92から供給される時刻情報と、前回受信した操作量に付与されている時刻情報とを比較し、制御周期を算出する。
The
また、判定部932は、制御対象プロセス毎に設定される最大許容制御周期を予め記憶する。最大許容制御周期の決定方法は限定されるものではないが、例えば、第1の実施形態における最大許容サンプリング周期と同様の方法により決定される。
The
判定部932は、算出した制御周期が、予め記憶する最大許容制御周期を逸脱していないか判定する。判定部932は、制御周期が最大許容制御周期を逸脱すると判定した場合、警報を発報すると共に、停止信号を操作量算出部931へ出力する。
The
操作量送信部94は、演算部93から出力される操作量を、ネットワークと対応するプロトコルのデータパケットへ変換する。操作量送信部94は、変換後のデータパケットを、アクチュエータ20を指定してネットワークへ送信する。
The operation
以上のように、第2の実施形態では、判定部932は、操作量を算出する制御周期を算出する。判定部932は、制御周期と、予め設定される最大許容制御周期とを比較し、制御周期が最大許容制御周期を逸脱しないか否かを判定する。制御周期が最大許容制御周期を逸脱する場合、判定部932は、操作量算出部931に対して、フィードバック制御を停止させるようにしている。これにより、通信系からの制約ではなく、制御系からの制約となる最大許容制御周期を基準として、フィードバック制御を継続するか、停止するかを決定することが可能となる。
As described above, in the second embodiment, the
したがって、第2の実施形態に係る制御システムによれば、共有回線を利用して駆動装置をフィードバック制御する場合に、ネットワーク上でパケットロスが発生したときであっても、プロセスに支障が無い範囲内でパケットロスを許容して制御を継続することができる。 Therefore, according to the control system according to the second embodiment, in the case where feedback control of the driving device is performed using the shared line, even when packet loss occurs on the network, there is no problem in the process. The control can be continued while allowing packet loss.
なお、第2の実施形態に係る制御システムでは、判定部932の判定結果に従い、アクチュエータ20へのフィードバック制御を停止させる場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図10に示す制御装置100を備えていてもよい。すなわち、制御装置100は、計測量受信部91、計時部92、演算部101及び操作量送信部94を備える。
In the control system according to the second embodiment, the case where feedback control to the
演算部101は、操作量算出部1011、判定部1012及び定常状態判定部1013を備える。
The
判定部1012は、操作量算出部1011から出力される操作量に基づいて算出した制御周期が、予め記憶する最大許容制御周期を逸脱していないか判定する。判定部1012は、制御周期が最大許容制御周期を逸脱すると判定した場合、エラー信号を定常状態判定部1013へ出力する。
The
定常状態判定部1013は、判定部1012から出力されるエラー信号を受信すると、計測量受信部91から出力される計測量に基づき、制御対象プロセスが定常状態であるか否かを判定する。制御対象プロセスが定常状態であるかを判定する方法は限定されるものではないが、例えば、(2)式及び(3)式を用いて判定する。
When the steady
定常状態判定部1013は、制御対象プロセスが定常状態にあると判定した場合、操作量算出部1011によるアクチュエータ20のフィードバック制御を継続させる。また、定常状態判定部1013は、制御対象プロセスが定常状態にないと判定した場合、警報を発報すると共に、停止信号を操作量算出部1011へ出力する。
When the steady
操作量算出部1011は、外部から供給される制御目標値と、計測量受信部91から供給される計測量とを受け取る。操作量算出部1011は、計測量を受け取ると、受け取った計測量及び制御目標値に基づき、アクチュエータ20を駆動させる操作量を演算する。操作量算出部1011は、求めた操作量を判定部1012及び操作量送信部94へ出力する。また、操作量算出部1011は、定常状態判定部1013から停止信号が出力されると、演算処理を停止する。
The operation
これにより、制御装置100は、制御対象プロセスが定常状態にある場合は、最大許容制御周期を逸脱する制御周期が計測されても、アクチュエータ20のフィードバック制御を継続することが可能となる。
As a result, when the process to be controlled is in a steady state, the control device 100 can continue the feedback control of the
また、第2の実施形態に係る制御システムは、判定部932が最大許容制御周期を予め記憶し、算出される操作量から求められる制御周期と、最大許容制御周期とを比較する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図11に示す制御装置110を備えていてもよい。すなわち、制御装置110は、計測量受信部91、計時部92、演算部113及び操作量送信部94を備える。
In the control system according to the second embodiment, the
演算部113は、操作量算出部931、制御周期算出部1131及び判定部1132を備える。
The
制御周期算出部1131は、計測量として許容できる上下限値を予め記憶する。制御周期算出部1131は、予め設定した期間に、計測量受信部91から出力される計測量を参照し、計測量の動向を示す値として外挿値を算出する。制御周期算出部1131は、外挿値を算出すると、外挿値が上下限値に至るまでの時間を算出する。制御周期算出部1131は、算出した時間を第2の最大許容制御周期とする。制御周期算出部1131は、算出した第2の最大許容制御周期を判定部1132へ出力する。
The control cycle calculation unit 1131 stores upper and lower limit values that are allowable as a measurement amount in advance. The control period calculation unit 1131 refers to the measurement amount output from the measurement
判定部1132は、操作量算出部931から出力される操作量を受信すると、計時部92から供給される時刻情報と、前回受信した操作量に付与されている時刻情報とを比較し、制御周期を算出する。
When the
また、判定部1132は、制御周期算出部1131で算出された第2の最大許容制御周期が、予め記憶する最大許容制御周期以上であるか判断し、以上である場合、操作量算出部931から出力される操作量から求められる制御周期が、最大許容制御周期でなく、第2の最大許容制御周期を逸脱していないか判定する。制御周期が第2の最大許容制御周期を逸脱すると判定した場合、判定部1132は、警報を発報すると共に、停止信号を操作量算出部931へ出力する。
In addition, the
第2の最大許容制御周期が最大許容制御周期未満である場合、判定部1132は、算出した制御周期が、最大許容制御周期を逸脱していないか判定する。判定部1132は、制御周期が最大許容制御周期を逸脱すると判定した場合、警報を発報すると共に、停止信号を操作量算出部931へ出力する。
When the second maximum allowable control cycle is less than the maximum allowable control cycle, the
これにより、制御装置110は、最大許容制御周期を逸脱する前に計測量が上下限値を超えるおそれがある場合には、パケットロスにより計測量を受信しなくても、アクチュエータ20のフィードバック制御を停止することが可能となる。
As a result, the
また、第2の実施形態に係る制御システムでは、計測装置30から送信される計測量に時刻情報が含まれない場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御システムは、図12に示す制御装置120、アクチュエータ20−1,20−2及び計測装置80を備えていてもよい。なお、計測装置80は、図8に示す計測装置80と同様の動作をする。
In the control system according to the second embodiment, the case where the time information is not included in the measurement amount transmitted from the
制御装置120は、計測量受信部121、計時部92、演算部122及び操作量送信部94を備える。
The
計測量受信部121は、受信時刻付与部1211及び受信処理部1212を備える。
The measurement
受信時刻付与部1211は、受信処理部1212で計測量が受信されると、計時部92から供給される時刻情報を受信処理部1212へ出力する。
When the
受信処理部1212は、ネットワークを介し、計測装置80から送信される計測量を受信する。受信処理部1212は、計測量を受信すると、計測量に付与されている送信時の時刻情報と、受信時刻付与部1211から出力された時刻情報とを比較し、ネットワークにより計測量を送信する際の所要時間を算出する。受信処理部1212は、所要時間が予め設定する許容所要時間を超えるか否かを判定する。所要時間が予め設定した許容所要時間を超える場合、受信処理部1212は、フラグ付与信号を作成し、作成したフラグ付与信号を演算部122へ出力する。
The
演算部122は、操作量算出部1221、判定部932及びフラグ付与部1222を備える。
The
操作量算出部1221は、外部から供給される制御目標値と、計測量受信部121から供給される計測量とを受け取る。操作量算出部1221は、計測量を受け取ると、受け取った計測量及び制御目標値に基づき、アクチュエータ20−1,20−2を駆動させる操作量を演算する。操作量算出部1221は、算出した操作量を判定部932及びフラグ付与部1222へ出力する。
The operation
また、操作量算出部1221は、判定部932から停止信号が出力されると、演算処理を停止する。
Further, when a stop signal is output from the
フラグ付与部1222は、アクチュエータ20−1,20−2に対して予め設定された優先度を記憶している。フラグ付与部1222は、計測量受信部121から出力されるフラグ付与信号を受信すると、アクチュエータ20−1,20−2のうち、優先度が高いアクチュエータが送信先として指定される操作量に優先度フラグを付与する。フラグ付与部1222は、優先度フラグを付与した操作量及び付与していない操作量を操作量送信部94へ出力する。
The
このとき、ネットワークは、優先度フラグが付与されたデータパケットを優先的にアクチュエータへ送信するプロトコルを備える。 At this time, the network includes a protocol for preferentially transmitting the data packet to which the priority flag is assigned to the actuator.
以上のように、フラグ付与部1222は、ネットワークが混雑している場合、優先度の高いアクチュエータを対象とする操作量に優先度フラグを付与し、データパケットが優先的にアクチュエータへ到達させるようにしている。パケットロス率は、通信環境である通信スペック及び/又はルータ等の周囲環境に依存するが、本実施形態に係る制御装置120は、優先的に送信させるデータパケットに優先度フラグを付けることで、パケットロス率の抑制を行う。すなわち、必要最低限の操作量については、ネットワーク上でのパケットロスを極力発生しないようにすることが可能となる。
As described above, when the network is congested, the
また、上記第2の実施形態では、判定部932,1012,1132は制御周期が最大許容制御周期を逸脱する場合、警報を発報すると共に、停止信号を操作量算出部へ出力する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、判定部932,1012,1132は制御周期が最大許容制御周期を逸脱する場合、「緊急停止」、「異常発報」、「待機」又は「信号を外挿して継続」等を操作量算出部に対して指示する指示信号を出力するようにしても構わない。
In the second embodiment, the
(その他の実施形態)
なお、上記第1及び第2の第1の実施形態に係るでは、操作量送信部15,94は、優先度フラグが付与されていないデータパケットについてもネットワークへ送信する場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、操作量送信部15,94は、優先度フラグが付与されていないデータパケットを送信しないようにしても構わない。これにより、ネットワークの通信負荷を低減してパケットロスを抑制することが可能となる。
(Other embodiments)
In the first and second embodiments described above, the operation
また、上記第1及び第2の実施形態では、優先度の低いアクチュエータへ送信する操作量については、優先度フラグが付与されずにネットワークへ送信される場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、制御装置は、優先順位の低いデータパケットについて、一定の割合で少しだけでもアクチュエータへ到達するように、データパケットに対して処理を施してもよい。例えば、フラグ付与部722,1222は、所定の周期で優先順位の低いデータパケットについても、優先度フラグを付与するようにしてもよい。また、操作量送信部15,94は、所定の周期で優先度フラグが付与されていないデータパケットに対して重み付けをして、データパケットを送信するようにしてもよい。これにより、ネットワークが混雑した状況で優先度の高いデータパケットだけが流れる状況が続くことで、優先度の低いデータパケットは全く処理されず、制御対象プロセス以外の通信が実施できない状況を避けることが可能となる。
In the first and second embodiments, the operation amount transmitted to the actuator with low priority has been described as an example in which the operation amount is transmitted to the network without being assigned the priority flag. However, the present invention is not limited to this. For example, the control device may perform processing on the data packet so that the data packet with low priority reaches the actuator at a certain rate even a little. For example, the
また、上記第1及び第2の実施形態に係る制御システムでは、1個の計測装置を対象とした場合を例に説明した。しかしながら、これに限定される訳ではない。例えば、判定部13では、複数の計測装置に対して優先順位が予め設定されており、最大許容サンプリング周期以上の時間、データパケットが未到達であった場合には、計測量を送信した計測装置の優先順位が高い順にその後の処理として、「緊急停止」、「異常発報」、「待機」又は「信号を外挿して継続」等を選択するようにしても構わない。また、判定部932では、複数の計測装置に対して優先順位が予め設定されており、最大許容制御周期以上の時間、操作量が算出されない場合には、計測量を送信した計測装置の優先順位が高い順にその後の処理として、「緊急停止」、「異常発報」、「待機」又は「信号を外挿して継続」等を選択するようにしても構わない。
Further, in the control systems according to the first and second embodiments, the case where one measuring device is targeted has been described as an example. However, the present invention is not limited to this. For example, in the
また、上記第1及び第2の実施形態に係る制御システムで実行される制御プログラムは、コンピュータにより読み取り可能な記録媒体に記録されるようにしても構わない。 The control program executed by the control systems according to the first and second embodiments may be recorded on a computer-readable recording medium.
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれると同様に、特許請求の範囲に記載された発明とその均等の範囲に含まれるものである。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the 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.
10,10−1,10−2,40,50,60,70,90,100,110,120…制御装置、11,61,71,91,121…計測量送信部、111,1211…受信時刻付与部、112,611,711,911,1212…受信処理部、12,82…計時部、13,41,52,932,1012,1132…判定部、14,42,62,72,93,101,113,122…演算部、15,94…操作量送信部、20,20−1,20−2…アクチュエータ、21…操作量受信部、22…駆動部、30−1,30−2…計測装置、31…計測部、32…計測量送信部、43,1013…定常状態判定部、51…サンプリング周期算出部、621…周期修正部、622,721,931,1011,1221…操作量算出部、722,1222…フラグ付与部、81…計測量送信部、811…送信時刻付与部、812…送信処理部、1131…制御周期算出部
10, 10-1, 10-2, 40, 50, 60, 70, 90, 100, 110, 120 ... control device, 11, 61, 71, 91, 121 ... measured quantity transmission unit, 111, 1211 ... reception time Giving unit, 112, 611, 711, 911, 1212 ... reception processing unit, 12, 82 ... timing unit, 13, 41, 52, 932, 1012, 1132 ... determination unit, 14, 42, 62, 72, 93, 101 , 113, 122 ... arithmetic unit, 15, 94 ... operation amount transmission unit, 20, 20-1, 20-2 ... actuator, 21 ... operation amount reception unit, 22 ... drive unit, 30-1, 30-2 ...
Claims (11)
前記制御対象プロセスの状態を計測し、計測結果を第2のパケットに変換して前記ネットワークへ出力する計測装置と、
前記ネットワークを介して前記駆動装置及び前記計測装置と接続する制御装置であって、
前記ネットワークを介して前記第2のパケットを受信し、前記第2のパケットの受信間隔に基づいてサンプリング周期を算出する受信部と、
前記サンプリング周期が、予め設定される最大許容サンプリング周期を超えるか否かを判定し、超える場合、異常が発生したと判定する判定部と、
前記異常が発生したと判定されない場合、前記第2のパケットに含まれる計測結果と、前記駆動装置に対して設定される制御目標とに基づいて前記制御信号を生成し、前記異常が発生したと判定される場合、前記制御信号の生成を抑制する演算部と、
前記生成された制御信号を前記第1のパケットに変換して前記ネットワークへ出力する送信部と
を備える前記制御装置と
を具備する制御システム。 A drive device that receives a control signal supplied as a first packet via a network, and executes a predetermined operation in a process to be controlled according to the received control signal;
A measurement device that measures the state of the process to be controlled, converts the measurement result into a second packet, and outputs the second packet to the network;
A control device connected to the drive device and the measurement device via the network,
A receiver that receives the second packet via the network and calculates a sampling period based on a reception interval of the second packet;
It is determined whether the sampling period exceeds a preset maximum allowable sampling period, and if it exceeds, a determination unit that determines that an abnormality has occurred,
When it is not determined that the abnormality has occurred, the control signal is generated based on a measurement result included in the second packet and a control target set for the driving device, and the abnormality has occurred. If determined, an arithmetic unit that suppresses generation of the control signal;
A control system comprising: the control device comprising: a transmission unit that converts the generated control signal into the first packet and outputs the first packet to the network.
直前に受信される複数の第2のパケットに含まれる計測結果を参照し、前記制御対象プロセスの状態が定常状態であるか否かを判定する定常状態判定部をさらに備え、
前記演算部は、前記判定部で異常が発生したと判定され、かつ、前記定常状態判定部で定常状態でないと判定される場合、前記制御信号の生成を抑制する請求項1記載の制御システム。 The controller is
A stationary state determination unit that refers to measurement results included in the plurality of second packets received immediately before and determines whether or not the state of the process to be controlled is a steady state;
The control system according to claim 1, wherein the calculation unit suppresses the generation of the control signal when it is determined that an abnormality has occurred in the determination unit and the steady state determination unit determines that the abnormality is not in a steady state.
前記直前に受信される複数の第2のパケットに含まれる計測結果を参照し、計測結果が予め設定される上下限値に達するまでの時間を第2の最大許容サンプリング周期として算出するサンプリング周期算出部をさらに備え、
前記判定部は、前記第2の最大許容サンプリング周期が前記最大許容サンプリング周期よりも長い場合、前記最大許容サンプリング周期の代わりに前記第2の最大許容サンプリング周期を用い、前記サンプリング周期が、前記第2の最大許容サンプリング周期を超えるか否かを判定し、超える場合、異常が発生したと判定する請求項1又は2記載の制御システム。 The controller is
Sampling period calculation that refers to the measurement results included in the plurality of second packets received immediately before, and calculates the time until the measurement results reach preset upper and lower limit values as the second maximum allowable sampling period Further comprising
The determination unit uses the second maximum allowable sampling period instead of the maximum allowable sampling period when the second maximum allowable sampling period is longer than the maximum allowable sampling period, and the sampling period is the first 3. The control system according to claim 1, wherein it is determined whether or not a maximum allowable sampling period of 2 is exceeded, and if it is exceeded, it is determined that an abnormality has occurred.
前記計測装置は、前記第2のパケットに、前記第2のパケットを送信する送信時刻を付与し、
前記受信部は、前記第2のパケットの送信時刻と、前記第2のパケットの受信時刻との差から前記ネットワークにより前記第2のパケットを送信する際の所要時間を算出し、前記所要時間が予め設定する許容所要時間を超える場合、フラグ付与信号を生成し、
前記演算部は、前記異常が発生したと判定されず、かつ、前記フラグ付与信号が生成される場合、前記複数の駆動装置の優先順位を参照し、前記優先順位の高い駆動装置に対する制御信号に、この制御信号を優先して伝送させるための優先度フラグを付与する請求項1乃至4のいずれかに記載の制御システム。 A plurality of the drive devices,
The measuring device gives a transmission time for transmitting the second packet to the second packet,
The reception unit calculates a time required for transmitting the second packet through the network from a difference between a transmission time of the second packet and a reception time of the second packet, and the required time If it exceeds the preset allowable time, generate a flag assignment signal,
When the abnormality is not determined to have occurred and the flag assignment signal is generated, the arithmetic unit refers to the priority order of the plurality of drive devices, and sets the control signal for the drive device having a higher priority order. 5. A control system according to claim 1, wherein a priority flag for preferentially transmitting the control signal is added.
前記制御対象プロセスの状態を計測し、計測結果を第2のパケットに変換して前記ネットワークへ出力する計測装置と、
前記ネットワークを介して前記駆動装置及び前記計測装置と接続する制御装置であって、
前記ネットワークを介して前記第2のパケットを受信する受信部と、
前記第2のパケットに含まれる計測結果と、前記駆動装置に対して設定される制御目標とに基づいて前記制御信号を生成する操作量算出部と、
前記制御信号が生成される間隔に基づいて制御周期を算出し、前記制御周期が、予め設定される最大許容制御周期を超えるか否かを判定し、超える場合、異常が発生したとして前記操作量演算部における前記制御信号の生成を抑制する判定部と、
前記生成された制御信号を前記第1のパケットに変換して前記ネットワークへ出力する送信部と
を備える前記制御装置と
を具備する制御システム。 A drive device that receives a control signal supplied as a first packet via a network, and executes a predetermined operation in a process to be controlled according to the received control signal;
A measurement device that measures the state of the process to be controlled, converts the measurement result into a second packet, and outputs the second packet to the network;
A control device connected to the drive device and the measurement device via the network,
A receiving unit for receiving the second packet via the network;
An operation amount calculating unit that generates the control signal based on a measurement result included in the second packet and a control target set for the driving device;
A control cycle is calculated based on an interval at which the control signal is generated, and it is determined whether or not the control cycle exceeds a preset maximum allowable control cycle. A determination unit for suppressing generation of the control signal in the calculation unit;
A control system comprising: the control device comprising: a transmission unit that converts the generated control signal into the first packet and outputs the first packet to the network.
直前に受信される複数の第2のパケットに含まれる計測結果を参照し、前記制御対象プロセスの状態が定常状態であるか否かを判定する定常状態判定部をさらに備え、
前記操作量算出部は、前記判定部で異常が発生したと判定され、かつ、前記定常状態判定部で定常状態でないと判定される場合、前記制御信号の生成を抑制する請求項6記載の制御システム。 The controller is
A stationary state determination unit that refers to measurement results included in the plurality of second packets received immediately before and determines whether or not the state of the process to be controlled is a steady state;
The control according to claim 6, wherein the operation amount calculation unit suppresses generation of the control signal when the determination unit determines that an abnormality has occurred and the steady state determination unit determines that the abnormality is not a steady state. system.
前記直前に受信される複数の第2のパケットに含まれる計測結果を参照し、計測結果が予め設定される上下限値に達するまでの時間を第2の最大許容制御周期として算出する制御周期算出部をさらに備え、
前記判定部は、前記第2の最大許容制御周期が前記最大許容制御周期よりも長い場合、前記最大許容制御周期の代わりに前記第2の最大許容制御周期を用い、前記制御周期が、前記第2の最大許容制御周期を超えるか否かを判定し、超える場合、異常が発生したとして前記操作量演算部における前記制御信号の生成を抑制する請求項6又は7に記載の制御システム。 The controller is
Control cycle calculation that refers to the measurement results included in the plurality of second packets received immediately before and calculates the time until the measurement results reach preset upper and lower limit values as the second maximum allowable control cycle. Further comprising
When the second maximum allowable control cycle is longer than the maximum allowable control cycle, the determination unit uses the second maximum allowable control cycle instead of the maximum allowable control cycle, and the control cycle is the first 8. The control system according to claim 6, wherein it is determined whether or not a maximum allowable control period of 2 is exceeded, and if it exceeds, the generation of the control signal in the operation amount calculation unit is suppressed as an abnormality has occurred.
前記計測装置は、前記第2のパケットに、前記第2のパケットを送信する送信時刻を付与し、
前記受信部は、前記第2のパケットの送信時刻と、前記第2のパケットの受信時刻との差から前記ネットワークにより前記第2のパケットを送信する際の所要時間を算出し、前記所要時間が予め設定する許容所要時間を超える場合、フラグ付与信号を生成し、
前記制御装置は、
前記フラグ付与信号が生成される場合、前記複数の駆動装置の優先順位を参照し、前記操作量算出部で生成される制御信号のうち、前記優先順位の高い駆動装置に対する制御信号に、この制御信号を優先して伝送させるための優先度フラグを付与するフラグ付与部をさらに備える請求項6乃至8のいずれかに記載の制御システム。 A plurality of the drive devices,
The measuring device gives a transmission time for transmitting the second packet to the second packet,
The reception unit calculates a time required for transmitting the second packet through the network from a difference between a transmission time of the second packet and a reception time of the second packet, and the required time If it exceeds the preset allowable time, generate a flag assignment signal,
The controller is
When the flag assignment signal is generated, the priority order of the plurality of drive devices is referred to, and the control signal for the drive device having the higher priority order among the control signals generated by the operation amount calculation unit is controlled. The control system according to any one of claims 6 to 8, further comprising a flag assigning unit that assigns a priority flag for preferentially transmitting a signal.
前記ネットワークを介して前記計測装置から計測結果を含む第1のパケットを受信し、前記第1のパケットの受信間隔に基づいてサンプリング周期を算出する処理と、
前記サンプリング周期が、予め設定される最大許容サンプリング周期を超えるか否かを判定し、超える場合、異常が発生したと判定する処理と、
前記異常が発生したと判定されない場合、前記計測結果と、前記駆動装置に対して設定される制御目標とに基づいて制御信号を生成する処理と、
前記異常が発生したと判定される場合、前記制御信号の生成を抑制する処理と、
前記生成された制御信号を第2のパケットに変換し、前記ネットワークを介して前記駆動装置へ出力する処理と
を前記制御装置のコンピュータに実行させる制御プログラム。 A control program used in a drive device that executes a predetermined operation in a process to be controlled, a measurement device that measures a state of the process to be controlled, and a control device connected via a network,
A process of receiving a first packet including a measurement result from the measurement device via the network and calculating a sampling period based on a reception interval of the first packet;
Determining whether the sampling period exceeds a preset maximum allowable sampling period, and if it exceeds, a process of determining that an abnormality has occurred;
When it is not determined that the abnormality has occurred, a process of generating a control signal based on the measurement result and a control target set for the drive device;
When it is determined that the abnormality has occurred, a process of suppressing generation of the control signal;
The control program which makes the computer of the said control apparatus perform the process which converts the produced | generated control signal into a 2nd packet, and outputs to the said drive device via the said network.
前記ネットワークを介して前記計測装置から計測結果を含む第1のパケットを受信する処理と、
前記計測結果と、前記駆動装置に対して設定される制御目標とに基づいて制御信号を生成する処理と、
前記制御信号を生成する間隔に基づいて制御周期を算出する処理と、
前記制御周期が、予め設定される最大許容制御周期を超えるか否かを判定し、超える場合、前記制御信号の生成を抑制する処理と、
前記生成された制御信号を第2のパケットに変換し、前記ネットワークを介して前記駆動装置へ出力する処理と
を前記制御装置のコンピュータに実行させる制御プログラム。 A control program used in a drive device that executes a predetermined operation in a process to be controlled, a measurement device that measures a state of the process to be controlled, and a control device connected via a network,
Processing for receiving a first packet including a measurement result from the measurement device via the network;
Processing for generating a control signal based on the measurement result and a control target set for the driving device;
Processing for calculating a control period based on an interval for generating the control signal;
It is determined whether or not the control cycle exceeds a preset maximum allowable control cycle, and if it exceeds, a process of suppressing generation of the control signal;
The control program which makes the computer of the said control apparatus perform the process which converts the produced | generated control signal into a 2nd packet, and outputs to the said drive device via the said network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013052062A JP5951535B2 (en) | 2013-03-14 | 2013-03-14 | Control system and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013052062A JP5951535B2 (en) | 2013-03-14 | 2013-03-14 | Control system and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014178852A true JP2014178852A (en) | 2014-09-25 |
JP5951535B2 JP5951535B2 (en) | 2016-07-13 |
Family
ID=51698746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013052062A Active JP5951535B2 (en) | 2013-03-14 | 2013-03-14 | Control system and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5951535B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020059719A1 (en) * | 2018-09-21 | 2020-03-26 | オムロン株式会社 | Master device, method for controlling master device, information processing program, and recording medium |
CN113227923A (en) * | 2019-01-04 | 2021-08-06 | 三菱电机株式会社 | Network control system, method of controlling device, and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7335467B1 (en) | 2023-07-19 | 2023-08-29 | 株式会社山善 | oven toaster |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009059182A (en) * | 2007-08-31 | 2009-03-19 | Yokogawa Electric Corp | Field control system |
JP2009110180A (en) * | 2007-10-29 | 2009-05-21 | Yokogawa Electric Corp | Network control system |
-
2013
- 2013-03-14 JP JP2013052062A patent/JP5951535B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009059182A (en) * | 2007-08-31 | 2009-03-19 | Yokogawa Electric Corp | Field control system |
JP2009110180A (en) * | 2007-10-29 | 2009-05-21 | Yokogawa Electric Corp | Network control system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020059719A1 (en) * | 2018-09-21 | 2020-03-26 | オムロン株式会社 | Master device, method for controlling master device, information processing program, and recording medium |
JP2020052441A (en) * | 2018-09-21 | 2020-04-02 | オムロン株式会社 | Master device, control method, information processing program, and recording medium of master device |
JP7010185B2 (en) | 2018-09-21 | 2022-01-26 | オムロン株式会社 | Master device, master device control method, information processing program, and recording medium |
CN113227923A (en) * | 2019-01-04 | 2021-08-06 | 三菱电机株式会社 | Network control system, method of controlling device, and storage medium |
JP2022513415A (en) * | 2019-01-04 | 2022-02-07 | 三菱電機株式会社 | Network control systems and methods for control plants and storage media |
JP7199565B2 (en) | 2019-01-04 | 2023-01-05 | 三菱電機株式会社 | NETWORK CONTROL SYSTEM AND METHOD FOR CONTROL PLANT AND STORAGE MEDIA |
Also Published As
Publication number | Publication date |
---|---|
JP5951535B2 (en) | 2016-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10637787B2 (en) | Time sensitive network (TSN) scheduler with verification | |
JP5565431B2 (en) | Control device and control system | |
Tang et al. | Compensation for transmission delays in an ethernet-based control network using variable-horizon predictive control | |
EP3610613B1 (en) | Time-sensitive networking differentiation of traffic based upon content | |
EP2884358A1 (en) | Plant control system, controller, manager, and plant information processing method | |
JP6356978B2 (en) | Use of predictive means in process control systems with wireless or intermittent process measurements | |
EP3218212B1 (en) | Method for controlling operation of an hvac system, and corresponding system and computer program product | |
US9625349B2 (en) | Time-stamped emissions data collection for process control devices | |
Quevedo et al. | Control over unreliable networks affected by packet erasures and variable transmission delays | |
JP5951535B2 (en) | Control system and control program | |
JP2016001425A (en) | Monitoring control system and monitoring control method | |
EP2615760A3 (en) | Data flow control method and apparatus | |
EP2732345B1 (en) | Wireless control for process automation | |
JP2023054190A (en) | Control based on speed in controller to be updated non-periodically, method for controlling process, and process controller | |
JP2015100070A (en) | Communication device and radio communication system | |
US11656609B2 (en) | Detecting component degradation in industrial process plants based on loop component responsiveness | |
US10007258B2 (en) | Communications device with adaptive scanner for process control | |
JP6835589B2 (en) | Reduced controller updates in control loops, how to control controlled devices, process control systems, process controllers | |
JP5976934B2 (en) | Electronics | |
US20170108854A1 (en) | Scanner with overrun alert for process control | |
Hotchi et al. | Remote congestion control using model-free butterfly-shaped perfect delay compensator for active queue management supporting TCP flows | |
Ignaciuk et al. | Mitigating the impact of delay uncertainty on the performance of LQ optimal remote control systems | |
Olaya et al. | Reliable wireless control: Wireless connection in the control loop | |
Ungan | Networked PID controllers for wireless systems | |
JP6914680B2 (en) | Monitoring and control system and time adjustment method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150206 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151215 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151216 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160215 |
|
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: 20160510 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160608 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5951535 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |