JP5839708B2 - Multiplexing control system - Google Patents

Multiplexing control system Download PDF

Info

Publication number
JP5839708B2
JP5839708B2 JP2012200116A JP2012200116A JP5839708B2 JP 5839708 B2 JP5839708 B2 JP 5839708B2 JP 2012200116 A JP2012200116 A JP 2012200116A JP 2012200116 A JP2012200116 A JP 2012200116A JP 5839708 B2 JP5839708 B2 JP 5839708B2
Authority
JP
Japan
Prior art keywords
input
relay
output device
data
multiplexed
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.)
Active
Application number
JP2012200116A
Other languages
Japanese (ja)
Other versions
JP2014056369A (en
Inventor
上田 真也
真也 上田
小林 英二
英二 小林
明弘 小野塚
明弘 小野塚
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 JP2012200116A priority Critical patent/JP5839708B2/en
Publication of JP2014056369A publication Critical patent/JP2014056369A/en
Application granted granted Critical
Publication of JP5839708B2 publication Critical patent/JP5839708B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、多重化制御システムに係り、特に回線を切り替えて通信を行うに好適な多重化制御システムに関する。   The present invention relates to a multiplexing control system, and more particularly to a multiplexing control system suitable for performing communication by switching a line.

プラント制御等に用いる制御システムにおいては、制御装置間で制御に関する通信(以降、制御通信と呼ぶ。)を行う。具体的には例えば、各種データ演算を主に実行する制御装置である演算装置と、プラントへの信号受け渡しによる入出力を実行する制御装置である入出力装置からなる制御システムにおいて、各制御装置間を通信接続手段により接続して制御通信を実行する。   In a control system used for plant control or the like, communication related to control (hereinafter referred to as control communication) is performed between control devices. Specifically, for example, in a control system comprising an arithmetic device that is a control device that mainly executes various data calculations and an input / output device that is a control device that executes input / output by passing signals to the plant, between each control device Are connected by communication connection means to execute control communication.

この場合の通信接続手段としては、パラレル信号ケーブルやシリアル信号ケーブルで伝達する方法が主流である。但し現在は、シリアル信号の高速化、長距離化を実現するリモート配線の要求に伴い、市場のフィールドバスの多くは各種媒体を用いたシリアルケーブルにて構成されている。   As a communication connection means in this case, a method of transmitting using a parallel signal cable or a serial signal cable is the mainstream. At present, however, many of the field buses in the market are composed of serial cables using various media in response to the demand for remote wiring that realizes high-speed and long-distance serial signals.

一方、信頼性の高い多重化から成る制御システムを構築する場合、演算装置や入出力装置を多重化構成とするが、これらを接続する通信接続手段についても、例えば通信ケーブルを冗長化するため二重で布線することもある。   On the other hand, when constructing a control system consisting of highly reliable multiplexing, the computing device and the input / output device are multiplexed, and the communication connection means for connecting them is also, for example, redundant in order to make the communication cable redundant. May be wired with heavy.

また通信接続手段には通信ケーブル以外に中継装置も含むことがあるので、これらの通信ケーブルを用いる場合、演算装置と入出力装置の間に接続される中継装置を、単一とするか二重化することにより、通信ケーブルの回線二重化を実現する手法が多くとられてきた。   Since the communication connection means may include a relay device in addition to the communication cable, when these communication cables are used, the relay device connected between the arithmetic device and the input / output device should be single or duplicated. As a result, many methods have been adopted for realizing duplex communication cables.

その応用として、比較的多くの枚数が実装される入出力装置においては、回線二重化であるが装置は共通部を多くする形態として扱うケースも多く、このケースにおいては、回線シングルと回線二重化の構成がひとつの制御システム上、混在することになる。   As an application, I / O devices that have a relatively large number of boards are line duplex, but there are many cases where the device is handled as a form that increases the number of common parts. In this case, the configuration of line single and line duplex is used. Will be mixed on one control system.

なお回線シングルと回線二重化の構成がひとつの制御システム上に混在する具体的事例としては以下のような場合がある。   Specific examples in which single line and double line configurations are mixed on one control system include the following cases.

例えば制御システムでは、制御とともに監視も実施している。制御の場合には、現場で検出した信号を入出力装置から演算装置に伝送し、また演算装置から入出力装置に制御信号を送るので、この部分は検出器、操作端を含めて多重化構成とする。これに対し監視目的のために現場で検出した信号を入出力装置から演算装置に伝送する部分は、制御系部分ほどの高い信頼性を要求されないことがあるので、単重化構成とすることが多い。   For example, in a control system, monitoring is performed together with control. In the case of control, a signal detected on site is transmitted from the input / output device to the arithmetic device, and a control signal is sent from the arithmetic device to the input / output device, so this part includes the detector and the operation end. And On the other hand, the part that transmits the signal detected in the field for monitoring purposes from the input / output device to the arithmetic unit may not be required to be as reliable as the control system part, so it may have a single configuration. Many.

特許文献1は、回線シングルと回線二重化の構成がひとつの制御システム上に混在する具体的事例を示したものである。   Patent Document 1 shows a specific example in which configurations of single line and dual line are mixed on one control system.

特開平4−289956号公報Japanese Patent Laid-Open No. 4-28956

演算装置、および入出力装置の間に中継装置を有し、それらが1本の回線、又は2本以上の回線から接続される混在システムにおいては、回線を切り替えて運用することがある。この処理として、各装置にノードアドレスを設定し、通信を実行する方式が知られている。   In a mixed system in which a relay device is provided between an arithmetic device and an input / output device and they are connected from one line or two or more lines, the lines may be switched and operated. As this process, a system is known in which a node address is set in each device and communication is performed.

例えば装置毎に実装されるスイッチ等によりノードアドレスを設定し、アクセス対象の装置へ通信することで得られる構成情報をもとにメモリマップを作成し、装置対象毎に割り振られるエリアへマイコン、およびソフトウェアが判断し、アクセスする方式が採られている。   For example, a node address is set by a switch or the like mounted for each device, a memory map is created based on configuration information obtained by communicating with a device to be accessed, a microcomputer is allocated to an area allocated for each device, and A method of judging and accessing by software is adopted.

この方式によれば大きく2つの課題が発生する。1つ目は、ソフトによる判断処理が介在することにより、処理のオーバーヘッドが加算されることである。   According to this method, two major problems occur. The first is that processing overhead is added due to the presence of software determination processing.

2つ目は、入出力装置における共通部が回線二重化で構成されている場合、回線シングルから構成される中継装置へアクセスした時の通信データが入出力装置に到達したタイミングにおいて、入出力装置の受信回路が、データ待ち状態が発生し、オンライン動作中に大量のタイムアウトする事により、性能の遅延や、制御の定刻性確保の面で問題が発生することである。   Second, when the common part of the input / output device is configured with line duplex, the communication data when accessing the relay device configured with a single line reaches the input / output device at the timing of the input / output device. When the receiving circuit is in a data waiting state and a large amount of time-out occurs during the online operation, a problem occurs in terms of performance delay and ensuring timeliness of control.

以上のことから本発明においては、多重構成された制御システムにおいて回線切り替えを遅滞なく、円滑に行うことができる多重化制御システムを提供することを目的とする。   In view of the above, an object of the present invention is to provide a multiplexing control system that can smoothly perform line switching without delay in a multiplexing control system.

以上のことから本発明においては、演算装置と入出力装置が、多重化された中継装置を介して接続され、演算装置から入出力装置に制御信号を伝送し、制御信号に応じて入出力装置から演算装置に応答信号を伝送するとともに、入出力装置は多重化された中継装置の双方から制御信号を受けて応答信号を伝送するようにされた多重化制御システムであって、演算装置は、多重化された中継装置の双方に制御信号を伝送する両系モードと、多重化された中継装置の一方に制御信号を伝送する片系モードを指定し、入出力装置は多重化された中継装置の一方から制御信号を受信するときに所定の確認時間後に応答信号を返送するとともに、片系モードを判定して所定の確認時間を待たずに応答信号を返送することを特徴とする。   As described above, in the present invention, the arithmetic device and the input / output device are connected via the multiplexed relay device, and the control signal is transmitted from the arithmetic device to the input / output device, and the input / output device according to the control signal. Transmitting a response signal to the arithmetic device, and the input / output device is a multiplexing control system configured to receive a control signal from both multiplexed relay devices and transmit the response signal. A dual-system mode for transmitting a control signal to both multiplexed relay apparatuses and a single-system mode for transmitting a control signal to one of the multiplexed relay apparatuses are designated, and the input / output apparatus is a multiplexed relay apparatus. When a control signal is received from one of these, a response signal is returned after a predetermined confirmation time, and the response signal is returned without waiting for the predetermined confirmation time by determining the one-system mode.

本発明の制御システムによれば、多重構成された制御システムにおいて回線切り替えを遅滞なく、円滑に行うことができる。   According to the control system of the present invention, line switching can be smoothly performed without delay in a multiplex configuration control system.

二重化制御システムの典型的な基本構成を示す図。The figure which shows the typical basic composition of a duplication control system. 演算装置の動作を表す従来の処理フローを示す図。The figure which shows the conventional process flow showing operation | movement of an arithmetic unit. 従来方式によるシステム各部の処理を示すタイムチャート。The time chart which shows the process of each part of the system by a conventional system. 演算装置の動作を表す本発明の処理フローを示す図。The figure which shows the processing flow of this invention showing operation | movement of an arithmetic unit. 演算装置のアドレスマップを示す図。The figure which shows the address map of an arithmetic unit. 送信フレームのデータフォーマットの構成を示す図。The figure which shows the structure of the data format of a transmission frame. 送信フレームと応答フレームの動作について説明する図。The figure explaining operation | movement of a transmission frame and a response frame. 演算装置内の送信制御部の構成を示す図。The figure which shows the structure of the transmission control part in an arithmetic unit. 入出力装置内の構成を示す図。The figure which shows the structure in an input / output device. 入出力制御回路の構成入出力制御回路82の構成を示す図。Configuration of Input / Output Control Circuit FIG. データ受信後の入出力制御回路の動作を示すフローチャート。The flowchart which shows operation | movement of the input-output control circuit after data reception. 本発明方式によるシステム各部の処理を示すタイムチャート。The time chart which shows the process of each part of the system by this invention system. 入出力装置から中継装置に移行時の従来の一連の各部処理を示す図。The figure which shows a conventional series of each part process at the time of transfer from an input / output device to a relay apparatus. 入出力装置から中継装置に移行時の本発明の一連の各部処理を示す図。The figure which shows a series of each process of this invention at the time of transfer from an input / output device to a relay apparatus.

本発明を実施するための形態を、図面を参照して説明する。   A mode for carrying out the present invention will be described with reference to the drawings.

本発明は、情報機器および情報通信分野のみならず、大規模な発電所等プラントにおいてセンサなどから信号を入力し、演算を実行、再びバルブ等に指令値を出力し、リアルタイム処理をオンライン状態で制御周期を守りながら定期的に実行する制御システムの、制御方式、運用方式に適用するものである。本実施例では、演算装置の二重化構成による冗長化、フィールドバスの回線二重化適用を行い、信頼性、可用性を向上させるシステム構成の導入し、それらシステム構成を適用した場合の要求性能を満足させるための方式を提案するものである。   The present invention applies not only to the information equipment and information communication fields, but also inputs signals from sensors, etc. in large-scale power plant plants, etc., executes calculations, outputs command values to valves, etc., and performs real-time processing online. This is applied to the control method and operation method of the control system that is executed periodically while keeping the control cycle. In this embodiment, in order to satisfy the required performance when applying system redundancy to improve redundancy and availability by applying redundancy by using a redundant configuration of arithmetic devices and applying field duplex to the fieldbus. This method is proposed.

図1は、本発明が適用される典型的な二重化制御システムの基本構成図である。   FIG. 1 is a basic configuration diagram of a typical duplex control system to which the present invention is applied.

図1の二重化制御システムは、制御対象30からのデータを入力し、制御対象に信号を与える入出力装置22、23、24と、所定の演算を実行する演算装置10、11と、これらの間を接続する中継装置16、18によって構成されている。またこのシステムは、信頼性を向上させるために、演算装置10、11、中継装置16、18を複数台設置し、結合させる二重化構成により実現されている。   The duplex control system in FIG. 1 inputs / outputs data from a control target 30 and gives signals to the control target, input / output devices 22, 23, and 24, arithmetic units 10 and 11 that execute predetermined calculations, It is comprised by the relay apparatuses 16 and 18 which connect. In order to improve reliability, this system is realized by a duplex configuration in which a plurality of arithmetic devices 10 and 11 and relay devices 16 and 18 are installed and coupled.

図1において演算装置は、主系演算装置10、従系演算装置11の二重化構成とされている。主系演算装置10から、A系通信回線12A、B系通信回線12Bが、それぞれ中継装置16A、中継装置16Bへ接続される。同様に、従系演算装置11からA系通信回線14A、B系通信回線14Bが、それぞれ中継装置16A、中継装置16Bへ接続される。   In FIG. 1, the arithmetic unit has a dual configuration of a main arithmetic unit 10 and a subordinate arithmetic unit 11. From the main processor 10, an A-system communication line 12A and a B-system communication line 12B are connected to the relay apparatus 16A and the relay apparatus 16B, respectively. Similarly, the A-system communication line 14A and the B-system communication line 14B are connected to the relay apparatus 16A and the relay apparatus 16B from the slave arithmetic unit 11, respectively.

中継装置16A、中継装置16Bは、それぞれ次段の中継装置と信号の送受を行っており、図示の中継装置18A、中継装置18Bが、制御対象30側の最終段中継装置であるとする。なお図示から明らかなように、A系の中継装置16A、18Aと、B系の中継装置16B、18Bとは互いに独立である。   The relay device 16A and the relay device 16B transmit and receive signals to and from the next-stage relay device, and the illustrated relay device 18A and relay device 18B are the last-stage relay devices on the control target 30 side. As is apparent from the figure, the A-system relay devices 16A and 18A and the B-system relay devices 16B and 18B are independent of each other.

制御対象30とのインターフェースとなる入出力装置22、23、24は、適宜の筐体に複数台数実装され、中継装置16、18を経由して上位の演算装置10、11と接続され、通信が行われる。   A plurality of input / output devices 22, 23, and 24 serving as an interface with the control target 30 are mounted in an appropriate housing, connected to the upper arithmetic devices 10 and 11 via the relay devices 16 and 18, and communicated. Done.

入出力装置22、23、24は、制御対象30であるバルブ、センサ等の制御機器27と接続され、入出力装置22、23、24内部では、アナログ信号とデジタル信号の変換や、ノイズへの耐性向上を目的として内部、外部との信号、電源絶縁などを行う。   The input / output devices 22, 23, and 24 are connected to a control device 27 such as a valve and a sensor that are controlled objects 30. Inside the input / output devices 22, 23, and 24, conversion of analog signals and digital signals, and noise In order to improve tolerance, internal and external signals, power supply insulation, etc. are performed.

入出力装置22、23は、A系通信回線20Aによって中継装置18Aと接続され、入出力装置22、23、24は、B系通信回線20Bによって中継装置18Bと接続されている。   The input / output devices 22 and 23 are connected to the relay device 18A via the A-system communication line 20A, and the input / output devices 22, 23 and 24 are connected to the relay device 18B via the B-system communication line 20B.

この結果、入出力装置22、23は、回線二重化された通信路20A、20Bにより、上位中継装置18A、18Bと接続されており、中継装置16、18は、装置単位に分離される配置となっている。これに対し、B系通信回線20Bによって中継装置18Bと接続されている入出力装置24は、回線シングルの通信とされている。   As a result, the input / output devices 22 and 23 are connected to the higher-level relay devices 18A and 18B via the communication lines 20A and 20B with the duplicated lines, and the relay devices 16 and 18 are arranged in units. ing. On the other hand, the input / output device 24 connected to the relay device 18B via the B-system communication line 20B is single line communication.

なお、中継装置16Aと中継装置18Aの間、中継装置16Bと中継装置18B間は、通信ケーブル等により各々接続されており、片系の異常が他系路へ伝播しないような独立形態をとる。なおA系通信回線20A、B系通信回線20Bは、ケーブル又は配線基板による接続形態をとる。伝送路のインピーダンスを整合させるため、終端装置25を中継装置18の末端へ実装する。   Note that the relay device 16A and the relay device 18A, and the relay device 16B and the relay device 18B are connected by a communication cable or the like, respectively, so that an abnormality in one system does not propagate to other system paths. The A-system communication line 20A and the B-system communication line 20B are connected by a cable or a wiring board. In order to match the impedance of the transmission line, the termination device 25 is mounted on the terminal of the relay device 18.

なお、図示の中継装置16、18、及び入出力装置22、23、24に対して電源装置26から電力供給されている。   Note that power is supplied from the power supply device 26 to the illustrated relay devices 16 and 18 and the input / output devices 22, 23, and 24.

次に図1システムにおいて、演算装置の演算結果を制御対象30へ出力する場合の動作について説明する。主系演算装置10は、A系通信回線12A、B系通信回線12Bを経由して、データを中継装置16A、16Bに送信する。データには、アクセス対象のアドレス情報が付加されている。この通信データは、中継装置16A、16B及び中継装置18A、18Bを通り、入出力装置22、23、24へ伝達される。   Next, in the system of FIG. 1, an operation when the calculation result of the calculation device is output to the control target 30 will be described. The main processor 10 transmits data to the relay devices 16A and 16B via the A-system communication line 12A and the B-system communication line 12B. Address information to be accessed is added to the data. This communication data is transmitted to the input / output devices 22, 23, 24 through the relay devices 16A, 16B and the relay devices 18A, 18B.

アクセス対象の入出力装置22、23、24は、通信データをA系通信回線20A、B系通信回線20Bから受信し、指定されたアドレスであるか否かに応じてそれらのデータを取捨選択後、指定されたアドレスであるときにはシリアルデータからパラレルデータへの変換を実施する。変換後のパラレルデータは、入出力装置22、23、24から制御対象30であるバルブ、センサ等の制御機器27へ出力される。   The input / output devices 22, 23, and 24 to be accessed receive communication data from the A-system communication line 20 A and the B-system communication line 20 B, and after selecting those data depending on whether or not they are designated addresses When the address is the designated address, conversion from serial data to parallel data is performed. The converted parallel data is output from the input / output devices 22, 23, 24 to the control device 27 such as a valve or a sensor that is the control target 30.

他方、二重化構成を成す従系演算装置11は、待機動作とされている。但し、従系演算装置11には、主系演算装置10がA系通信回線12A、B系通信回線12Bを介して入手した制御対象30側の信号、あるいは主系演算装置10がA系通信回線12A、B系通信回線12Bに与えた制御対象30の制御信号が、全て同じように与えられている。   On the other hand, the secondary arithmetic unit 11 having a duplex configuration is in a standby operation. However, the subordinate arithmetic unit 11 includes a signal on the control target 30 side obtained by the main arithmetic unit 10 via the A-system communication line 12A and the B-system communication line 12B, or the main arithmetic unit 10 receives the A-system communication line. The control signals of the control target 30 given to the 12A and B system communication lines 12B are all given in the same way.

従系演算装置11は、主系演算装置10と同じ信号を得て、通常は主系演算装置10からのデータを監視している。そして、仮に主系演算装置10が故障した場合には、制御データを従系演算装置11へ引継ぎ、以降従系演算装置11が主系演算装置10に代わり制御を継続する。   The subordinate arithmetic unit 11 obtains the same signal as that of the main arithmetic unit 10 and normally monitors the data from the main arithmetic unit 10. If the main arithmetic unit 10 fails, the control data is transferred to the subordinate arithmetic unit 11, and the subordinate arithmetic unit 11 continues to control instead of the main arithmetic unit 10.

図1に示した本発明に係る制御システムによるメリットを以下に説明する。まず、主系演算装置10が制御系の場合の例として、通信データは、系ごとに二重化された通信回線と中継装置を経由して、入出力装置へ伝達される。このシステムでは、データは両系に同時に出力されるため、もし片系の中継装置異常やケーブル断線が発生しても、片系でデータが入出力装置へ伝達できるため、可用性を向上させられるメリットがある。   Advantages of the control system according to the present invention shown in FIG. 1 will be described below. First, as an example in the case where the main processing unit 10 is a control system, communication data is transmitted to the input / output device via a duplexed communication line and relay device for each system. In this system, data is output to both systems at the same time, so if one system relay device failure or cable disconnection occurs, the data can be transmitted to the I / O device in one system, which improves the availability. There is.

また、本システム構成における他のメリットとして、中継装置が回線単位に分離されており、電源遮断や断線等が発生しても、他系への影響を最小限に留めることができることが挙げられる。   Another advantage of the present system configuration is that the relay device is separated in units of lines, and even if the power is cut off or disconnected, the influence on other systems can be minimized.

ところで係る制御システムにおいては、通信路の回線品質状態を確保するために、各中継装置内に記憶するRAS情報を収集し、監視することにより、保守員への通知、交換などのメンテナンス作業を容易化することを可能としている。この場合に、RAS情報は中継装置内に記憶されているので、その収集は、個別の中継装置に対して、回線装置単位で行う必要がある。   By the way, in such a control system, in order to ensure the line quality state of the communication path, RAS information stored in each relay device is collected and monitored, thereby facilitating maintenance work such as notification and replacement to maintenance personnel. It is possible to make it. In this case, since the RAS information is stored in the relay device, it is necessary to collect the RAS information for each relay device for each line device.

図1のシステム構成において、中継装置が保持するRAS情報の収集を行うときの動作と問題点について説明する。   In the system configuration of FIG. 1, operations and problems when collecting RAS information held by the relay apparatus will be described.

主系演算装置10は、中継装置のRAS情報収集を行うため、A系通信回線12Aを使用したデータ送受信が行えるように、片系回線でアクセスできる状態に遷移させる。なお、入出力装置に制御信号を送受信する通常の動作の場合は、両系回線にデータを送り、送信、受信の動作を繰り返す。   In order to collect RAS information of the relay device, the main processing unit 10 makes a transition to a state where it can be accessed by a single system line so that data transmission / reception using the A system communication line 12A can be performed. In the normal operation of transmitting / receiving control signals to / from the input / output device, data is sent to both lines, and the transmission and reception operations are repeated.

よって回線動作形態として、制御信号伝送時の両系動作と、例えばRAS情報収集の片系動作の切替が、オンライン動作中に発生する。これらの切替を可能とするために、μプロセッサ等のソフトウェアによる設定により、モード切替設定を行っている。この結果、モード切替に要するオーバヘッド時間が、オンライン処理時間に定期的に加算されることにより、演算装置の性能低下が発生する。   Therefore, as the line operation mode, switching between both system operations at the time of control signal transmission and one system operation for collecting RAS information occurs during the online operation. In order to enable such switching, the mode switching setting is performed by setting by software such as a μ processor. As a result, the overhead time required for mode switching is periodically added to the online processing time, resulting in a decrease in performance of the arithmetic device.

このときの演算装置の動作を表す処理フローを図2に示す。図2の処理S1では、ソフトウェア処理により、中継装置のメモリへデータライトを行い、その後回線二重化から回線シングル動作へモード変更(処理S2)し、応答データを待つ(処理S3)。   A processing flow showing the operation of the arithmetic unit at this time is shown in FIG. In process S1 of FIG. 2, data is written to the memory of the relay device by software processing, and then the mode is changed from line duplex to line single operation (process S2), and response data is waited (process S3).

またこのときのシステム各部の処理を示すタイムチャートを図3に示す。図3では、主系演算装置10が中継装置16AからのRAS情報収集のために中継装置16Aに対してフレーム送信を行った場合の、入出力装置22の動作を表している。   FIG. 3 shows a time chart showing processing of each part of the system at this time. FIG. 3 illustrates the operation of the input / output device 22 when the main processor 10 transmits a frame to the relay device 16A in order to collect RAS information from the relay device 16A.

この場合には、A系通信回線12Aのみを使った片系回線によるフレーム送信を行うことを前提としているので、主系演算装置10のA系通信回線10Aを経由して、中継装置16Aにフレーム送信(100)が行なわれる。中継装置16Aはフレームを受信(101)する。また中継装置16Aは、受信したフレームを入出力装置側に転送するので、入出力装置22はA系からのフレーム受信を認識している。   In this case, since it is assumed that frame transmission is performed using a single-system line using only the A-system communication line 12A, the frame is transmitted to the relay apparatus 16A via the A-system communication line 10A of the main processor 10. Transmission (100) is performed. The relay device 16A receives (101) the frame. Further, since the relay device 16A transfers the received frame to the input / output device side, the input / output device 22 recognizes the reception of the frame from the A system.

一方、B系通信回線12Bへはフレーム送信を行わないため、B系通信回線12Bが接続される中継装置16Bには送信フレームは到達しない(102)。従って、中継装置16Bは、入出力装置側への受信フレームの転送は行わない。   On the other hand, since no frame is transmitted to the B-system communication line 12B, the transmission frame does not reach the relay device 16B to which the B-system communication line 12B is connected (102). Therefore, the relay device 16B does not transfer the received frame to the input / output device side.

両系の回線が接続されている入出力装置22では、A系通信回線を使って送信する送信フレームのみが入出力装置22に受信されることになる。入出力装置22は、A系通信回線12Aから受信する送信フレームを取り込むタイミングt1で、B系通信回線のデータ待ち状態へ移行する。同時にB系タイムアウト(以下T.Oと呼ぶ)カウンタを起動(104)し、タイムアップ前のデータ受信ではデータを取り込み、タイムアップした場合は、受信タイムアウトT.Oが発生したことを上位へ報告(105)する。   In the input / output device 22 to which both lines are connected, only the transmission frame transmitted using the A-system communication line is received by the input / output device 22. The input / output device 22 shifts to the data waiting state of the B-system communication line at the timing t1 when the transmission frame received from the A-system communication line 12A is captured. At the same time, a B time-out (hereinafter referred to as T.O) counter is started (104), data is received when data is received before the time is up, and when time is up, the reception time-out T.O. Report the occurrence of O to the top (105).

なお、入出力装置22からの報告フレームは、途中中継装置12A、12Bを経由する。この返送処理の中で中継装置16Aは、フレーム中にRAS情報を追加して演算装置側に送ることで、演算装置10はRAS情報入手の初期の目的を達成する。   The report frame from the input / output device 22 passes through the intermediate relay devices 12A and 12B. During this return processing, the relay device 16A adds the RAS information in the frame and sends it to the computing device side, so that the computing device 10 achieves the initial purpose of obtaining the RAS information.

この方式によれば、RAS情報の収集は可能であるが、その都度タイムアウトを生じながらの通信(105)となる。A系通信回線によるデータ受信時に、毎回タイマを起動するため、フレーム単位にタイムアウトが発生する。これにより、A系データ取り込み時間が間延びし、制御対象30へのデータ出力、又はデータ入力が遅延することで、システム全体の性能低下が発生する。   According to this method, RAS information can be collected, but communication (105) occurs with a timeout occurring each time. Since a timer is started every time data is received through the A-system communication line, a timeout occurs in frame units. As a result, the A-system data capture time is prolonged, and the data output to the controlled object 30 or the data input is delayed, so that the performance of the entire system is degraded.

このことから本発明方式では、主系演算装置10が定期的に実施する回線状態のモード切替を図4の演算装置の処理フローに示すように行う。ここでは、ソフトウェア処理により、中継装置のメモリへデータライト(処理S1)を行い、応答データを待つ(処理S3)。図2の処理S2に相当する部分は、ソフト的実施を行わない。   Therefore, in the method of the present invention, the line state mode switching periodically performed by the main processor 10 is performed as shown in the processing flow of the processor in FIG. Here, data writing (processing S1) is performed to the memory of the relay device by software processing, and response data is waited (processing S3). The part corresponding to the process S2 in FIG. 2 is not implemented in software.

この点について、主系演算装置10は、フレーム送信対象が、片系通信回線が接続される中継装置か、両系通信回線が接続される入出力装置かを、ソフトウェアに依存せずに判定して動作モードを自動切換えし、データ送信する。本フローに示す動作によれば、図2のソフトウェア処理方式によるモード切替による性能低下を改善することができる。   In this regard, the main processing unit 10 determines whether the frame transmission target is a relay device to which a one-system communication line is connected or an input / output device to which both system communication lines are connected without depending on software. To automatically switch the operation mode and transmit data. According to the operation shown in this flow, it is possible to improve performance degradation due to mode switching by the software processing method of FIG.

以下、本発明の実現手段について詳細に説明する。まず図5は演算装置内から見た、中継装置や入出力装置を対象とする各装置のアドレスマップである。アドレスマップの構成は、A系通信回線へ接続されるモジュール(代表として中継装置)の空間(A系通信空間)50、B系通信回線へ接続されるモジュールの空間(B系通信空間)51、A系とB系両系回線へ接続されるモジュールの空間(A、B系通信空間)52から構成される。A系通信空間50には中継装置16A、18Aが定義され、B系通信空間51には中継装置16B、18Bが定義され、A、B系通信空間52には入出力装置22、23、24が定義される。   Hereinafter, means for realizing the present invention will be described in detail. First, FIG. 5 is an address map of each device targeted for the relay device and the input / output device, as viewed from within the arithmetic device. The configuration of the address map includes a space (A-system communication space) 50 of a module (typically a relay device) connected to an A-system communication line, a space (B-system communication space) 51 of a module connected to a B-system communication line, It is composed of a module space (A, B communication space) 52 connected to both the A system and B system lines. Relay devices 16A and 18A are defined in the A-system communication space 50, relay devices 16B and 18B are defined in the B-system communication space 51, and input / output devices 22, 23, and 24 are defined in the A- and B-system communication spaces 52. Defined.

なお、図1の構成の場合に、入出力装置22、23はA系、B系の双方に接続されているが、入出力装置24はB系のみに接続されている。この観点からすると、入出力装置24はB系通信空間51に定義されるべきにも思えるが、本発明で実施したいのは通常通信とRAS情報収集通信の区別である。このため、中継装置(RAS情報収集通信)と入出力装置(通常通信)に区分し、さらに中継装置を接続される通信系ごとに分離、定義したものである。
このように本発明では、片系通信回線に接続される装置のアクセス空間と、両系通信回線に接続される装置のアクセス空間を分割し、各々空間に割り当てられた通信動作をエリア単位に区分化し、定義することを特徴とする。
In the configuration shown in FIG. 1, the input / output devices 22 and 23 are connected to both the A system and the B system, but the input / output device 24 is connected only to the B system. From this point of view, the input / output device 24 seems to be defined in the B-system communication space 51, but what is desired to be implemented in the present invention is the distinction between normal communication and RAS information collection communication. For this reason, it is divided into a relay device (RAS information collection communication) and an input / output device (normal communication), and further, the relay device is separated and defined for each communication system connected.
As described above, in the present invention, the access space of the device connected to the one-system communication line and the access space of the device connected to the two-system communication line are divided, and the communication operation assigned to each space is divided into area units. And defining it.

本実施例では、通信回線の動作がメモリ転写を行い、演算装置と中継装置、又は演算装置と入出力装置間で通信動作を行うケースを用いて、以降説明する。   In this embodiment, the operation of the communication line performs memory transfer, and a case where the communication operation is performed between the arithmetic device and the relay device or between the arithmetic device and the input / output device will be described below.

例えば、主系演算装置10がA系通信回線12Aを経由して、中継装置16Aにフレーム送信する場合、主系演算装置10のソフトウェアは、マイクロプロセッサからの指令により、主記憶装置(メモリ)内の図5に示す空間50のエリアに、データを書き込む。演算装置10は、書き込まれたデータをA系通信回線16Aから送信するために、シリアルデータに変換し、中継装置16Aへ送信する。   For example, when the main processing unit 10 transmits a frame to the relay device 16A via the A-system communication line 12A, the software of the main processing unit 10 is stored in the main storage device (memory) according to a command from the microprocessor. Data is written in the area of the space 50 shown in FIG. The arithmetic device 10 converts the written data into serial data for transmission from the A-system communication line 16A, and transmits the serial data to the relay device 16A.

これに対し、入出力装置22への送信を行う場合は、ソフトウェアは、メモリ上の図5の空間52の入出力装置22のエリアへデータを書き込む。演算装置10は、書き込まれたデータを同様にしてシリアルデータへ変換し、A系、B系通信回線16A、16Bへデータを送信する。   On the other hand, when transmitting to the input / output device 22, the software writes data to the area of the input / output device 22 in the space 52 of FIG. The arithmetic unit 10 converts the written data into serial data in the same manner, and transmits the data to the A-system and B-system communication lines 16A and 16B.

以上、通信動作が図5のアドレスマップ53に定義されるエリア(50、51、52)によって決定され、モード切替等の設定レスで動作させる。   As described above, the communication operation is determined by the areas (50, 51, 52) defined in the address map 53 of FIG. 5, and is operated without setting such as mode switching.

尚、本アドレスマップ53の物理アドレス等は、固定とするか任意とするかは不問とするが、立上げ時に装置から得られる構成情報を元に、演算装置はメモリマップの構築、決定を行う形態が多く採られる。装置ごとのアドレスは、装置単位に設定されるスイッチ等により決定され、その設定情報とメモリアドレスは対応させなければならない。本実施例では、それらアドレスとメモリマップとの対応決定手段については言及するものではない。   It should be noted that the physical address of the address map 53 may be fixed or arbitrary, but the arithmetic unit constructs and determines the memory map based on the configuration information obtained from the device at the time of start-up. Many forms are adopted. The address for each device is determined by a switch or the like set for each device, and the setting information and the memory address must be associated with each other. In the present embodiment, there is no mention of means for determining correspondence between these addresses and the memory map.

図6は、演算装置から送信されるシリアルデータの送信フレームFSのデータフォーマット60の構成を示す。   FIG. 6 shows a configuration of a data format 60 of a transmission frame FS of serial data transmitted from the arithmetic device.

本データフォーマットは、その先頭から、プリアンブルP、フラグF、送信先アドレスSA、送信元アドレスRA、データDT、CRCからなる。演算装置から送信される場合、送信元アドレスRAは演算装置のアドレスとして設定され、送信先アドレスSAは、送信先が中継装置か入出力装置かにより異なって設定される。フォーマット上の送信先アドレスSAのフィールドは、図5のアドレスマップと関連しており、A系モジュール空間50内データを送信する場合は、当該エリア50に対応するアドレスを送信先アドレスSAに付加して生成されている。   This data format consists of a preamble P, a flag F, a transmission destination address SA, a transmission source address RA, data DT, and CRC from the head. When transmitted from the arithmetic device, the source address RA is set as the address of the arithmetic device, and the destination address SA is set differently depending on whether the destination is a relay device or an input / output device. The field of the destination address SA on the format is related to the address map of FIG. 5, and when transmitting data in the A-system module space 50, an address corresponding to the area 50 is added to the destination address SA. Has been generated.

図7に送信フレームFSと応答フレームFRの動作について説明する。演算装置10から送信される送信フレームFSは、中継装置16Aを介して入出力装置22が受信し、送信アドレスが一致した装置が、応答フレームFRを演算装置10へ返す。送信フレームFS、応答フレームFRのデータフォーマット60は、図6に示す構成とする。   FIG. 7 illustrates operations of the transmission frame FS and the response frame FR. The transmission frame FS transmitted from the arithmetic device 10 is received by the input / output device 22 via the relay device 16A, and the device whose transmission address matches returns the response frame FR to the arithmetic device 10. The data format 60 of the transmission frame FS and the response frame FR is configured as shown in FIG.

図8は、演算装置内の送信制御部70の構成を示している。この構成は、図5のメモリに格納されている送信データをA系中継装置16Aへ送信するためのA系通信回線12A、B系中継装置162Bへ送信するためのB系通信回線12Bに対して、送信するための内部ブロックである。   FIG. 8 shows a configuration of the transmission control unit 70 in the arithmetic device. This configuration is for the A-system communication line 12A for transmitting transmission data stored in the memory of FIG. 5 to the A-system relay apparatus 16A and the B-system communication line 12B for transmitting to the B-system relay apparatus 162B. , An internal block for transmitting.

送信制御部70は、メモリからのデータを一時的に格納するバッファ71、パラレルデータをシリアルに変換するパラレルシリアル変換ブロック72、アドレス判定部73、A系データ選択部74、B系データ選択部75、A系送信回路76、B系送信回路77から構成される。   The transmission control unit 70 includes a buffer 71 that temporarily stores data from the memory, a parallel-serial conversion block 72 that converts parallel data into serial data, an address determination unit 73, an A-system data selection unit 74, and a B-system data selection unit 75. , An A-system transmission circuit 76 and a B-system transmission circuit 77.

バッファ71に格納される送信データは、パラレルシリアル変換部72に送られる。また同時にアドレス判定部73は、メモリ内アドレスを監視し、図5のアドレスマップ53のエリア(50、51、52)判定を行う。   The transmission data stored in the buffer 71 is sent to the parallel / serial conversion unit 72. At the same time, the address determination unit 73 monitors the addresses in the memory and determines the areas (50, 51, 52) of the address map 53 in FIG.

アドレス判定部73が判定した送信エリア(50、51、52)をもとに、パラレルシリアル変換部72は送信フレームFSの送信先アドレスSAに相当する部分を生成する。アドレス判定部73は、片系通信回線か両系通信回線のどちらを使用するかを判断し、A系データ選択部74、B系データ選択部へ指令を出力する。   Based on the transmission areas (50, 51, 52) determined by the address determination unit 73, the parallel-serial conversion unit 72 generates a portion corresponding to the transmission destination address SA of the transmission frame FS. The address determination unit 73 determines whether to use a single-system communication line or a dual-system communication line, and outputs a command to the A-system data selection unit 74 and the B-system data selection unit.

片系通信モジュールのエリア、例えば図5の空間50内データアドレスであれば、A系送信回路76からのみフレームを送信し、空間52内データアドレスであれば、A系送信回路76およびB系送信回路77の両方からフレーム送信する。   If the data address is within one system communication module, for example, the data address in the space 50 of FIG. 5, the frame is transmitted only from the A system transmission circuit 76. If the data address is in the space 52, the A system transmission circuit 76 and the B system transmission are transmitted. Frames are transmitted from both circuits 77.

以上説明した手段を用いて、ソフトウェアによるオンライン中のモード切替を定期的に実施せずとも、送信制御部70による演算装置側の送信フレーム送信時の性能低下を防止することを可能とする。   By using the means described above, it is possible to prevent the transmission control unit 70 from degrading performance during transmission frame transmission on the arithmetic device side without periodically performing online mode switching by software.

次に入出力装置内の構成について説明する。まず、図9は、入出力装置の一例として22の全体構成を示している。A系通信回線20AとB系通信回線20Bの両系からデータを受信した時、A系受信回路80、B系受信回路81を経由して、入出力制御回路82内でタイムアウト監視、データ変換が行われた後、制御対象30へデータが出力される。   Next, the configuration within the input / output device will be described. First, FIG. 9 shows the overall configuration of 22 as an example of the input / output device. When data is received from both the A system communication line 20A and the B system communication line 20B, timeout monitoring and data conversion are performed in the input / output control circuit 82 via the A system reception circuit 80 and the B system reception circuit 81. After being performed, data is output to the control target 30.

このうち入出力制御回路82の構成が図10に示されている。入出力制御回路82内は、タイムアウト判定回路84、データ回線制御回路85、パラレルシリアル変換部86から構成される。   Among these, the configuration of the input / output control circuit 82 is shown in FIG. The input / output control circuit 82 includes a timeout determination circuit 84, a data line control circuit 85, and a parallel / serial conversion unit 86.

図11にデータ受信後の入出力制御回路82の動作を示すフローチャートを示している。図11のフローチャートでは、演算装置から中継装置へA系通信回線を使用してフレームを送信した場合の例を挙げる。   FIG. 11 is a flowchart showing the operation of the input / output control circuit 82 after data reception. In the flowchart of FIG. 11, an example in which a frame is transmitted from the arithmetic device to the relay device using the A-system communication line is given.

まずA系通信回線12からデータを受信(処理S20)した時、タイムアウト判定回路84は、送信先アドレス比較(処理S21)を行う。尚タイムアウト判定84は、自装置の種別を設定するスイッチ83により設定される情報を元に、図の空間50のアドレスに対応する送信フレームの送信先アドレスSAと一致判定(処理S22)した場合、送信先が中継装置であると判断し、データ回線制御回路85へ受信タイムアウト抑止指示を出力(処理S23)する。   First, when data is received from the A-system communication line 12 (process S20), the timeout determination circuit 84 performs a destination address comparison (process S21). The time-out determination 84 is based on the information set by the switch 83 for setting the type of the own device, and when it matches with the transmission destination address SA of the transmission frame corresponding to the address of the space 50 in the figure (processing S22), It is determined that the transmission destination is a relay device, and a reception timeout suppression instruction is output to the data line control circuit 85 (processing S23).

またその後に受信データの取り込みを行う(処理S24)。処理S22で一致判定しなかった場合には、処理S23を実行せずに、処理S24において受信データの取り込みを行う。   Thereafter, the received data is fetched (step S24). If no match is determined in step S22, the received data is fetched in step S24 without executing step S23.

データ回線制御回路85は、受信したA系通信回線12からの受信フレームFSをパラレルシリアル変換部86へ伝送し、当該変換部86は、制御対象へ出力する。   The data line control circuit 85 transmits the received frame FS from the A-system communication line 12 to the parallel-serial conversion unit 86, and the conversion unit 86 outputs it to the control target.

本実施例によれば、中継装置に対する片系通信回線へのフレームを受信した場合、フレーム受信時にタイムアウトを抑止し、かつデータ取り込み時間を最短にすることで、データ受信してから制御対象へ出力するまでの応答性能を改善する効果が得られる。   According to the present embodiment, when a frame to a one-system communication line for a relay device is received, the timeout is suppressed when the frame is received, and the data capture time is minimized so that the data is received and output to the control target. The effect of improving the response performance up to is obtained.

一方、入出力装置への送信アドレスに対しては、タイムアウト判定回路84はタイムアウトを抑止せず有効として機能させるため、A系通信回路12からのデータを受信してからタイマを起動し、B系通信回線13からの受信データ待ちとなる。   On the other hand, for the transmission address to the input / output device, the timeout determination circuit 84 functions as valid without suppressing the timeout. Therefore, the timer is started after receiving the data from the A-system communication circuit 12, and the B-system Waiting for data received from the communication line 13.

以上、送信アドレスの種別により、受信側のタイムアウトを有効、無効とするかを動的に切替し、切替オーバヘッドを最適化する。   As described above, the switching overhead is optimized by dynamically switching whether the timeout on the receiving side is valid or invalid depending on the type of the transmission address.

本発明のときのシステム各部の処理を示すタイムチャートを図12に示す。図12は、主系演算装置10が中継装置16AからのRAS情報収集のために中継装置16Aに対してフレーム送信を行った場合の、入出力装置22の動作を表している。   FIG. 12 shows a time chart showing processing of each part of the system in the present invention. FIG. 12 shows the operation of the input / output device 22 when the main processor 10 transmits a frame to the relay device 16A in order to collect RAS information from the relay device 16A.

この場合には、A系通信回線12Aのみを使った片系回線によるフレーム送信を行うことを前提としているので、主系演算装置10のA系通信回線10Aを経由して、中継装置16Aにフレーム送信(100)が行なわれる。中継装置16Aはフレームを受信(101)する。また中継装置16Aは、受信したフレームを入出力装置側に転送するので、入出力装置22はA系からのフレーム受信を認識している。   In this case, since it is assumed that frame transmission is performed using a single-system line using only the A-system communication line 12A, the frame is transmitted to the relay apparatus 16A via the A-system communication line 10A of the main processor 10. Transmission (100) is performed. The relay device 16A receives (101) the frame. Further, since the relay device 16A transfers the received frame to the input / output device side, the input / output device 22 recognizes the reception of the frame from the A system.

一方、B系通信回線12Bへはフレーム送信を行わないため、B系通信回線12Bが接続される中継装置16Bには送信フレームは到達しない(102)。従って、中継装置16Bは、入出力装置側への受信フレームの転送は行わない。   On the other hand, since no frame is transmitted to the B-system communication line 12B, the transmission frame does not reach the relay device 16B to which the B-system communication line 12B is connected (102). Therefore, the relay device 16B does not transfer the received frame to the input / output device side.

両系の回線が接続されている入出力装置22では、A系通信回線を使って送信する送信フレームのみが入出力装置22に受信されることになる。   In the input / output device 22 to which both lines are connected, only the transmission frame transmitted using the A-system communication line is received by the input / output device 22.

ここまでの動作は、図3と同じであるが、本発明の場合には入出力装置22は、図5の空間50のアドレスに対応する送信フレームの送信先アドレスSAと一致判定した場合、送信先が中継装置であると判断し、データ回線制御回路85へ受信タイムアウト抑止を指示する。このため、入出力装置22は、B系のタイムアウトを待たずに、自己のタイミングで応答フレームを返送する(106)。   The operation so far is the same as that in FIG. 3, but in the case of the present invention, when the input / output device 22 determines that it matches the transmission destination address SA of the transmission frame corresponding to the address of the space 50 in FIG. It is determined that the destination is a relay device, and instructs the data line control circuit 85 to suppress reception timeout. Therefore, the input / output device 22 returns a response frame at its own timing without waiting for the B system timeout (106).

なお、入出力装置22からの報告フレームは、途中中継装置12A、12Bを経由する。この返送処理の中で中継装置16Aは、フレーム中にRAS情報を追加して演算装置側に送ることで、演算装置10はRAS情報入手の初期の目的を達成する。   The report frame from the input / output device 22 passes through the intermediate relay devices 12A and 12B. During this return processing, the relay device 16A adds the RAS information in the frame and sends it to the computing device side, so that the computing device 10 achieves the initial purpose of obtaining the RAS information.

図13と図14は、入出力装置に対する正常通信から、中継装置に対する正常通信に移行する時の一連の各部処理を示しており、図13は従来処理、図14は本発明処理を示している。   FIG. 13 and FIG. 14 show a series of processing when shifting from normal communication for the input / output device to normal communication for the relay device, FIG. 13 shows conventional processing, and FIG. 14 shows processing of the present invention. .

この一連処理について簡単に説明すると、入出力装置に対する正常通信では、演算装置10は、各系の中継装置16A、16Bに同一内容のフレーム送信する(201)。この通信は回線二重通信である。フレームは各系の中継装置16A、16Bを経由して入出力装置22のそれぞれの系の入力端子に伝達される(202)。入出力装置22は、両系から同一信号を同時受信して正常受信と判断し、以後の返送動作に入る。   Briefly describing this series of processing, in normal communication with the input / output device, the arithmetic device 10 transmits frames of the same content to the relay devices 16A and 16B of each system (201). This communication is line duplex communication. The frame is transmitted to the input terminal of each system of the input / output device 22 via the relay apparatuses 16A and 16B of each system (202). The input / output device 22 receives the same signal from both systems at the same time, determines that it is normally received, and starts the subsequent return operation.

この次のタイミングで中継装置に対する正常通信に移行したとする。図13の従来の場合、中継装置16Aにはフレーム伝送する(203)が、 中継装置16Bにはフレーム伝送しない(204)。   It is assumed that the normal communication with the relay device is shifted to at the next timing. In the conventional case of FIG. 13, the frame is transmitted to the relay device 16A (203), but the frame is not transmitted to the relay device 16B (204).

入出力装置22は、両系回線であるためA系からフレーム受信するタイミングでB系の受信待ち状態に移行(205)する。しかし、B系からの受信がなく、タイムアウトカウント開始する。またその後タイムアウトを通知する(206)。   Since the input / output device 22 is a dual-system line, it shifts to a B-system reception waiting state at the timing of receiving a frame from the A-system (205). However, there is no reception from the B system, and timeout counting starts. Thereafter, a timeout is notified (206).

演算装置10は、B回線のタイムアウトを受信するとともに、中継装置16Aが付加したRAS情報入手する(207)。但し、この方式では、演算装置からの通信開始の都度タイムアウトによる遅れが発生し、システム全体の性能低下につながっている。   The arithmetic device 10 receives the timeout of the B line and obtains the RAS information added by the relay device 16A (207). However, with this method, a delay due to timeout occurs every time communication is started from the arithmetic device, leading to a decrease in the performance of the entire system.

図14の本発明の場合、入出力装置に対する正常通信と、中継装置に対する正常通信の途中まではまったく同じ動作であるのでこの説明を省略する。入出力装置22の片系受信以降の動作が相違するので、ここから後を説明する。   In the case of the present invention shown in FIG. 14, since the normal communication for the input / output device and the normal communication for the relay device are exactly the same, the description thereof is omitted. Since the operation after the one-system reception of the input / output device 22 is different, the following will be described.

入出力装置22では、データ回線制御回路85へ受信タイムアウト抑止を指示するため、入出力装置22は、B系のタイムアウトを待たずに、自己のタイミングで応答フレームを返送する(209)。この場合、タイムアウトを阻止するので、遅滞なく情報収集が行える。   In the input / output device 22, in order to instruct the data line control circuit 85 to suppress the reception timeout, the input / output device 22 returns a response frame at its own timing without waiting for the B system timeout (209). In this case, since time-out is prevented, information can be collected without delay.

本発明方式によれば、A系通信回線へのフレーム送信を中継装置へ実施した場合でも、入出力装置側が受信フレーム単位にタイムアウトが発生することなく、システム全体の性能低下を防止することを特徴としている。   According to the method of the present invention, even when the frame transmission to the A-system communication line is performed to the relay device, the input / output device side prevents the performance degradation of the entire system without causing a timeout for each received frame. It is said.

10:主系演算装置
11:従系演算装置
12A:A系通信回線
12B:B系通信回線
16A:A系中継装置
16B:B系中継装置
14A:A系通信回線
14B:B系通信回線
18A:A系中継装置
18B:B系中継装置16A、:A系中継装置
16B:B系中継装置
22、23、24:入出力装置
30:制御対象
10: Main processing unit 11: Subordinate processing unit 12A: A system communication line 12B: B system communication line 16A: A system relay device 16B: B system relay device 14A: A system communication line 14B: B system communication line 18A: A system relay device 18B: B system relay device 16A: A system relay device 16B: B system relay devices 22, 23, 24: Input / output device 30: Control target

Claims (5)

演算装置と入出力装置が、多重化された第1の通信回線、多重化された中継装置、多重化された第2の通信回線を介して接続され、前記演算装置から多重化された中継装置を介して前記入出力装置に制御信号を伝送し、前記制御信号に応じて前記入出力装置から多重化された中継装置を介して前記演算装置に応答信号を伝送するとともに、前記入出力装置は前記多重化された中継装置の双方から前記制御信号を受けて前記応答信号を伝送するようにされた多重化制御システムであって、
前記演算装置は、前記多重化された中継装置の双方に制御信号を伝送する両系モードと、前記多重化された中継装置の一方に制御信号を伝送する片系モードを指定し、
前記入出力装置は前記多重化された中継装置の一方から制御信号を受信するときに前記両系モードを判定して所定の確認時間後に応答信号を返送するとともに、前記片系モードを判定して前記所定の確認時間を待たずに応答信号を返送し、
前記中継装置は、前記制御信号が自己宛てのものである時に、前記入出力装置からの前記応答信号に当該中継装置の情報を含めて前記演算装置に伝送することを特徴とする多重化制御システム。
A relay device in which an arithmetic device and an input / output device are connected via a multiplexed first communication line, a multiplexed relay device, and a multiplexed second communication line, and multiplexed from the arithmetic device A control signal is transmitted to the input / output device via a relay, and a response signal is transmitted from the input / output device to the arithmetic device via a relay device multiplexed according to the control signal. A multiplexing control system configured to receive the control signal from both of the multiplexed relay devices and transmit the response signal;
The arithmetic device designates a both-system mode for transmitting a control signal to both of the multiplexed relay devices and a one-system mode for transmitting a control signal to one of the multiplexed relay devices,
The input / output device determines the two-system mode when receiving a control signal from one of the multiplexed relay devices, returns a response signal after a predetermined confirmation time, and determines the one-system mode. A response signal is returned without waiting for the predetermined confirmation time,
The relay apparatus, when the control signal is addressed to itself, includes information on the relay apparatus in the response signal from the input / output apparatus and transmits the information to the arithmetic apparatus. .
請求項1記載の多重化制御システムであって、
前記演算装置は、両系モードでの伝送を行う装置を定義する両系モジュールと、片系モードでの伝送を行う装置を定義する片系モジュールとをメモリ内に記憶しており、前記制御信号の伝送時に前記メモリを参照して、両系モードまたは片系モードの情報を前記伝送信号に重畳して伝送することを特徴とする多重化制御システム。
The multiplexing control system according to claim 1,
The arithmetic device stores in a memory both system modules that define a device that performs transmission in both systems mode and a single system module that defines a device that performs transmission in one system mode, and the control signal A multiplexing control system characterized in that information on both-system mode or one-system mode is transmitted by being superimposed on the transmission signal with reference to the memory during transmission.
請求項2記載の多重化制御システムであって、
前記両系モジュールには前記入出力装置が区分され、前記片系モジュールには前記中継装置が区分されていることを特徴とする多重化制御システム。
A multiplexing control system according to claim 2, comprising:
The multiplexing control system is characterized in that the input / output device is divided into the two-system modules, and the relay device is divided into the one-system module.
請求項1から請求項3のいずれか1項に記載の多重化制御システムであって、
両系モードと片系モードを指定する処理をハードウェアにより実行することを特徴とする多重化制御システム。
A multiplexing control system according to any one of claims 1 to 3 , wherein
A multiplexing control system characterized in that processing for designating both system mode and one system mode is executed by hardware.
請求項2から請求項4のいずれか1項に記載の多重化制御システムであって、
前記入出力装置が前記多重化された中継装置の一方にのみ接続されているときに、当該入出力装置は前記確認時間を有しないとともに、前記両系モジュールに定義されることを特徴とする多重化制御システム。
The multiplexing control system according to any one of claims 2 to 4, wherein
Multiplexing characterized in that when the input / output device is connected to only one of the multiplexed relay devices, the input / output device does not have the confirmation time and is defined in the modules of both systems Control system.
JP2012200116A 2012-09-12 2012-09-12 Multiplexing control system Active JP5839708B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012200116A JP5839708B2 (en) 2012-09-12 2012-09-12 Multiplexing control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012200116A JP5839708B2 (en) 2012-09-12 2012-09-12 Multiplexing control system

Publications (2)

Publication Number Publication Date
JP2014056369A JP2014056369A (en) 2014-03-27
JP5839708B2 true JP5839708B2 (en) 2016-01-06

Family

ID=50613639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012200116A Active JP5839708B2 (en) 2012-09-12 2012-09-12 Multiplexing control system

Country Status (1)

Country Link
JP (1) JP5839708B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6459796B2 (en) * 2015-06-23 2019-01-30 富士電機株式会社 Control system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3206006B2 (en) * 1991-01-25 2001-09-04 株式会社日立製作所 Duplex bus control method and device
JPH06259343A (en) * 1993-03-10 1994-09-16 Hitachi Ltd Multiple bus control method and system using the same
JP5115075B2 (en) * 2007-07-25 2013-01-09 富士通株式会社 Transfer device, information processing device having transfer device, and control method

Also Published As

Publication number Publication date
JP2014056369A (en) 2014-03-27

Similar Documents

Publication Publication Date Title
CN103139060B (en) Based on the high fault tolerance CAN digital gateway of two CSTR
US10581633B2 (en) Automation device for the redundant control of a bus subscriber
US8812759B2 (en) Bus subscriber device for connection to a line-redundant data bus, and method for controlling the communication of a bus subscriber with a line-redundant serial data bus
US20130208581A1 (en) Wireless gateway apparatus
JP5706347B2 (en) Redundant control system
KR101506274B1 (en) Network interface based redundant RTU to support the expansion of the input and output
JP5839708B2 (en) Multiplexing control system
JP6273841B2 (en) Communication system and communication control method
KR100644285B1 (en) Redundant network apparatus for monitoring and controling of industrial system
JP6373630B2 (en) Relay control system and communication relay method
US8824342B2 (en) Field communication apparatus and process control system
KR101248196B1 (en) Remote monitoring and control system using serial extended communication network of ring topology
JP4756203B2 (en) Protocol converter and duplex data transmission system using the same
JPH08191491A (en) Field bus system
JP2014071773A (en) Duplex control device and control method of the same
KR100423488B1 (en) Redundancy Structure of Interprocessor Communication Network in Switching System
JP5459117B2 (en) Data transmission apparatus and data transmission method
JP2007134906A (en) Monitor control device
JPH0556482A (en) Duplicate remote monitor controller
JPH0816213A (en) Plant controller
JP2023004453A (en) Redundancy module
JPH06152570A (en) System for system switching processing in duplex data processor
JP2022172757A (en) Redundancy system
JP4096849B2 (en) I / O control system using line multiplexing structure
JPH04101255A (en) Bus backup mechanism

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150713

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150901

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151001

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: 20151104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151109

R150 Certificate of patent or registration of utility model

Ref document number: 5839708

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150