JPH02184997A - Abnormality detection system - Google Patents

Abnormality detection system

Info

Publication number
JPH02184997A
JPH02184997A JP1005679A JP567989A JPH02184997A JP H02184997 A JPH02184997 A JP H02184997A JP 1005679 A JP1005679 A JP 1005679A JP 567989 A JP567989 A JP 567989A JP H02184997 A JPH02184997 A JP H02184997A
Authority
JP
Japan
Prior art keywords
abnormality
data
master station
station
slave station
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1005679A
Other languages
Japanese (ja)
Inventor
Takeshi Kawamura
武司 川村
Takashi Fujieda
藤枝 敬史
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP1005679A priority Critical patent/JPH02184997A/en
Publication of JPH02184997A publication Critical patent/JPH02184997A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)
  • Alarm Systems (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To avoid confusion in a master station by transmitting abnormality detected signals from respective subordinate stations after respective specified time lengths, which are previously and separately determined for the respective subordinate stations, pass when the respective subordinate stations detect the occurrence of the abnormality of an object to be detected. CONSTITUTION:When respective subordinate stations SS1-SSn detect the occurrence of the abnormality from an object 1 to be detected, the respective subordinate stations SS1-SSn transmit the abnormality detected signals to a master station MS after the respective specified time lengths, which are previously and separately determined for the respective subordinate stations, pass. In this manner, when the respective subordinate stations SS1-SSn detect the abnormality of the object 1 to be detected, the respective subordinate stations never immediately transmit the abnormality detected signals to the master station MS but transmit the abnormality detected signals to the master station MS after the respective previously determined specified time lengths pass. Thus, the respective subordinate stations SS1-SSn can send the abnormality detected signals to the master station MS in sequence without the occurrence of a transmission overlap, and the confusion in the master station can be avoided.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、異常検知システムに関し、特に、被検出体
の異常を検知する複数の子局と、これら各子局とデータ
伝送可能にリンクされ各子局からのデータを収集する親
局とを備えるような異常検知システムに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an anomaly detection system, and in particular, a plurality of slave stations that detect anomalies in a detected object, and a system that is linked to each of these slave stations so that data can be transmitted. The present invention relates to an anomaly detection system including a master station that collects data from each slave station.

[従来の技術] 従来、たとえば送電線路やバイブラインや鉄道線路のよ
うに連続して延びる長尺の被検出体で発生する異常を検
知するために種々の方法が提案されている。その1つと
して、被検出体の複数箇所に複数の検知素子を分散配置
し、これら検知素子が異常を検知するとセンターに通報
するような異常検知システムがあった。
[Prior Art] Conventionally, various methods have been proposed for detecting abnormalities that occur in long objects to be detected that extend continuously, such as power transmission lines, vibration lines, and railroad tracks. One such system is an anomaly detection system in which a plurality of detection elements are distributed at a plurality of locations on an object to be detected, and when these detection elements detect an anomaly, a center is notified.

[発明が解決しようとする課題] ところが、従来の異常検知システムでは、各検知素子は
異常を検知すると直ちにその異常をセンターに通報する
ようになっていたため、下記のような不都合があった。
[Problems to be Solved by the Invention] However, in the conventional abnormality detection system, when each detection element detects an abnormality, it immediately reports the abnormality to the center, resulting in the following inconveniences.

すなわち、送電線路やバイブラインや鉄道線路のように
連続する被検出体においては、成る部分で異常が発生す
るとすぐにその異常が他の部分にも波及するので、各検
知素子はほぼ同時に異常を検知する。したがって、各検
知素子からはほぼ一斉にセンターに通報がなされ、デー
タの伝送重なりが生じる。その結果、センターにおいて
はどの検知素子からどのようなデータが送られてきたか
がわからなくなり、混乱を生じ適切な処理を行なえなく
なってしまう。
In other words, in a continuous detection object such as a power transmission line, vibration line, or railway track, if an abnormality occurs in one part, the abnormality will immediately spread to other parts, so each detection element detects the abnormality almost simultaneously. Detect. Therefore, each detection element sends a report to the center almost simultaneously, resulting in overlapping data transmission. As a result, at the center, it becomes impossible to know which data has been sent from which sensing element, leading to confusion and the inability to perform appropriate processing.

この発明は、上記のような問題点を解消するためになさ
れたもので、被検出体の複数箇所においてほぼ同時に異
常が検知された場合であっても、データの伝送重なりを
生じることなく親局に異常内容を示すデータを伝送する
ことができるような異常検知システムを提供することを
目的とする。
This invention was made to solve the above-mentioned problems, and even when an abnormality is detected at multiple locations on the detected object at almost the same time, it is possible to transmit data to the main station without overlapping data transmission. An object of the present invention is to provide an anomaly detection system that can transmit data indicating the details of an anomaly.

[課題を解決するための手段] この発明にかかる異常検知システムは、被検出体の異常
を検知する複数の子局と、これら各子局とデータ伝送可
能にリンクされ各子局からのデータを収集する親局とを
備えるものであって、各子局は、被検出体からの異常発
生を検知したとき各子局別に予め定められた所定時間経
過後に親局に異常検知信号を伝送するようになっている
[Means for Solving the Problems] An anomaly detection system according to the present invention includes a plurality of slave stations that detect abnormalities in a detected object, and a system that is linked to each of these slave stations so that data can be transmitted, and that transmits data from each slave station. Each slave station is configured to transmit an abnormality detection signal to the master station after a predetermined period of time predetermined for each slave station when it detects an abnormality from the detected object. It has become.

また、各子局は予めグループ分けされ、かつ各グループ
に対して1個の代表子局が定められていてもよい。この
場合、各グループの代表子局は前記被検出体の異常発生
を検知したとき、各グループ別に定められた所定時間経
過後に前記親局に異常検知信号を伝送する。
Further, each slave station may be divided into groups in advance, and one representative slave station may be determined for each group. In this case, when the representative slave station of each group detects the occurrence of an abnormality in the detected object, it transmits an abnormality detection signal to the master station after a predetermined time period determined for each group has elapsed.

[作用] この発明においては、各子局があるいは各グループの代
表子局は、被検出体の異常を検知したとき、すぐには異
常検知信号を親局には送らず、予め定められた所定時間
経過後に親局に異常検知信号を伝送することにより、各
子局が伝送重なりを生じることなく順番に親局に対して
異常検知信号を送ることができ、親局での混乱を回避す
ることができる。
[Operation] In the present invention, when each slave station or the representative slave station of each group detects an abnormality in the detected object, it does not immediately send an abnormality detection signal to the master station, but sends it to the master station at a predetermined time. By transmitting the abnormality detection signal to the master station after a period of time has elapsed, each slave station can send the abnormality detection signal to the master station in order without overlapping transmissions, thereby avoiding confusion at the master station. Can be done.

[実施例] 第1図は、この発明の一実施例による異常検知システム
の全体構成を示す概略ブロック図である。
[Embodiment] FIG. 1 is a schematic block diagram showing the overall configuration of an abnormality detection system according to an embodiment of the present invention.

図において、被検出対象1は、たとえば送電線路やバイ
ブラインや鉄道線路のようにその長手方向に沿って連続
して延びる長尺の対象物である。この被検出対象1の複
数箇所には、子局SS1.  SS2.・・・SSnが
分散して配置される。各子局は、被検出対象1から得た
データをもとに被検出対象1で発生する異常を検知し、
所定のデータを親局MSに送る。親局MSは、各子局か
ら送信されてくるデータを解析し、異常発生区間の特定
や異常内容の分析等を行ない、その結果を表示あるいは
他の装置へ伝送する。この実施例では、親局MSは各子
局SS1〜SSnと無線によってデータ伝送可能にリン
クされているが、有線回線によってリンクされてもよい
In the figure, a detected object 1 is a long object that extends continuously along its longitudinal direction, such as a power transmission line, a vibration line, or a railway track. The slave stations SS1. SS2. ...SSn is distributed and arranged. Each slave station detects an abnormality occurring in the detected target 1 based on the data obtained from the detected target 1,
Send predetermined data to the master station MS. The master station MS analyzes the data transmitted from each slave station, identifies the section where the abnormality has occurred, analyzes the contents of the abnormality, etc., and displays or transmits the results to other devices. In this embodiment, the master station MS is linked to each of the slave stations SS1 to SSn so that data can be transmitted wirelessly, but they may also be linked via wired lines.

第2図は、第1図に示す子局の構成を示すブロック図で
ある。図において被検出対象1からデータを採取するた
めに複数個のセンサ2が設けられる。これらセンサ2に
は、被検出対象1の性質あるいは採取すべきデータの種
類に応じて様々なものが用いられよう。各センサ2の出
力はサンプルホールド回路3に与えられ、サンプルホー
ルドされる。サンプルホールド回路2の出力はマルチブ
レクサ4に与えられる。マルチプレクサ4は、サンプル
ホールド回路3からの複数のサンプルホールド出力を順
次的かつ選択的に切換えてA/D変換器5に与える。な
お、センサ2は1個だけ設けられる場合もあるが、この
場合はマルチプレクサ4は不要である。A/D変換器5
はマルチプレクサ4の出力(アナログ信号)をディジタ
ル信号に変換し、CPU6に与える。このCPU6には
、ROM7  RAM8およびタイマ9が接続される。
FIG. 2 is a block diagram showing the configuration of the slave station shown in FIG. 1. In the figure, a plurality of sensors 2 are provided to collect data from a detection target 1 . Various types of sensors 2 may be used depending on the nature of the object to be detected 1 or the type of data to be collected. The output of each sensor 2 is given to a sample and hold circuit 3, where it is sampled and held. The output of the sample and hold circuit 2 is given to a multiplexer 4. Multiplexer 4 sequentially and selectively switches a plurality of sample-and-hold outputs from sample-and-hold circuit 3 and supplies them to A/D converter 5 . Note that there are cases where only one sensor 2 is provided, but in this case, the multiplexer 4 is not necessary. A/D converter 5
converts the output (analog signal) of the multiplexer 4 into a digital signal and supplies it to the CPU 6. A ROM 7 RAM 8 and a timer 9 are connected to this CPU 6.

ROM7には、CPU6の動作プログラムが格納されて
いる。したがって、CPU6はROM7から読出した動
作プログラムに従って動作を行なう。
The ROM 7 stores an operating program for the CPU 6. Therefore, the CPU 6 operates according to the operating program read from the ROM 7.

RAM8は、CPU6がデータ処理を行なう際に必要な
種々のデータを記憶する。タイマ9は、後に説明するよ
うに、データを親局MSに送信する際に必要な時間情報
をCPU6に与える。さらに、CPU6には、シリアル
入出力装置(以下、SlOと称す)10が接続される。
The RAM 8 stores various data necessary when the CPU 6 performs data processing. As will be explained later, the timer 9 provides the CPU 6 with time information necessary for transmitting data to the master station MS. Furthermore, a serial input/output device (hereinafter referred to as SlO) 10 is connected to the CPU 6.

この5IOIOは、CPU6から与えられる並列ビット
データをシリアルデータに変換して送受信モジュール1
1に与える。送受信モジュール11は、与えられたシリ
アルデータをアンテナ12を介して親局MSに送信する
。また、送受信モジュール11は、親局MSから送られ
てくるデータを受信して5IOIOに与える。5IOI
Oは、送受信モジュール11からのシリアルデータを並
列ビットデータに変換してCPU6に与える。
This 5IOIO converts the parallel bit data given from the CPU 6 into serial data and sends it to the transmitter/receiver module 1.
Give to 1. The transmitting/receiving module 11 transmits the given serial data to the master station MS via the antenna 12. Further, the transmitting/receiving module 11 receives data sent from the master station MS and provides it to the 5IOIO. 5IOI
O converts the serial data from the transmitting/receiving module 11 into parallel bit data and provides it to the CPU 6.

第3図は、第1図に示す親局MSの構成を示すブロック
図である。図において、各子局SSI〜SSnとの間で
データの送受信を行なうために、アンテナ15および送
受信モジュール16が設けられる。この送受信モジュー
ル16とCPU18との間には5IO17が設けられる
。5IO17は送受信モジュール16から与えられるシ
リアルデータを並列ビットデータに変換してCPU18
に与えるとともに、CPU18から与えられる並列ビッ
トデータをシリアルデータに変換して送受信モジュール
16に与える。CPU18には、ROMl9およびRA
M20が接続される。ROM19にはCPU18の動作
プログラムが格納されている。RAM20はCPU18
のデータ処理に必要な種々のデータを記憶する。さらに
、CPU18には、必要に応じて、表示部21および5
1022が接続される。表示部21は、CPU18が行
なったデータ処理の結果を表示するものである。5IO
22は、CPU18から与えられる並列ビットデータを
シリアルデータに変換してデータ伝送装置23に与える
。すなわち、データ伝送装置23によってCPU18の
処理結果が他の装置(図示せず)に伝送される。
FIG. 3 is a block diagram showing the configuration of the master station MS shown in FIG. 1. In the figure, an antenna 15 and a transmitting/receiving module 16 are provided for transmitting and receiving data with each slave station SSI to SSn. 5IOs 17 are provided between this transmitting/receiving module 16 and the CPU 18. 5IO17 converts the serial data given from the transmitting/receiving module 16 into parallel bit data and sends it to the CPU 18.
At the same time, the parallel bit data provided from the CPU 18 is converted into serial data and provided to the transmitting/receiving module 16. CPU18 has ROM19 and RA
M20 is connected. The ROM 19 stores an operating program for the CPU 18. RAM20 is CPU18
Stores various data necessary for data processing. Furthermore, the CPU 18 includes display units 21 and 5 as necessary.
1022 is connected. The display unit 21 displays the results of data processing performed by the CPU 18. 5IO
22 converts the parallel bit data provided from the CPU 18 into serial data and provides it to the data transmission device 23 . That is, the data transmission device 23 transmits the processing results of the CPU 18 to another device (not shown).

以下に、上記実施例の動作を説明する。The operation of the above embodiment will be explained below.

(1) 被検出対象1において異常が発生していない場
合の動作 この場合の伝送プロトコルが、第4図に示されている。
(1) Operation when no abnormality occurs in the detected object 1 The transmission protocol in this case is shown in FIG.

図示のごとく、親局MSは、各子局SS1〜SSnに対
して順番にポーリング信号を送り、各子局はこのポーリ
ング信号に応答してデータ(被検出体1から得たデータ
)を親局MSに送信する。親局MSは、最終子局SSn
からのデータ収集を終了すると、再び最初の子局SSI
に戻り、ポーリング信号の送信を繰返す。
As shown in the figure, the master station MS sends a polling signal to each of the slave stations SS1 to SSn in order, and each slave station responds to this polling signal by transmitting data (data obtained from the detected object 1) to the master station. Send to MS. The master station MS is the final slave station SSn
After completing the data collection from the first slave station SSI
Return to , and repeat sending the polling signal.

以上の動作を、第7図および第8図に示すフローチャー
トを参照してさらに詳細に説明する。なお、第7図は子
局SSI〜SSnの動作を示すフローチャートであり、
第8図は親局MSの動作を示すフローチャートである。
The above operation will be explained in more detail with reference to the flowcharts shown in FIGS. 7 and 8. In addition, FIG. 7 is a flowchart showing the operation of slave stations SSI to SSn.
FIG. 8 is a flowchart showing the operation of the master station MS.

各子局SSI〜SSnは、まずステップS1において初
期設定を行ない、その後にステップS2においてデータ
の監視処理を行なう。このデータの監視処理には、常時
データ処理、異常有無判断。
Each slave station SSI to SSn first performs initial settings in step S1, and then performs data monitoring processing in step S2. This data monitoring process includes constant data processing and abnormality determination.

生データの格納等が含まれる。ここで、常時データ処理
とは、センサ2によって検出された被検出対象1のデー
タを取込む処理である。また、異常有無判断処理とは、
センサ2から取込んだデータに基づいて被検出対象1に
異常が発生しているか否かを判断する処理である。生デ
ータの格納処理とは、センサ2から取込んだ生データ(
何の加工も施されていないデータ)をRAM5内の所定
のエリアに格納する処理である。次に、各子局SS1〜
SSnは、ステップS2におけるデータ監視処理の結果
、被検出対象1に異常が発生したか否かを判断する(ス
テップS3)。被検出対象1に異常が発生していないと
判断された場合は、ステップS4に進み、親局MSから
データ伝送の呼びかけがあったか否か、すなわちポーリ
ング信号が送信されてきたか否かを判断する。もし、親
局MSからデータ伝送の呼びかけがない場合は、再びス
テップS2に戻り、データの監視処理を行なう。
This includes storing raw data, etc. Here, the constant data processing is a process of acquiring data of the detection target 1 detected by the sensor 2. In addition, the abnormality determination process is
This is a process of determining whether or not an abnormality has occurred in the detected object 1 based on the data taken in from the sensor 2. The raw data storage process refers to the raw data (
This is a process of storing unprocessed data in a predetermined area in the RAM 5. Next, each slave station SS1~
SSn determines whether an abnormality has occurred in the detection target 1 as a result of the data monitoring process in step S2 (step S3). If it is determined that no abnormality has occurred in the detected object 1, the process proceeds to step S4, and it is determined whether there has been a request for data transmission from the master station MS, that is, whether a polling signal has been transmitted. If there is no request for data transmission from the master station MS, the process returns to step S2 and data monitoring processing is performed.

一方、親局MSからデータ伝送の呼びかけがあった場合
は、ステップS2でセンサ2から取込みRAMg内に格
納した被検出対象1の監視データを親局MSに送信する
(ステップS5)。その後、再びステップS2の動作に
戻り、上記の動作を繰返して行なう。
On the other hand, when there is a request for data transmission from the master station MS, the monitoring data of the detected object 1, which was acquired from the sensor 2 in step S2 and stored in the RAMg, is transmitted to the master station MS (step S5). Thereafter, the process returns to step S2 and the above operations are repeated.

一方、親局MSでは、まず子局SSI〜SSnのうちい
ずれか1つでも被検出対象1の異常を検知したか否かを
判断する(ステップ5101)。
On the other hand, the master station MS first determines whether any one of the slave stations SSI to SSn has detected an abnormality in the detection target 1 (step 5101).

この判断は、子局SS1〜SSnから異常検知信号が送
られてくるか否かによって行なう。次に、親局MSでは
カウンタN(たとえばRAM20内に設けられている)
に1を設定しくステップ5102)、このカウンタNで
示される番号の子局に対してポーリング信号を送信し常
時データの伝送を呼びかける(ステップ5103)。常
時データの伝送の呼びかけを受けた子局では、前述のス
テップS4でそのことを判断し、ステップS5で常時デ
ータを親局MSに送信する。次に、親局MSでは、再び
子局SS1〜SSnが被検出対象1の異常を検知したか
否かを判断しくステップ5IO4)、異常を検知してい
ない場合はステップ5105においてカウンタNの値に
1を加算する。次に、親局MSは、カウンタNの値が最
終子局の番号nを越えたか否かを判断する(ステップ5
IO6)。カウンタNの値がnを越えていない場合は再
びステップ8103に戻り、次の子局に対するデータ伝
送の呼びかけを行なう。一方、カウンタNの値がnを越
えた場合は、カウンタNの値を再び1に戻しくステップ
5107)、ステップ8103に戻って再び最初の子局
SSIからデータ伝送の呼びかけを繰返す。
This determination is made depending on whether an abnormality detection signal is sent from the slave stations SS1 to SSn. Next, in the master station MS, a counter N (for example, provided in the RAM 20)
is set to 1 (step 5102), and a polling signal is sent to the slave station whose number is indicated by this counter N, calling for constant data transmission (step 5103). The slave station that receives the request for constant data transmission determines this in step S4 described above, and transmits the constant data to the master station MS in step S5. Next, the master station MS determines again whether or not the slave stations SS1 to SSn have detected an abnormality in the detected object 1 (step 5IO4). If no abnormality has been detected, the value of the counter N is changed to the value of the counter N in step 5105. Add 1. Next, the master station MS determines whether the value of the counter N exceeds the number n of the final slave station (step 5
IO6). If the value of the counter N does not exceed n, the process returns to step 8103 and the next slave station is requested to transmit data. On the other hand, if the value of the counter N exceeds n, the value of the counter N is returned to 1 (step 5107), and the process returns to step 8103 to repeat the request for data transmission from the first slave station SSI.

(2) 被検出対象1において異常が発生した場合の動
作 この場合の伝送プロトコルが第5図に示される。
(2) Operation when an abnormality occurs in the detected object 1 The transmission protocol in this case is shown in FIG.

第5図では、親局MSが3番目の子局SS3にポーリン
グ信号を送信した後に異常が発生した場合を示している
。ところで、第1図に示す被検出対象1は、ある部分で
異常が発生すると、その異常が他の部分にも即座に波及
するようなものを想定している。そのため、各子局SS
1〜SSnは、はぼ同時に被検出対象1の異常を検知す
る。したがって、各子局SS1〜SSnが異常を検知す
ると同時に異常検知信号を親局MSに送信することとす
ると、送信データの重なりを生じ、親局MSにおいて混
乱を招く。そこで、この実施例では、各子局SSI〜S
Snに対して予め異なる待機時間を定めておき、各子局
SSI〜SSnは異常発生を検知してもすぐには異常検
知信号を送信せずにそれぞれに定められた待機時間だけ
遅れて異常検知信号を親局MSに送るようにしている。
FIG. 5 shows a case where an abnormality occurs after the master station MS transmits a polling signal to the third slave station SS3. By the way, the object to be detected 1 shown in FIG. 1 is assumed to be such that when an abnormality occurs in a certain part, the abnormality immediately spreads to other parts. Therefore, each slave station SS
1 to SSn detect an abnormality in the detection target 1 almost simultaneously. Therefore, if each slave station SS1 to SSn transmits an abnormality detection signal to the master station MS at the same time as it detects an abnormality, the transmitted data will overlap, causing confusion in the master station MS. Therefore, in this embodiment, each slave station SSI~S
Different standby times are determined in advance for Sn, and each slave station SSI to SSn does not immediately transmit an abnormality detection signal even if it detects the occurrence of an abnormality, but detects the abnormality after a delay of the standby time determined for each slave station. The signal is sent to the master station MS.

これによって、データ伝送の重なりを回避することがで
き、親局MSにおける混乱を防止することができる。一
方、親局MSでは、最終子局SSnからの異常検知信号
を受取った後に、各子局SS1〜SSnに対して順番に
異常内容データの伝送要求を送信する。各子局SS1〜
SSnは、親局MSからのデータ伝送要求に応答して、
異常内容データを親局MSに送信する。
This makes it possible to avoid overlapping data transmissions and prevent confusion at the master station MS. On the other hand, after receiving the abnormality detection signal from the final slave station SSn, the master station MS transmits a request to transmit the abnormality content data to each of the slave stations SS1 to SSn in turn. Each slave station SS1~
SSn responds to the data transmission request from the master station MS,
Send the abnormality content data to the master station MS.

次に、第7図および第8図のフローチャートを参照して
、上記動作をさらに詳細に説明する。
Next, the above operation will be explained in more detail with reference to the flowcharts of FIGS. 7 and 8.

まず、子局SSI〜SSnでは、前述のステップS3で
被検出対象1の異常発生が検知されると、ステップS6
に進み、センサ2から取込んだデータの1次処理を行な
う。この1次処理は、異常検知システムがどのような異
常を検知するかに応じて様々に変更され得るが、たとえ
ば平均値や最大値や最小値の演算処理である。このよう
に、子局側でデータに対して1次的な処理を行ない、そ
の処理されたデータを親局MSに送信すれば、親局MS
は既にある程度加工されたデータをもとにデータ処理を
行なえばよいので、そのデータ処理の負担を大幅に軽減
することができる。次に、子局SSI〜SSnは、2種
類のフラグF1およびF2をいずれもOに設定する(ス
テップS7)。フラグF1は、親局MSに対して異常検
知信号の伝送が終了したか否かを確認するために用いら
れ、フラグF2は親局に送信すべき生データの格納が終
了したか否かを確認するために用いられる。これらフラ
グF1およびF2は、いずれもRAMg内の所定のエリ
アに記憶されている。続いて、子局SSI〜SSnは、
上記フラグF1が1にセットされているか否かを判断す
る(ステップS8)。
First, in the slave stations SSI to SSn, when the occurrence of an abnormality in the detected object 1 is detected in the above-mentioned step S3, in step S6
Then, the data taken in from the sensor 2 is subjected to primary processing. This primary processing can be changed in various ways depending on what kind of abnormality the abnormality detection system detects, and is, for example, calculation processing of an average value, maximum value, or minimum value. In this way, if the slave station performs primary processing on the data and sends the processed data to the master station MS, the master station MS
Since data processing can be performed based on data that has already been processed to some extent, the burden of data processing can be significantly reduced. Next, the slave stations SSI to SSn set both of the two types of flags F1 and F2 to O (step S7). Flag F1 is used to check whether transmission of the abnormality detection signal to the master station MS has been completed, and flag F2 is used to check whether storage of raw data to be transmitted to the master station has been completed. used for These flags F1 and F2 are both stored in predetermined areas in RAMg. Subsequently, slave stations SSI to SSn,
It is determined whether the flag F1 is set to 1 (step S8).

最初、フラグF1は〇七なっているので、ステップS9
に進み、異常検知信号を伝送するための待機時間が経過
したか否かが判断される。ここで、この伝送待機時間は
、各子局SSI〜SSnに対して予め個別に定められて
おり、下記の式で表わされる。
Initially, flag F1 is 07, so step S9
Then, it is determined whether the waiting time for transmitting the abnormality detection signal has elapsed. Here, this transmission waiting time is individually determined in advance for each slave station SSI to SSn, and is expressed by the following formula.

t 2+ t 3X (N−,1) 上式において、Nはそ子局の番号を示している。t 2 + t 3X (N-, 1) In the above formula, N indicates the number of the slave station.

したがって、たとえば3番目の子局SS3における伝送
待機時間は、t 2+2X t 3である。この伝送待
機時間が経過していないと判断された場合は、ステップ
S12に進み、フラグF2が1にセットされているか否
かが判断される。最初、フラグF2はOとなっているの
で、ステップS13に進み、データ格納停止までの待機
時間が経過したか否かが判断される。後述するように、
この実施例においては各子局SS1〜SSnは、1次処
理されたデータとともに異常発生前後の生データを親局
MSに送るようにしている。そのため、その生データを
格納するためのエリアがRAMg内に設けられており、
異常発生後ステップS13の待機時間が経過するまでは
当該エリアにセンサ2から得た生データを格納するよう
にしている。なお、RAM5内の当該エリアは、新しい
データが入力されると一番古いデータが消去される構成
となっている。ステップ813において待機時間が経過
していないと判断されると、ステップS17に進み、フ
ラグF1が1にセットされているか否かが判断される。
Therefore, for example, the transmission waiting time at the third slave station SS3 is t2+2Xt3. If it is determined that the transmission standby time has not elapsed, the process advances to step S12, and it is determined whether the flag F2 is set to 1 or not. Initially, the flag F2 is set to O, so the process proceeds to step S13, where it is determined whether the waiting time until the data storage is stopped has elapsed. As described later,
In this embodiment, each of the slave stations SS1 to SSn sends primary processed data as well as raw data before and after the occurrence of an abnormality to the master station MS. Therefore, an area is provided in RAMg to store the raw data.
The raw data obtained from the sensor 2 is stored in the area until the standby time in step S13 elapses after the abnormality occurs. Note that the area in the RAM 5 is configured such that when new data is input, the oldest data is erased. If it is determined in step 813 that the waiting time has not elapsed, the process proceeds to step S17, and it is determined whether the flag F1 is set to 1 or not.

このとき、フラグF1は朱だ0となっているため、再び
ステップS8の動作に戻る。
At this time, since the flag F1 is red and 0, the process returns to step S8 again.

以上述べたステップS8.S9.S12.S13、S1
7の動作を繰返し行なううちに、異常検知信号を伝送す
るまでの待機時間あるいはデータ格納停止までの待機時
間のいずれかが経過する。
Step S8 described above. S9. S12. S13, S1
While the operation 7 is repeated, either the waiting time until the abnormality detection signal is transmitted or the waiting time until the data storage is stopped elapses.

今、異常検知信号の伝送までの待機時間が早く経過し、
そのことがステップS9で判断されたとすると、ステッ
プS10において親局MSに対し異常検知信号を伝送す
る。そして、ステップS11においてフラグF1が1に
セットされる。その後、ステップ512でフラグF2が
朱だ0になっていることが判断され、ステップS17で
フラグF1が1にセットされていることが判断される。
Now, the waiting time until the transmission of the abnormality detection signal has passed quickly,
If this is determined in step S9, an abnormality detection signal is transmitted to the master station MS in step S10. Then, in step S11, flag F1 is set to 1. Thereafter, in step 512, it is determined that the flag F2 is set to zero (red), and in step S17, it is determined that the flag F1 is set to 1.

したがって、ステップS18に進み、フラグF2が1に
セットされているか否かが判断される。このとき、フラ
グF2は朱だ0であるため、再びステップS13の動作
に戻る。したがって、ステップS13、S17.S18
の動作を繰返して行なう。
Therefore, the process advances to step S18, and it is determined whether the flag F2 is set to 1 or not. At this time, since the flag F2 is red and 0, the process returns to step S13 again. Therefore, steps S13, S17. S18
Repeat this action.

この間にデータ格納停止までの待機時間が経過すると、
そのことがステップ313で判断され、ステップS14
に進む。ステップS14では、RAM5上への生データ
の格納が停止される。そして、ステップS15において
、バックアップデータの格納が行なわれる。すなわち、
RAM8の所定のエリアに記憶された異常発生前後の生
データがRAM5上の他のエリアにも書込まれる。この
他のエリアに書込まれた生データは、バックアップデー
タとして使用される。すなわち、異常発生前後の生デー
タが親局MSに送信されて上記所定エリアの記憶データ
がクリアされた後も、上記能のエリアには異常発生前後
の生データが格納されている。したがって、何らかの原
因で親局MSが故障した場合であっても、当該能のエリ
アに格納されているバックアップデータを読出すことに
より、異常発生に対する処置を行なうことができる。ス
テップS15の後、ステップS16に進み、フラグF2
が1にセットされる。そのため、ステップS17および
ステップ818においてフラグF1およびF2のいずれ
もが1にセットされていると判断され、ステップS19
に進む。このステップS19では、親局MSから異常内
容データの伝送要求があったか否かが判断される。この
ステップS19の判断動作は、親局MSからデータ伝送
要求があるまで続けられる。
If the waiting time until data storage stops during this time,
This is determined in step 313, and step S14
Proceed to. In step S14, storage of raw data onto the RAM 5 is stopped. Then, in step S15, backup data is stored. That is,
Raw data before and after the occurrence of an abnormality stored in a predetermined area of RAM 8 is also written to other areas on RAM 5. Raw data written in other areas is used as backup data. That is, even after the raw data before and after the occurrence of an abnormality are transmitted to the master station MS and the stored data in the predetermined area is cleared, the raw data before and after the occurrence of the abnormality are stored in the function area. Therefore, even if the master station MS is out of order for some reason, it is possible to take measures against the abnormality by reading the backup data stored in the area of the function. After step S15, the process advances to step S16, and the flag F2
is set to 1. Therefore, it is determined that flags F1 and F2 are both set to 1 in step S17 and step 818, and step S19
Proceed to. In this step S19, it is determined whether there is a request to transmit abnormality content data from the master station MS. This judgment operation in step S19 is continued until a data transmission request is received from the master station MS.

一方、親局MSでは、いずれかの子局から異常検知信号
を受信すると、ステップ5101あるいは5104にお
いてそのことを判断し、ステップ5108に進む。ステ
ップ8108では、最終子局SSnから異常検知信号の
送信があったか否かを判断する。最終子局SSnからの
異常検知信号を受信するまでこのステップ5108の判
断動作が続けられる。最終子局SSnからの異常検知信
号を受信すると、カウンタNに1を設定しくステップ5
109)、続いてカウンタK(たとえばRAM20内に
設けられている)に1を設定する(ステップS 110
)。次に、親局MSは、ステップ5111において、カ
ウンタNの値で示される番号の子局に対して異常内容デ
ータの伝送要求を発する。
On the other hand, when the master station MS receives an abnormality detection signal from any slave station, it determines this in step 5101 or 5104 and proceeds to step 5108. In step 8108, it is determined whether an abnormality detection signal has been transmitted from the final slave station SSn. The determination operation in step 5108 is continued until the abnormality detection signal is received from the final slave station SSn. When receiving the abnormality detection signal from the final slave station SSn, set the counter N to 1 in step 5.
109), and then sets a counter K (for example, provided in the RAM 20) to 1 (step S110).
). Next, in step 5111, the master station MS issues a request to transmit abnormality content data to the slave station whose number is indicated by the value of the counter N.

上記ステップ5111における異常内容データの伝送要
求に対し、該当の子局は、ステップS19で異常内容デ
ータの伝送要求があったことを判断し、ステップS20
に進む。このステップS20では、前述のステップS6
において1次処理されたデータを親局MSに送信する。
In response to the request to transmit the abnormal content data in step 5111, the corresponding slave station determines in step S19 that there is a request to transmit the abnormal content data, and in step S20
Proceed to. In this step S20, the above-mentioned step S6
The primary processed data is transmitted to the master station MS.

続いて、ステップS21において、RAM5内の所定の
エリアに格納された異常発生前後の生データを親局MS
に送信する。
Subsequently, in step S21, the raw data before and after the occurrence of the abnormality stored in a predetermined area in the RAM 5 is sent to the master station MS.
Send to.

一方、親局MSでは、前述のステップ5111でデータ
伝送要求を発した子局からの異常内容データの伝送が終
了したか否かをステップ5112において判断する。異
常内容データの伝送が終了したと判断すれば、ステップ
5113でカウンタNの値に1を加算し、次の子局に対
して異常内容データの伝送要求を発する。しかし、異常
内容データの伝送要求を発した子局から応答がない場合
は、カウンタにの値に1を加算して(ステップ5116
)、再び同じ子局に対して異常内容データの伝送要求を
発する(ステップ5ill)。同じ子局に対して伝送要
求を10回発しても応答がない場合は、その子局に対し
ては伝送要求を打切り、次の子局に対して伝送要求を発
する(ステップ5115.5113)、最終子局SSn
からの異常内容データの伝送が終了すると、カウンタN
の値がnを越えるため、ステップ5114でそのことが
判断されて再びステップ5101の動作に戻る。
On the other hand, the master station MS determines in step 5112 whether or not the transmission of the abnormality content data from the slave station that issued the data transmission request in step 5111 described above has been completed. If it is determined that the transmission of the abnormal content data has been completed, 1 is added to the value of the counter N in step 5113, and a request to transmit the abnormal content data is issued to the next slave station. However, if there is no response from the slave station that issued the abnormal data transmission request, 1 is added to the value of the counter (step 5116).
), it issues a transmission request for abnormal content data to the same slave station again (step 5ill). If there is no response even after issuing a transmission request to the same slave station 10 times, the transmission request is aborted to that slave station and a transmission request is issued to the next slave station (steps 5115 and 5113). Slave station SSn
When the transmission of the abnormal content data from is completed, the counter N
Since the value of exceeds n, this is determined in step 5114 and the process returns to step 5101 again.

以上のごとく、上記実施例では、異常が発生したとき、
親局MSへは既に子局で1次処理されたデータを送るよ
うにしているため、親局MSにおけるデータ処理のため
の負担を軽減することができる。また、1次処理された
データとともに異常発生前後の生データも送信するよう
にしているため、親局MSではその生データを用いて子
局の判断が正しいか否かといった処理を行なうことがで
きる。したがって、異常検知システムの信頼性を向上さ
せることができる。さらに、各子局SSI〜SSnには
、異常発生前後の生データが親局MSへのデータ伝送終
了後もバックアップデータとして格納されているめ、た
とえ親局MSが故障しても各子局から当該バックアップ
データを読出せば、異常発生に対する処置を行なうこと
ができる。
As described above, in the above embodiment, when an abnormality occurs,
Since data that has already been primarily processed by the slave station is sent to the master station MS, the burden of data processing on the master station MS can be reduced. In addition, since the raw data before and after the occurrence of the abnormality is also transmitted along with the primary processed data, the master station MS can use the raw data to perform processing such as whether the slave station's judgment is correct or not. . Therefore, the reliability of the abnormality detection system can be improved. Furthermore, each slave station SSI to SSn stores the raw data before and after the occurrence of an error as backup data even after the data transmission to the master station MS is completed, so even if the master station MS fails, each slave station By reading the backup data, it is possible to take measures against the occurrence of an abnormality.

次に、この発明の第2の実施例について説明する。Next, a second embodiment of the invention will be described.

この発明の第2の実施例においては、複数の子局S81
〜SSnが、いくつかのグループに分けられている。そ
して、各グループにおいて代表子局が予め定められてい
る。1つのグループを構成する子局同士は、極めて関連
性が強く、成る子局で異常が検知されると他の子局にお
いても必ず異常が検知される。逆にいえば、成る子局で
異常が検知されない場合は、他の子局においても異常が
検知されない。このような関係は、被検出対象1の性質
によってしばしば生じる。たとえば、3相交流の送電線
において、各相の送電線に対し同一の箇所に設けられた
3つの子局間には上記のような関係がある。
In the second embodiment of this invention, a plurality of slave stations S81
~SSn is divided into several groups. A representative slave station for each group is determined in advance. The slave stations that make up one group are highly related to each other, and if an abnormality is detected in one of the slave stations, the abnormality will always be detected in the other slave stations as well. In other words, if no abnormality is detected in one slave station, no abnormality is detected in the other slave stations either. Such a relationship often arises due to the nature of the detected object 1. For example, in a three-phase AC power transmission line, the above relationship exists between three slave stations provided at the same location for each phase of the power transmission line.

第6図は、この発明の第2の実施例における伝送プロト
コルを示す図である。図において、被検出対象1におい
て異常が発生すると、各グループの代表子局のみが異常
検知信号を親局MSに送信する。また、異常を検知しな
かった代表子局は異常検知信号を親局MSに送信しない
(第6図ではグループNo、2における代表子局5S4
)。各グループからの異常検知信号の送信が終了すると
、今度は親局MSが各子局に対して異常内容データの伝
送要求を発する。このとき、親局MSは各子局の番号順
次に異常内容データの伝送要求を発するが、異常検知信
号の送信がなかったグループの子局に対しては異常内容
データの伝送要求を行なわない。一方、上記異常内容の
データ伝送要求を受取った子局は親局MSに対して異常
内容データを送信する。以上のごとく、この発明の第2
の実施例においては、各グループの代表子局のみに異常
検知信号の送信を行なわせ、しかも異常検知信号の送信
がなかったグループに対しては異常内容データの伝送要
求を行なわないので、異常発生から親局MSがデータの
収集を終了するまでに要する時間を短縮化することがで
きる。
FIG. 6 is a diagram showing a transmission protocol in a second embodiment of the invention. In the figure, when an abnormality occurs in the detected target 1, only the representative slave station of each group transmits an abnormality detection signal to the master station MS. In addition, the representative slave station that has not detected an abnormality does not transmit an abnormality detection signal to the master station MS (in FIG. 6, the representative slave station 5S4 in group No. 2
). When the transmission of the abnormality detection signal from each group is completed, the master station MS issues a request to each slave station to transmit the abnormality content data. At this time, the master station MS issues a request to transmit abnormality content data to each slave station in numerical order, but does not request transmission of abnormality content data to the slave stations in the group to which no abnormality detection signal has been transmitted. On the other hand, the slave station that has received the data transmission request for the abnormality content transmits the abnormality content data to the master station MS. As mentioned above, the second aspect of this invention
In the embodiment described above, only the representative slave station of each group is made to transmit an abnormality detection signal, and a request to transmit abnormality content data is not made to groups to which no abnormality detection signal has been transmitted, so that an abnormality does not occur. The time required for the master station MS to finish collecting data can be shortened.

以下には、上記第2の実施例の構成および動作について
さらに詳細に説明する。
The configuration and operation of the second embodiment will be explained in more detail below.

まず、この発明の第2の実施例におけるハード回路の構
成は、前述した第1の実施例におけるハード回路の構成
(第1図〜第3図)と同様である。
First, the configuration of the hardware circuit in the second embodiment of the present invention is similar to the configuration of the hardware circuit in the first embodiment described above (FIGS. 1 to 3).

しかし、この発明の他の実施例においては、各子局のR
OM7に格納された動作プログラムおよび親局のROM
19に格納された動作プログラムが、前述した第1の実
施例と異なっている。第9図は、この発明の第2の実施
例における親局MSの動作を示すフローチャートである
。一方、この発明の第2の実施例における各子局SS1
〜SSnにおける動作は、前述した第1の実施例の各子
局の動作(第7図参照)とほぼ同様である。ただし、こ
の発明の第2の実施例においては、第7図のステップS
6と87との間に点線で示す判断ステップS22が追加
されている。以下には、判断ステップS22が追加され
た第7図のフローチャートおよび第9図のフローチャー
トを参照して、この発明の第2の実施例の動作を説明す
る。
However, in other embodiments of the invention, each slave station's R
Operation program stored in OM7 and ROM of master station
The operating program stored in 19 is different from that of the first embodiment described above. FIG. 9 is a flowchart showing the operation of the master station MS in the second embodiment of the invention. On the other hand, each slave station SS1 in the second embodiment of the present invention
The operations in ~SSn are almost the same as the operations of each slave station in the first embodiment described above (see FIG. 7). However, in the second embodiment of this invention, step S in FIG.
A judgment step S22 indicated by a dotted line is added between 6 and 87. The operation of the second embodiment of the present invention will be described below with reference to the flowchart of FIG. 7 and the flowchart of FIG. 9 to which the judgment step S22 is added.

(1) 被検出対象1において異常が発生していない場
合の動作 この場合、各子局SS1〜SSnおよび親局MSの動作
は、前述した第1の実施例と全く同様である。すなわち
、各子局SSI〜SSnにおいては、第7図のステップ
81〜S5の動作が行なわれ、親局MSにおいては、第
9図のステップ8101〜5107の動作が行なわれる
。なお、第9図において第8図と同様の動作を実行する
ステップには第8図と同一のステップ番号を示しである
(1) Operation when no abnormality occurs in the detected object 1 In this case, the operations of each of the slave stations SS1 to SSn and the master station MS are exactly the same as in the first embodiment described above. That is, in each of the slave stations SSI to SSn, the operations of steps 81 to S5 in FIG. 7 are performed, and in the master station MS, the operations of steps 8101 to 5107 in FIG. 9 are performed. Note that in FIG. 9, the same step numbers as in FIG. 8 are shown for steps that perform the same operations as in FIG. 8.

(2) 被検出対象1において異常が発生した場合の動
作 この場合、各子局SSI〜SSnは、ステップS6にお
いてセンサ2から得たデータの1次処理を行なった後、
ステップS22において自局がそのグループの代表子局
に定められているか否かを判断する。もし、自局がその
グループの代表子局に定められている場合は、前述した
第1の実施例と同様に、ステップ87〜S18の動作(
親局MSへの異常検知信号の送信、生データの格納停止
およびバックアップデータの格納)を行ない、ステップ
S19において親局MSからの異常内容データの伝送要
求を待機する。一方、自局がそのグループの代表子局に
定められていない場合は、ステップS7〜SIOの動作
をスキップして、ステップSll〜S18の動作を行な
い、ステップS19において親局MSからの異常内容デ
ータの伝送要求を待機する。すなわち、この場合は親局
MSに対して異常検知信号の送信を行なわず、生データ
の格納停止およびバックアップデータの格納動作のみを
行なう。
(2) Operation when an abnormality occurs in the detected object 1 In this case, each slave station SSI to SSn performs the primary processing of the data obtained from the sensor 2 in step S6, and then
In step S22, it is determined whether the local station is designated as the representative slave station of the group. If the own station is determined to be the representative slave station of the group, the operations in steps 87 to S18 (
(transmission of an abnormality detection signal to the master station MS, stopping storage of raw data, and storing backup data), and waits for a request to transmit abnormality content data from the master station MS in step S19. On the other hand, if the own station is not determined as the representative slave station of the group, the operations of steps S7 to SIO are skipped, the operations of steps Sll to S18 are performed, and the abnormal content data from the master station MS is sent in step S19. Wait for a transmission request. That is, in this case, no abnormality detection signal is transmitted to the master station MS, and only the raw data storage stop and backup data storage operations are performed.

一方、親局MSでは、いずれかのグループの代表子局か
ら異常検知信号が送信されてくると、最終グループの代
表子局から異常検知信号が送信されてくるまで、あるい
は最終グループの代表子局が異常検知信号を伝送するた
めに割当てられた時間が経過するまで待機する(ステッ
プ5201゜5202)。ここで、各グループの代表子
局は、異常発生後予め定められた時間が経過すると異常
検知信号を親局MSに送信するように構成されている。
On the other hand, in the master station MS, when an abnormality detection signal is transmitted from the representative slave station of any group, the master station MS waits until the abnormality detection signal is transmitted from the representative slave station of the final group, or until the representative slave station of the final group waits until the time allotted for transmitting the abnormality detection signal has elapsed (steps 5201 and 5202). Here, the representative slave station of each group is configured to transmit an abnormality detection signal to the master station MS when a predetermined time has elapsed after the occurrence of an abnormality.

たとえば、グループNo、1の代表子局は異常が発生し
てから時間t2経過後に異常検知信号を送信する。また
、グループNo、2の代表子局は異常が発生してから時
間t2+t3経過後に異常検知信号を送信する。さらに
、最終グループNo。
For example, the representative slave station of group No. 1 transmits the abnormality detection signal after time t2 has elapsed since the occurrence of the abnormality. Further, the representative slave station of group No. 2 transmits an abnormality detection signal after time t2+t3 has elapsed since the occurrence of the abnormality. Furthermore, the final group no.

mの代表子局は、異常が発生してから時間t2+t3X
(m−1)経過後に異常検知信号を送信する。したがっ
て、ステップ5202では、この時間t 2+t 3X
 (m−1)が経過したか否かが判断される。ステップ
5201において最終グループの代表子局から異常検知
信号の送信があったことが判断された場合、あるいはス
テップ5202において最終グループの代表子局が異常
検知信号を伝送するまでの時間が経過したことが判断さ
れた場合は、ステップ8203に進み、カウンタGN(
たとえば、第3図のRAM20内に設けられる)に1を
設定する。このカウンタGNは、グループ番号を示すた
めのカウンタである。続いて、ステップ5204に進み
、カウンタGNで示される番号のグループは、その代表
子局から異常検知信号の送信があったグループであるか
否かが判断される。もし、そのグループの代表子局から
異常検知信号の送信があった場合は、ステップ5205
に進み、カウンタNおよびKに1が設定される。
The representative slave station of m has a time of t2+t3X after the abnormality occurs.
(m-1) Send an abnormality detection signal after the elapse of time. Therefore, in step 5202, this time t 2+t 3X
It is determined whether (m-1) has elapsed. If it is determined in step 5201 that an abnormality detection signal has been transmitted from the representative slave station of the final group, or if it is determined in step 5202 that the time has elapsed until the representative slave station of the final group transmits the abnormality detection signal. If it is determined, the process advances to step 8203 and the counter GN (
For example, 1 is set to 1 (provided in the RAM 20 in FIG. 3). This counter GN is a counter for indicating a group number. Next, the process proceeds to step 5204, where it is determined whether the group indicated by the counter GN is a group to which an abnormality detection signal has been transmitted from its representative slave station. If an abnormality detection signal is transmitted from the representative slave station of the group, step 5205
Then, counters N and K are set to 1.

次に、ステップ5206において、親局MSは子局に対
して異常内容データの伝送要求を発する。
Next, in step 5206, the master station MS issues a request to the slave station to transmit abnormality content data.

このとき、親局MSが伝送要求を発する子局は、カウン
タGNで示される番号のグループに属する子局であって
、かつカウンタNで示される番号の子局である。
At this time, the slave station to which the master station MS issues a transmission request is a slave station belonging to the group with the number indicated by the counter GN, and is also the slave station with the number indicated by the counter N.

上記ステップ5206における親局からのデータの伝送
要求に応答して、該当の子局では第7図で示されるよう
に、ステップS20およびS21において異常内容デー
タを親局MSに送信する。
In response to the data transmission request from the master station in step 5206, the corresponding slave station transmits abnormality content data to the master station MS in steps S20 and S21, as shown in FIG.

このとき送信される異常内容データは、センサ2から得
たデータを1次処理した結果と、異常発生前後の生デー
タとである。
The abnormality content data transmitted at this time is the result of primary processing of the data obtained from the sensor 2 and the raw data before and after the occurrence of the abnormality.

一方、親局MSでは、該当の子局からのデータ伝送が終
了したことをステップ5207で判断すると、ステップ
5208に進み、次の番号の子局対して異常内容データ
の伝送を呼掛けるためにカウンタNの値を更新する。次
に、ステップ5IO9において、そのときカウンタGN
で示される番号のグループにおけるすべての子局らの異
常内容データの伝送が完了したか否か、すなわちカウン
タNの値がそのグループの最大子局番号を越えたか否か
が判断される。そのグループにおけるすべての子局から
のデータ伝送が完了していない場合、すなわちカウンタ
Nの値がそのグループの最大子局番号を越えていない場
合は、再びステップ8206〜5208の動作が繰返さ
れる。なお、同一の子局に対し異常内容データの伝送要
求を10回行なったにもかかわらずその子局から何の返
答もない場合は、その子局に対する伝送要求が打切られ
、カウンタNの値が更新される。すなわち、異常内容デ
ータの伝送を発したにもかかわらずその子局からのデー
タ伝送が終了しない場合はステップ5211においてカ
ウンタにの値が更新され、ステップ5210においてこ
のカウンタにの値が10を越えたと判断された場合はス
テップ5208に進む。ステップ5209において、カ
ウンタGNで示されるグループ内のすべての子局からの
データ伝送の完了が判断されると、ステップ5212に
進み、カウンタGNの値に1が加算される。
On the other hand, when the master station MS determines in step 5207 that the data transmission from the corresponding slave station has been completed, the process proceeds to step 5208, and the master station MS starts the counter in order to call the next numbered slave station to transmit the abnormal content data. Update the value of N. Next, in step 5IO9, the counter GN
It is determined whether transmission of the abnormal content data from all the slave stations in the group numbered by is completed, that is, whether the value of the counter N exceeds the maximum slave station number of the group. If data transmission from all the slave stations in the group is not completed, that is, if the value of counter N does not exceed the maximum slave station number in the group, the operations of steps 8206 to 5208 are repeated again. Furthermore, if there is no response from the same slave station even after 10 requests to transmit abnormality data to the same slave station, the transmission request to that slave station is aborted and the value of counter N is updated. Ru. That is, if the data transmission from the slave station does not end even though the transmission of abnormal content data has been issued, the value in the counter is updated in step 5211, and it is determined in step 5210 that the value in this counter exceeds 10. If so, proceed to step 5208. In step 5209, when it is determined that data transmission from all slave stations in the group indicated by counter GN has been completed, the process proceeds to step 5212, where 1 is added to the value of counter GN.

これによって、データ収集の対象となるグループが次の
グループに移行する。続いて、ステップ8213におい
てすべてのグループからのデータ収集が完了したか否か
が判断される。すなわち、カウンタGNの値が最終グル
ープの番号mを越えたか否かが判断される。すべてのグ
ループからのデータ伝送が完了していない場合、すなわ
ちカウンタGNの値がm以下の場合は、再び順204〜
5212の動作が繰返される。なお、カウンタGNで示
された番号のグループの代表子局からは異常検知信号を
受信していないとステップ5204で判断された場合は
、ステップ8205〜5209の動作をスキップし、直
ちにステップ5212においてカウンタGNの値が更新
される。すなわち、そのグループからはデータ収集のた
めの処理を行なわず、すぐに次のグループへと移行する
。これによって、データ収集に要する時間を短縮化する
ことができる。ステップ8213においてすべてのグル
ープからのデータ伝送が完了したと判断した場合、すな
わちカウンタGNの値がmを越えたと判断した場合は、
最初のステップ5101に戻り、以上説明した一連の動
作と同様の動作を繰返す。
As a result, the group targeted for data collection moves to the next group. Subsequently, in step 8213, it is determined whether data collection from all groups has been completed. That is, it is determined whether the value of the counter GN exceeds the final group number m. If data transmission from all groups is not completed, that is, if the value of the counter GN is less than or equal to m, the order 204 to
The operation of 5212 is repeated. Note that if it is determined in step 5204 that an abnormality detection signal has not been received from the representative slave station of the group with the number indicated by counter GN, the operations of steps 8205 to 5209 are skipped, and the counter is immediately returned to step 5212. The value of GN is updated. That is, no processing for data collection is performed from that group, and the process immediately moves to the next group. Thereby, the time required for data collection can be shortened. If it is determined in step 8213 that data transmission from all groups has been completed, that is, if it is determined that the value of the counter GN has exceeded m,
Returning to the first step 5101, the same series of operations as described above are repeated.

[発明の効果] 以上のように、この発明によれば、各子局あるいは各グ
ループの代表子局は、被検出体の異常を検知してもすぐ
には異常検知信号を親局には送らず、各子局別あるいは
各グループ別に予め定められた所定時間待機した後に異
常検知信号を親局に伝送するようにしているので、伝送
型なりを防ぐことができ、親局での混乱を回避すること
ができる。
[Effects of the Invention] As described above, according to the present invention, each slave station or the representative slave station of each group does not immediately send an abnormality detection signal to the master station even if it detects an abnormality in the detected object. First, the abnormality detection signal is transmitted to the master station after waiting for a predetermined period of time for each slave station or for each group, which prevents transmission type errors and avoids confusion at the master station. can do.

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

第1図は、この発明の第1の実施例および第2の実施例
による異常検知システムの全体構成を示すブロック図で
ある。 第2図は、第1図に示す各子局の構成を示すブロック図
である。 第3図は、第1図に示す親局の構成を示すブロック図で
ある。 第4図および第5図は、この発明の第1の実施例におけ
る伝送プロトコルを示す図である。 第6図は、この発明の第2の実施例における伝送プロト
コルを示す図である。 第7図は、この発明の第1の実施例および第2の実施例
の子局における動作を説明するためのフローチャートで
ある。 第8図は、この発明の第1の実施例における親局の動作
を説明するためのフローチャートである。 第9図は、この発明の第2の実施例における親局の動作
を説明するためのフローチャートである。 図において、1は被検出対象、SSI〜SSnは子局、
MSは親局、2はセンサ、3はサンプルホールド回路、
4はマルチプレクサ、5はA/D変換器、6および18
はCPU、7および19はROM、8および20はRA
M、9はタイマ、10.17および22はシリアル入出
力回路、11および16は送受信モジュール、12およ
び15はアンテナ、21は表示部、23はデータ伝送装
置を示す。 第1図 第3 図
FIG. 1 is a block diagram showing the overall configuration of an abnormality detection system according to a first embodiment and a second embodiment of the present invention. FIG. 2 is a block diagram showing the configuration of each slave station shown in FIG. 1. FIG. 3 is a block diagram showing the configuration of the master station shown in FIG. 1. FIGS. 4 and 5 are diagrams showing the transmission protocol in the first embodiment of the invention. FIG. 6 is a diagram showing a transmission protocol in a second embodiment of the invention. FIG. 7 is a flowchart for explaining the operation in the slave station of the first embodiment and the second embodiment of the present invention. FIG. 8 is a flowchart for explaining the operation of the master station in the first embodiment of the invention. FIG. 9 is a flowchart for explaining the operation of the master station in the second embodiment of the invention. In the figure, 1 is the target to be detected, SSI to SSn are slave stations,
MS is the master station, 2 is the sensor, 3 is the sample hold circuit,
4 is a multiplexer, 5 is an A/D converter, 6 and 18
is CPU, 7 and 19 are ROM, 8 and 20 are RA
M, 9 is a timer, 10, 17 and 22 are serial input/output circuits, 11 and 16 are transmitting/receiving modules, 12 and 15 are antennas, 21 is a display section, and 23 is a data transmission device. Figure 1 Figure 3

Claims (4)

【特許請求の範囲】[Claims] (1)被検出体の異常を検知する複数の子局と、これら
各子局とデータ伝送可能にリンクされ各子局からのデー
タを収集する親局とを備える異常検知システムであって
、 前記各子局は、前記被検出体の異常発生を検知したとき
、各子局別に予め定められた所定時間経過後に前記親局
に異常検知信号を伝送することを特徴とする、異常検知
システム。
(1) An abnormality detection system comprising a plurality of slave stations that detect an abnormality in a detected object, and a master station that is linked to each of these slave stations for data transmission and collects data from each slave station, the system comprising: An abnormality detection system characterized in that, when each slave station detects the occurrence of an abnormality in the detected object, it transmits an abnormality detection signal to the master station after a predetermined time period predetermined for each slave station has elapsed.
(2)前記親局は、前記各子局から前記異常検知信号を
受取った後、各子局順次にデータの伝送要求を発し、 前記各子局は前記親局からの前記データ伝送要求に応答
して前記被検出体の異常内容を示すデータを前記親局に
伝送する、特許請求の範囲第1項記載の異常検知システ
ム。
(2) After receiving the abnormality detection signal from each slave station, the master station issues a data transmission request to each slave station in sequence, and each slave station responds to the data transmission request from the master station. The abnormality detection system according to claim 1, wherein the abnormality detection system transmits data indicating details of the abnormality of the detected object to the master station.
(3)被検出体の異常を検知する複数の子局と、これら
各子局とデータ伝送可能にリンクされ各子局からのデー
タを収集する親局とを備える異常検知システムであって
、 前記各子局は予めグループ分けされ、かつ各グループに
対して1個の代表子局が定められており、前記各グルー
プの代表子局は前記被検出体の異常発生を検知したとき
、各グループ別に定められた所定時間経過後に前記親局
に異常検知信号を伝送することを特徴とする、異常検知
システム。
(3) An abnormality detection system comprising a plurality of slave stations that detect an abnormality in a detected object, and a master station that is linked to each of these slave stations so that data can be transmitted and collects data from each slave station, comprising: Each slave station is divided into groups in advance, and one representative slave station is determined for each group, and when the representative slave station of each group detects the occurrence of an abnormality in the detected object, it An abnormality detection system, characterized in that an abnormality detection signal is transmitted to the master station after a predetermined period of time has elapsed.
(4)前記親局は、前記各グループの代表子局から異常
検知信号を受取った後、当該異常検知信号を発した代表
子局の属するグループ内の各子局に対してのみ順次的に
データの伝送要求を発し、前記データ伝送要求を受取っ
た各子局は、当該データ伝送要求に応答して前記被検出
体の異常内容を示すデータを前記親局に伝送する、特許
請求の範囲第3項記載の異常検知システム。
(4) After receiving the abnormality detection signal from the representative slave station of each group, the master station sequentially transmits data only to each slave station in the group to which the representative slave station that issued the abnormality detection signal belongs. Claim 3: Each slave station that has issued a transmission request and received the data transmission request transmits data indicating the content of the abnormality of the detected object to the master station in response to the data transmission request. Anomaly detection system described in section.
JP1005679A 1989-01-12 1989-01-12 Abnormality detection system Pending JPH02184997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1005679A JPH02184997A (en) 1989-01-12 1989-01-12 Abnormality detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1005679A JPH02184997A (en) 1989-01-12 1989-01-12 Abnormality detection system

Publications (1)

Publication Number Publication Date
JPH02184997A true JPH02184997A (en) 1990-07-19

Family

ID=11617781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1005679A Pending JPH02184997A (en) 1989-01-12 1989-01-12 Abnormality detection system

Country Status (1)

Country Link
JP (1) JPH02184997A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5914092A (en) * 1982-07-15 1984-01-24 ニツタン株式会社 Centralized abnormal monitor system
JPS59220897A (en) * 1983-05-30 1984-12-12 ホーチキ株式会社 Monitor
JPS6380398A (en) * 1986-09-24 1988-04-11 松下電器産業株式会社 Security apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5914092A (en) * 1982-07-15 1984-01-24 ニツタン株式会社 Centralized abnormal monitor system
JPS59220897A (en) * 1983-05-30 1984-12-12 ホーチキ株式会社 Monitor
JPS6380398A (en) * 1986-09-24 1988-04-11 松下電器産業株式会社 Security apparatus

Similar Documents

Publication Publication Date Title
JP3785137B2 (en) Measurement information transmitting apparatus and multi-point measurement information collecting system
JPH02184997A (en) Abnormality detection system
JPH02184996A (en) Abnormality detection system
JP2002352368A (en) Equipment monitoring system
JP2007249759A (en) Monitoring system
JPH04260242A (en) Monitor information collecting system
JPH01208096A (en) Measured value collecting system in measurement control system
JP4102991B2 (en) Communication control device
CN116881065B (en) Bus transmission delay detection module, circuit and method
JPH0368584B2 (en)
JPS59226998A (en) Data transmitter
JP4003570B2 (en) Alarm collection system and alarm collection method
JPH0458181A (en) Decentralized processing type radiation monitor system
JP2914403B2 (en) Redundant transmission line system
JPS63213039A (en) Fault analysis system for diagnosing device
JPH0365897A (en) Analog data collection device
JPH04144446A (en) Device for collecting alarm information
JPH03141798A (en) Telemetering device
JPH02308345A (en) Data gathering method for terminal equipment
JPH04329098A (en) Remote monitor
JPS5836366B2 (en) Signal input channel failure detection method
JPH02151196A (en) Line monitor method by polling
JPH04273796A (en) System for collecting device feature information
JPS60696B2 (en) Automatic diagnosis method for distributed bus control system
JPH02226438A (en) Diagnostic control system