JPH10207745A - Method for confirming inter-processor existence - Google Patents

Method for confirming inter-processor existence

Info

Publication number
JPH10207745A
JPH10207745A JP9011565A JP1156597A JPH10207745A JP H10207745 A JPH10207745 A JP H10207745A JP 9011565 A JP9011565 A JP 9011565A JP 1156597 A JP1156597 A JP 1156597A JP H10207745 A JPH10207745 A JP H10207745A
Authority
JP
Japan
Prior art keywords
processor
illumination
signal
control device
time
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
JP9011565A
Other languages
Japanese (ja)
Inventor
Hideki Fujimura
英樹 藤村
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP9011565A priority Critical patent/JPH10207745A/en
Publication of JPH10207745A publication Critical patent/JPH10207745A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inter-processor existence confirmation method in which a master process can exactly detect the runaway or fault of a slave processor. SOLUTION: Illumination controllers 2... control and monitor connected illumination loads 3.... The plural illumination controllers 2 are connected through a transmitting medium 4 with an illumination supervision controller 1, and the illumination supervision controller 1 centralizedly monitors the tuning-on states of the illumination loads 3... based on a monitor signal transmitted from each illumination controller 2.... In this case, each time a prescribed transmission interval passes, the illumination supervision controller 1 transmit an existence confirmation signal to the illumination controller 2, and the illumination controller 2 which receives this existence confirmation signal returns a prescribed response signal to the illumination supervision controller 1. The illumination supervision controller 1 judges that abnormality such as runaway or fault is generated in the illumination controller 2 when the arbitrary signal is not received from the illumination controller 2 in a period longer than a prescribed abnormality judging time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、マスタプロセッサ
が、該マスタプロセッサに伝送媒体を介して接続された
スレーブプロセッサの動作を確認するためのプロセッサ
間生存確認方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-processor survival confirmation method for a master processor to confirm the operation of a slave processor connected to the master processor via a transmission medium.

【0002】[0002]

【従来の技術】従来、マスタプロセッサとスレーブプロ
セッサとが伝送媒体を介して接続されたシステムでは、
以下のようなプロセッサ間生存確認方法を用いて、マス
タプロセッサがスレーブプロセッサの動作を確認してい
た。まず、マスタプロセッサがスレーブプロセッサに対
して動作確認用の生存確認信号を送信し、生存確認信号
を送信した時点から所定の異常判断時間が経過する迄
に、該スレーブプロセッサから生存確認信号に対する所
定の応答信号を受信すれば、マスタプロセッサは該スレ
ーブプロセッサの動作が正常であると判断し、異常判断
時間内に応答信号を受信できなければ、マスタプロセッ
サは該スレーブプロセッサに暴走や故障などの異常が発
生したと判断していた(特開平5−181760号公報
参照)。
2. Description of the Related Art Conventionally, in a system in which a master processor and a slave processor are connected via a transmission medium,
The master processor has confirmed the operation of the slave processor by using the following inter-processor survival confirmation method. First, the master processor transmits a survival confirmation signal for operation confirmation to the slave processor, and from the time when the survival confirmation signal is transmitted until a predetermined abnormality determination time elapses, a predetermined response to the survival confirmation signal from the slave processor is performed. If a response signal is received, the master processor determines that the operation of the slave processor is normal. If the response signal cannot be received within the abnormality determination time, the master processor determines that the slave processor has an abnormality such as runaway or failure. It was determined that this occurred (see JP-A-5-181760).

【0003】[0003]

【発明が解決しようとする課題】上述のプロセッサ間生
存確認方法では、マスタプロセッサがスレーブプロセッ
サに生存確認信号を送信した時点で、スレーブプロセッ
サが応答信号以外の任意の信号を長時間連続的に送信し
なければならないような過負荷状態にある場合、スレー
ブプロセッサからマスタプロセッサへ応答信号を返送す
るのが遅れ、異常判断時間内に応答信号を返送できない
ことがあり、スレーブプロセッサは正常に動作している
にもかかわらず、マスタプロセッサは該スレーブプロセ
ッサに異常が発生したと誤検出するという問題点があっ
た。
In the above-described inter-processor survival confirmation method, when the master processor transmits the survival confirmation signal to the slave processor, the slave processor continuously transmits an arbitrary signal other than the response signal for a long time. If the slave processor is in an overload condition, it is necessary to return the response signal from the slave processor to the master processor, and the response signal may not be returned within the abnormality determination time. However, the master processor erroneously detects that an abnormality has occurred in the slave processor.

【0004】また、スレーブプロセッサが異常判断時間
内に応答信号を返送できたとしても、応答信号の返送が
遅れ、マスタプロセッサがスレーブプロセッサの動作を
確認するまでに時間がかかるという問題点もあった。と
ころで、スレーブプロセッサが過負荷状態にある場合
に、応答信号の遅れによってマスタプロセッサがスレー
ブプロセッサの異常を誤検出するのを防止するために、
応答信号の遅れを考慮して異常判断時間を長めに設定す
ることが考えられる。例えば、マスタプロセッサがスレ
ーブプロセッサに対して1分おきに生存確認信号を出力
する場合、異常判断時間を5分に設定し、マスタプロセ
ッサが生存確認信号を送信してから5分以内に応答信号
を受信すれば、マスタプロセッサはスレーブプロセッサ
の動作が正常であると判断する。このように、異常判断
時間に余裕時間を持たせることによって、応答信号が多
少遅れても、マスタプロセッサがスレーブプロセッサの
異常を誤検出することは無くなるが、異常判断時間に余
裕時間を持たせたために、スレーブプロセッサの異常を
検出するまでに時間がかかるという問題点があった。ま
た、異常判断時間を長めに設定しているにもかかわら
ず、さらに応答信号が遅れた場合には、やはり、マスタ
プロセッサがスレーブプロセッサの異常を誤検出すると
いう問題点もあった。
Further, even if the slave processor can return the response signal within the abnormality determination time, there is a problem that the return of the response signal is delayed and it takes time for the master processor to confirm the operation of the slave processor. . By the way, when the slave processor is in an overloaded state, in order to prevent the master processor from erroneously detecting an abnormality in the slave processor due to a delay in the response signal,
It is conceivable to set the abnormality determination time longer in consideration of the delay of the response signal. For example, when the master processor outputs a survival confirmation signal to the slave processor every other minute, the abnormality determination time is set to 5 minutes, and a response signal is sent within 5 minutes after the master processor transmits the survival confirmation signal. If received, the master processor determines that the operation of the slave processor is normal. As described above, by providing a margin for the abnormality determination time, even if the response signal is slightly delayed, the master processor does not erroneously detect the abnormality of the slave processor, but the abnormality determination time has a margin. In addition, there is a problem that it takes time to detect an abnormality of the slave processor. In addition, when the response signal is further delayed even though the abnormality determination time is set to be longer, there is also a problem that the master processor erroneously detects the abnormality of the slave processor.

【0005】本発明は上記問題点に鑑みて為されたもの
であり、請求項1の発明の目的は、スレーブプロセッサ
が過負荷状態となった場合でも、スレーブプロセッサの
異常を誤検出することなく、確実に検出することのでき
るプロセッサ間生存確認方法を提供するにある。また、
請求項2の発明の目的は、スレーブプロセッサに異常が
発生してから、マスタプロセッサがその異常発生を検出
する迄の時間を短縮したプロセッサ間生存確認方法を提
供するにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to prevent the slave processor from erroneously detecting an abnormality in the slave processor even when the slave processor is overloaded. Another object of the present invention is to provide a method for confirming the existence between processors which can be reliably detected. Also,
It is an object of the present invention to provide an inter-processor survival confirmation method in which the time from when an abnormality occurs in a slave processor to when the master processor detects the occurrence of the abnormality is reduced.

【0006】[0006]

【課題を解決するための手段】請求項1の発明では、上
記目的を達成するために、マスタプロセッサとスレーブ
プロセッサとが伝送媒体を介して接続され、マスタプロ
セッサは所定時間が経過する毎にスレーブプロセッサに
動作確認用の生存確認信号を送信するとともに、生存確
認信号を受信したスレーブプロセッサはマスタプロセッ
サに対して所定の応答信号を返送するプロセッサ間生存
確認方法において、生存確認信号の送信間隔よりも長い
所定の異常判断時間、マスタプロセッサがスレーブプロ
セッサより応答信号を含む意味のある信号を受信しなか
った場合、マスタプロセッサはスレーブプロセッサに異
常が発生したと判断している。なお、意味のある信号と
は、その時点でスレーブプロセッサからマスタプロセッ
サへ送信されてもおかしくない信号を示す。
According to the first aspect of the present invention, to achieve the above object, a master processor and a slave processor are connected via a transmission medium, and the master processor is connected to the slave processor every time a predetermined time elapses. In the inter-processor survival confirmation method of transmitting a survival confirmation signal for operation confirmation to the processor and returning a predetermined response signal to the master processor after receiving the survival confirmation signal, the slave processor may be configured to transmit the survival confirmation signal longer than the transmission interval of the survival confirmation signal. If the master processor does not receive a meaningful signal including the response signal from the slave processor for a long predetermined abnormality determination time, the master processor determines that an abnormality has occurred in the slave processor. Note that the meaningful signal indicates a signal that may not be transmitted from the slave processor to the master processor at that time.

【0007】ところで、送信間隔が経過する度にマスタ
プロセッサはスレーブプロセッサへ生存確認信号を送信
しているので、スレーブプロセッサの動作が正常であれ
ば、スレーブプロセッサは少なくとも送信間隔毎にマス
タプロセッサへ応答信号を返送する。一方、スレーブプ
ロセッサが過負荷状態になった場合、スレーブプロセッ
サからマスタプロセッサへ返送される応答信号が大幅に
遅れることはあっても、スレーブプロセッサからマスタ
プロセッサへ送信される信号の間隔が送信間隔よりも長
くなることはない。
Since the master processor sends a survival confirmation signal to the slave processor every time the transmission interval elapses, if the operation of the slave processor is normal, the slave processor responds to the master processor at least every transmission interval. Send back signal. On the other hand, when the slave processor is overloaded, the response signal returned from the slave processor to the master processor may be significantly delayed, but the interval between signals transmitted from the slave processor to the master processor is longer than the transmission interval. Is never too long.

【0008】請求項1の発明では、異常判断時間を送信
間隔よりも長い時間に設定し、スレーブプロセッサから
マスタプロセッサへ送信される意味のある信号の時間間
隔がこの異常判断時間よりも長くなることから、マスタ
プロセッサはスレーブプロセッサの異常を検出している
ので、スレーブプロセッサが過負荷状態となり、スレー
ブプロセッサから返送される応答信号が遅れた場合で
も、マスタプロセッサがスレーブプロセッサの異常を誤
検出することがなく、確実にスレーブプロセッサの動作
を検出することができる。
According to the present invention, the abnormality determination time is set to be longer than the transmission interval, and the time interval of a meaningful signal transmitted from the slave processor to the master processor is longer than the abnormality determination time. Since the master processor has detected an abnormality in the slave processor, the master processor may incorrectly detect an abnormality in the slave processor even if the slave processor is overloaded and the response signal returned from the slave processor is delayed. Therefore, the operation of the slave processor can be reliably detected.

【0009】請求項2の発明では、請求項1の発明にお
いて、異常判断時間が、送信間隔に、送信間隔と比べて
非常に短い余裕時間を加えた時間に設定されているの
で、スレーブプロセッサに異常が発生してから、マスタ
プロセッサが該スレーブプロセッサの異常発生を検出す
るまでの時間を、送信間隔よりも僅かに長い時間とする
ことができる。
According to the second aspect of the present invention, in the first aspect of the present invention, the abnormality determination time is set to a time obtained by adding a very short margin time to the transmission interval to the transmission interval. The time from the occurrence of the abnormality until the master processor detects the occurrence of the abnormality in the slave processor can be set to a time slightly longer than the transmission interval.

【0010】[0010]

【発明の実施の形態】本発明の実施の形態を図面を参照
して説明する。 (実施形態1)本実施形態のプロセッサ間生存確認方法
は、図1に示すような、複数の照明負荷3…が夫々接続
された複数のスレーブプロセッサたる照明制御装置2…
と、複数の照明制御装置2…が伝送媒体4を介して接続
されるとともに各照明制御装置2…の動作を監視するマ
スタプロセッサたる照明監視制御装置1とから構成され
る照明監視制御システムに適用される。
Embodiments of the present invention will be described with reference to the drawings. (Embodiment 1) The inter-processor survival confirmation method of the present embodiment employs a lighting control device 2 as a plurality of slave processors to which a plurality of lighting loads 3 are connected, as shown in FIG.
And a plurality of lighting control devices 2... Connected via a transmission medium 4 and a lighting monitoring control system 1 serving as a master processor that monitors the operation of each lighting control device 2. Is done.

【0011】照明制御装置2…は夫々接続されている照
明負荷3…の制御及び監視を行い、照明負荷3…の点灯
状態がオンからオフへ、或いは、オフからオンへ変化す
ると、照明負荷3の点灯状態を監視信号として照明監視
制御装置1へ送信する。そして、照明監視制御装置1
は、各照明制御装置2…からの監視信号を受信して、照
明負荷3…の点灯状態を集中的に監視する。
The lighting control devices 2 control and monitor the respectively connected lighting loads 3. When the lighting state of the lighting loads 3 changes from on to off or from off to on, the lighting loads 3. Is transmitted to the lighting monitoring control device 1 as a monitoring signal. And the lighting monitoring control device 1
Receives monitoring signals from the respective lighting control devices 2 and centrally monitors the lighting state of the lighting loads 3.

【0012】ここで、照明監視制御装置1が照明制御装
置2の動作を監視する場合の処理について説明する。ま
ず、照明監視制御装置1が照明制御装置2へ生存確認信
号を送信する際の動作について図4のフローチャートに
基づいて説明する。ステップ11で、照明監視制御装置
1は図示しないタイマに所定の送信間隔T1 を設定す
る。このタイマは送信間隔T1 を限時し、タイムアップ
するまで待機する(ステップ12)。そして、このタイ
マがタイムアップすると、照明監視制御装置1は照明制
御装置2に生存確認信号を送信する(ステップ13)。
照明監視制御装置1は上述の処理を繰り返し、送信間隔
1 が経過する度に照明制御装置2へ生存確認信号を送
信する。
Here, a process in the case where the lighting monitoring and control device 1 monitors the operation of the lighting control device 2 will be described. First, an operation when the lighting monitoring control device 1 transmits a survival confirmation signal to the lighting control device 2 will be described based on a flowchart of FIG. In step 11, the illumination monitor control unit 1 sets a predetermined transmission interval T 1 to the timer (not shown). The timer will Kiriji the transmission interval T 1, and waits until the time is up (step 12). When the timer expires, the lighting monitoring and control device 1 transmits a survival confirmation signal to the lighting control device 2 (step 13).
The lighting monitoring control device 1 repeats the above-described processing, and transmits a survival confirmation signal to the lighting control device 2 every time the transmission interval T 1 elapses.

【0013】次に、照明制御装置2から送信された信号
を照明監視制御装置1が受信する際の動作について、図
5のフローチャートに基づいて説明する。照明監視制御
装置1は、上述した送信間隔T1 よりも長い時間T
3 (T3 >T1 )を異常判断時間に設定し、異常判断時
間T3 の限時を開始する(ステップ21)。そして、照
明監視制御装置1は照明制御装置2から送信される信号
を受信待ちし(ステップ22)、照明制御装置2からの
信号を受信したか否かを判断する(ステップ23)。
Next, the operation when the illumination monitoring and control device 1 receives the signal transmitted from the illumination control device 2 will be described with reference to the flowchart of FIG. Lighting monitoring and control device 1 is longer T than the transmission interval T 1 described above
3 (T 3 > T 1 ) is set as the abnormality determination time, and the time limit of the abnormality determination time T 3 is started (step 21). Then, the illumination monitoring control device 1 waits for a signal transmitted from the illumination control device 2 (step 22), and determines whether a signal from the illumination control device 2 has been received (step 23).

【0014】照明監視制御装置1が照明制御装置2から
意味のある信号を受信した場合、ステップ24でこの信
号の受信処理を行った後、ステップ21に戻って上述の
処理を繰り返し実行する。一方、照明監視制御装置1が
照明制御装置2から意味のある信号を受信しなかった場
合、照明監視制御装置1は異常判断時間T3 が経過した
か否かを判断する(ステップ25)。異常判断時間T3
が経過していない場合は、ステップ22に戻り、再度照
明制御装置2からの有効な信号の受信待ちを行い、異常
判断時間T3 が経過した場合は、照明制御装置2に暴走
や故障などの異常が発生したと判断し、異常処理を行う
(ステップ26)。
When the illumination monitoring and control device 1 receives a meaningful signal from the illumination control device 2, it performs a process of receiving this signal in step 24, and then returns to step 21 to repeatedly execute the above-described process. On the other hand, if the lighting monitoring control device 1 does not receive a signal with a meaning from the lighting control apparatus 2, illuminating the monitoring controller 1 determines whether the elapsed abnormality determination time T 3 (step 25). Abnormality judgment time T 3
If is not elapsed, the process returns to step 22, performs a reception waiting for a signal from the lighting control unit 2 again, the abnormality if the determination time T 3 has elapsed, such as runaway or failure in the lighting control apparatus 2 It is determined that an abnormality has occurred, and abnormality processing is performed (step 26).

【0015】なお、照明監視制御装置1では、照明制御
装置2からの信号を受信する上述の処理は、照明監視制
御装置1に接続された全ての照明制御装置2に対して個
別に設けられており、全ての照明制御装置2について上
述の処理を行う。ここで、図2に示すように、照明制御
装置2が応答信号S2 以外の任意の信号を照明監視制御
装置1へ送信しない場合、照明制御装置2は照明監視制
御装置1からの生存確認信号S1 を受信すると、応答信
号S2 を照明監視制御装置1へ返送する。照明監視制御
装置1は送信間隔T1 おきに生存確認信号S1 を照明制
御装置2へ送信しているので、照明制御装置2の動作が
正常であれば、照明監視制御装置1は、少なくとも送信
間隔T1 毎に、照明制御装置2から応答信号S2 を受信
する。
In the lighting monitoring control device 1, the above-described process of receiving a signal from the lighting control device 2 is provided separately for all the lighting control devices 2 connected to the lighting monitoring control device 1. Then, the above-described processing is performed for all the lighting control devices 2. Here, as shown in FIG. 2, when the lighting control device 2 does not transmit any signal other than the response signal S 2 to the lighting monitoring control device 1, the lighting control device 2 transmits the survival confirmation signal from the lighting monitoring control device 1. Upon receiving the S 1, returns a response signal S 2 to the lighting monitoring and control device 1. Since lighting monitoring and control device 1 is transmitting existence confirmation signals S 1 to the transmission interval T 1 every other to the lighting control device 2, if operation of the lighting control apparatus 2 is normal, the illumination monitor control unit 1 includes at least transmission At each interval T 1 , a response signal S 2 is received from the lighting control device 2.

【0016】次に、照明制御装置2が応答信号S2 以外
に監視信号などの意味のある信号S 3 を送信する場合に
ついて図3を参照して説明する。時刻t1 〜t2 では、
照明制御装置2は応答信号S2 以外の信号を照明監視制
御装置1へ送信していないので、時刻t1 で照明監視制
御装置1が照明制御装置2へ生存確認信号S1 を送信す
ると、時刻t2 で照明監視制御装置1は照明制御装置2
からの応答信号S2 を受信する。
Next, the illumination control device 2 sends a response signal STwoOther than
Meaningful signal S such as a monitoring signal ThreeWhen sending
This will be described with reference to FIG. Time t1~ TTwoThen
The lighting control device 2 outputs a response signal STwoLighting monitoring system for signals other than
Since it has not been transmitted to the control device 1, the time t1Lighting monitoring system
The control device 1 sends a survival confirmation signal S to the lighting control device 2.1Send
Then, time tTwoThe lighting monitoring control device 1 is a lighting control device 2
Response signal S fromTwoTo receive.

【0017】その後、時刻t2 〜t3 では、照明監視制
御装置1は時間間隔T21,T22,T 23おきに照明制御装
置2から応答信号S2 以外の有効な信号S3 (図3中に
破線で示す)を受信する。時刻t3 〜t4 では、照明制
御装置2は応答信号S2 以外の信号S3 を送信するの
で、時刻t3 で照明監視制御装置1から動作確認信号S
1 を受信したにもかかわらず、照明制御信号2は応答信
号S2 を送信する前にそれ以外の信号S3 を連続的に送
信し、照明監視制御装置1は、時刻t3 から時間間隔T
24,T25, 26おきに、信号S3 を受信する。その後、
時間間隔T27が経過した時刻t4 で、照明制御装置2か
らの応答信号S2 を受信する。
Thereafter, at time tTwo~ TThreeThen, the lighting monitoring system
The control device 1 has a time interval Ttwenty one, Ttwenty two, T twenty threeLighting control equipment
Response signal S from device 2TwoValid signal S other thanThree(In FIG. 3
(Shown by a broken line). Time tThree~ TFourSo, the lighting system
The control device 2 receives the response signal STwoSignal S other thanThreeTo send
At time tThreeAnd the operation confirmation signal S from the lighting monitoring control device 1
1Lighting control signal 2 is a response signal
No. STwoBefore sending the other signals SThreeContinuously sent
The lighting monitoring and control device 1 operates at time tThreeTime interval T from
twenty four, Ttwenty five,T 26Every other signal SThreeTo receive. afterwards,
Time interval T27Time t has elapsedFourSo, the lighting control device 2
Response signal STwoTo receive.

【0018】さらに、時刻t4 〜t5 では、照明制御装
置2は応答信号S2 以外の信号を照明監視制御装置1へ
送信しないので、照明監視制御装置1が照明制御装置2
へ生存確認信号S1 を送信すると、時刻t4 から時間間
隔T28が経過した時刻t5 において、照明監視制御装置
1は照明制御装置2からの応答信号S2 を受信する。と
ころで、本実施形態では異常判断時間を送信間隔T1
りも長い時間T3 (T3 >T1 )に設定し、照明監視制
御装置1が照明制御装置2より意味のある信号を受信し
た時点から、次に意味のある信号を受信するまでに、異
常判断時間T 3 よりも長い時間が経過すると、この照明
制御装置2で暴走や故障などの異常が発生したと判断し
ているので、照明制御装置2から照明監視制御装置1へ
送信される信号S2 ,S3 の時間間隔T21〜T28が異常
判断時間T3 よりも短ければ、照明制御装置2が過負荷
状態となって生存確認信号S1 に対する応答信号S3
返送が遅れたとしても、照明監視制御装置1は照明制御
装置2の異常を誤検出することはない。
Further, at time tFour~ TFiveNow, the lighting control equipment
2 is a response signal STwoOther signals to the lighting monitoring and control device 1
Since the transmission is not transmitted, the lighting monitoring control device 1
Survival confirmation signal S1At time tFourFrom time to
Interval T28Time t has elapsedFiveIn the lighting monitoring and control device
1 is a response signal S from the lighting control device 2TwoTo receive. When
At this time, in this embodiment, the abnormality determination time is set to the transmission interval T.1Yo
Long time TThree(TThree> T1), Set the lighting monitoring system
The control device 1 receives a meaningful signal from the lighting control device 2
From the moment when the next meaningful signal is received
Normal judgment time T ThreeAfter a longer time, this lighting
It is determined that an abnormality such as runaway or breakdown has occurred
From the lighting control device 2 to the lighting monitoring control device 1
The transmitted signal STwo, SThreeTime interval Ttwenty one~ T28Is abnormal
Judgment time TThreeIf it is shorter, the lighting control device 2 is overloaded.
It becomes a state and the survival confirmation signal S1Response signal S toThreeof
Even if the return is delayed, the lighting monitoring control device 1 controls the lighting.
There is no erroneous detection of an abnormality of the device 2.

【0019】尚、照明監視制御装置1では、その時点で
送られてくるはずのない信号(意味の無い信号)が照明
制御装置2から返送された場合、その信号を無視するよ
うに構成されている。従って、照明制御装置2が暴走或
いは故障して、照明監視制御装置1に意味の無い信号を
連続的に返送している場合、照明監視制御装置1は照明
制御装置2から送信された意味の無い信号を全て無視す
るので、このような場合でも、異常検出時間T3 よりも
長い間、照明監視制御装置1が意味のある信号を受信で
きなければ、照明監視制御装置1は照明制御装置2の異
常を検出することができる。 (実施形態2)実施形態1のプロセッサ間生存確認方法
では、照明監視制御装置1が照明制御装置2の異常を検
出する際に、異常判断時間T3 を送信間隔T1 よりも長
い値に設定しているが、本実施形態では、異常判断時間
を送信間隔T1 に、送信間隔T 1 と比較して非常に短い
余裕時間T5 (T5 ≪T1 )を加えた値T4 (T4 =T
1 +T5 )に設定する。
Incidentally, in the lighting monitoring control device 1, at that time,
Lights that should not be sent (meaningless signals) are lighting
If the signal is returned from the control device 2, the signal will be ignored.
It is configured as follows. Therefore, the lighting control device 2
Or a signal that is meaningless to the lighting monitoring and control device 1
In the case of continuous return, the lighting monitoring control device 1
Ignore all meaningless signals transmitted from the control device 2
Therefore, even in such a case, the abnormality detection time TThreethan
For a long time, the lighting monitoring and control device 1 can receive a meaningful signal
If not, the lighting monitoring control device 1
You can always detect. (Embodiment 2) Inter-processor survival confirmation method of Embodiment 1
Then, the lighting monitoring control device 1 detects an abnormality of the lighting control device 2.
When issuing, the abnormality determination time TThreeTransmission interval T1Longer than
In this embodiment, the abnormality determination time is set.
Transmission interval T1And the transmission interval T 1Very short compared to
Slack time TFive(TFive≪T1) Plus TFour(TFour= T
1+ TFive).

【0020】ここで、照明制御装置2から送信された信
号を照明監視制御装置1が受信する際の動作について、
図6のフローチャートに基づいて説明する。照明監視制
御装置1は、上述した時間T4 を異常判断時間に設定
し、異常判断時間T4 の限時を開始する(ステップ3
1)。そして、照明監視制御装置1は照明制御装置2か
ら送信される信号を受信待ちし(ステップ32)、照明
制御装置2からの信号を受信したか否かを判断する(ス
テップ33)。
Here, the operation when the lighting monitoring control device 1 receives the signal transmitted from the lighting control device 2 will be described.
This will be described with reference to the flowchart of FIG. Lighting monitoring and control device 1 sets the time T 4 as described above in the abnormality determination time, starts at limit abnormality determination time T 4 (Step 3
1). Then, the lighting monitoring control device 1 waits for a signal transmitted from the lighting control device 2 (step 32), and determines whether a signal from the lighting control device 2 has been received (step 33).

【0021】照明監視制御装置1が照明制御装置2から
意味のある信号を受信した場合、ステップ34でこの信
号の受信処理を行った後、ステップ31に戻って上述の
処理を繰り返し実行する。一方、照明監視制御装置1が
照明制御装置2から意味のある信号を受信しなかった場
合、照明監視制御装置1は異常判断時間T4 が経過した
か否かを判断する(ステップ35)。異常判断時間T4
が経過していない場合は、ステップ32に戻り、再度照
明制御装置2からの有効な信号の受信待ちを行い、異常
判断時間T4 が経過した場合は、照明制御装置2に暴走
や故障などの異常が発生したと判断し、異常処理を行う
(ステップ36)。なお、異常判断時間T4 の設定以外
は実施形態1のプロセッサ間生存確認方法と同様である
ので、その説明は省略する。
When the illumination monitoring and control device 1 receives a meaningful signal from the illumination control device 2, it performs a process of receiving this signal in step 34, and then returns to step 31 to repeatedly execute the above-described process. On the other hand, the illumination monitor control unit 1 may not receive the signal with a meaning from the lighting control apparatus 2, illuminating the monitoring controller 1 determines whether the elapsed abnormality determination time T 4 (step 35). Abnormality judgment time T 4
If is not elapsed, the process returns to step 32, performs a reception waiting for a signal from the lighting control unit 2 again, the abnormality if the determination time T 4 has elapsed, such as runaway or failure in the lighting control apparatus 2 It is determined that an abnormality has occurred, and abnormality processing is performed (step 36). Since the settings other than the abnormality determination time T 4 is the same as the inter-processor alive method of Embodiment 1, description thereof will be omitted.

【0022】実施形態1で説明したように、照明監視制
御装置1が照明制御装置2より信号S2 ,S3 を受信し
た時点から、次に該照明制御装置2より信号S2 ,S3
を受信するまでの受信間隔は送信間隔T1 以下となるの
で、異常判断時間を、送信間隔T1 に、送信間隔T1
比較して非常に短い余裕時間T5 を加算した値T4 とす
ることによって、照明監視制御装置1は照明制御装置2
の異常を確実に検出できるとともに、照明制御装置2の
異常を検出するまでに必要な時間を短縮することができ
る。
[0022] Embodiment 1, as described in, from the point of illumination monitor and control apparatus 1 receives the signal S 2, S 3 from the lighting control apparatus 2, then the signal S 2 from the lighting control device 2, S 3
Since the reception interval to the reception becomes the transmission interval T 1 or less, the abnormality determination time, the transmission interval T 1, the value T 4 obtained by adding the T 5 very short margin time compared to the transmission interval T 1 By doing so, the lighting monitoring control device 1
Can be reliably detected, and the time required until the abnormality of the lighting control device 2 is detected can be shortened.

【0023】なお、実施形態1及び2では、本発明のプ
ロセッサ間生存確認方法を照明制御システムに適用して
いるが、照明制御システムに限定する趣旨のものではな
く、マスタプロセッサとスレーブプロセッサから構成さ
れるシステムであれば照明制御システム以外のシステム
に適用してもよいことは言うまでもない。
In the first and second embodiments, the inter-processor survival confirmation method of the present invention is applied to a lighting control system. However, the present invention is not limited to a lighting control system, but includes a master processor and a slave processor. Needless to say, the present invention may be applied to a system other than the illumination control system as long as the system is used.

【0024】[0024]

【発明の効果】請求項1の発明は、上述のように、マス
タプロセッサとスレーブプロセッサとが伝送媒体を介し
て接続され、マスタプロセッサは所定時間が経過する毎
にスレーブプロセッサに動作確認用の生存確認信号を送
信するとともに、生存確認信号を受信したスレーブプロ
セッサはマスタプロセッサに対して所定の応答信号を返
送するプロセッサ間生存確認方法において、生存確認信
号の送信間隔よりも長い所定の異常判断時間、マスタプ
ロセッサがスレーブプロセッサより応答信号を含む意味
のある信号を受信しなかった場合、マスタプロセッサは
スレーブプロセッサに異常が発生したと判断している。
According to the first aspect of the present invention, as described above, the master processor and the slave processor are connected via the transmission medium, and the master processor sends an operation confirmation to the slave processor every time a predetermined time elapses. In the inter-processor survival confirmation method of transmitting the confirmation signal and receiving the survival confirmation signal, the slave processor returns a predetermined response signal to the master processor, a predetermined abnormality determination time longer than a transmission interval of the survival confirmation signal, When the master processor does not receive a meaningful signal including the response signal from the slave processor, the master processor determines that an abnormality has occurred in the slave processor.

【0025】ここで、マスタプロセッサはスレーブプロ
セッサへ送信間隔が経過する度に生存確認信号を送信し
ているので、スレーブプロセッサの動作が正常であれ
ば、スレーブプロセッサは少なくとも送信間隔毎にマス
タプロセッサへ応答信号を返送する。スレーブプロセッ
サが過負荷状態になった場合、スレーブプロセッサから
マスタプロセッサへ返送される応答信号が大幅に遅れる
ことはあっても、スレーブプロセッサからマスタプロセ
ッサへ送信される信号の間隔が送信間隔よりも長くなる
ことはない。
Here, since the master processor transmits the survival confirmation signal to the slave processor every time the transmission interval elapses, if the operation of the slave processor is normal, the slave processor transmits to the master processor at least every transmission interval. Returns a response signal. When the slave processor is overloaded, the response signal returned from the slave processor to the master processor may be significantly delayed, but the interval between signals transmitted from the slave processor to the master processor is longer than the transmission interval. It will not be.

【0026】請求項1の発明は、異常判断時間を送信間
隔よりも長い時間に設定し、スレーブプロセッサからマ
スタプロセッサへ送信される意味のある信号の時間間隔
がこの異常判断時間よりも長くなることから、マスタプ
ロセッサはスレーブプロセッサの異常を検出しているの
で、スレーブプロセッサが過負荷状態となり、スレーブ
プロセッサから返送される応答信号が遅れた場合でも、
マスタプロセッサがスレーブプロセッサの異常を誤検出
することがなく、スレーブプロセッサの動作を確実に検
出できるという効果がある。
According to the first aspect of the present invention, the abnormality determination time is set to be longer than the transmission interval, and the time interval of a meaningful signal transmitted from the slave processor to the master processor is longer than the abnormality determination time. Therefore, since the master processor has detected an abnormality in the slave processor, even if the slave processor is overloaded and the response signal returned from the slave processor is delayed,
There is an effect that the operation of the slave processor can be reliably detected without the master processor erroneously detecting the abnormality of the slave processor.

【0027】請求項2の発明は、異常判断時間が、送信
間隔に、送信間隔と比べて非常に短い余裕時間を加えた
時間に設定されているので、スレーブプロセッサに異常
が発生してから、マスタプロセッサが該スレーブプロセ
ッサの異常発生を検出するまでの時間を、送信間隔より
も僅かに長い時間とすることができ、異常を検出するま
でに必要な時間を短縮できるという効果がある。
According to the second aspect of the present invention, the abnormality determination time is set to a time obtained by adding a very short margin time to the transmission interval to the transmission interval. The time required for the master processor to detect the occurrence of an abnormality in the slave processor can be made slightly longer than the transmission interval, and the time required until the abnormality is detected can be reduced.

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

【図1】実施形態1のプロセッサ間生存確認方法を用い
る照明監視制御システムの全体構成図である。
FIG. 1 is an overall configuration diagram of a lighting monitoring control system using an inter-processor survival confirmation method according to a first embodiment.

【図2】同上の信号伝送を示す説明図である。FIG. 2 is an explanatory diagram showing signal transmission of the above.

【図3】同上の別の信号伝送を示す説明図である。FIG. 3 is an explanatory diagram showing another signal transmission of the above.

【図4】同上の動作を説明するフローチャートである。FIG. 4 is a flowchart illustrating an operation of the above.

【図5】同上の別の動作を説明するフローチャートであ
る。
FIG. 5 is a flowchart illustrating another operation of the above embodiment.

【図6】実施形態2のプロセッサ間生存確認方法を説明
するフローチャートである。
FIG. 6 is a flowchart illustrating an inter-processor survival confirmation method according to a second embodiment.

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

1 照明監視制御装置 2 照明制御装置 3 照明負荷 4 伝送媒体 DESCRIPTION OF SYMBOLS 1 Lighting monitoring and control device 2 Lighting control device 3 Lighting load 4 Transmission medium

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】マスタプロセッサとスレーブプロセッサと
が伝送媒体を介して接続され、前記マスタプロセッサは
所定時間が経過する毎に前記スレーブプロセッサに動作
確認用の生存確認信号を送信するとともに、前記生存確
認信号を受信した前記スレーブプロセッサは前記マスタ
プロセッサに対して所定の応答信号を返送するプロセッ
サ間生存確認方法において、前記生存確認信号の送信間
隔よりも長い所定の異常判断時間、前記マスタプロセッ
サが前記スレーブプロセッサより前記応答信号を含む意
味のある信号を受信しなかった場合、前記マスタプロセ
ッサは前記スレーブプロセッサに異常が発生したと判断
することを特徴とするプロセッサ間生存確認方法。
1. A master processor and a slave processor are connected via a transmission medium. The master processor transmits an operation confirmation signal for operation confirmation to the slave processor every time a predetermined time elapses. In the inter-processor survival confirmation method in which the slave processor that has received the signal returns a predetermined response signal to the master processor, the slave processor may determine whether the slave processor has the slave processor with a predetermined abnormality determination time longer than a transmission interval of the survival confirmation signal. A method for confirming existence between processors, wherein the master processor determines that an abnormality has occurred in the slave processor when a meaningful signal including the response signal is not received from the processor.
【請求項2】前記異常判断時間が、前記送信間隔に、前
記送信間隔と比べて非常に短い余裕時間を加えた時間に
設定されたことを特徴とする請求項1記載のプロセッサ
間生存確認方法。
2. The method according to claim 1, wherein the abnormality determination time is set to a value obtained by adding a margin time much shorter than the transmission interval to the transmission interval. .
JP9011565A 1997-01-24 1997-01-24 Method for confirming inter-processor existence Pending JPH10207745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9011565A JPH10207745A (en) 1997-01-24 1997-01-24 Method for confirming inter-processor existence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9011565A JPH10207745A (en) 1997-01-24 1997-01-24 Method for confirming inter-processor existence

Publications (1)

Publication Number Publication Date
JPH10207745A true JPH10207745A (en) 1998-08-07

Family

ID=11781467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9011565A Pending JPH10207745A (en) 1997-01-24 1997-01-24 Method for confirming inter-processor existence

Country Status (1)

Country Link
JP (1) JPH10207745A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100548831B1 (en) * 1997-03-19 2006-06-21 가부시끼가이샤 히다치 세이사꾸쇼 Multiplexing Control Device and Its Recovery Method
JP2007074490A (en) * 2005-09-08 2007-03-22 Brother Ind Ltd Information communication system, node device included therein, information communication method, and information processing program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100548831B1 (en) * 1997-03-19 2006-06-21 가부시끼가이샤 히다치 세이사꾸쇼 Multiplexing Control Device and Its Recovery Method
JP2007074490A (en) * 2005-09-08 2007-03-22 Brother Ind Ltd Information communication system, node device included therein, information communication method, and information processing program
JP4622755B2 (en) * 2005-09-08 2011-02-02 ブラザー工業株式会社 Information communication system, information communication method, node device included in information communication system, and information processing program

Similar Documents

Publication Publication Date Title
JPH10207745A (en) Method for confirming inter-processor existence
JP2535594B2 (en) Disaster prevention monitoring device
JPS61295738A (en) Transmission controller
JP2006171995A (en) Control computer
JPS6356755A (en) Abnormality supervising system for slave processor
JPH07334433A (en) Bus controller
JPS6367842A (en) Load controlling system
JP4724951B2 (en) Control device, control method, and power line communication control system
JPH062881U (en) Plant monitoring equipment
JP2002330191A (en) Method and system for detecting abnormality
JPH04167142A (en) Fault detection system for information processor
JPH0223740A (en) Communication network system
JP2011041122A (en) Network connection monitoring device
JP2747948B2 (en) Remote monitoring method for multiprocessor system
JPH01112851A (en) Data communication system
JPH063919B2 (en) Load control system
JP2591862B2 (en) Power control signal converter
JPS6038952A (en) Communication processing device
JPH06343194A (en) Monitoring and controlling device
JPS61244151A (en) Detection system for trouble interruption
JPS6371753A (en) Load control system
JPH03288958A (en) Fault processing unit for multiprocessor
JPH08259131A (en) Remote monitoring and diagnosing device for elevator
JPS60182838A (en) Communication control equipment
JPH10294723A (en) Multiplex communication system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010403