JPH06161502A - Control arithmetic unit - Google Patents

Control arithmetic unit

Info

Publication number
JPH06161502A
JPH06161502A JP30885092A JP30885092A JPH06161502A JP H06161502 A JPH06161502 A JP H06161502A JP 30885092 A JP30885092 A JP 30885092A JP 30885092 A JP30885092 A JP 30885092A JP H06161502 A JPH06161502 A JP H06161502A
Authority
JP
Japan
Prior art keywords
initialization
input
functional block
output
coupling terminal
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.)
Pending
Application number
JP30885092A
Other languages
Japanese (ja)
Inventor
Toshiaki Shirai
俊明 白井
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP30885092A priority Critical patent/JPH06161502A/en
Publication of JPH06161502A publication Critical patent/JPH06161502A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Feedback Control In General (AREA)

Abstract

(57)【要約】 【目的】結合する相手の機能ブロックの内部構造に関す
る知識がなくとも、信号バンプ防止のための初期化処理
を行うことができるようにする。 【構成】各機能ブロックに、当該機能ブロックに与えら
れる信号を受け入れるための入力結合端子と演算結果を
出力する出力結合端子と、当該機能ブロックで実行して
いる演算処理動作や入出力データを監視し、入出力結合
端子に接続される他の機能ブロックで初期化が必要か否
かを判断し、初期化が必要である場合その旨を示すステ
ータス情報を入出力結合端子を経て出力する初期化判断
手段と、当該機能ブロック外から前記入出力結合端子を
経由して与えられる初期化必要を示すステータス情報を
受け、自身の機能ブロックの初期化を行う初期化手段と
を設けて構成される。
(57) [Summary] [Purpose] To enable initialization processing to prevent signal bumps without knowledge of the internal structure of the functional block of the partner to be combined. [Structure] Each functional block monitors an input coupling terminal for receiving a signal given to the functional block, an output coupling terminal for outputting a calculation result, and an arithmetic processing operation and input / output data executed in the functional block. Then, other functional blocks connected to the I / O coupling terminal determine whether or not initialization is required, and if initialization is required, status information indicating that is output is output via the I / O coupling terminal. The determination unit and the initialization unit that receives the status information from the outside of the function block indicating that initialization is required via the input / output coupling terminal and initializes its own function block are configured.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、計算機を用いてプロセ
ス制御を行うような制御演算装置に関し、更に詳しく
は、入力される信号に所定の演算を施し演算結果を出力
するようなソフトウェア要素からなる機能ブロック(こ
れを一般に内部計器とも呼ぶ)を適宜複数個組み合わせ
ることで所望の制御系を構成する制御演算装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control arithmetic unit for performing process control using a computer, and more specifically, to a software element for performing a predetermined arithmetic operation on an input signal and outputting an arithmetic operation result. The present invention relates to a control arithmetic unit that forms a desired control system by appropriately combining a plurality of functional blocks (which are also generally called internal meters).

【0002】[0002]

【従来の技術】プロセスを制御する装置として、計算機
を利用した分散形制御システムが広く実用化されてい
る。この様な分散形制御システムは、マンマシンインタ
ーフェース機能を持つ操作監視装置(オペレータステー
ション)と、制御演算を担当する分散配置された制御演
算装置(制御ステーション)とで構成されており、制御
演算装置側には、入力される信号に対して所定の演算を
施し演算結果を出力するようなソフトウェア要素からな
る機能ブロックを、制御対象であるプロセスに適合する
ように適宜複数個ビルディングブロック式に組み合わせ
て構築した制御系がダウンロードされる。
2. Description of the Related Art As a device for controlling a process, a distributed control system using a computer has been widely put into practical use. Such a distributed control system is composed of an operation monitoring device (operator station) having a man-machine interface function and a distributed control arithmetic device (control station) in charge of control arithmetic. On the side, functional blocks consisting of software elements that perform a predetermined calculation on the input signal and output the calculation result are appropriately combined in multiple building block formulas to suit the process to be controlled. The constructed control system is downloaded.

【0003】制御演算装置に備えられる(ダウンロード
された)この様な制御系には、制御対象であるプロセス
に外乱を与えないように、運転モードの切換えや入出力
信号の切換えなど運転状態の変化に対して制御出力が突
然変化しないように突変(バンプ)防止の機能を、各機
能ブロック毎に組み込んでいる。例えば、一つの機能ブ
ロックで完結する制御系では、機能ブロックからの出力
信号を、現場のローカル操作機器等から操作端へ与えら
れている実出力に一致させる出力トラッキングの機能
や、手動操作時に機能ブロックに与えられる設定値をプ
ロセス量(測定値)に一致させるメジャートラッキング
機能を組み込んでいて、バンプ防止を行うように構成さ
れている。
In such a control system provided (downloaded) in the control arithmetic unit, a change in the operation state such as an operation mode changeover or an input / output signal changeover is carried out so as not to give a disturbance to the process to be controlled. On the other hand, a function to prevent sudden change (bump) is incorporated in each functional block so that the control output does not suddenly change. For example, in a control system that is completed with one functional block, the output tracking function that matches the output signal from the functional block with the actual output given to the operating end from the local operating equipment on site, and the function during manual operation It incorporates a major tracking function that matches the set value given to the block with the process amount (measured value), and is configured to prevent bumps.

【0004】一方、複数の機能ブロックを適宜組み合わ
せて制御系を構成する場合、単一の機能ブロックで閉じ
たバンプ防止を行っただけでは、出力のバンプを完全に
防止することができない。例えば、2つの機能ブロック
をカスケードに接続して構成されるカスケード制御系で
は、1次調節計としての機能ブロックが、2次調節計と
しての機能ブロックの状態を監視していて、例えば2次
側モードを手動調節に切り替える等によりカスケード結
合が切れた場合には、1次側出力値を2次側設定値にト
ラッキングさせるための処理が必要となる。
On the other hand, when a control system is constructed by appropriately combining a plurality of functional blocks, it is not possible to completely prevent output bumps only by preventing bumps closed by a single functional block. For example, in a cascade control system configured by connecting two functional blocks in a cascade, the functional block as the primary controller monitors the state of the functional block as the secondary controller. When the cascade coupling is broken due to switching the mode to manual adjustment or the like, processing for tracking the primary side output value to the secondary side set value is required.

【0005】従来、複数の機能ブロツクに跨がってのバ
ンプ防止対策として、以下の手法が採られていた。 (a)信号を出力する元の機能ブロック(1次側機能ブ
ロック)が、出力先の機能ブロック(2次側機能ブロッ
ク)の情報を必要に応じて取り出し、初期化(トラッキ
ング等)のタイミングを判断する。 (b)出力バンプが問題となる制御用機能ブロックのす
べてを速度形出力とし、今回演算の変化分しか出力先の
信号値が変化しないようにする。
Conventionally, the following technique has been adopted as a bump prevention measure across a plurality of functional blocks. (A) The original functional block (primary-side functional block) that outputs the signal retrieves information of the output-destination functional block (secondary-side functional block) as necessary to determine the timing of initialization (tracking, etc.). to decide. (B) All of the control function blocks in which the output bump is a problem are velocity-type outputs so that the signal value at the output destination changes only for the change in the current calculation.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、前記
(a)の手法は、初期化タイミング判定に必要な情報を
取り出すために、結合する相手の機能ブロックの内部構
造(データ構造、処理構造等)に関する知識を知らなけ
ればならないという課題がある。他の機能ブロックの知
識を必要とするということは、機能ブロック化の目的の
一つである機能の独立化に反している。
However, the above method (a) relates to the internal structure (data structure, processing structure, etc.) of the functional block of the partner to be combined in order to retrieve the information necessary for the initialization timing determination. There is a challenge of having to know the knowledge. The need for knowledge of other functional blocks goes against the independence of functions, which is one of the purposes of functional blockization.

【0007】さらに、新しい種類の機能ブロックを機能
追加した場合、既存の機能ブロックと新しい機能ブロツ
クとを結合するに際して、既存の機能ブロツクの処理プ
ログラムに新しい機能ブロツクの内部構造を教え、両者
の機能ブロツクで協調動作できるようにするための改造
処理を行う必要があるという不具合いが生ずる。前記
(b)の手法は、速度形出力を行う機能ブロツクで制御
系を構成する場合は問題はない。しかしながら、複雑な
制御系を構成しようとすれば、系の中に本質的に位置形
出力を行う機能ブロツク(例えば、演算器やプログラム
設定器として機能する機能ブロツク)が含まれる可能性
があり、この場合にはその制御系に応じた特別な対応処
理を行う必要がある。
Further, when a new type of function block is added, when the existing function block and the new function block are combined, the processing program of the existing function block is taught the internal structure of the new function block, and the functions of both functions are combined. There is a problem that it is necessary to perform a modification process so that the blocks can cooperate with each other. The above method (b) has no problem when the control system is composed of a functional block for performing speed type output. However, if a complex control system is to be configured, there is a possibility that the system may include a function block that essentially performs position type output (for example, a function block that functions as a computing unit or a program setter). In this case, it is necessary to perform special handling processing according to the control system.

【0008】本発明は、このような点に鑑みてなされた
もので、複数の機能ブロツクを結合して所望の制御系を
構成するに際し、各機能ブロツクの機能独立性を阻害せ
ず、また、機能ブロツクが速度形出力か位置形出力かな
どに依存しないで、出力バンプを防止することのできる
制御演算装置を提供することを目的とする。
The present invention has been made in view of the above points, and does not impede the function independence of each functional block when a plurality of functional blocks are combined to form a desired control system. An object of the present invention is to provide a control arithmetic unit capable of preventing output bumps without depending on whether the function block is a speed type output or a position type output.

【0009】[0009]

【課題を解決するための手段】このような目的を達成す
る本発明は、入力される信号に所定の演算を施し演算結
果を出力するソフトウェア要素からなる機能ブロックを
複数個組み合わせて制御系を構成する制御演算装置であ
って、前記各機能ブロックに、当該機能ブロックに与え
られる信号を受け入れるための入力結合端子と演算結果
を出力する出力結合端子と、当該機能ブロックで実行し
ている演算処理動作およびまたは入出力データを監視
し、前記入出力結合端子に接続される他の機能ブロック
側で初期化が必要か否かを判断し、初期化が必要である
場合その旨を示すステータス情報を前記入出力結合端子
を経て出力する初期化判断手段と、前記入出力結合端子
を経由して与えられる初期化が必要である旨を示すステ
ータス情報を受け、自身の機能ブロック内の初期化を行
う初期化手段とを設けたことを特徴とする制御演算装置
である。
According to the present invention which achieves such an object, a control system is constructed by combining a plurality of functional blocks each of which is composed of software elements for performing a predetermined calculation on an input signal and outputting a calculation result. In the control arithmetic unit, an input coupling terminal for receiving a signal given to the functional block, an output coupling terminal for outputting a calculation result, and an arithmetic processing operation executed in the functional block. And / or monitoring the input / output data, determining whether or not the initialization is required on the side of the other functional block connected to the input / output coupling terminal, and if the initialization is required, the status information indicating that is sent in advance. Initialization judging means for outputting via the input / output coupling terminal, and status information indicating that the initialization given via the input / output coupling terminal is necessary, A control arithmetic apparatus characterized by comprising an initializing means for initializing the functional blocks of the body.

【0010】[0010]

【作用】機能ブロツク内の初期化判断手段は、機能ブロ
ツク処理プログラムの動きや入出力データを監視してい
て、例えば自身の運転状態の変化などがあり、その機能
ブロックに結合する他の機能ブロックで初期化が必要と
判断した場合、初期化必要を示すステータス情報を入出
力結合端子を経由して出力する。このステータス情報
は、その機能ブロックに結合する他の機能ブロック側
に、入出力結合端子を経由して情報伝達される。
Operation: The initialization determining means in the function block monitors the movement of the function block processing program and the input / output data. For example, when there is a change in the operating state of itself, other function blocks connected to the function block. If it is determined that the initialization is necessary, the status information indicating that the initialization is necessary is output via the input / output coupling terminal. This status information is transmitted to the other functional block side coupled to the functional block via the input / output coupling terminal.

【0011】他の機能ブロックの初期化手段は、情報伝
達された初期化必要を示すステータス情報を受け、自身
の初期化処理を行う。
The initialization means of the other functional block receives the status information indicating the initialization need, which has been transmitted, and performs its own initialization processing.

【0012】[0012]

【実施例】以下、図面を用いて本発明の実施例を詳細に
説明する。図1は、本発明の一実施例を示す構成ブロッ
ク図である。この図では、2つの機能ブロックを結合し
てカスケード制御系を構成した場合を例示する。図にお
いて、FCは計算機を用いた制御演算装置、PRはこの
制御演算装置によって制御されているプロセスを示して
いる。制御演算装置FCにおいて、1は第1の機能ブロ
ックで、ここでは1次調節計として機能するもので、プ
ロセスPRに設置してあるセンサSN1からの信号PV
1を入力する。2は第2の機能ブロックで、2次調節計
として機能するもので、プロセスPRに設置してあるセ
ンサSN2からの信号PV2を入力すると共に、第1の
機能ブロック1からの出力信号MV1がその設定値SV
2として与えられ、演算結果(制御出力)MV2がバル
ブのような操作端VAに送出されるように組み合わされ
ている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing an embodiment of the present invention. In this figure, a case where two functional blocks are combined to form a cascade control system is illustrated. In the figure, FC indicates a control arithmetic unit using a computer, and PR indicates a process controlled by this control arithmetic unit. In the control operation device FC, 1 is a first functional block, which functions as a primary controller here, and is a signal PV from the sensor SN1 installed in the process PR.
Enter 1. Reference numeral 2 is a second functional block which functions as a secondary controller. The signal PV2 from the sensor SN2 installed in the process PR is input and the output signal MV1 from the first functional block 1 is Set value SV
2 and the calculation result (control output) MV2 is combined so as to be sent to the operating end VA such as a valve.

【0013】第1,第2の機能ブロック1,2におい
て、10a,10bはいずれも入力信号(設定値信号も
入力信号として扱うものとする)が与えられる入出力結
合端子11は演算結果を出力する出力結合端子である。
これらの各入出力結合端子は、機能ブロックの入力信号
の入力先、出力信号の出力先を定義した情報で構成さ
れ、機能ブロックはこれらの入出力結合端子を通して、
機能ブロック外の信号(データ)を参照または設定が行
えるようになっている。
In each of the first and second functional blocks 1 and 2, 10a and 10b are supplied with an input signal (a set value signal is also treated as an input signal), and an input / output coupling terminal 11 outputs an operation result. This is an output coupling terminal.
Each of these input / output coupling terminals is composed of information defining the input destination of the input signal of the functional block and the output destination of the output signal, and the functional block passes through these input / output coupling terminals,
The signal (data) outside the functional block can be referenced or set.

【0014】12は所定の演算、例えば、フィードバッ
ク制御演算、シーケンス制御演算、数値演算、論理演算
等を行うための演算処理手段である。この演算処理手段
12は、入力結合端子10aに印加される信号、例え
ば、測定信号PV1(PV2)と、もう一つの入力結合
端子10bに印加される信号、例えば、設定値SV1
(SV2)との偏差に、制御演算を施し、演算結果を出
力結合端子11に出力するようなソフトウェア要素で構
成されている。
Reference numeral 12 is an arithmetic processing means for performing a predetermined arithmetic operation, for example, a feedback control arithmetic operation, a sequence control arithmetic operation, a numerical arithmetic operation, a logical arithmetic operation and the like. This arithmetic processing means 12 has a signal applied to the input coupling terminal 10a, for example, a measurement signal PV1 (PV2) and a signal applied to another input coupling terminal 10b, for example, a set value SV1.
The deviation from (SV2) is subjected to a control operation, and the operation result is output to the output coupling terminal 11 by a software element.

【0015】13は自身の機能ブロック内で実行してい
る演算動作あるいは入出力データを監視し、例えば、自
身の運転状態の変化などを検出して、入出力端子10,
11に結合する他の機能ブロック側で初期化が必要か否
かを判断し、初期化が必要の場合、その旨を示すステー
タス情報を入出力結合端子を経由して自身の機能ブロッ
ク外に出力する初期化判断手段、14はその機能ブロッ
ク外から与えられる初期化必要を示すステータス情報を
入出力結合端子を経て受けた場合に、このステータス情
報に基づき自身の機能ブロックの初期化を行う初期化手
段である。
Reference numeral 13 monitors the arithmetic operation or the input / output data being executed in its own functional block, detects, for example, a change in its own operating state, and outputs the input / output terminal 10.
The other functional block connected to 11 judges whether or not the initialization is necessary. If the initialization is necessary, the status information indicating that is output to the outside of its own functional block via the input / output coupling terminal. The initialization determining means 14 performs initialization of its own functional block based on this status information when it receives status information given from outside the functional block, which indicates that initialization is required, through the input / output coupling terminal. It is a means.

【0016】この例では、第1の機能ブロック1の出力
結合端子11と第2の機能ブロック2の一つの入力結合
端子10bとの間が接続されており、両者の間では、第
1の機能ブロック1から演算結果のデータが第2の機能
ブロック2に向けて出力されると共に、第2の機能ブロ
ック2内の初期化判断手段13から第1の機能ブロック
1に向けて、初期化が必要な場合にその旨を示すステー
タス情報が出力されるようになっている。
In this example, the output coupling terminal 11 of the first function block 1 and one input coupling terminal 10b of the second function block 2 are connected to each other, and the first function is provided between them. Data of the calculation result is output from the block 1 to the second functional block 2, and initialization is necessary from the initialization determining means 13 in the second functional block 2 to the first functional block 1. In such a case, status information indicating that is output.

【0017】なお、この様に第1の機能ブロックと第2
の機能ブロックとをビルデイング式に組み合わせて所望
の制御系を構築するような作業は、図示してないがビル
ダー機能を有するワークステーションやエンジニアリン
グステーション等を用いて行われるものとする。この様
に構成した装置の動作を次に説明する。
As described above, the first functional block and the second functional block
The work of constructing a desired control system by combining the functional blocks of (1) and (2) in a building manner shall be performed using a workstation or an engineering station having a builder function (not shown). The operation of the device configured as described above will be described below.

【0018】図1では、2つの機能ブロック1,2をカ
スケード接続するように組み合わせてカスケード制御系
を構成した例であり、2つの機能ブロック1,2は、い
ずれも、PID制御演算を行うフィードバック制御演算
を行うものが用いてある。カスケード制御状態では、1
次調節計としての第1の機能ブロック1は、センサSN
1からの信号PV1と設定値SV1との偏差にPID制
御演算を行い、演算結果MV1を、2次調節計としての
第2の機能ブロック2に設定値SV2として与えてい
る。第2の機能ブロック2においては、センサSN2か
らの信号PV2と第1の機能ブロツク1から与えられる
設定値SV2との偏差にPID制御演算を行い、その演
算結果MV2を操作端VAに出力する動作を行う。
FIG. 1 shows an example in which two functional blocks 1 and 2 are combined in a cascade connection to form a cascade control system. Both of the two functional blocks 1 and 2 are feedback for performing PID control calculation. The one that performs control calculation is used. 1 in cascade control status
The first functional block 1 as the secondary controller is the sensor SN
The PID control calculation is performed on the deviation between the signal PV1 from 1 and the set value SV1, and the calculation result MV1 is given to the second functional block 2 as the secondary controller as the set value SV2. In the second function block 2, the PID control operation is performed on the deviation between the signal PV2 from the sensor SN2 and the set value SV2 given from the first function block 1, and the operation result MV2 is output to the operation terminal VA. I do.

【0019】この様な通常のカスケード制御状態では、
各機能ブロック内の初期化判断手段13は、他の機能ブ
ロックにおいて初期化の必要は無いと判断していて、機
能ブロック外に出力するステータス情報の操作を行わな
い。次に、第2の機能ブロック2において、例えば、カ
スケード制御状態をオープンとし、自身の機能ブロック
2の設定値に基づいて制御演算を行うような自動調節状
態にモード変更を行ったとする。
In such a normal cascade control state,
The initialization determining means 13 in each functional block determines that the initialization is not necessary in other functional blocks, and does not operate the status information output to the outside of the functional block. Next, in the second function block 2, for example, it is assumed that the cascade control state is opened and the mode is changed to the automatic adjustment state in which the control calculation is performed based on the set value of the function block 2 of itself.

【0020】この場合、第2の機能ブロック2内の初期
化判断手段13は、演算処理手段12の動作を監視して
いて、このモード変更を検出する。そして、このモード
変更(カスケード制御状態から、自動調節状態への変
更)の内容から、第1の機能ブロツク1側で初期化が必
要と判断し、入力結合端子10bを通して第1の機能ブ
ロック1側に出力するステータス情報の操作を行う。こ
こで、このステータス情報の伝達の仕方としては、例え
ば、第2の機能ブロック2の入力結合端子11bに与え
られるデータを受け入れる設定値SV2を格納するため
のレジスタのデータステータスを操作(セット)し、第
1の機能ブロツク1の初期化手段14がそのデータステ
ータスの操作を読み返すことで行うようにしてもよい。
In this case, the initialization judging means 13 in the second functional block 2 monitors the operation of the arithmetic processing means 12 and detects this mode change. Then, from the contents of this mode change (change from the cascade control state to the automatic adjustment state), it is determined that the first function block 1 side needs initialization, and the first function block 1 side is input through the input coupling terminal 10b. Operate the status information output to. Here, as a method of transmitting this status information, for example, the data status of the register for storing the set value SV2 for receiving the data given to the input coupling terminal 11b of the second functional block 2 is operated (set). Alternatively, the initialization means 14 of the first function block 1 may read back the operation of the data status.

【0021】第1の機能ブロック1において、初期化手
段14は出力結合端子11を通して伝達された(読み返
された)初期化必要を示すステータス情報を検知する
と、第1の機能ブロック1の初期化を行うとともに、出
力トラッキングを行う。この出力トラッキング動作は、
第1の機能ブロック1の出力結合端子11から出力され
る演算値MV1が、第2の機能ブロック2(自動調節状
態にある)で用いている設定値に追従するような動作で
あり、これは、第1の機能ブロック1が第2の機能ブロ
ック2の入力結合端子10bを通じて、第2の機能ブロ
ック2で用いている設定値を定周期で読み込むことによ
り実現される。
In the first functional block 1, when the initialization means 14 detects the status information transmitted (read back) through the output coupling terminal 11 and indicating the need for initialization, the initialization of the first functional block 1 is performed. And perform output tracking. This output tracking operation is
The operation value MV1 output from the output coupling terminal 11 of the first function block 1 follows the set value used in the second function block 2 (in the automatic adjustment state). The first function block 1 is realized by reading the set value used in the second function block 2 at a constant cycle through the input coupling terminal 10b of the second function block 2.

【0022】これにより、次にカスケードクローズとし
てカスケード制御状態にモードを変更したとき、そのモ
ード変更をバンプレスに行うことができる。図2は、機
能ブロックとして,複数の信号を入力しそのうちの一つ
の信号を自動的に選択するオートセレクタ機能を持つも
のと、PID制御演算機能を持つ機能ブロックとを組み
合わせて、オートセレクタカスケード制御系を構成した
例である。
As a result, when the mode is changed to the cascade control state as the cascade close, the mode change can be bumplessly performed. FIG. 2 shows a combination of a functional block having an auto-selector function for inputting a plurality of signals and automatically selecting one of the signals and a functional block having a PID control calculation function, thereby performing auto-selector cascade control. It is an example of configuring the system.

【0023】この図において、1はPID制御演算機能
ブロックであり、このブロックの出力データをMVで表
している。3はオートセレクタ機能ブロックで、3つの
入力データをRV1,RV2,RV3で表しており、制
御演算機能ブロック1の出力結合端子11と、オートセ
レクタ機能ブロック3の一つの入力結合端子10bとが
結合している。
In the figure, reference numeral 1 is a PID control calculation function block, and the output data of this block is represented by MV. Reference numeral 3 denotes an auto selector function block, which represents three input data by RV1, RV2, and RV3. The output coupling terminal 11 of the control calculation function block 1 and one input coupling terminal 10b of the auto selector function block 3 are coupled. is doing.

【0024】オートセレクタ機能ブロック3内の初期化
判断手段13は、スイッチの動作状態を監視しており、
スイッチの切換時に初期化が必要と判断し、その旨を示
すステータス情報を操作する。ここでは、入力結合端子
10bに印加される入力データRV2のデータステータ
スを操作する(例えばアクティブにセットする)。制御
演算機能ブロック1において、初期化手段14は、入力
データRV2を出力結合端子11、入力結合端子10b
を介して読み返すと共に、入力データRV2のデータス
テータスを検知し、演算の初期化を行うとともに、この
制御演算機能ブロック1の出力MVが、入力データRV
2に追従するように出力トラッキング動作を行う。
The initialization judging means 13 in the auto selector function block 3 monitors the operating state of the switch,
When the switch is switched, it is determined that the initialization is necessary, and the status information indicating that is operated. Here, the data status of the input data RV2 applied to the input coupling terminal 10b is operated (for example, set to active). In the control calculation function block 1, the initialization means 14 outputs the input data RV2 to the output coupling terminal 11 and the input coupling terminal 10b.
The data status of the input data RV2 is detected, the operation is initialized, and the output MV of the control operation function block 1 is read through the input data RV.
The output tracking operation is performed so as to follow 2.

【0025】これにより、次に、オートセレクタ機能ブ
ロック3が制御演算機能ブロック1からの出力データを
選択するモードに変更した場合、その切換をバンプレス
で行うことができる。図3は、2つの機能ブロック1,
2をカスケード接続するように組み合わせてカスケード
制御系を構成した場合の構成ブロック図である。この例
では、第2の機能ブロック2において、カスケード設定
データをCSV、2次調節計に与えられる設定値をSV
で表しており、機能ブロックの外からこの設定値SVを
設定する場合を想定している。
As a result, when the automatic selector function block 3 next changes to a mode for selecting the output data from the control calculation function block 1, the switching can be performed bumplessly. FIG. 3 shows two functional blocks 1,
FIG. 3 is a configuration block diagram when a cascade control system is configured by combining two so as to be cascade-connected. In this example, in the second function block 2, the cascade setting data is CSV and the setting value given to the secondary controller is SV.
, And it is assumed that the setting value SV is set from outside the functional block.

【0026】この場合、外部データの設定は、外部から
データ設定を行うプログラム(データアクセスプログラ
ム)が、データ値を設定すると共に、初期化必要を示す
ステータス情報を操作する。第1の機能ブロック1にお
いて、初期化手段14は出力結合端子11を通して伝達
された初期化必要を示すステータス情報を検知し、第1
の機能ブロック1の初期化を行うとともに、出力トラッ
キングを行う。
In this case, in setting the external data, a program (data access program) for setting data from the outside sets a data value and operates status information indicating that initialization is necessary. In the first functional block 1, the initialization means 14 detects the status information transmitted through the output coupling terminal 11 and indicating the initialization necessity.
The function block 1 is initialized and output tracking is performed.

【0027】これにより、第1の機能ブロック1側で関
知しないタイミングでのモード変更や、データ設定が行
われた場合にも、出力バンプを防止することができる。
図4は、機能ブロックとして,例えばセンサSNからの
入力信号に対して折れ線関数演算を行うような機能ブロ
ック4(この演算機能ブロックは、自身を初期化するた
めの手段を持っていないものとする)と、この機能ブロ
ック4からの信号を入力するPID制御演算機能を持つ
機能ブロック1とを組み合わせて制御系を構成した例で
ある。
As a result, the output bump can be prevented even when the mode is changed or the data is set at a timing unrelated to the first functional block 1 side.
FIG. 4 shows, as a functional block, a functional block 4 for performing, for example, a polygonal line function calculation on an input signal from the sensor SN (this calculation function block does not have means for initializing itself. ) And a functional block 1 having a PID control calculation function for inputting a signal from the functional block 4 are combined to form a control system.

【0028】折れ線関数演算を行う機能ブロック4にお
いて、40は折れ線関数演算手段であり、初期化判断手
段13は折れ線関数演算手段40に入力される信号(プ
ロセス入力)も監視していて、例えば、プロセス入力の
異常状態からの回復時に、機能ブロック1側の初期化が
必要であると判断し、機能ブロック4から出力される演
算出力データMVのデータステータス情報を操作する。
機能ブロック1側において、初期化手段14は自身に伝
達されている機能ブロック4からの演算出力データMV
(このデータは機能ブロック1側ではカスケード設定デ
ータCSVとして扱われている)のデータステータス情
報から、初期化が必要であることを検知し、演算初期
化、出力トラッキング動作を行う。
In the function block 4 for performing the polygonal line function calculation, 40 is a polygonal line function calculating means, and the initialization judging means 13 also monitors a signal (process input) input to the polygonal line function calculating means 40. Upon recovery from the abnormal state of the process input, it is determined that the functional block 1 side needs to be initialized, and the data status information of the operation output data MV output from the functional block 4 is manipulated.
On the functional block 1 side, the initialization means 14 outputs the operation output data MV from the functional block 4 transmitted to itself.
From the data status information of (this data is treated as the cascade setting data CSV on the functional block 1 side), it is detected that initialization is necessary, and calculation initialization and output tracking operations are performed.

【0029】これにより、プロセス入力の異常が回復し
た際、その入力データが突然変化する事態(機能ブッロ
ク4において、通常、プロセス入力が急変すると結果的
にその演算出力データMVも急変する)が生じても、機
能ブロック1側において、カスケード設定データCSV
がバンプするのを防止することができる。なお、上記の
実施例では機能ブロックとして、PID制御演算機能を
持つもの、オートセレクタ機能を持つもの、折れ線関数
演算機能を持つものについて例示したが、シーケンス制
御演算機能やスイッチ機能を持つもの、更に新しく開発
される各種の機能を持つ機能ブロック等を結合させて制
御系を構成する場合にも同様に適用することができる。
As a result, when the abnormality of the process input is recovered, a situation occurs in which the input data suddenly changes (usually in the function block 4, when the process input suddenly changes, the operation output data MV also suddenly changes). However, on the functional block 1 side, the cascade setting data CSV
Can be prevented from bumping. In the above embodiments, the functional blocks having the PID control operation function, the auto selector function, and the polygonal line function operation function are exemplified. However, those having the sequence control operation function and the switch function, The same can be applied to a case where a control system is constructed by combining functional blocks having various functions that are newly developed.

【0030】[0030]

【発明の効果】以上詳細に説明したように、本発明は、
複数の機能ブッロクを結合して所望の制御系を構成する
場合において、規格化された入出力結合端子を通して、
初期化の必要を示すステータス情報を伝達するように構
成したもので、結合する相手の機能ブロックの内部構造
に関する知識がなくとも、信号バンプ防止のための初期
化処理を容易に行うことができる。従って、各種のプロ
セスに適合した制御系の構築を容易に行うことの可能な
制御演算装置が実現できる。
As described in detail above, the present invention is
In the case of connecting a plurality of functional blocks to form a desired control system, through standardized input / output coupling terminals,
Since the status information indicating the necessity of initialization is transmitted, the initialization process for preventing signal bumps can be easily performed without knowledge of the internal structure of the functional block of the partner to be combined. Therefore, it is possible to realize a control arithmetic unit capable of easily constructing a control system suitable for various processes.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示す構成ブロック図であ
る。
FIG. 1 is a configuration block diagram showing an embodiment of the present invention.

【図2】2つの機能ブロックを結合してオートセレクタ
カスケード制御系を構成した場合の構成ブロック図であ
る。
FIG. 2 is a configuration block diagram in the case where an auto selector cascade control system is configured by combining two functional blocks.

【図3】2つの機能ブロックをカスケード接続するよう
に組み合わせてカスケード制御系を構成した場合の構成
ブロック図である。
FIG. 3 is a configuration block diagram in the case where a cascade control system is configured by combining two functional blocks in a cascade connection.

【図4】機能ブロックとして折れ線関数演算を行うよう
な機能ブロックとPID制御演算機能を持つ機能ブロッ
クとを組み合わせて制御系を構成した場合の構成ブロッ
ク図である。
FIG. 4 is a configuration block diagram in the case where a control system is configured by combining a functional block that performs a polygonal line function calculation as a functional block and a functional block having a PID control calculation function.

【符号の説明】[Explanation of symbols]

FC 制御演算装置 PR プロセス 1,2,3 機能ブロック 10 入力結合端子 11 出力結合端子 12 演算処理手段 13 初期化判断手段 14 初期化手段 FC control arithmetic unit PR process 1, 2, 3 functional block 10 input coupling terminal 11 output coupling terminal 12 arithmetic processing means 13 initialization determination means 14 initialization means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力される信号に所定の演算を施し演算結
果を出力するソフトウェア要素からなる機能ブロックを
複数個組み合わせて制御系を構成する制御演算装置であ
って、 前記各機能ブロックに、当該機能ブロックに与えられる
信号を受け入れるための入力結合端子と演算結果を出力
する出力結合端子と、 当該機能ブロックで実行している演算処理動作およびま
たは入出力データを監視し、前記入出力結合端子に接続
される他の機能ブロック側で初期化が必要か否かを判断
し、初期化が必要である場合その旨を示すステータス情
報を前記入出力結合端子を経て出力する初期化判断手段
と、 前記入出力結合端子を経由して与えられる初期化が必要
である旨を示すステータス情報を受け、自身の機能ブロ
ック内の初期化を行う初期化手段とを設けたことを特徴
とする制御演算装置。
1. A control arithmetic unit for constructing a control system by combining a plurality of functional blocks composed of software elements for performing a predetermined arithmetic operation on an input signal and outputting an arithmetic operation result, wherein each of the functional blocks comprises: An input coupling terminal for receiving a signal given to a functional block, an output coupling terminal for outputting a calculation result, an arithmetic processing operation and / or input / output data being executed by the functional block are monitored, and the input / output coupling terminal is connected to the input / output coupling terminal. An initialization determination means for determining whether or not the initialization is necessary on the side of the other functional block to be connected, and for outputting the status information indicating that the initialization is required through the input / output coupling terminal, Initialization means for receiving the status information that indicates that initialization is required via the input / output coupling terminal and performing initialization within its own functional block. Control arithmetic apparatus characterized by digit.
JP30885092A 1992-11-18 1992-11-18 Control arithmetic unit Pending JPH06161502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30885092A JPH06161502A (en) 1992-11-18 1992-11-18 Control arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30885092A JPH06161502A (en) 1992-11-18 1992-11-18 Control arithmetic unit

Publications (1)

Publication Number Publication Date
JPH06161502A true JPH06161502A (en) 1994-06-07

Family

ID=17986026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30885092A Pending JPH06161502A (en) 1992-11-18 1992-11-18 Control arithmetic unit

Country Status (1)

Country Link
JP (1) JPH06161502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010118057A (en) * 2008-11-14 2010-05-27 General Electric Co <Ge> System and method involving graphically displaying control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010118057A (en) * 2008-11-14 2010-05-27 General Electric Co <Ge> System and method involving graphically displaying control system

Similar Documents

Publication Publication Date Title
US5761518A (en) System for replacing control processor by operating processor in partially disabled mode for tracking control outputs and in write enabled mode for transferring control loops
EP0546339B1 (en) Distributed control system
EP1936455A2 (en) Method and system for diagnosing external signal input/output units
JPH06161502A (en) Control arithmetic unit
JP3203999B2 (en) Robot control device
JPH0648442B2 (en) Sequence control device
JP3047346B2 (en) Cross connect device
CA2212510C (en) Signal status propagation in a distributed control system
JPH0793001A (en) Control arithmetic unit
JPS61199109A (en) Remote control system for numerical control equipment
JPH06290187A (en) Production line controller
JPH08123503A (en) Plant control equipment
US7103274B2 (en) Cross-connect apparatus
JP2564397B2 (en) Redundant system data output device
JPH09311716A (en) LAN device
JPS626572A (en) Telephone circuit connecting system
JPH07311618A (en) Robot program diagnostic device
JPH061401B2 (en) Back-up system of control device
JP3079885B2 (en) Control arithmetic unit
US7006880B2 (en) Method for controlling a device with a control system
JPH01112404A (en) Programmable controller
JPH05197662A (en) Information processing equipment
JPH02119453A (en) Line control method for multiple loop communication system
JPH03140093A (en) Relay terminal with transmission function
JPH0385854A (en) Satellite channel connection system