JPS62214465A - Control method for dual controller - Google Patents

Control method for dual controller

Info

Publication number
JPS62214465A
JPS62214465A JP61056833A JP5683386A JPS62214465A JP S62214465 A JPS62214465 A JP S62214465A JP 61056833 A JP61056833 A JP 61056833A JP 5683386 A JP5683386 A JP 5683386A JP S62214465 A JPS62214465 A JP S62214465A
Authority
JP
Japan
Prior art keywords
control
controller
data
controllers
input
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
JP61056833A
Other languages
Japanese (ja)
Other versions
JPH0586582B2 (en
Inventor
Hideyuki Tadokoro
秀之 田所
Akira Miyamoto
章 宮本
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61056833A priority Critical patent/JPS62214465A/en
Publication of JPS62214465A publication Critical patent/JPS62214465A/en
Publication of JPH0586582B2 publication Critical patent/JPH0586582B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To allow stored contents of both controllers to coincide with each other by performing the control operation at a preliminarily determined operation period each time when process data transmitted from the current controller at every control period is received by the stand-by controller. CONSTITUTION:Process data is inputted to a current controller A having the control right out of two controllers A and B from a process input/output device (PI/O) 11 at every preliminarily determined control period through a PI/O bus 10, a switching circuit 8A, and a process input/output interface (PI/OIF) 7A, and the control operation is performed. Inputted process data is transmitted to the stand-by controller B through a transmission controller 4A and a transmission interface 3A at every control period. Since the stand-by controller B performs the control operation at a preliminarily determined operation period each time when receiving process data, control operation results of both controllers coincide with each other with a phase delay.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は2重化コントローラのうちの待機側のメモリ内
容を制御側と常に等しくシ、制御権の切換時にプロセス
に与える影響を最小限に抑えるのに好適な2重化コント
ローラの制御方法に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention always makes the memory contents on the standby side of the duplex controller equal to those on the control side, thereby minimizing the influence on the process when switching the control right. The present invention relates to a control method for a duplex controller suitable for.

〔従来の技術〕[Conventional technology]

プロセス入出力装置(以下PI10と略す)のみを共有
する2重化コントローラについては、例。
An example of a redundant controller that shares only the process input/output device (hereinafter abbreviated as PI10).

えば特開昭57−86972号公報などで公知である。For example, it is known from Japanese Patent Application Laid-Open No. 57-86972.

特開昭57−86972号公報は、制御権を有するコン
トローラ(以下制御側と略す)が、自コントローラ内の
プラントデータベースに書き込み動作を行ったディステ
ィネーションアドレスを2重化制御部がとらえ、ディス
ティネーションアドレスに格納されたデータを制御側か
ら読み出し、制御権を持たないコントローラ(以下待機
側と略す)の対応するアドレスに書き込むようにしてい
る。本方法においては、制御演算を行っているのは制御
側のみであシ、制御側において変化のあった全データt
Vき込むことによって、両コントローラのメモリ内容を
一致させている。
In Japanese Patent Application Laid-open No. 57-86972, a redundant control unit captures a destination address written in a plant database in its own controller by a controller having control authority (hereinafter referred to as the control side), and Data stored at an address is read from the control side and written to the corresponding address of a controller that does not have control authority (hereinafter abbreviated as standby side). In this method, only the control side performs control calculations, and all data t that has changed on the control side
By inputting V, the memory contents of both controllers are matched.

また、2重系コントローラにおいて制御側、待機側とも
に同一の入力にしたがって、同期をとって演算を行う方
法が知られている。
Furthermore, a method is known in which, in a dual-system controller, both the control side and the standby side perform calculations in synchronization according to the same input.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術において、特開昭57−86972では、
待機側コントローラを動作させないため、制御側におい
て変化のあった全メモリの内容を待撃側へ曹き込まねば
ならず、2重化制御部には、高速性が要求され、実現に
は専用のハードウェアが必要である。また、制御側、待
機側ともに同期をとって制御演算を行う場合は、制御側
、待機側の同期音とるための制御部が必要となり、同期
制御部の故障は、2重化コントローラの両系ダウンにつ
ながる。また、後者において同期制御部を持たず両コン
トローラ間の結合を疎とし、PIloから取込んだデー
タのみを待機側へ送信し、待機側が上記データにもとづ
いて演算を行う方法においては、同期制御部を持たない
ため、待機側の制御演算開始タイミングが、制御側から
上記データを受信したタイミングより先行してしまう可
能性があシ、その場合、待機側の制御演算が、制御側と
同一のデータに基づいて演算することができなくなり1
両コントローラのメモリ内容の不一致を招き、制御権が
切換った際、プロセスに外乱を与えるおそれがある。
In the above-mentioned prior art, in Japanese Patent Application Laid-Open No. 57-86972,
Since the standby side controller is not operated, all memory contents that have changed on the control side must be sent to the standby side.The redundant control unit requires high speed, and to achieve this, a dedicated controller is required. Requires hardware. In addition, when performing control calculations while synchronizing both the control side and the standby side, a control section is required to produce synchronized sound on the control side and standby side, and a failure of the synchronization control section will cause damage to both systems of the redundant controller. Leads to down. In addition, in the latter method, the connection between both controllers is loose without having a synchronization control unit, and only the data fetched from PIlo is sent to the standby side, and the standby side performs calculations based on the above data. Because the control calculation on the standby side does not have a It becomes impossible to calculate based on 1
This may cause a mismatch between the memory contents of both controllers, and may cause disturbance to the process when the control authority is switched.

本発明の目的はコントローラの制御権切換の際にプロセ
スに与える影響を最少限に抑えることのできる2重化コ
ントローラの制御方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for controlling a redundant controller that can minimize the influence on processes when switching control rights between controllers.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

制御側コントローラは予め定めた制御周期毎にPIlo
からプロセスデータを入力して制御演算を行うと共にP
Iloから入力したプロセスデータを待機側コントロー
ラへ送信[7,待機側のコントローラはプロセスデータ
を受信する毎に予め定めた演算周期で制御演算を実行す
る。
The control side controller performs PIlo every predetermined control period.
Input process data from P and perform control calculations.
Send the process data input from Ilo to the standby controller [7, The standby controller executes control calculations at a predetermined calculation cycle every time it receives process data.

〔作用〕[Effect]

制御側コントローラは制御周期毎に制御演算を行い、待
機側のコントローラは制御側コントローラよりプロセス
データを受信したタイミングで、1制御周期分の制御演
算を行う。これによって両コントローラの制御演算結果
はある位相遅れをもって等しくなる。したがって1両コ
ントローラの全プラントデータベースのコピーをするこ
となしに、プラントデータベースの内容を、制御側コン
トローラに追従させることができる。
The controller on the control side performs control calculations for each control cycle, and the controller on the standby side performs control calculations for one control cycle at the timing of receiving process data from the controller on the control side. As a result, the control calculation results of both controllers become equal with a certain phase lag. Therefore, the contents of the plant database can be made to follow the control side controller without copying the entire plant database of one controller.

〔実施例〕〔Example〕

以下本発明の実施例を図面によって説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は本実施例の全体構成である。コントローラA、
Bは、PI10バス10を通じてPIlo(プロセス入
出力装置)11を共用する2重化コントローラである。
FIG. 1 shows the overall configuration of this embodiment. controller A,
B is a redundant controller that shares the PIlo (process input/output device) 11 through the PI10 bus 10.

両コントローラの間はデータウェー12.切換ロジック
用バス9にて接続されており、前者は、コントローラA
、B間ばかりですく、マン・マシン・システム、他コン
トローラとのデータ授受にも使用される伝送路、後者は
There is a data way 12 between both controllers. They are connected by a switching logic bus 9, and the former is connected to the controller A.
, B, and the latter is a transmission line that is also used for exchanging data with man-machine systems and other controllers.

両コントローラの診断回路6A、6Bの診断結果を連絡
しあうためのバスである。また、データウェー12は本
実施例では2重化しており両コントローラ間の伝送をよ
り信頼性の高いものとしてhる。IA、IBは中央演算
処理装置(以下CPUと略す)であり、各々メモリ2A
、2B内のプログラムにしたがってPIlollへの入
出力装置。
This is a bus for communicating the diagnostic results of the diagnostic circuits 6A and 6B of both controllers. Furthermore, the data way 12 is duplicated in this embodiment, making the transmission between both controllers more reliable. IA and IB are central processing units (hereinafter abbreviated as CPU), each with 2A of memory.
, an input/output device to PIloll according to the program in 2B.

データウェー12を通じたデータ送受信処理、制御演算
処理の制御を行う。さらKCPUIA。
It controls data transmission/reception processing and control calculation processing through the data way 12. SARAKCPUIA.

CPUIBは周期タイマーを有し、上記各プロゲラを行
うP I 10データ入力処理、PI10出力処理、制
御演算処理、データウェー12を通じ念データの送受信
を行うデータ送信処理・受信処理の各プログラム、およ
び各プログラムの実行に必要なワークデータエリア、プ
ラントデータベースの実体が格納されている。メモリ2
A、2Bのメモリマツプは同一である。3A、3Bは伝
送インターフェース(以下伝送I/Fと略す>4A、4
Bは伝送コントローラであり、データウェー12とメモ
IJ2A、2B内の送信バッファ・受信バッファの間の
データ送受信を行う。6A、6Bは診断回路であり、そ
れぞれ自コントローラ内のCPUIA。
The CPUIB has a periodic timer, and runs programs for PI 10 data input processing, PI 10 output processing, control calculation processing, data transmission processing and reception processing for transmitting and receiving virtual data through the data way 12, and each program. The work data area and plant database entity required for program execution are stored. memory 2
The memory maps of A and 2B are the same. 3A, 3B are transmission interfaces (hereinafter abbreviated as transmission I/F)>4A, 4
B is a transmission controller, which transmits and receives data between the data way 12 and the transmitting and receiving buffers in the memo IJ2A and 2B. 6A and 6B are diagnostic circuits, each of which is a CPUIA in its own controller.

1i3.メモリ2A、2B、 伝送コントローラ4A。1i3. Memory 2A, 2B, transmission controller 4A.

4Bの自己診断、および切換ロジック用バス9を通じて
、相手コントローラへの、自コントローラの診断結果の
通知、および相手コントローラの診断結果全認識する。
4B's self-diagnosis and through the switching logic bus 9, the other controller is notified of the diagnosis results of its own controller, and all the diagnosis results of the other controller are recognized.

7A、7Bはプロセス入出力インター7エース(以下P
I10Ili’と略す)であり、各々、CPUIA、1
Bが、PIlollへの入出力処理を行う際の入出力制
御を行う。8A、8Bは切換回路であって、各々診断回
路6A、6Bにて自コントローラに制御権あυと判断さ
れた場合にオンしで、PIlol 1へのアクセスを可
能とし。
7A and 7B are process input/output interfaces 7 ace (hereinafter referred to as P
I10Ili'), respectively CPUIA, 1
B performs input/output control when performing input/output processing to PIloll. 8A and 8B are switching circuits, which are turned on when the respective diagnostic circuits 6A and 6B determine that the control authority is granted to the own controller, allowing access to PIlol 1.

自コントローラに制御権なしと判断された場合にオフし
てPIloへのアクセスを小勇とする。さらにこfLら
のCPU、 メモリ、診断回路、PI/1)IPハ、コ
ントロー2人ではシステムバス5A、コントローラBで
はシステムバス5Bにて相互に接続され、データおよび
制御信号の授受を可能としている。とくに伝送コントロ
ーラ4A、4Bは、制御信号として、データウェー12
からデータ受信時、それぞれCPUIA、IBに割込を
発生きせデータ受イg′ft:通知する。
If it is determined that the own controller does not have control rights, it is turned off and access to PIlo is limited. Furthermore, these CPUs, memory, diagnostic circuits, PI/1) IP, and two controllers are interconnected via system bus 5A, and controller B is interconnected via system bus 5B, making it possible to send and receive data and control signals. . In particular, the transmission controllers 4A and 4B use the data way 12 as a control signal.
When data is received from , an interrupt is generated to CPUIA and IB respectively.

g2図は1本兄明の実施例におけるデータの流れを示し
た概念−である。以下の動作・構成についてはコントロ
ーラA、Bともに同一のため、コントローラ八であると
して説明する。処理21a。
Figure g2 is a conceptual diagram showing the flow of data in the first embodiment. Since the following operations and configurations are the same for both controllers A and B, controller 8 will be explained. Processing 21a.

21b、21cは、それぞれP I 10データ入力処
理、制御演算、PI10出力処理であり、起動される毎
にこの順序にCPUIAにて処理される。
21b and 21c are PI 10 data input processing, control calculation, and PI 10 output processing, respectively, which are processed by the CPUIA in this order every time they are activated.

処理25.26は各々PI10取込データ受信処理、P
I10取込データ送信処理である。これらの処理はプロ
グラムとして、メモ1J2Aに格納されている。また、
23はPI10出力データ洛納エリア、24はPI10
取込データ格納エリア。
Processes 25 and 26 are PI10 import data reception process, P
This is I10 captured data transmission processing. These processes are stored in the memo 1J2A as a program. Also,
23 is PI10 output data Rakuno area, 24 is PI10
Imported data storage area.

27.28dそれぞれ、送信バッファ、受信バッファで
あり、これらはλハずれもメモリ2人上にエリアが確保
されている。29は制御権フラグであり、自コントロー
ラに制御4Mがあるか否かを反映するレジスタで1診断
回路6A内に存在し。
27 and 28d are a transmitting buffer and a receiving buffer, respectively, and areas for these are secured in two memory areas with a difference of λ. Reference numeral 29 is a control right flag, which is a register that reflects whether or not the own controller has control 4M, and is present in the 1 diagnostic circuit 6A.

CPUIAからシステムバス5Aを経由して参照するこ
とができる。
It can be referenced from the CPUIA via the system bus 5A.

最初に自コントローラに制御権があるものとして動作を
説明する。
First, the operation will be explained assuming that the own controller has control authority.

CPUIAは1周期タイマがカウントアツプする毎に第
3図に示した周期タイマ処理を行う。すなわち周期タイ
マにて起動される毎にステップ831にて制御周期カウ
ンタの更新を行う。ステップ832にて指定され九制御
周期と一致していればステップ833にて制御周期カウ
ンタをリセットする。その後、ステップ834にて自コ
ントローラに制#権があるか否かを制御権フラグ29を
参照することによって判断する。制御権ありの時にはス
テップ835の処理を行い、処理21a〜21cの一連
の処理を起動する。すなわち、処理21a〜21cは、
制御権のある場合、制御周期毎に起動される。起動され
たこれらの処理は、処理21aは、PI10データ入力
処理を行う。
The CPUIA performs the periodic timer processing shown in FIG. 3 every time the periodic timer counts up. That is, the control cycle counter is updated in step 831 every time the cycle timer is activated. If it matches the nine control periods specified in step 832, the control period counter is reset in step 833. Thereafter, in step 834, it is determined by referring to the control right flag 29 whether or not the own controller has the control right. When there is control authority, the process of step 835 is performed and a series of processes 21a to 21c are activated. That is, the processes 21a to 21c are
If there is control authority, it is activated every control cycle. Among these activated processes, process 21a performs PI10 data input processing.

PI10データ人力処理の詳細フローを第4図に示す。The detailed flow of PI10 data manual processing is shown in FIG.

ステップ1941は制御権フラグ29にて制御権の有無
を判断し、制御権ありの場合、ステップ842にてPI
lollよりPIカバス10.切換回路8A、PI10
IF7Ae経由してプロセスデータを処理24でPI1
0取込データ格納エリアへ転送し、S43にて、コント
ローラBに対して。
In step 1941, the presence or absence of the control right is determined based on the control right flag 29. If the control right is present, in step 842, the PI
PI cabas 10 from roll. Switching circuit 8A, PI10
Processing process data via IF7Ae PI1 at 24
0 to the captured data storage area, and to controller B in S43.

P I 10取込データを送信することを要求する。Requests to send PI10 captured data.

具体的にはPI10取込要求を受けたPI10取込デー
タ送信処理が、送信バッファ27へPI10取込データ
を処理24でPI10取込データ格納エリアへ転送する
。上記データは送信バッファ27から伝送コントローラ
4人が、伝送I/F 3A。
Specifically, the PI10 captured data transmission process that receives the PI10 captured request transfers the PI10 captured data to the transmission buffer 27 to the PI10 captured data storage area in process 24. The above data is transferred from the transmission buffer 27 to the transmission I/F 3A by four transmission controllers.

データウェー12を経由してコントローラBに送信する
。送信バッファ27にPI10取込データを転送するの
は1本実施例においては、制御周期とデータウェー12
への送信が非同期であるためである。次に処理21b、
制御演算処理にて。
It is transmitted to controller B via data way 12. In this embodiment, the control cycle and the data way 12 are used to transfer the PI 10 captured data to the transmission buffer 27.
This is because the transmission to is asynchronous. Next, processing 21b,
In control calculation processing.

P I 10取込データ格納エリア24のデータを入力
として、入力補正演算、l)])C(pirectl)
igital Control )演算、シーケンス制
御演算を行う。処理21bの演算結果は、PI10出力
データ格納エリア23ヘセットされる。処理21b終了
後、処理21C,PI10出力処理を行う。
Input correction calculation using the data in the P I 10 captured data storage area 24 as input, l) ]) C (pirectl)
Performs digital control) calculations and sequence control calculations. The calculation result of the process 21b is set to the PI 10 output data storage area 23. After the process 21b is completed, a process 21C, a PI 10 output process, is performed.

本処理のフローは、第51に示す通りである。すなわち
、制御権7ラグ29を参照して、制御権ありの場合、P
 I 10出力データ格納エリア23より、制御演算処
理の演算結果を、制御出力としてPIlollへ出力す
る。
The flow of this process is as shown in No. 51. That is, referring to the control right 7 lag 29, if there is a control right, P
From the I10 output data storage area 23, the calculation result of the control calculation process is output to PIloll as a control output.

次に、自コントローラに制御権のない場合の動作を説明
する。自コン)o−ラに制御権のない場合は、コントロ
ーラBから、データウェー12を経由して受信した、P
I10取込データを、伝送コントローラ4人が伝送I/
F3Af、通じてメモリ2人内の受信バッフ728へ格
納後、CPUIAに割込をシステムパス5A経由で通知
する(以下。
Next, the operation when the own controller does not have control authority will be explained. own controller) If the controller does not have the control right, the P received from controller B via the data way 12
Four transmission controllers transmit the I10 captured data.
After storing the data in the receive buffer 728 in the memory 2 through F3Af, the CPUIA is notified of the interrupt via the system path 5A (hereinafter referred to as "F3Af").

本割込を受信割込と呼ぶ)。受信割込を通知されたCP
UIAは、第6図に示す受信割込処理を実行する。この
受信割込処理では、ステップ861にて制御権フラグ2
9を参照する。制御権ありの場合は無効データとして受
信データを読みすてる。
This interrupt is called a reception interrupt). CP notified of reception interrupt
The UIA executes the reception interrupt process shown in FIG. In this reception interrupt process, in step 861, the control right flag 2 is
See 9. If the control authority exists, the received data is read as invalid data.

制御権なしの場合は処理25.PI10取込デ取込デー
タ受信性4.受信バッフ72Bから受信データをP I
 10取込データ格納エリア24へ転送しステップ86
2にて処理21 a〜21cを起動する。ここで、処理
21a〜21Cは自コントローラが制御権を有する場合
に第3図の周期タイマ処理にて起動される。自コントロ
ーラに制御権がない場合にはステップ834の判定処理
にてステップ835の起動処理をパスするため、制御周
期何に処理21a〜21Cは起動されない。つまり。
If there is no control right, process 25. PI10 import data reception performance 4. P I receive data from the receive buffer 72B.
10 Transfer to the captured data storage area 24 and step 86
2, processes 21a to 21c are activated. Here, the processes 21a to 21C are activated by the periodic timer process shown in FIG. 3 when the own controller has control authority. If the own controller does not have control authority, the activation process of step 835 is passed in the determination process of step 834, so that processes 21a to 21C are not activated in any control period. In other words.

制御権なしの場合、処理213〜21Cの起動要因は相
手コントローラからの受信“刷込のみとなる。
If there is no control right, the activation factor for the processes 213 to 21C is only "imprinting" received from the other controller.

処理21aはステップ841にて制御権なしと判断する
ため、ステップS42.ステップ843fパスする。こ
のため、PI10取込データ格納エリア24にはデータ
ウェー12経由で受信したI’I10取込データがセッ
トされることになる。
Since the processing 21a determines in step 841 that there is no control right, step S42. Pass step 843f. Therefore, I'I10 captured data received via the data way 12 is set in the PI10 captured data storage area 24.

処理21bの制御演算処理においては制1I11権の有
無にかかわらず同一の演算を行う。本処理は、PIlo
から直接入力せずに、24PI10取込データ格納エリ
アを参照し、演算を行い、演算結果を自らがPIloへ
出力することはせずに処理23でPI10出力データ格
納エリアにセットするのみのため、制御権の有無を意識
せずに演算を行える。処理21cば、第5図に示すとお
り、制御権なしにて、演算結果の1’I10出力をパス
する。
In the control calculation process of process 21b, the same calculation is performed regardless of the presence or absence of control authority. This process is performed by PIlo
24 without directly inputting data from the PI10 input data storage area, performs calculations, and only sets the calculation results in the PI10 output data storage area in process 23 without outputting the calculation results to PIlo. Calculations can be performed without being aware of the presence or absence of control rights. In process 21c, as shown in FIG. 5, the 1'I10 output of the calculation result is passed without control authority.

以下の動作をタイムチャートに示すと第7図に示すよう
になる。第7図において1時刻””+tm*1が、第3
図の周期タイマ処理にて制御周期であると判断された時
刻である。ここで、制御側と待機側のコントローラがタ
イマの時刻ずれから1時刻tユ、t2や!にはΔtの時
間のずれが生じている。
The following operation is shown in a time chart as shown in FIG. In Fig. 7, 1 time "" + tm*1 is the 3rd time
This is the time determined to be the control cycle in the cycle timer process shown in the figure. Here, the controllers on the control side and the standby side are at one time tyu, t2, etc. due to the time difference between the timers. There is a time lag of Δt.

待機側のタイムチャートにおいて、ハツチングを施した
方が本発明によるものである。本発明では制御側からP
 I 10取込データを受信したタイミング71にて、
受信データにより218〜21Cの一連の処理の処理を
行うため、待機側の処理21bは、制御側のそれと同一
の入力データにて行われることとなり72に示した時間
遅れをもって、待機側のメモリ内容は、制御側に一致す
る。
In the time chart on the standby side, the hatched portion is in accordance with the present invention. In the present invention, P from the control side
At timing 71 when the I10 captured data is received,
Since the series of processes 218 to 21C are performed based on the received data, the process 21b on the standby side is performed using the same input data as that on the control side, and the memory contents on the standby side are updated with the time delay shown in 72. matches the controlling side.

ここで仮に、待機側のコントローラも、制御相同様に時
刻t1にてPI10データ入力処理〜PI10出力処理
(処理21a′〜210′のハツチングを施していない
タイムチャート)を起動した場合、処理21b′開始時
点に、制御側が時刻t、にP I 1011よシ取込ん
だPI10取込データが到着していないため、制御側の
制御演算処理21b終了時と待機側の制御演算処理21
b′終了時のメモリ内容は一致しない。時刻t、にて起
動された制御演算処理の結果は時刻jm’+1にて起動
された処理においても前回値として参照されるものもあ
り、メモリ内容の不一致は蓄積される。この不一致は、
制御権の切換時、制御対象のプロセスに対する外乱とな
る恐れがあり、PIlO入カデータの伝送のみによって
2両コントローラのメモリ内容を等しくすることが困難
となる。以上述べたように本発明の方法を適用すること
によって、PI10取込データのみを制御側から待機側
に送信することで。
Here, if the standby controller also starts the PI10 data input process to PI10 output process (time chart without hatching for processes 21a' to 210') at time t1 in the same way as the control phase, then process 21b' At the start point, since the PI10 captured data that the control side captured by the PI 1011 at time t has not arrived, the control arithmetic processing 21b on the control side ends and the control arithmetic processing 21 on the standby side.
The memory contents at the end of b' do not match. The result of the control calculation process started at time t may also be referred to as the previous value in the process started at time jm'+1, and mismatches in memory contents are accumulated. This discrepancy is
When switching the control right, there is a risk of disturbance to the process to be controlled, and it becomes difficult to equalize the memory contents of the two controllers only by transmitting PIIO input data. As described above, by applying the method of the present invention, only the PI 10 captured data is transmitted from the control side to the standby side.

両コントローラのメモリ内容を一致させることが可能と
なシ、特別なハードウェアを用いずに、2重系切換がプ
ロセスに与える影響を最少限に抑えた2重化コントロー
ラを構成できる。
Since it is possible to match the memory contents of both controllers, it is possible to configure a duplex controller that minimizes the influence of duplex system switching on processes without using special hardware.

〔発明の効果〕〔Effect of the invention〕

本発明によればP工10からの人力データのみを制御側
コントローラから待機側コントローラに送信することに
よって、待機側の上記データ以外の制御演算処理に関連
するメモリ内容を追従させることができ、特定のハード
ウェアを用いることなしに、制し!llI権の移行がプ
ラントに与える影響の少ない23&化コントローラが構
成できる。
According to the present invention, by transmitting only the manual data from the P-worker 10 from the control-side controller to the standby-side controller, it is possible to track the memory contents related to control calculation processing other than the above-mentioned data on the standby side, and to specify Conquer without any hardware! It is possible to configure a 23 & conversion controller in which the transfer of III rights has less impact on the plant.

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

第1図は本発明の一実施例を示す全体構成図。 第2図はデータの流れを示し7’(概念図、第3図は周
期タイマ処理フロー図、第4図はPI10データ入力処
理70−因、第5図はP I 10出力処理フロー図、
第6図は受信割込処理フロー図、第7図は本発明の動作
を示したタイムチャートである。 IA、1B・・・中央演算処理製量(CPU)、2A。 2B・・・メモリ、3A、3B・・・伝送インターフェ
ース(伝送I/F)、4A、4B・・・伝送コントロー
ラ、5A、5B・・・システムバス、6A、6B・・・
診断回路、7A、7B・・・プロセス入出力装置インタ
ーフェース(PIloIF)、8A、8B・・・切換回
路、9・・・切換ロジック用バス、10・・・プロセス
入出力装置ハス(PI10バス)、11・・・プロセス
人代理人 弁理士 小川勝男 −゛ 2□     $ 2 口 zlC 茅 3 固 用英耳タイマlマよソ走LvJ 茅4− 固 茅S固 、良ト  乙   目
FIG. 1 is an overall configuration diagram showing an embodiment of the present invention. Figure 2 shows the flow of data 7' (conceptual diagram, Figure 3 is a periodic timer processing flow diagram, Figure 4 is a PI 10 data input process 70-factor, Figure 5 is a PI 10 output processing flow diagram,
FIG. 6 is a reception interrupt processing flowchart, and FIG. 7 is a time chart showing the operation of the present invention. IA, 1B...Central processing unit (CPU), 2A. 2B...Memory, 3A, 3B...Transmission interface (transmission I/F), 4A, 4B...Transmission controller, 5A, 5B...System bus, 6A, 6B...
Diagnostic circuit, 7A, 7B... Process input/output device interface (PIloIF), 8A, 8B... Switching circuit, 9... Switching logic bus, 10... Process input/output device hash (PI10 bus), 11...Process person agent Patent attorney Katsuo Ogawa -゛2□ $ 2 Mouth zlC Kaya 3 Hard timer lma yo Sosuri LvJ Kaya 4-Kaya S solid, good Otsu eyes

Claims (1)

【特許請求の範囲】[Claims] 1、プロセス入出力装置を共有した2台のコントローラ
を伝送路で結び、両コントローラはそれぞれに有するメ
モリの内容に基づき制御演算を行うようにした2重化コ
ントローラにおいて、両コントローラのうち制御権を有
する制御側コントローラは予め定めた制御周期毎に前記
プロセス入出力装置からプロセスデータを取込んで制御
演算処理を行うと共に前記プロセス入出力装置から入力
したプロセスデータを制御権を持たない待機側コントロ
ーラへ毎制御周期毎に送信し、前記待機側コントローラ
は前記制御側コントローラからプロセスデータを受信す
る毎にその受信データに基づいて制御演算を一制御周期
分だけ行うようにしたことを特徴とする2重化コントロ
ーラの制御方法。
1. In a redundant controller in which two controllers that share a process input/output device are connected by a transmission line, and both controllers perform control calculations based on the contents of their respective memories, the control authority of both controllers is The control-side controller that has the control side takes in process data from the process input/output device every predetermined control cycle and performs control calculation processing, and also transfers the process data input from the process input/output device to the standby-side controller that does not have control authority. The dual control method is characterized in that the data is transmitted every control cycle, and each time the standby controller receives process data from the control controller, control calculations are performed for one control cycle based on the received data. How to control the controller.
JP61056833A 1986-03-17 1986-03-17 Control method for dual controller Granted JPS62214465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61056833A JPS62214465A (en) 1986-03-17 1986-03-17 Control method for dual controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61056833A JPS62214465A (en) 1986-03-17 1986-03-17 Control method for dual controller

Publications (2)

Publication Number Publication Date
JPS62214465A true JPS62214465A (en) 1987-09-21
JPH0586582B2 JPH0586582B2 (en) 1993-12-13

Family

ID=13038387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61056833A Granted JPS62214465A (en) 1986-03-17 1986-03-17 Control method for dual controller

Country Status (1)

Country Link
JP (1) JPS62214465A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0511820A (en) * 1990-09-26 1993-01-22 Honeywell Inc Method of maintaining synchronism of pair of input/ output processor of process controller with main controller and at least one pair of slave input/output processor
JP2009075710A (en) * 2007-09-19 2009-04-09 Fujitsu Ltd Redundant system
JP2014137795A (en) * 2013-01-18 2014-07-28 Mitsubishi Electric Corp Duplex programmable controller and synchronization method therefor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5207208B2 (en) * 2008-04-01 2013-06-12 横河電機株式会社 Redundant control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0511820A (en) * 1990-09-26 1993-01-22 Honeywell Inc Method of maintaining synchronism of pair of input/ output processor of process controller with main controller and at least one pair of slave input/output processor
JP2009075710A (en) * 2007-09-19 2009-04-09 Fujitsu Ltd Redundant system
JP2014137795A (en) * 2013-01-18 2014-07-28 Mitsubishi Electric Corp Duplex programmable controller and synchronization method therefor

Also Published As

Publication number Publication date
JPH0586582B2 (en) 1993-12-13

Similar Documents

Publication Publication Date Title
JPH08249130A (en) Fault detection system
JPH01200459A (en) Memory interface mechanism
JPH05298192A (en) Information processor
JPS62214465A (en) Control method for dual controller
JPS62187901A (en) Method for controlling duplex controller
JPH02228740A (en) Duplex processing system
JP2693627B2 (en) Redundant system of programmable controller
JPH03268007A (en) Sequence controller
JPS63263555A (en) Processor module automatic decision system for multiplex processor system
JPH024021B2 (en)
JP2004078425A (en) Duplex switching method of duplex control system
JP3012402B2 (en) Information processing system
JP3127939B2 (en) Event information transmission device
JPH07114521A (en) Multimicrocomputer system
JPS63262746A (en) Synchronizing system for common data in multi-processor system
JPH04354048A (en) Backup system for arithmetic unit
JPH04263333A (en) Memory duplication system
JPH02277142A (en) Duplex computer system
JPS6136641B2 (en)
JPH0232450A (en) Cache memory control system
JPS61234447A (en) Bus acuisition controller
JPH01248207A (en) Numerical controller
JP2000242317A (en) Programmable controller
JPS60136853A (en) Data transfer system
JPH06124242A (en) Duplex shared memory equivalency guarantee system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term