JPH04268847A - Bus communication system - Google Patents

Bus communication system

Info

Publication number
JPH04268847A
JPH04268847A JP3048743A JP4874391A JPH04268847A JP H04268847 A JPH04268847 A JP H04268847A JP 3048743 A JP3048743 A JP 3048743A JP 4874391 A JP4874391 A JP 4874391A JP H04268847 A JPH04268847 A JP H04268847A
Authority
JP
Japan
Prior art keywords
response
request signal
signal
answer
state detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3048743A
Other languages
Japanese (ja)
Other versions
JP3109110B2 (en
Inventor
Yasuyuki Yamamoto
靖之 山本
Hirotsugu Ookubo
大久保 浩継
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP03048743A priority Critical patent/JP3109110B2/en
Publication of JPH04268847A publication Critical patent/JPH04268847A/en
Application granted granted Critical
Publication of JP3109110B2 publication Critical patent/JP3109110B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To recognize the occurrence of the accident of a machine, and to prevent a whole system from being influenced by this by outputting a forced answer request signal at every prescribed period at a state detecting side. CONSTITUTION:The machines 2 to 5 connected to a bus B are provided with a control means consisting of a microcomputer 1, and are provided with a state detecting means which outputs an answer request signal to another machine, and simultaneously, receives its answer, and discriminates the state. Namely, the state detecting means outputs the answer request signal to the specified machine, and if an answer signal is not received even after the lapse of prescribed time, it outputs the signal to request a forced answer. Accordingly, an answering side can output the answer signal as soon as it is prepared, and the repsonsiveness of the system can be improved, and simultaneously, the occurrence of the accident can be recognized.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えばホームバスシス
テム等に適用されるバス通信システムに関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus communication system applied to, for example, a home bus system.

【0002】0002

【従来の技術】ホームバスシステム等においては一般に
各機器が双方向通信バスで連結され、各機器間において
動作指示情報、検出情報、状態判別情報等のやり取りが
行なわれており、これによって各機器の状態に応じて適
正な動作制御を実現することができる。
[Prior Art] In a home bus system, etc., each device is generally connected by a bidirectional communication bus, and operation instruction information, detection information, status determination information, etc. are exchanged between each device. Appropriate operation control can be achieved depending on the state of the device.

【0003】例えばコントロール機器、VTR、AVセ
レクター、モニタ装置の各機器がバスで連結されたシス
テムでは、コントロール機器は例えばVTRに対して記
録テープがロードされているかを問い合わせる応答要求
信号を発し、これに対してVTRが記録テープのロード
を示す応答信号を発すると、コントロール機器はVTR
における記録テープがロード状態を確認することができ
、この確認動作に基づいてコントロール機器がVTRに
対して録画指令を供給するというようなシステム動作が
可能である。
For example, in a system in which devices such as a control device, a VTR, an AV selector, and a monitor device are connected via a bus, the control device issues a response request signal to the VTR to inquire whether a recording tape is loaded. When the VTR issues a response signal indicating loading a recording tape, the control device
It is possible to confirm the loading state of the recording tape in the system, and based on this confirmation operation, a system operation is possible in which the control device supplies a recording command to the VTR.

【0004】ところで、このような或る機器Aがシステ
ム内の他の機器Bの状態確認を行なう際の通信方式とし
ては次の2通りが考えられている。第1に、図6に示す
ように、先ず機器Aが機器Bに対して応答要求信号出力
a1 を行なうと、これに対応して機器Bは問い合せの
解答を検出する解答検出処理b1 を実行し、解答検出
後任意のタイミングで機器Aに対して応答信号出力処理
b2 を実行する方式である。
[0004] By the way, the following two communication methods are considered when a certain device A checks the status of another device B in the system. First, as shown in FIG. 6, when device A first outputs a response request signal a1 to device B, device B responds by executing an answer detection process b1 to detect the answer to the inquiry. , is a method in which response signal output processing b2 is executed on device A at an arbitrary timing after an answer is detected.

【0005】第2に、図7に示すように機器Aが機器B
に対して応答要求信号出力a1 を行なうと、機器Bで
は解答検出処理b1 を実行しその問い合せの解答を検
出するが、解答検出後は機器Aからの解答要求のトリガ
信号の出力を待機する。そして機器Bはトリガ信号出力
a2 のタイミングで機器Aに対して応答信号出力処理
b2 を実行する方式である。
Second, as shown in FIG.
When a response request signal a1 is output to the device B, the device B executes an answer detection process b1 to detect the answer to the inquiry, but after detecting the answer, it waits for the output of a trigger signal from the device A for requesting an answer. Then, device B executes response signal output processing b2 to device A at the timing of trigger signal output a2.

【0006】[0006]

【発明が解決しようとする課題】上記第1の通信方式で
は、機器Bの応答速度が生かされることになり、システ
ムの応答性の向上を促すという利点があるが、一方では
、もし機器Bの電源が突然オフとなったり、ソフトウエ
ア上の暴走で応答要求信号に対する解答が得られなくな
ってしまった場合などは、機器Aは機器Bからの応答信
号を待ち続けているため機器Aにも機器Bの異常が伝搬
されることになり、つまり機器Bのみに異常が発生した
だけでシステム全体が正常動作できなくなるという大き
な問題点がある。
[Problems to be Solved by the Invention] The above first communication method makes use of the response speed of device B, and has the advantage of promoting improved system responsiveness; however, on the other hand, if device B If the power is suddenly turned off or if a response to a response request signal cannot be obtained due to a runaway in the software, device A will continue to wait for a response signal from device B. There is a big problem that the abnormality of device B will be propagated, that is, even if an abnormality occurs only in device B, the entire system will not be able to operate normally.

【0007】また、上記第2の通信方式では、機器Aが
機器Bの応答信号出力タイミングを管理しているため、
そのトリガー時点で応答信号が得られなければ機器Bの
異常発生として認識でき、所定の異常発生処理を行なう
ことはできるが、その一方で、機器Bの解答検索時間(
応答時間)を考慮に入れなければならず、つまり応答要
求信号出力から解答要求のトリガ信号の出力までかなり
時間的余裕を持たせなければならない。特に、機器Bが
解答を検出するためにさらに他の機器C、機器D等に問
い合せをしなければならない場合などは解答検索時間は
累積して長時間化するため、これらを考慮していると非
常に応答性の悪いシステムしか実現できないことになる
という問題がある。
[0007] Furthermore, in the second communication method, since device A manages the response signal output timing of device B,
If no response signal is obtained at the time of the trigger, it can be recognized that an abnormality has occurred in device B, and predetermined abnormality processing can be performed.
In other words, a considerable amount of time must be allowed from the output of the response request signal to the output of the answer request trigger signal. In particular, if device B has to make further inquiries to other devices C, D, etc. in order to detect the answer, the answer search time will accumulate and become long, so take this into consideration. The problem is that only a system with very poor responsiveness can be realized.

【0008】[0008]

【課題を解決するための手段】本発明はこのような問題
点にかんがみてなされたもので、双方向通信バスで連結
されたシステム内における他の機器に対して応答要求信
号を出力し当該他の機器から応答信号を得ることによっ
て他の機器の状態を判別することができる状態検出手段
を有する1又は複数の機器と、双方向通信バスを介して
入力される応答要求信号に対して応答信号を出力するこ
とができる応答手段を有する1又は複数の機器からなる
バス通信システムにおいて、1又は複数の機器が有する
状態検出手段は、応答を要求する第1の応答要求信号を
出力する第1の信号発生手段と、第1の応答要求信号の
発信又は待機要請信号の検出に基づいてカウントを開始
するタイマー手段と、このタイマー手段によって所定期
間の経過が検出されたら強制的に応答を要求する第2の
応答要求信号を出力する第2の信号発生手段と、第1又
は第2の応答要求信号に対する応答信号を検出する応答
検出手段と、少なくとも第2の応答要求信号に対応して
応答信号又は待機要請信号が得られなければその状態検
出動作を終了させる状態検出動作制御手段を有し、また
、1又は複数の機器が有する応答手段は、入力された第
1又は第2の応答要求信号に対応して応答信号を出力す
る応答信号発生手段と、第2の応答要求信号に対して応
答信号を出力できないときは待機要請信号を出力する待
機要請信号発生手段を有するようにしてシステムを構成
する。
[Means for Solving the Problems] The present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to output a response request signal to other devices in a system connected by a bidirectional communication bus, one or more devices having a state detection means capable of determining the state of other devices by obtaining a response signal from the device, and a response signal in response to a response request signal inputted via a two-way communication bus. In a bus communication system consisting of one or more devices having response means capable of outputting a response, the state detection means of the one or more devices includes a first response request signal that outputs a first response request signal requesting a response. a signal generating means; a timer means that starts counting based on transmission of the first response request signal or detection of the standby request signal; and a timer means that forcibly requests a response when the elapse of a predetermined period is detected by the timer means. a second signal generating means for outputting a second response request signal; a response detecting means for detecting a response signal to the first or second response request signal; The state detection operation control means terminates the state detection operation if the standby request signal is not obtained, and the response means included in the one or more devices responds to the input first or second response request signal. The system is configured to include a response signal generation means for outputting a response signal in response to the second response request signal, and a standby request signal generation means for outputting a standby request signal when the response signal cannot be outputted in response to the second response request signal. .

【0009】[0009]

【作用】機器Bの状態の問い合せを行なう側の機器Aが
第1の応答要求信号を出力した後、機器Bは解答を用意
できた段階で応答信号を出力することにより、機器Bの
応答性はシステム全体の応答性に有効に反映されること
になる。また、所定時間を経過し第2の応答要求信号が
出力された段階で機器Bが応答信号又は待機要請信号を
出力しなければ、機器Aは機器Bに異常が発生したと認
識できることになる。
[Operation] After device A, which inquires about the status of device B, outputs the first response request signal, device B outputs a response signal when an answer is ready, thereby increasing the responsiveness of device B. will be effectively reflected in the responsiveness of the entire system. Further, if device B does not output a response signal or a standby request signal after a predetermined period of time has elapsed and the second response request signal is output, device A can recognize that an abnormality has occurred in device B.

【0010】0010

【実施例】図1は本発明のバス通信システムが適用され
るホームバスシステムの1例であり、1はシステム内の
各機器に対し動作指令を発し、所定動作を制御すること
のできるコントロール装置、2,3はVTR、4はAV
セレクタ−、5はモニタ装置であり、VTR2,3のオ
ーディオ信号及びビデオ信号の出力端子2a,3aはA
Vセレクターの入力端子4aと結線され選択的に出力端
子4bに供給される。そして、AVセレクター4の出力
端子4bはモニタ装置5の入力端子に結線されている。 これらの各機器は双方向通信バスBによって情報やコマ
ンドの授受がなされる。
[Embodiment] Fig. 1 shows an example of a home bus system to which the bus communication system of the present invention is applied, and 1 is a control device that can issue operation commands to each device in the system and control predetermined operations. , 2 and 3 are VTR, 4 is AV
Selector 5 is a monitor device, and output terminals 2a and 3a for audio and video signals of VTRs 2 and 3 are A.
It is connected to the input terminal 4a of the V selector and selectively supplied to the output terminal 4b. The output terminal 4b of the AV selector 4 is connected to the input terminal of the monitor device 5. Information and commands are exchanged between these devices via a bidirectional communication bus B.

【0011】例えばこのようなホームバスシステムにお
いてはバスBで接続された各機器の全部又は一部はそれ
ぞれマイクロコンピュータによって構成される制御手段
を有し、それぞれの動作制御、他の機器への指令や情報
供給等の通信制御を行なっているとともに、他の各機器
に対して動作指令を発する際に該当機器が現在どのよう
な状態にあるかを検出する必要があるため、他の機器に
対して所定の問い合せ内容を有する応答要求信号を出力
するとともにその解答を受信して状態を判別する状態検
出手段がソフトウエアにより形成されている。また、同
様に他の機器の状態検出手段から発っせられた応答要求
信号に対してその問い合せ内容に合致する解答を検出し
、応答信号として出力する応答手段もソフトウエアによ
り形成されている。
For example, in such a home bus system, all or part of each device connected by bus B has a control means constituted by a microcomputer, and controls the operation of each device and gives instructions to other devices. In addition to controlling communication such as information supply and information supply, it is also necessary to detect the current state of the relevant device when issuing operation commands to other devices. A state detection means is formed by software, which outputs a response request signal having predetermined inquiry contents and receives the answer to determine the state. Similarly, response means for detecting an answer matching the inquiry content in response to a response request signal issued from the state detection means of another device and outputting it as a response signal is also formed by software.

【0012】本発明のバス通信システムは特に、各機器
の制御手段の一部として形成される状態検出手段と応答
手段によって実現されるものであり、状態検出手段と応
答手段はソフトウエア上の機能ブロックとして図2,図
3に示すように構成されている。
The bus communication system of the present invention is particularly realized by the state detection means and response means formed as part of the control means of each device, and the state detection means and response means are implemented by software functions. It is configured as a block as shown in FIGS. 2 and 3.

【0013】即ち状態検出手段20は図2に示すように
中央制御部10からの他の特定の機器の状態判別指令に
より、要求された状態検出動作を実行させる状態検出動
作制御手段21、タイマー装置或はソフトカウンタを備
え状態検出動作中の時間管理を行なうタイマー管理手段
22、該当する応答要求信号を発生させ出力する応答要
求信号発生手段23、応答要求信号を出力した後所定時
間を経過しても応答信号が受信されなかった場合に該当
機器に対して強制的な応答を要求する内容の強制応答要
求信号を発生させ出力する強制応答要求信号発生手段2
4、及び供給された応答信号等の信号を受信検出する応
答信号検出手段25から成る。
That is, as shown in FIG. 2, the state detection means 20 includes a state detection operation control means 21 that executes a requested state detection operation in response to a command for determining the state of another specific device from the central control unit 10, and a timer device. Alternatively, a timer management means 22 that includes a soft counter and manages time during the state detection operation, a response request signal generation means 23 that generates and outputs a corresponding response request signal, and a timer management means 22 that is equipped with a soft counter and performs time management during the state detection operation; Forced response request signal generation means 2 for generating and outputting a forced response request signal requesting a forced response from the corresponding device when the response signal is not received.
4, and a response signal detection means 25 for receiving and detecting a signal such as a supplied response signal.

【0014】一方応答手段30は、他の機器の状態検出
手段20から応答要求信号が送信されたことを検出し問
い合せ内容を判別する応答要求信号検出手段31、他の
機器の状態検出手段20から強制応答要求信号が送信さ
れたことを検出にする強制応答要求信号検出手段32、
応答要求信号による問い合せ内容について検索動作を行
なう解答検索手段33、解答が得られた段階で応答信号
を発生させ応答要求信号を送信してきた機器の状態検出
手段20に対して出力する応答信号発生手段34、及び
強制応答要求信号が送信された時点で解答が得られてい
ないときに待機要請信号を発生させ応答要求信号送信側
の機器の状態検出手段20に対して出力する待機要請信
号発生手段35から構成される。
On the other hand, the response means 30 detects that a response request signal has been transmitted from the state detection means 20 of another device and determines the content of the inquiry. forced response request signal detection means 32 for detecting that the forced response request signal has been transmitted;
An answer search means 33 that performs a search operation regarding the contents of the inquiry based on the response request signal, and a response signal generation means that generates a response signal when an answer is obtained and outputs it to the state detection means 20 of the device that has transmitted the response request signal. 34, and standby request signal generation means 35 which generates a standby request signal and outputs it to the state detection means 20 of the device on the response request signal sending side when no answer is obtained at the time when the forced response request signal is transmitted. It consists of

【0015】この状態検出手段20及び応答手段30は
図1における各機器がそれぞれ有している。そして、例
えばコントロール装置1がVTR2に記録動作を行なわ
せようとする場合、コントロール装置1はVTR2にお
いてテープカセットが装填され記録テープのローディン
グがなされているかを検知する必要があるが、このよう
な場合、コントロール装置1の状態検出手段20はVT
R2の応答手段30に対してテープカセットの装填状態
を問い合せる内容の応答要求信号を発し、一方VTR2
の応答手段30ではこれに対応してテープカセット装填
検出を行ない、問い合わせの解答を応答信号としてコン
トロール装置1の状態検出手段20に出力するものであ
る。本実施例においてこのようなシステム動作の際に実
行される状態検出手段20及び応答手段30の動作を図
4、図5のフローチャートに示す。フローチャートの各
ステップはF101〜F110、及びF201〜F20
6で示す。
Each device in FIG. 1 has the state detection means 20 and the response means 30, respectively. For example, when the control device 1 wants to cause the VTR 2 to perform a recording operation, the control device 1 needs to detect whether a tape cassette is loaded in the VTR 2 and a recording tape is being loaded. , the state detection means 20 of the control device 1 is VT
A response request signal is issued to the response means 30 of R2 to inquire about the loading status of the tape cassette, while VTR2
In response, the response means 30 detects the tape cassette loading and outputs the answer to the inquiry as a response signal to the state detection means 20 of the control device 1. The operations of the state detection means 20 and response means 30 executed during such system operation in this embodiment are shown in the flowcharts of FIGS. 4 and 5. Each step of the flowchart is F101 to F110 and F201 to F20.
Indicated by 6.

【0016】まず、或る機器の中央制御部10において
、何らかの動作制御を行なうために他の機器について問
い合わせを行ないたい事例が発生すると、状態検出手段
20では状態検出動作制御手段21によって状態検出動
作が開始される(F101)。まず、応答要求信号発生
手段23からその問い合せ内容を含む応答要求信号がバ
スBを介して該当する機器に対して出力され(F102
)、同時にタイマー管理手段22におけるタイマー装置
がリセットされてカウントが開始される(F103)。 そして出力先の応答手段30からの応答信号の待機状態
に入る。なお、この待機中の時間は制御手段全体として
は他の処理に供することができる。
First, when a case occurs in which the central control unit 10 of a certain device wants to inquire about another device in order to perform some kind of operation control, the state detection means 20 uses the state detection operation control means 21 to perform the state detection operation. is started (F101). First, a response request signal including the inquiry content is outputted from the response request signal generating means 23 to the corresponding device via bus B (F102
), at the same time, the timer device in the timer management means 22 is reset and counting starts (F103). Then, it enters a standby state for a response signal from the output destination response means 30. Note that the control means as a whole can be used for other processing during this standby time.

【0017】待機期間はタイマー管理手段22における
タイムカウント動作が実行されており、所定時間内に出
力した応答要求信号の解答として応答信号が送信され応
答信号受信手段25に検出された場合は、状態検出動作
制御手段21はその応答内容を中央制御部10に供給し
て保持させ(F105)、状態検出動作を終了させる。 応答内容は中央制御部においてその後実行される機器制
御の判断データとして処理される。
During the standby period, the timer management means 22 executes a time counting operation, and if a response signal is transmitted as an answer to the response request signal output within a predetermined time and detected by the response signal receiving means 25, the state is changed. The detection operation control means 21 supplies the content of the response to the central control unit 10 to hold it (F105), and ends the state detection operation. The content of the response is processed by the central control unit as decision data for equipment control that is subsequently executed.

【0018】ところが所定時間待機していても応答信号
が得られない場合は、強制応答要求信号発生手段から強
制的に応答を要求するトリガー信号である強制応答要求
信号を出力する(F107)。これに対応して応答信号
が検出されれば、当該応答信号の内容を中央制御部10
に供給し状態検出動作を終了し (F108→F105
) 、或は当該問い合せ先の応答手段30から『調査中
』という内容の信号が送られてきた場合は、これを解答
検索に時間を要するため待機要請が行なわれたとして再
びタイマーリセットを行ない、応答信号待機状態に入る
 (F109→F103) 。そして応答信号を検出し
た段階でその内容を中央制御部10に供給し状態検出動
作を終了する。
However, if no response signal is obtained even after waiting for a predetermined period of time, the forced response request signal generating means outputs a forced response request signal, which is a trigger signal for forcibly requesting a response (F107). If a response signal is detected in response to this, the content of the response signal is transmitted to the central control unit 10.
and completes the status detection operation (F108→F105
), or if a signal indicating ``investigating'' is sent from the response means 30 of the inquiry destination, the timer is reset again, assuming that a standby request has been made because it takes time to search for an answer. Enters response signal standby state (F109→F103). When the response signal is detected, its contents are supplied to the central control unit 10 and the state detection operation is completed.

【0019】しかしながら、強制応答要求信号を発信し
ても応答信号も『調査中』という待機要請信号も供給さ
れなかったときは、問い合せ先の機器に電源異常、ソフ
トプログラム上の暴走等の事故が発生したと認識し、状
態検出動作制御手段21は中央制御部10に対してエラ
ー発生を伝達し、状態検出動作を終了させる(F110
)。
However, even if a forced response request signal is sent, if neither a response signal nor a standby request signal indicating ``under investigation'' is supplied, an accident such as a power failure or runaway in the software program may occur in the device being inquired about. Recognizing that an error has occurred, the state detection operation control means 21 notifies the central control unit 10 of the error occurrence, and ends the state detection operation (F110).
).

【0020】一方状態問い合せ先の機器における応答手
段30では、応答要求信号検出手段31によって応答要
求信号が検出されると(F201)、解答検索手段33
はこの応答要求信号の問い合せ内容に対応する解答を検
索する動作を行なう(F202)。検索動作により解答
が検索できると(F205)、応答信号発生手段34か
ら当該解答内容を示す応答信号を問い合せ元の状態検出
手段20に対して出力させる(F206)。ところが検
索動作中に問い合せ側の状態検出手段20から強制応答
要求信号が供給された場合には、まだ解答できないため
待機要請信号発生手段35から『調査中』という内容の
待機要請信号を出力させる (F203→F204) 
。そして検索動作が完了した時点で応答信号を出力する
(F206)。
On the other hand, when a response request signal is detected by the response request signal detecting means 31 (F201) in the response means 30 in the device to which the status inquiry is made, the answer search means 33
performs an operation to search for an answer corresponding to the inquiry content of this response request signal (F202). When the answer is retrieved by the search operation (F205), the response signal generating means 34 outputs a response signal indicating the content of the answer to the state detecting means 20 of the inquiry source (F206). However, if a forced response request signal is supplied from the status detection means 20 on the inquiry side during the search operation, since an answer cannot be answered yet, the standby request signal generation means 35 outputs a standby request signal with the content "under investigation" ( F203→F204)
. Then, when the search operation is completed, a response signal is output (F206).

【0021】本実施例のバス通信システムではホームバ
スシステム内の各機器における状態検出手段20と応答
手段30がこのような動作を行なうことにより、応答性
がよく、しかもエラー発生に対応できるシステムを実現
できることになる。つまり、問い合せ側の状態検出手段
20における待機時間内は、問い合せ先の応答手段30
の任意のタイミング、即ち解答検索動作終了時点で応答
信号を出力することができるため、応答信号の出力を待
機する時間は不要で通信の応答性は当該問い合せ先の機
器の応答性に応じて高めることができる。
In the bus communication system of this embodiment, the status detection means 20 and response means 30 in each device in the home bus system perform the above operations, thereby creating a system that has good responsiveness and can cope with the occurrence of errors. It will become a reality. In other words, during the waiting time in the status detection means 20 on the inquiry side, the response means 30 on the inquiry destination
Since the response signal can be output at any timing, that is, at the end of the answer search operation, there is no need to wait for the output of the response signal, and the responsiveness of communication increases according to the responsiveness of the device at the destination of the inquiry. be able to.

【0022】また、状態検出手段20からは一定時間ご
とに強制応答要求信号が出力され、応答信号或は待機要
請信号による反応が確認されているため、もし問い合せ
先の機器にエラーが発生した場合は応答信号或は待機要
請信号が得られないという理由で問い合せ側の状態検出
手段20が当該エラー発生を認識でき、状態検出動作を
中止できるため、問い合せ側の機器が問い合せ先の機器
のエラー等により影響をうけ、システム動作全体が不能
となることも防止できる。もちろん、解答検索に時間が
かかる場合、特に問い合わせ先の機器が解答検索のため
にさらに他の機器に応答要求信号を出力して問い合わせ
動作を行なうことが必要な場合などは、解答検索時間が
累積されかなり時間を要することになるが、状態検出手
段20は待機要請信号によりエラーにより長時間化して
いるのではないことが確認できることになり、問題はな
い。
[0022]Furthermore, the condition detection means 20 outputs a forced response request signal at regular intervals, and the response by the response signal or standby request signal is confirmed, so that if an error occurs in the device to be queried, Because the response signal or the standby request signal is not obtained, the status detection means 20 on the inquiry side can recognize the occurrence of the error and stop the status detection operation, so the equipment on the inquiry side can detect an error, etc. in the equipment on the inquiry destination. It is also possible to prevent the entire system from being disabled due to the influence of Of course, if it takes time to search for an answer, especially if the device being queried needs to output a response request signal to another device to perform the query operation in order to search for an answer, the answer search time will accumulate. Although this will take a considerable amount of time, the status detection means 20 can confirm from the standby request signal that the time is not being extended due to an error, so there is no problem.

【0023】なお、状態検出手段20が一度に複数の他
の機器に対して応答要求信号を送信する場合でも、その
機器数に応じた数のタイマー装置を備えるようにするか
、或はタイマー装置が1つであっても応答要求信号送信
時刻を機器ごとに管理すれば、本実施例の処理を問い合
せ先となった全機器に対応して同時に行なうことができ
る。
[0023] Even if the state detection means 20 transmits a response request signal to a plurality of other devices at once, the number of timer devices corresponding to the number of devices should be provided, or the number of timer devices should be Even if there is only one device, if the response request signal transmission time is managed for each device, the process of this embodiment can be performed simultaneously for all the devices that are the destination of the inquiry.

【0024】なお、図1ではシステム全体を制御するコ
ントロール装置1を有したホームバスシステムを例にあ
げたが、このようなコントロール装置1がないホームバ
スシステムの場合でも各機器の制御手段間において情報
の授受を行なう際の状態検出手段及び応答手段として本
発明を適用できることはいうまでもない。
Although FIG. 1 shows an example of a home bus system that has a control device 1 that controls the entire system, even in a home bus system that does not have such a control device 1, there is a difference between the control means of each device. It goes without saying that the present invention can be applied as a state detection means and a response means when exchanging information.

【0025】[0025]

【発明の効果】以上説明したように本発明のバス通信シ
ステムは、応答手段側では応答信号が用意できた段階で
これを出力することができ、即ちシステムの通信応答性
は各機器の能力に応じて高めることができるという効果
があるととともに、状態検出手段側が応答手段に対し所
定期間ごとに強制応答要求信号を出力し応答信号又は待
機要請信号を要求しており、これらが検出されない場合
は応答手段側の機器に事故発生と認識できるため、状態
検出手段側の機器で事故発生時の処理を行なうことがで
き、即ちシステム内で正常動作が不能となった機器があ
ってもシステム全体に影響を及ぼすことはないという効
果がある。
[Effects of the Invention] As explained above, in the bus communication system of the present invention, the response means can output the response signal at the stage when it is ready, that is, the communication responsiveness of the system depends on the ability of each device. In addition, the state detection means outputs a forced response request signal to the response means at predetermined intervals to request a response signal or a standby request signal, and if these are not detected, Since the equipment on the response means side can recognize that an accident has occurred, the equipment on the status detection means can handle the occurrence of an accident.In other words, even if there is a device in the system that is unable to operate normally, the system as a whole will not be affected. The effect is that it has no effect.

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

【図1】本発明の一実施例が適用されるホームバスシス
テムの一例である。
FIG. 1 is an example of a home bus system to which an embodiment of the present invention is applied.

【図2】本実施例の状態検出手段の機能的な構成図であ
る。
FIG. 2 is a functional configuration diagram of a state detection means of this embodiment.

【図3】本実施例の応答手段の機能的な構成図である。FIG. 3 is a functional configuration diagram of a response means of this embodiment.

【図4】本実施例の状態検出手段の動作を説明するフロ
ーチャートである。
FIG. 4 is a flowchart illustrating the operation of the state detection means of this embodiment.

【図5】本実施例の応答手段の動作を説明するフローチ
ャートである。
FIG. 5 is a flowchart illustrating the operation of the response means of this embodiment.

【図6】従来のバス通信方式の一例の説明図であるFIG. 6 is an explanatory diagram of an example of a conventional bus communication method.

【図
7】従来のバス通信方式の一例の説明図である
FIG. 7 is an explanatory diagram of an example of a conventional bus communication method.

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

10  中央制御部 20  状態検出手段 21  状態検出動作制御手段 22  タイマー管理手段 23  応答要求信号発生手段 24  強制応答要求信号発生手段 25  応答信号検出手段 30  応答手段 31  応答要求信号検出手段 32  強制応答要求信号検出手段 33  解答検索手段 34  応答信号発生手段 35  待機要請信号発生手段 10 Central control section 20 Status detection means 21 Status detection operation control means 22 Timer management means 23 Response request signal generation means 24 Forced response request signal generation means 25 Response signal detection means 30 Response means 31 Response request signal detection means 32 Forced response request signal detection means 33 Answer search means 34 Response signal generation means 35 Standby request signal generation means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  双方向通信バスで連結されたシステム
内における他の機器に対して応答要求信号を出力し当該
他の機器から応答信号を得ることによって他の機器の状
態を判別することができる状態検出手段を有する1又は
複数の機器と、前記双方向通信バスを介して入力される
前記応答要求信号に対して前記応答信号を出力すること
ができる応答手段を有する1又は複数の機器からなるバ
ス通信システムにおいて、前記状態検出手段は、応答を
要求する第1の応答要求信号を出力する第1の信号発生
手段と、前記第1の応答要求信号の発信又は待機要請信
号の検出に基づいてカウントを開始するタイマー手段と
、前記タイマー手段によって所定期間の経過が検出され
たら強制的に応答を要求する第2の応答要求信号を出力
する第2の信号発生手段と、前記第1又は第2の応答要
求信号に対する応答信号を検出する応答検出手段と、少
なくとも前記第2の応答要求信号に対応して応答信号又
は待機要請信号が得られなければその状態検出動作を終
了させる状態検出動作制御手段を有し、前記応答手段は
、入力された第1又は第2の応答要求信号に対応して応
答信号を出力する応答信号発生手段と、前記第2の応答
要求信号に対して応答信号を出力できないときは前記待
機要請信号を出力する待機要請信号発生手段を有するこ
とを特徴とするバス通信システム。
[Claim 1] The status of other devices can be determined by outputting a response request signal to other devices in a system connected by a bidirectional communication bus and obtaining a response signal from the other devices. Consisting of one or more devices having a state detection means and one or more devices having a response means capable of outputting the response signal in response to the response request signal input via the two-way communication bus. In the bus communication system, the state detection means includes a first signal generation means for outputting a first response request signal requesting a response, and a state detection means based on the transmission of the first response request signal or the detection of the standby request signal. a timer means for starting counting; a second signal generating means for outputting a second response request signal for forcibly requesting a response when the elapse of a predetermined period is detected by the timer means; response detection means for detecting a response signal to the response request signal; and state detection operation control means for terminating the state detection operation if a response signal or standby request signal is not obtained in response to at least the second response request signal. The response means includes a response signal generation means for outputting a response signal in response to an input first or second response request signal, and a response signal for outputting a response signal in response to the second response request signal. A bus communication system characterized by comprising standby request signal generating means for outputting the standby request signal when the standby request signal is not possible.
JP03048743A 1991-02-22 1991-02-22 Communication device and communication method Expired - Fee Related JP3109110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03048743A JP3109110B2 (en) 1991-02-22 1991-02-22 Communication device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03048743A JP3109110B2 (en) 1991-02-22 1991-02-22 Communication device and communication method

Publications (2)

Publication Number Publication Date
JPH04268847A true JPH04268847A (en) 1992-09-24
JP3109110B2 JP3109110B2 (en) 2000-11-13

Family

ID=12811767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03048743A Expired - Fee Related JP3109110B2 (en) 1991-02-22 1991-02-22 Communication device and communication method

Country Status (1)

Country Link
JP (1) JP3109110B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479406A (en) * 1993-09-28 1995-12-26 Nec Corporation Data communication system and method
JP2002344365A (en) * 2001-05-22 2002-11-29 Matsushita Electric Ind Co Ltd Power-line carrier communication control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479406A (en) * 1993-09-28 1995-12-26 Nec Corporation Data communication system and method
JP2002344365A (en) * 2001-05-22 2002-11-29 Matsushita Electric Ind Co Ltd Power-line carrier communication control system
JP4724951B2 (en) * 2001-05-22 2011-07-13 パナソニック株式会社 Control device, control method, and power line communication control system

Also Published As

Publication number Publication date
JP3109110B2 (en) 2000-11-13

Similar Documents

Publication Publication Date Title
US5123089A (en) Apparatus and protocol for local area network
US5724609A (en) Apparatus for transfer-controlling data by direct memory access
JPH08293879A (en) Electronic equipment and its operation mode control method
JPH04268847A (en) Bus communication system
JPS6220584B2 (en)
JP2709720B2 (en) Line connection method between the numerical controller and its peripheral devices
JPS5953573B2 (en) data transmission system
JPH0546367Y2 (en)
JP3357697B2 (en) Electric take-up device
JPH04139556A (en) Retry control system
JPH03250941A (en) Polling non-reply monitor system
JPH07306709A (en) Monitor and control data transfer device for vehicle
JPH08263178A (en) Power source disconnecting mechanism of computer network system
JP2591862B2 (en) Power control signal converter
JPS63206053A (en) Control system for transmission buffer
JPH0630002A (en) Redundant system
JPH0757432A (en) Communication controller
JPS599925B2 (en) Priority processing method
JPH02212960A (en) Data transmission controller
JPH0279633A (en) Error informing system
JPH06259874A (en) Mode switching method
JPS59151234A (en) Time supervisory system
JPH04329378A (en) Automatic test system for power source control device
JPH02128539A (en) Method and system for data communication
JPH0251994A (en) Intra-module control information communication system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees