【0001】
【発明の属する技術分野】
本発明は、複数台のシーケンサをLANで接続した監視制御システムに係り、特にシーケンサ相互のデータ伝送方式に関する。
【0002】
【従来の技術】
電力系統やプラントなどの監視制御システムは、中央管理室に設置する監視制御用コンピュータと、現場機器側に設置するシーケンサとの間をネットワーク接続し、シーケンサが機器計測情報などの監視情報を収集して監視制御用コンピュータ側に伝送し、この監視情報や操作情報等を基にした制御情報をコンピュータからシーケンサ側に伝送し、各種機器を制御する。
【0003】
このような監視制御システムにおいて、信頼性を高めかつ連続運転が要求されるシステムでは、監視制御用コンピュータやシーケンサをそれぞれ二重化し、一方を主制御装置、他方を待機装置とすることが多い。
【0004】
この二重化システムでは、主制御装置と待機装置がもつデータを常時に整合させておき、主制御装置の故障発生には待機装置に監視制御などの機能を移行し、待機装置によるシステムの連続運転を可能にする。
【0005】
図2は、シーケンサの二重化システム構成例を示し、シーケンサAとシーケンサBをLANで接続し、シーケンサAがもつデータを周期的にシーケンサBにLANで伝送し、両シーケンサ間のデータを整合させておく。図示の場合、シーケンサAのデータテーブルAにもつ1〜100のデータをシーケンサBへ送信する場合、シーケンサAがアドレスA1〜A100のデータD1〜D100をLAN上に送信し、このデータをシーケンサBがアドレスB1〜B100にデータD1〜D100をテーブルBに受信する。
【0006】
【発明が解決しようとする課題】
前記のように、シーケンサを二重化し、両シーケンサ間のデータを常時整合させておくためには、シーケンサ間で周期的なデータ伝送を必要とする。
【0007】
このデータ伝送には、前記のように、100個のデータを伝送するとき、シーケンサAはLAN上のデータ100個分のエリアを占有することになる。実際のシステムでは、システムの規模によっては伝送を必要とするデータ量が数千〜数万になり、このデータ量に比例してデータ伝送時間が長くなり、シーケンサAがもつ本来のシーケンス処理に応答遅れが発生したり、シーケンサBのデータ更新に遅れが発生する。
【0008】
また、シーケンサが1回で送受信できるデータ量(LAN上の占有エリア)には限度があり、それを越えるデータの送受信には複数回に分けて行い、伝送時間がますます長くなる。
【0009】
また、システム構成によっては、3台以上のシーケンサに機能分担し、それらの間で、一部のデータについてデータの整合を必要とする場合があり、この場合も同様の問題がある。
【0010】
これら問題を解決するには、シーケンサおよびLANのハードウェアを変更することが考えられるが、これは多大なコストアップになる。
【0011】
本発明の目的は、システムのハードウェアを変更することなく、データ伝送時間を短縮またはシーケンサの大容量化を図ることができるデータ伝送方式を提供することにある。
【0012】
【課題を解決するための手段】
本発明は、前記の課題を解決するため、送信側シーケンサのデータテーブルに記憶するデータ群のうち、状態変化が発生したデータとそのアドレスのみをLANで受信側シーケンサに伝送し、受信側シーケンサでは受信データをそのアドレスを基に自身のデータテーブルに展開する構成とし、さらに送信側シーケンサからのデータ伝送には送信するデータ数を一緒に伝送し、これを受信側シーケンサで受信してデータ数の照合・確認を行うと共に送信側シーケンサに送信することで送信側シーケンサで当該データの伝送完了の確認を行うようにしたもので、以下の構成を特徴とする。
【0013】
複数台のシーケンサをLANで接続し、各シーケンサがそれぞれのデータテーブルに取得するデータを各シーケンサ間でLANで周期的に伝送して該データを整合させておく監視制御システムにおいて、
データの送信側シーケンサは、前記データテーブルに記憶するデータ群のうち、状態変化が発生したデータとそのアドレスおよび該データ数のみをLANで受信側シーケンサに伝送する手段を設け、
前記データの受信側シーケンサは、受信データをそのアドレスを基に自身のデータテーブルに展開し、前記データ数の照合・確認を行う手段を設け、
前記送信側シーケンサは、データ送信時に記憶する前記データ数と、前記受信側シーケンサから送信された前記データ数との照合で当該データの伝送完了の確認を行う手段を設けたことを特徴とする。
【0014】
【発明の実施の形態】
図1は、本発明の実施形態を示すデータ伝送方式のソフトウェア構成図であり、シーケンサAからシーケンサBにLANを介してテーブルデータを伝送する場合を示す。
【0015】
シーケンサAは、データテーブル1のデータのうち、状態変化があったデータとそのアドレスを組みとして状変データ格納エリア2に取得する。この格納エリア2のサイズは、図示ではn個とするが、システムの運転状態によって、状態変化するデータ数が増減することから、可変できるようにしておく。
【0016】
格納エリア2のデータは送信時刻に達したときに送信エリア3に送信データとして転送する。送信エリア3には送信データの他に、送信データのデータ数nの値を書込んでおく送信カウンタ3Aをもち、送信データとカウンタ3Aに書込まれた送信データ数nも一緒にシーケンサBに伝送する。
【0017】
シーケンサBは、データテーブル1と同等のデータテーブル4の他に、受信エリア5と送信エリア6を設けておく。受信エリア5は、シーケンサAから伝送されたn個のデータを取り込むエリアの他に、送信カウンタ3Aのデータ数nを書込む受信カウンタ5Aのエリアを設ける。
【0018】
シーケンサBは、受信カウンタ5Aに書込まれた数値nによって受信したデータ数との照合・確認を行い、この確認が取れたときに、受信エリア5で受信したn個のデータはそれぞれのアドレスに一致するデータテーブル4のアドレスに展開する。これに並行して、受信カウンタ5Aに受信したデータ数nを送信エリア6の送信カウンタにセットし、この送信カウンタの値をLANでシーケンサAに伝送する。
【0019】
シーケンサAでは、シーケンサBの送信カウンタ6から伝送されたデータ数nを受信エリア7の受信カウンタで受信し、このデータ数nが送信カウンタ3Aに書込まれた値nと一致したとき、状態変化データのすべての伝送完了の確認をし、それまでに取り込んだ状変データ格納エリア2のデータを次回の送信データとして取り込み、次回の送信時刻に備える。
【0020】
したがって、シーケンサAからBへのデータ伝送には、状態変化があったデータのみを伝送し、LAN上の占有エリアを大幅に削減可能となる。例えば、状変データ格納エリア2のサイズを8(1回の送信で4個のデータを送信可能)とした場合、これに送信カウンタ3Aの1個分のデータを加えた送信にも、従来の100個のデータをそのまま伝送する場合に比べて、91個分の占有エリアの削減ができる。
【0021】
しかも、本実施形態では、送信データの数nをシーケンサA,B間で送受信することで送信データ数の確認ができ、データ欠落に対応可能となる。
【0022】
なお、実施形態では、2台のシーケンサ間のデータ伝送の場合を示すが、3台以上のシーケンサ間で一部のデータについてその整合を得るシステム構成の場合にも適用して同等の作用効果を得ることができる。
【0023】
【発明の効果】
以上のとおり、本発明によれば、送信側シーケンサはデータテーブルのデータ群のうち、状態変化が発生したデータとそのアドレス及び送信データ数のみをLANで受信側シーケンサに伝送し、受信側シーケンサでは受信データをそのアドレスを基に自身のデータテーブルに展開し、データ数の送受信で送受信側シーケンサ間で送受信データ数の照合・確認を行うようにしたため、LAN上を伝送するデータ量を大幅に削減して伝送時間の短縮または大容量化を図ることができ、さらにデータ伝送量の照合・確認で確実な伝送が可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態を示すデータ伝送方式のソフトウェア構成図。
【図2】監視制御システムの構成例。
【符号の説明】
A、B…シーケンサ
1、4…データテーブル
2…状変データ格納エリア
3…送信エリア
3A…送信カウンタ
5…受信エリア
6…送信エリア
7…受信エリア[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a monitoring and control system in which a plurality of sequencers are connected by a LAN, and more particularly to a data transmission method between sequencers.
[0002]
[Prior art]
Monitoring and control systems for power systems and plants connect a monitoring and control computer installed in the central control room to a sequencer installed in the field devices via a network, and the sequencer collects monitoring information such as device measurement information. The control information is transmitted to the monitoring control computer side, and control information based on the monitoring information and operation information is transmitted from the computer to the sequencer side to control various devices.
[0003]
In such a monitoring and control system, in a system that requires high reliability and continuous operation, it is often the case that the monitoring control computer and the sequencer are duplicated, and one is a main control device and the other is a standby device.
[0004]
In this redundant system, the data in the main controller and the standby device are always matched, and when a failure occurs in the main controller, functions such as monitoring and control are transferred to the standby device, and the continuous operation of the system by the standby device is performed. enable.
[0005]
FIG. 2 shows an example of a redundant system configuration of a sequencer. The sequencer A and the sequencer B are connected via a LAN, the data of the sequencer A is periodically transmitted to the sequencer B via the LAN, and the data between the two sequencers is matched. deep. In the case shown in the figure, when data 1 to 100 in the data table A of the sequencer A are transmitted to the sequencer B, the sequencer A transmits data D1 to D100 having addresses A1 to A100 on the LAN, and the sequencer B transmits the data. The data D1 to D100 are received in the table B at the addresses B1 to B100.
[0006]
[Problems to be solved by the invention]
As described above, in order to duplicate the sequencers and always keep the data between the two sequencers consistent, periodic data transmission is required between the sequencers.
[0007]
In this data transmission, as described above, when 100 data are transmitted, the sequencer A occupies an area for 100 data on the LAN. In an actual system, depending on the scale of the system, the amount of data that needs to be transmitted is in the range of thousands to tens of thousands, and the data transmission time increases in proportion to this data amount, and responds to the original sequence processing of the sequencer A. A delay occurs or a delay occurs in updating the data of the sequencer B.
[0008]
Also, the amount of data that can be transmitted / received at one time by the sequencer (occupied area on the LAN) is limited, and the transmission / reception of data exceeding the limit is performed in multiple times, and the transmission time becomes longer.
[0009]
Further, depending on the system configuration, the functions may be shared among three or more sequencers, and some of the data may require data consistency among them. In this case, there is a similar problem.
[0010]
In order to solve these problems, it is conceivable to change the hardware of the sequencer and the LAN, but this greatly increases the cost.
[0011]
An object of the present invention is to provide a data transmission method capable of shortening the data transmission time or increasing the capacity of a sequencer without changing the hardware of the system.
[0012]
[Means for Solving the Problems]
The present invention solves the above problem by transmitting only data having a state change and its address from a data group stored in a data table of a transmitting sequencer to a receiving sequencer via a LAN. The received data is developed in its own data table based on the address, and the number of data to be transmitted is transmitted together with the data transmission from the transmitting sequencer, and received by the receiving sequencer to reduce the number of data. The transmission-side sequencer confirms the completion of transmission of the data by performing collation / confirmation and transmitting the data to the transmission-side sequencer, and has the following configuration.
[0013]
In a monitoring and control system in which a plurality of sequencers are connected via a LAN, and the data obtained by each sequencer in each data table is periodically transmitted between the sequencers via the LAN to match the data,
The data transmission-side sequencer is provided with means for transmitting only the data in which a state change has occurred, its address, and the number of data out of the data group stored in the data table to the reception-side sequencer via the LAN,
The data receiving side sequencer develops the received data in its own data table based on the address, and includes means for checking and confirming the number of data,
The transmission-side sequencer includes means for confirming completion of transmission of the data by comparing the number of data stored at the time of data transmission with the number of data transmitted from the reception-side sequencer.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a software configuration diagram of a data transmission method according to an embodiment of the present invention, showing a case where table data is transmitted from a sequencer A to a sequencer B via a LAN.
[0015]
The sequencer A acquires the state-change data storage area 2 as a combination of the data whose state has changed and the address of the data in the data table 1. Although the size of the storage area 2 is n in the figure, the number of data whose state changes according to the operating state of the system increases or decreases, so that it can be changed.
[0016]
The data in the storage area 2 is transferred to the transmission area 3 as transmission data when the transmission time is reached. The transmission area 3 has, in addition to the transmission data, a transmission counter 3A in which the value of the number n of transmission data is written. The transmission data and the number n of transmission data written in the counter 3A are also transmitted to the sequencer B together. Transmit.
[0017]
The sequencer B has a reception area 5 and a transmission area 6 in addition to the data table 4 equivalent to the data table 1. The reception area 5 is provided with an area for receiving the n data transmitted from the sequencer A and an area for the reception counter 5A for writing the number n of data of the transmission counter 3A.
[0018]
The sequencer B performs collation and confirmation with the number of data received by the numerical value n written in the reception counter 5A, and when this confirmation is obtained, the n data received in the reception area 5 is stored in each address. It is expanded to the address of the data table 4 that matches. In parallel with this, the number n of data received by the reception counter 5A is set in the transmission counter of the transmission area 6, and the value of this transmission counter is transmitted to the sequencer A via the LAN.
[0019]
In the sequencer A, the number n of data transmitted from the transmission counter 6 of the sequencer B is received by the reception counter of the reception area 7, and when the number n of data coincides with the value n written in the transmission counter 3A, a state change occurs. After confirming the completion of transmission of all data, the data in the state-change data storage area 2 which has been taken up to that time is taken in as next transmission data to prepare for the next transmission time.
[0020]
Therefore, in the data transmission from the sequencers A to B, only the data whose state has changed is transmitted, and the area occupied on the LAN can be greatly reduced. For example, if the size of the state change data storage area 2 is set to 8 (4 data can be transmitted in one transmission), the data obtained by adding one data of the transmission counter 3A to the transmission can be used in the conventional transmission. The area occupied by 91 data can be reduced as compared with the case where 100 data are transmitted as they are.
[0021]
Moreover, in the present embodiment, the number n of transmission data is transmitted and received between the sequencers A and B, whereby the number of transmission data can be confirmed, and it is possible to cope with data loss.
[0022]
In the embodiment, a case of data transmission between two sequencers is shown. However, the same operation and effect can be obtained by applying the present invention to a system configuration in which some data is matched between three or more sequencers. Obtainable.
[0023]
【The invention's effect】
As described above, according to the present invention, the transmission-side sequencer transmits only the data in which the state change has occurred, its address, and the number of transmission data out of the data group of the data table to the reception-side sequencer via the LAN. Received data is expanded in its own data table based on its address, and the number of data sent and received is compared and confirmed between the sending and receiving sequencers, so the amount of data transmitted on the LAN is greatly reduced. As a result, the transmission time can be reduced or the capacity can be increased, and furthermore, the data transmission amount can be checked and confirmed to ensure transmission.
[Brief description of the drawings]
FIG. 1 is a software configuration diagram of a data transmission method according to an embodiment of the present invention.
FIG. 2 is a configuration example of a monitoring control system.
[Explanation of symbols]
A, B: sequencer 1, 4, data table 2, state change data storage area 3, transmission area 3A, transmission counter 5, reception area 6, transmission area 7, reception area