JPH0494292A - Home bus protocol controller - Google Patents
Home bus protocol controllerInfo
- Publication number
- JPH0494292A JPH0494292A JP2211366A JP21136690A JPH0494292A JP H0494292 A JPH0494292 A JP H0494292A JP 2211366 A JP2211366 A JP 2211366A JP 21136690 A JP21136690 A JP 21136690A JP H0494292 A JPH0494292 A JP H0494292A
- Authority
- JP
- Japan
- Prior art keywords
- home bus
- home
- section
- data
- signal
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野コ
この発明は、家庭内の情報伝送路であるホームバスに接
続されたホームコントローラと、多数の端末とを含むホ
ームバスシステムに関し、特に、その故障検出技術の改
善に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a home bus system including a home controller connected to a home bus, which is an information transmission path in the home, and a large number of terminals. Concerning improvements in fault detection technology.
[従来の技術]
家庭内の機器をネットワークして、システム化されたサ
ービスを実現するいわゆるホームオートメーション(H
A)システムが普及してきている。[Conventional technology] So-called home automation (H
A) The system is becoming popular.
現在のサービスは、電話、インターホン、セキュリティ
、機器制御、テレコントロール(外部の電話より家庭内
の機器をコントロールする)などに限られている。しか
し、HAシステムは将来大きく発展すると考えられる。Current services are limited to telephones, intercoms, security, device control, and telecontrol (controlling devices in the home from an external telephone). However, it is believed that HA systems will greatly develop in the future.
産業界ではHAシステムの普及と、互換性とを実現する
ことを目指し、家庭内情報伝送路とじてのホームバスの
標準化を図った。その結果が、1990年9月に日本電
子機械工業会および電波技術協会が協同で制定した「ホ
ームバスシステムJ規格、すなわちrHBs規格ET−
2101j テある。その規格は、同軸ケーブル2本、
ペア線4対を含むホームバスを採用した。規格は、信号
の伝送方式、制御方法、信号の意味まで詳細に定めてい
る。本規格により、家庭内の配線が簡便になるだけでな
(、メーカー間の機器の互換性をとることが可能となる
。この規格により、システムの普及が促進されることが
期待される。In the industrial world, with the aim of popularizing HA systems and realizing compatibility, efforts have been made to standardize home buses as home information transmission lines. The results were the Home Bus System J Standard, or rHBs Standard ET-
2101j There is. The standard is two coaxial cables,
A home bus including four pairs of wires was adopted. The standards specify in detail the signal transmission method, control method, and even the meaning of the signals. This standard not only simplifies household wiring (but also makes it possible to ensure compatibility of equipment between manufacturers).This standard is expected to promote the spread of the system.
規格化されたホームバスをベースにしたHAシステム(
以下ホームバスシステムと呼ぶ)の概念図を第4図に示
す。第4図を参照して、ホームバスシステムはホームバ
スに接続されたビデオカメラ、アンテナ、テレビジョン
などの映像系端末、インターホンなどの通話系端末、パ
ーソナルコンピュータなどの情報系端末、煙検知器、ガ
ス検知器、防犯スイッチ、電子キーなどのセキュリティ
端末、空気調和装置(以下「エアコン」と呼ぶ)、風呂
、照明などの家電端末と、これらを制御するためのホー
ムコントローラとを含む。これら各機器は情報コンセン
トと呼ばれる手段によりホームバスに接続される。HA system based on a standardized home bus (
A conceptual diagram of the home bus system (hereinafter referred to as home bus system) is shown in FIG. Referring to FIG. 4, the home bus system includes video terminals such as video cameras, antennas, and televisions connected to the home bus, telephone terminals such as intercoms, information terminals such as personal computers, smoke detectors, etc. It includes security terminals such as gas detectors, security switches, and electronic keys, home appliance terminals such as air conditioners (hereinafter referred to as "air conditioners"), baths, and lighting, and a home controller for controlling these devices. Each of these devices is connected to the home bus by means called an information outlet.
情報コンセントは機器をホームバスに接続する部分であ
り、前述の規格により規格化されている。The information outlet is a part that connects devices to the home bus, and is standardized by the above-mentioned standards.
情報コンセントは電源コンセントのように壁に埋め込ま
れており、機器のプラグを差込むだけて機器をホームバ
スに接続することができる。情報コンセントにより、機
器の設置か極めて容易なものとなる。Information outlets are embedded in the wall like power outlets, and devices can be connected to the home bus by simply plugging them in. Information outlets make equipment installation extremely easy.
各機器と情報コンセ゛ントとの間には、図示されないホ
ームバスプロトコル制御装置またはインタフェースユニ
ット(IFtJ)と機器制御装置とが挿入されている。A home bus protocol control device or interface unit (IFtJ) and a device control device (not shown) are inserted between each device and the information outlet.
ホームバスプロトコル制御装置は、ホームバスを通じて
行なわれる、ホームコントローラと各端末との間の通信
プロトコルを制御するものである。機器制御装置は、ホ
ームバスプロトコル制御装置から与えられる、ホームコ
ントローラからの情報に応じて機器を制御するためのも
のである。The home bus protocol control device controls the communication protocol between the home controller and each terminal via the home bus. The device control device is for controlling devices according to information from the home controller, which is given from the home bus protocol control device.
ホームコントローラはホームバスに接続されるだけでな
く、電話回線など外部がらの有線信号ラインにも接続さ
れている。ホームコントローラは、家庭内の各サービス
システムの制御のみならず、外部との通信もつかさどる
。The home controller is not only connected to the home bus, but also to external wired signal lines such as telephone lines. The home controller is in charge of not only controlling each service system within the home, but also communicating with the outside world.
ホームバスシステムにより以下が可能となる。A home bus system allows you to:
映像系サービスにより、テレビジョンでは通常の放送受
信のみならず、ホームバスに接続されたビデオカメラの
映像も見ることができる。ビデオカメラは、リモートコ
ントロールあるいはホームコントローラにより制御され
る。With video services, you can not only receive regular broadcasts on your television, but also view images from a video camera connected to your home bus. The video camera is controlled by a remote control or home controller.
通話系サービスによれば、通話系端末を家庭内の各所に
配置することにより、外部がらの電話をどの部屋でも受
けることができる。また、どの部屋からでも外へ電話を
したり、内線通話をしたり、ドアホンに応対したりする
ことができる。According to call services, by placing call terminals in various places in the home, it is possible to receive calls from outside in any room. Additionally, you can make outside calls, make internal calls, and answer the doorbell from any room.
情報系サービスによれば、パーソナルコンピュータを単
体として動作させる以外に、パーソナルコンピュータに
よりホームコントローラの制御機能を一部実現したり、
あるいは電話回線を通してパーソナルコンピュータと外
部とのデータ通信を行なうことかできる。According to information services, in addition to operating a personal computer as a standalone unit, the personal computer can also realize some of the control functions of a home controller,
Alternatively, data communication between the personal computer and the outside world can be carried out through a telephone line.
セキュリティサービスは以下を可能にする。セキュリテ
ィセンサが異常を検知すればその情報はたたちにホーム
コントローラに伝えられる。ボームコントローラは速や
かに警報を発したり、電話回線を通じて外部に通報した
りすることができる。Security services allow you to: If the security sensor detects an abnormality, that information is immediately transmitted to the home controller. The Baum controller can immediately issue an alarm or notify the outside world through a telephone line.
その結果、必要な処置が迅速に採られる。As a result, necessary measures can be taken quickly.
テレコントロールサービスは以下を可能にする。Telecontrol services allow you to:
利用者は電話回線およびホームコントローラを経由して
ホームバスに接続される鉄器機器の通電状態を監視した
り、各機器のオンオフ制御をしたりすることができる。Users can monitor the power status of iron equipment connected to the home bus via the telephone line and home controller, and can control on/off of each equipment.
たとえば、特開昭62−231587号公報にこのよう
なシステムが開示されている。For example, such a system is disclosed in Japanese Unexamined Patent Publication No. 62-231587.
上述のホームバスシステムでは、システム配下の全機器
がホームコントローラにより管理される。In the home bus system described above, all devices under the system are managed by a home controller.
ホームバスシステムには重要な機能を有する機器も含ま
れるため、各機器が正常に動作することが極めて強く要
請される。また、万一正常に動作し得ない機器が発生し
た場合には、速やかにこれを検知し、かつ必要な処置を
採る必要がある。Since the home bus system includes devices with important functions, it is extremely important that each device operate normally. Furthermore, in the event that a device that cannot operate normally occurs, it is necessary to promptly detect this and take necessary measures.
従来は機器の異常は以下のようにして検出されていた。Conventionally, equipment abnormalities were detected as follows.
第5図を参照して、まず、通常の動作を行なうべく送信
端末(たとえばホームコントローラ)は、受信端末に制
御信号フレームを送信する。Referring to FIG. 5, first, in order to perform normal operations, a transmitting terminal (for example, a home controller) transmits a control signal frame to a receiving terminal.
制御信号フレームとは機器を制御するためのコマンドあ
るいはデータなどを一定のフォーマットにまとめたもの
であって、前述のHBS規格ET−2101に規定され
ている。A control signal frame is a collection of commands or data for controlling equipment in a fixed format, and is defined in the HBS standard ET-2101 mentioned above.
受信端末のホームバスプロトコル制御装置は、制御信号
フレームを受信すると、フレームの誤り検出を行なう。Upon receiving the control signal frame, the home bus protocol control device of the receiving terminal performs frame error detection.
誤りが検出されなかった場合、受信端末のホームバスプ
ロトコル制御装置は送信端末にACK (肯定応答)信
号を返送する。誤りが検出されたときは、受信端末のホ
ームバスプロトコル制御装置は送信端末にNAK (否
定応答)信号を返送する。If no error is detected, the receiving terminal's home bus protocol controller sends an ACK (acknowledgement) signal back to the transmitting terminal. When an error is detected, the receiving terminal's home bus protocol controller sends a NAK (negative acknowledgment) signal back to the transmitting terminal.
ACK信号を受取った場合には、送信端末は後続の処理
を行なう。一方、NAK信号を受取った場合には、送信
端末は上述の動作を繰返す。上述の動作を4回繰返し、
4回ともNAK信号を受取った場合には、送信端末は受
信端末側に異常が発生したと判断する。送信端末はその
場合故障に対処するための処理を行なう。If an ACK signal is received, the transmitting terminal performs subsequent processing. On the other hand, if a NAK signal is received, the transmitting terminal repeats the above-described operation. Repeat the above action 4 times,
If the NAK signal is received all four times, the transmitting terminal determines that an abnormality has occurred on the receiving terminal side. In that case, the transmitting terminal performs processing to deal with the failure.
なお、第5図において、PR(優先コード)は、ホーム
バス上で制御信号フレームが衝突した場合に、フレーム
の属性に応じて優先順位を決定するためのコードである
。SA、DAはそれぞ゛れ自己(送信元)アドレス、相
手(送信先)アドレスである。アドレスとはホニムバス
に接続されるインターフェイスユニットに与えられる固
有の番号である。インターフェイスユニットはホームバ
スプロトコル制御装置と同じものである。FCC(フレ
ームチエツクコード)は、自己アドレスの部分からFC
Cの前までのデータの伝送時の誤りを検出するために付
加されるコードである。In addition, in FIG. 5, PR (priority code) is a code for determining the priority order according to the attributes of the frames when control signal frames collide on the home bus. SA and DA are the self (source) address and the other party's (destination) address, respectively. An address is a unique number given to an interface unit connected to the Honimbus. The interface unit is the same as the home bus protocol controller. FCC (frame check code) starts from the self address part.
This is a code added to detect errors during transmission of data up to C.
[発明が解決しようとする課題]
しかし、上述の従来の装置は、送信端末、受信端末のい
ずれに異常があるか、また端末のどの部分に異常がある
かを特定できないという問題点かある。そのため、異常
発生時の対処が難しく、高い信頼性を得ることができな
かった。[Problems to be Solved by the Invention] However, the above-described conventional device has a problem in that it cannot specify whether the transmitting terminal or the receiving terminal has an abnormality or which part of the terminal has the abnormality. Therefore, it was difficult to deal with the occurrence of an abnormality, and high reliability could not be obtained.
それゆえにこの発明の目的は、ホームバス、端末のホー
ムバスプロトコル制御装置および機器制御装置のどこに
異常があるかを特定することを可能とするホームバスシ
ステムのホームバスプロトコル制御装置を提供すること
である。Therefore, an object of the present invention is to provide a home bus protocol control device for a home bus system that makes it possible to identify where an abnormality is occurring in the home bus, the home bus protocol control device of a terminal, and the device control device. be.
[課題を解決するための手段]
この発明に係るホームバスプロトコル制御装置は、ホー
ムバスから情報を受信し、レイヤ変換して機器制御装置
に出力し、かつ機器制御装置の出力を受取るための入出
力手段と、入出力手段により入出力されるデータを記憶
するための記憶手段と、記憶手段に記憶された、機器制
御装置に出方されたデータおよび機器制御装置から入力
されたデータとを比較して、予め定める関係を検出して
検出信号を発生するための比較手段と、検出信号に応答
して、ホームバス上に所定のメツセージを送信するため
のメツセージ送信手段とを含む。[Means for Solving the Problems] A home bus protocol control device according to the present invention receives information from a home bus, performs layer conversion, outputs the information to a device control device, and has an input for receiving the output of the device control device. Comparing the output means, the storage means for storing data input and output by the input/output means, and the data output to the equipment control device and the data input from the equipment control device, which are stored in the storage means. The apparatus includes comparing means for detecting a predetermined relationship and generating a detection signal, and message transmitting means for transmitting a predetermined message on the home bus in response to the detection signal.
「作用]
上述のホームバスプロトコル制御装置においては、機器
制御装置に与えられたデータは同時に記憶手段にも記憶
される、このデータと機器制御装置から出力されたデー
タとの間に、所定の関係が成立するかどうかか比較手段
により判断される。"Function" In the home bus protocol control device described above, the data given to the device control device is also stored in the storage means at the same time, and a predetermined relationship is established between this data and the data output from the device control device. It is determined by the comparison means whether or not this holds true.
成立する場合には、比較手段とメツセージ送信手段とに
より、ホームバス上にメツセージが送信される。そのた
め、他の端末たとえばホームコントローラは、このメツ
セージを受信することによって機器制御装置に異常が発
生したことを検知することかできる。If it is true, a message is transmitted onto the home bus by the comparing means and the message transmitting means. Therefore, other terminals such as a home controller can detect that an abnormality has occurred in the device control device by receiving this message.
[実施例]
第3図は、本発明に係るホームバスプロトコル制御装置
を用いたホームバスシステムの一般的構成を示す模式図
である。第3図を参照して、このシステムは情報伝送路
であるホームバス16と、ホームバス16に接続され、
ホームバスシステム全体の制御を行なうための主制御袋
([18と、ポ−ムバス16に接続され、ホームバスシ
ステムと人間との間のマンマシンインターフェイスにな
る情報盤20と、主制御装置18によって管理される端
末22.24とを含む。[Embodiment] FIG. 3 is a schematic diagram showing the general configuration of a home bus system using a home bus protocol control device according to the present invention. Referring to FIG. 3, this system is connected to a home bus 16 which is an information transmission path,
A main control bag (18) for controlling the entire home bus system, an information panel 20 connected to the home bus 16 and serving as a man-machine interface between the home bus system and humans, and a main control device 18. managed terminals 22.24.
主制御装置18は、ホームバスプロトコル制御装置とし
て機能するインターフェイスユニット(IFU)10a
と、IFUloaに接続され、ホームバスシステムの全
体的な制御を行なうためのCPU12aと、CPU12
aを電話回線26に接続するための電話回線インターフ
ェイス28と、それぞれCPU12aに接続された入出
力部30とメモリ32とを含む。入出力部30は制御に
必要なデータを入出力するためのものである。The main controller 18 is an interface unit (IFU) 10a that functions as a home bus protocol controller.
, a CPU 12a that is connected to IFUloa and performs overall control of the home bus system, and a CPU 12
The CPU 12a includes a telephone line interface 28 for connecting the CPU 12a to the telephone line 26, an input/output section 30 and a memory 32, each connected to the CPU 12a. The input/output unit 30 is for inputting and outputting data necessary for control.
メモリ32は、入出力部30を介して入力されたデータ
を格納するためのものである。The memory 32 is for storing data input via the input/output unit 30.
情報盤20は、ホームバスプロトコル制御装置として機
能するIFUlobと、情報盤20に設けられる各種機
器を制御するためのCPU12bと、CPU12bにそ
れぞれ接続されたタッチパネル部34、入出力部36、
メモリ38、表示部40とを含む。タッチパネル部34
は、操作者の操作を容易にするための入力装置である。The information panel 20 includes an IFUlob that functions as a home bus protocol control device, a CPU 12b for controlling various devices provided on the information panel 20, a touch panel section 34, an input/output section 36, and an input/output section 36 connected to the CPU 12b, respectively.
It includes a memory 38 and a display section 40. Touch panel section 34
is an input device for facilitating operations by an operator.
表示部40は、ホームバスシステムの状態を表示するた
めのものである。The display unit 40 is for displaying the status of the home bus system.
端末22は、I FUI OCと、機器制御プロセッサ
12cと、照明42とを含む。機器制御プロセッサ12
cは、主制御装置18からの指令に応じて照明42を制
御するためのものである。Terminal 22 includes an I FUI OC, device control processor 12c, and lighting 42. Equipment control processor 12
c is for controlling the lighting 42 in accordance with commands from the main controller 18.
端末24は、IFUlodと、機器制御プロセッサ12
dと、エアコン44とを含む。機器制御プロセッサ12
dは、主制御装置18からの指令に応じてエアコン44
を制御するためのものである。The terminal 24 includes an IFUlod and a device control processor 12.
d and an air conditioner 44. Equipment control processor 12
d operates the air conditioner 44 in response to a command from the main controller 18.
The purpose is to control the
IFU10a〜10dはいずれも本発明に係るホームバ
スプロトコル制御装置として動作するものであり、同様
の構成を有する。以下においては、例としてI FUI
Ocが説明される。The IFUs 10a to 10d all operate as home bus protocol control devices according to the present invention and have similar configurations. In the following, as an example I FUI
Oc is explained.
第1図を参照して、IFUlocは、ホームノくス16
(第3図)に接続され、ホームノくスから与えられるA
MI (Alternate MarkInver
sion)信号をNRZ (Non−Return−T
o−Zero)信号に変換し、逆にNRZ信号をAMI
信号に変換してホームバス16上に送出するためのAM
I信号信号送受襠部46HBS規格ET−2101に定
められたプロトコルに従って、受信データのレイヤ1〜
3の処理を行ない、レイヤ4〜7に相当するデータフィ
ールド(オペランド、オペレーションコード、相手サブ
デイバイスアドレス、自己ザブデイバイスアドレス、相
手サブアドレス、自己サブアドレス、ヘッダ)のデータ
にレイヤ変換して出力するための電文受信部49および
ホームバスプロトコルコントロール部52と、電文受信
部49と逆の変換を行なって、AMI信号をAMI信号
信号送受襠部46えるための電文送信部48と、ホーム
バスプロトコルコントロール部52から出力されるデー
タフィールドデータを格納するためのデータ出力レジス
タ54と、データ出力レジスタ54の格納内容を機器制
御プロセッサ12C(第3図)に与えるためのデータ入
出力インターフェイス(I/F)62と、データ出力レ
ジスタ54の内容を記憶するための記憶部56と、デー
タ入出力1/F62を介して機器制御プロセッサ12c
から与えられるデータを格納するためのデータ入力レジ
スタ60と、データ入力レジスタ60の格納内容を記憶
するための記憶部58と、記憶部56に格納された出力
データおよび記憶部58に格納された入力データとを比
較し、両者の内容が一致しないときに、すなわち不一致
という関係が成立するときに異常発生信号を出力するた
めの比較部57と、比較部57からの異常発生信号に応
答して、所定の異常メッセニジデータを生成し、ホーム
バスプロトコルコントロール部52に与えるための異常
メツセージデータ生成部50とを含む。Referring to FIG. 1, IFUloc is home node 16
(Fig. 3) and given from the home node
MI (Alternate Mark Inver
ion) signal to NRZ (Non-Return-T
o-Zero) signal, and conversely convert the NRZ signal to AMI
AM for converting into a signal and sending it on the home bus 16
I signal signal transmitting/receiving unit 46 In accordance with the protocol defined in the HBS standard ET-2101, the layers 1 to 1 of the received data are
3 to perform layer conversion and output data of data fields corresponding to layers 4 to 7 (operand, operation code, partner sub-device address, own sub-device address, partner sub-address, own sub-address, header). A message receiving section 49, a home bus protocol control section 52, a message transmitting section 48 for performing the reverse conversion of the message receiving section 49 and transmitting the AMI signal to the AMI signal transmission/reception section 46, and a home bus protocol control section 52. a data output register 54 for storing data field data output from the data output register 54, and a data input/output interface (I/F) 62 for providing the stored contents of the data output register 54 to the equipment control processor 12C (FIG. 3). , a storage section 56 for storing the contents of the data output register 54, and the device control processor 12c via the data input/output 1/F62.
a data input register 60 for storing data given from the data input register 60; a storage section 58 for storing the contents stored in the data input register 60; and output data stored in the storage section 56 and input data stored in the storage section 58. a comparison unit 57 for comparing the data and outputting an abnormality occurrence signal when the contents of the two do not match, that is, when a relationship of mismatch is established, and in response to the abnormality occurrence signal from the comparison unit 57, The abnormal message data generation section 50 generates predetermined abnormal message data and provides it to the home bus protocol control section 52.
第6図を参照して、AMI信号とは、ディジタル信号を
伝送する場合の伝送波形の1つであり、ゼロ、プラス、
マイナスの3値を持ち、論理「1」を0に、論理「0」
をプラスまたはマイナスのレベルに交互に割り付ける方
式である(負論理の場合)。この信号は、波形の平均値
すなわちゼロ周波数成分が常に0である。したがって、
この波形を用いた信号は通信路の直流遮断特性の影響を
受けにくい。またこの信号は、伝送路において直流のバ
ランスをとることができるため、給電を行なう場合に有
利である。Referring to FIG. 6, the AMI signal is one of the transmission waveforms when transmitting digital signals, and includes zero, plus,
Has 3 negative values, logic "1" becomes 0, logic "0"
This is a method that alternately assigns to positive or negative levels (in the case of negative logic). In this signal, the average value of the waveform, that is, the zero frequency component is always 0. therefore,
Signals using this waveform are less susceptible to the direct current cutoff characteristics of the communication path. Furthermore, this signal is advantageous when supplying power because it can balance the direct current in the transmission path.
第2図を参照して、機器制御プロセッサ12cは、IF
Ulocのデータ入出力I/F62に接続され、IFU
locとの間でデータの入出力を行なうための入出力I
/F68と、入出力17F68の出力に入力が接続され
、人出力I/F68を介してIFUlocから入力され
たデータを一時格納するための入力レジスタ66と、入
力レジスタ66の出力が接続され、同様に機器制御プロ
セッサ12cの各部分が接続された内部バス72と、内
部バス72に入力が、出力が入出力I/F68に接続さ
れた出力レジスタ70と、内部バス72にそれぞれ接続
されたCPU74と、RAM(Random Acc
ess Memory)76と、ROM (Read
−On l’y Mem。Referring to FIG. 2, the device control processor 12c has an IF
Connected to Uloc data input/output I/F62, IFU
Input/output I for inputting/outputting data to/from loc
The input is connected to the /F68 and the output of the input/output 17F68, and the input register 66 for temporarily storing data input from IFUloc via the human output I/F68 is connected to the output of the input register 66. an internal bus 72 to which each part of the device control processor 12c is connected; an output register 70 whose input is connected to the internal bus 72 and whose output is connected to the input/output I/F 68; and a CPU 74 connected to the internal bus 72. , RAM (Random Acc
ess Memory) 76 and ROM (Read
-Only Mem.
ry)78と、入出力(I 10)ボート80とを含む
。ry) 78 and an input/output (I10) port 80.
CPU74は、入出力I/F68、入力レジスタ66を
介してIFUIOCから与えられるデータフィールドデ
ータに従って、機器14(この例の場合には照明42)
を制御するプログラムを実行するためのものである。R
OM78は、このプログラムおよび書換える必要のない
データを格納するためのものである。RA M 76は
、CPU74が作業領域として使用するためのものであ
る。The CPU 74 controls the device 14 (in this example, the lighting 42) according to the data field data given from the IFUIOC via the input/output I/F 68 and the input register 66.
It is used to run a program that controls the . R
OM78 is for storing this program and data that does not need to be rewritten. The RAM 76 is used by the CPU 74 as a work area.
I10ボート80は、機器14(照明42)を内部バス
72に接続するためのものである。I10 boat 80 is for connecting equipment 14 (lighting 42) to internal bus 72.
第1図〜第3図を参照して、この発明に係るホームバス
システムプロトコル制御装置の一例であるインターフェ
イスユニット10cは以下のように動作する。CPUI
2 aはI FUI Oaを通じて、パスライン16
に照明42に関する制御情報(たとえば照明42を点灯
させる、あるいは消灯させる)をAMI信号として送出
する。AMI信号送受信部46は、ホームバス16から
AMI信号を受取り、NRZ信号に変換し電文受信部4
9に与える。電文受信部49、ホームバスプロトコルコ
ントロール部52は、AMI信号送受信部46から受取
った信号に対してレイヤ1〜3の変換処理を行ない、デ
ータフィールドデータをデータ出力レジスタ54に与え
る。このとき記憶部56は、データ出力レジスタ54の
格納内容を記憶する。Referring to FIGS. 1 to 3, the interface unit 10c, which is an example of the home bus system protocol control device according to the present invention, operates as follows. C.P.U.I.
2 a passes through I FUI Oa to pass line 16
Control information regarding the lighting 42 (for example, turning on or turning off the lighting 42) is sent out as an AMI signal. The AMI signal transmitting/receiving section 46 receives the AMI signal from the home bus 16, converts it into an NRZ signal, and sends it to the message receiving section 4.
Give to 9. The message receiving section 49 and the home bus protocol control section 52 perform layer 1 to layer 3 conversion processing on the signal received from the AMI signal transmitting/receiving section 46 and provide data field data to the data output register 54 . At this time, the storage unit 56 stores the contents stored in the data output register 54.
データ出力レジスタ54に格納されたデータフィールド
データは、データ入出力I/F62を介して機器制御プ
ロセッサ12cの入出力I/F68に与えられる。この
データの種々のタイミングは、機器制御プロセッサ12
c側によって制御される。The data field data stored in the data output register 54 is given to the input/output I/F 68 of the device control processor 12c via the data input/output I/F 62. The various timings of this data are controlled by the equipment control processor 12.
controlled by the c side.
データフィールドデータは入出力I/F6’8を介して
入力レジスタ66に格納される。CPU74は、入力レ
ジスタ66に格納されたデータフィールドデータを展開
し、展開されたデータに基づいてI10ボート80を介
して機器14.すなわち照明42を動作させる。Data field data is stored in the input register 66 via the input/output I/F 6'8. The CPU 74 expands the data field data stored in the input register 66, and sends the data to the device 14 through the I10 port 80 based on the expanded data. That is, the lighting 42 is operated.
CPU74は同時に、入力レジスタ66のデータフィー
ルドデータを内部バス72を通じて出力レジスタ70に
送り、出力レシスタ70にこのデータを記憶させる。本
例の場合には、CPU74は入力レジスタ66の格納内
容に何ら加工を施さずに出力レジスタ70に与えるもの
とする。CPU74は出力レジスタ70の格納内容を、
入出力I/F68を通じてIFUlocのデータ入出力
I/F62に与える。CPU 74 simultaneously sends the data field data of input register 66 to output register 70 via internal bus 72, causing output register 70 to store this data. In this example, it is assumed that the CPU 74 provides the contents stored in the input register 66 to the output register 70 without any processing. The CPU 74 stores the contents of the output register 70 as
It is given to the data input/output I/F 62 of IFUloc through the input/output I/F 68.
データ入出力I/F62を介して機器制御プロセッサ1
2cから与えられたデータは、データ入力レジスタ60
に与えられる。データ入力レジスタ60の格納内容は、
記憶部58によって記憶される。Device control processor 1 via data input/output I/F 62
The data given from 2c is input to the data input register 60.
given to. The contents stored in the data input register 60 are as follows:
The information is stored in the storage unit 58.
機器制御プロセッサ12cは比較部57を制御して、記
憶部56と記憶部58の記憶内容を比較する。本例の場
合には、記憶部56の格納内容と記憶部58の格納内容
とは一致しているはずである。The device control processor 12c controls the comparing section 57 to compare the contents of the storage section 56 and the storage section 58. In this example, the contents stored in the storage section 56 and the contents stored in the storage section 58 should match.
比較部57は、比較の結果記憶部56と記憶部58の格
納内容が一致していれば、機器制御プロセッサ12cに
は異常がないと判断する。したかって比較部57は異常
メツセージデータ生成部50に対し何らの情報も与えな
い。もしも記憶部56と記憶部58の格納内容が不一致
であれば、比較部57は機器制御プロセッサ12cの動
作に異常があるものと判断し、異常発生信号を異常メツ
セージデータ生成部50に与える。If the storage contents of the storage section 56 and the storage section 58 match as a result of the comparison, the comparison section 57 determines that there is no abnormality in the device control processor 12c. Therefore, the comparison section 57 does not provide any information to the abnormal message data generation section 50. If the contents stored in the storage section 56 and the storage section 58 do not match, the comparison section 57 determines that there is an abnormality in the operation of the device control processor 12c, and provides an abnormality occurrence signal to the abnormality message data generation section 50.
異常メツセージデータ生成部50は、異常発生信号に応
答して異常メツセージデータを生成し、ホームバスプロ
トコルコントロール部52に与える。ホームバスプロト
コルコントロール部52および電文送信部48は、異常
メツセージデータに基づいて制御信号の基本フォーマッ
トデータを作成し、シリアル信号としてAMI信号送受
信部46を介してホームバス16に送aする。The abnormal message data generation section 50 generates abnormal message data in response to the abnormality occurrence signal and provides the generated abnormal message data to the home bus protocol control section 52. The home bus protocol control section 52 and the message transmission section 48 create basic format data of a control signal based on the abnormal message data, and send it as a serial signal to the home bus 16 via the AMI signal transmission/reception section 46.
情報盤20(第3図)のCPU12bは、異常メツセー
ジを示す制御信号を受取ると、表示部40を用いてどの
端末のどの機器に異常が発生したかを表示する。異常の
発生湯所の判断において、従来のように端末全体をひと
まとまりとして判断するのでなく、機器の単位で異常が
発生したことを検知することができるため、異常の発生
湯所を特定することが可能となる。When the CPU 12b of the information board 20 (FIG. 3) receives a control signal indicating an abnormal message, it uses the display section 40 to display which terminal and which equipment has experienced the abnormality. When determining where an abnormality occurs, it is possible to detect the occurrence of an abnormality on a device-by-device basis, rather than judging the entire device as a unit as in the past, which makes it possible to identify the location where an abnormality occurs. becomes possible.
以上の説明においては、記憶部56.58および比較部
57、異常メツセージデータ生成部50をハードウェア
的なものとして表現した。しかしながら、これらの機能
はインターフェイスユニット10cで実行されるプログ
ラムにより、ソフトウェア処理のみで行なうことができ
る。主制御装置18および情報盤20においても、特別
なハードウェアを追加せずソフトウェアの簡単な変更の
みで端末の、各機器の動作情況を確認することができる
。また、第1図に示されるIFUlocをこの構成のま
まLSI化することにより、汎用性が高(信頼性の高い
装置を得ることができる。In the above description, the storage units 56 and 58, the comparison unit 57, and the abnormal message data generation unit 50 are expressed as hardware. However, these functions can be performed only by software processing by a program executed by the interface unit 10c. Also in the main control device 18 and the information panel 20, it is possible to check the operating status of each device of the terminal by simply changing the software without adding any special hardware. Further, by converting the IFUloc shown in FIG. 1 into an LSI with this configuration, a device with high versatility (high reliability) can be obtained.
[発明の効果コ
以上のようにこの発明によれば、ホームバスプロトコル
制御装置において、機器制御装置が正常に動作している
か否かを判断することができる。[Effects of the Invention] As described above, according to the present invention, in a home bus protocol control device, it is possible to determine whether or not a device control device is operating normally.
正常でないと判断された場合には、その旨のメツセージ
がホームバスに送出されるため、他の端末は端末のどの
部分に異常があるかを容易に判定することができる。従
来のように端末に故障か発生したことがわかっても、ど
の部分にその故障かあるかを特定できないという不都合
はない。If it is determined that the terminal is not normal, a message to that effect is sent to the home bus, so other terminals can easily determine which part of the terminal is abnormal. There is no inconvenience like in the past, where even if it is determined that a terminal has malfunctioned, it cannot be determined in which part the malfunction is occurring.
すなわち、端末のホームバスプロトコル制御装置および
機器制御装置のどこに異常があるかを特定することを可
能とするホームバスシステムのホームバスプロトコル制
御装置を提供することができる。That is, it is possible to provide a home bus protocol control device for a home bus system that makes it possible to identify where an abnormality is occurring in the home bus protocol control device and equipment control device of a terminal.
第1図は本発明に係るホームバスプロトコル制御装置の
一例であるインターフェイスユニットのブロック図であ
り、
第2図は機器制御プロセッサのブロック図であり、
第3図は本発明が応用されるホームバスシステムのブロ
ック図であり、
第4図はホームバスシステムを概念的に示す模式図であ
り、
第5図は従来のホームバスシステムにおいて行なわれて
いた故障検出シーケンスを表わす模式図であり、
第6図はAMI信号を示す波形図である。
図中、10a〜10dはインターフェイスユニット、1
2a、12bはCPU、12c、12dは機器制御プロ
セッサ、16はホームバス、18は主制御装置、20は
情報盤、50は異常メツセージデータ生成部、52はホ
ルムバスプロトコルコントロール部、56.58は記憶
部、57は比較部を示す。
なお、図中、同一符号は同一、または相当箇所を示す。FIG. 1 is a block diagram of an interface unit which is an example of a home bus protocol control device according to the present invention, FIG. 2 is a block diagram of a device control processor, and FIG. 3 is a block diagram of a home bus protocol control device to which the present invention is applied. FIG. 4 is a schematic diagram conceptually showing a home bus system; FIG. 5 is a schematic diagram showing a failure detection sequence performed in a conventional home bus system; The figure is a waveform diagram showing the AMI signal. In the figure, 10a to 10d are interface units, 1
2a and 12b are CPUs, 12c and 12d are device control processors, 16 is a home bus, 18 is a main controller, 20 is an information panel, 50 is an abnormal message data generation section, 52 is a form bus protocol control section, and 56.58 is a A storage section and 57 indicate a comparison section. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.
Claims (1)
を介して情報を互いに授受することにより機器を制御す
る機器制御装置とを含むホームバスシステムにおいて用
いられ、前記ホームバスと前記機器制御装置との間の予
め定める通信プロトコルに従った通信の制御をするため
のホームバスプロトコル制御装置であって、 前記ホームバスから前記情報を受信し、レイヤ変換して
前記機器制御装置に出力し、かつ前記機器制御装置の出
力を受取るための入出力手段と、前記入出力手段により
入出力されるデータを記憶するための記憶手段と、 前記記憶手段に記憶された前記機器制御装置に出力され
たデータおよび前記機器制御装置から入力されたデータ
とを比較して、予め定める関係を検出して検出信号を発
生するための比較手段と、前記検出信号に応答して、前
記ホームバス上に所定のメッセージを送信するためのメ
ッセージ送信手段とを含むホームバスプロトコル制御装
置。(1) Used in a home bus system that includes a home bus installed in a home and a device control device that controls devices by exchanging information with each other via the home bus, wherein the home bus and the device control device A home bus protocol control device for controlling communication according to a predetermined communication protocol between input/output means for receiving the output of the equipment control device; storage means for storing the data input/output by the input/output means; and the data output to the equipment control device stored in the storage means; Comparing means for comparing data input from the equipment control device to detect a predetermined relationship and generating a detection signal; and in response to the detection signal, a predetermined message is sent on the home bus. and a message transmitting means for transmitting a message.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2211366A JPH0494292A (en) | 1990-08-08 | 1990-08-08 | Home bus protocol controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2211366A JPH0494292A (en) | 1990-08-08 | 1990-08-08 | Home bus protocol controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0494292A true JPH0494292A (en) | 1992-03-26 |
Family
ID=16604780
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2211366A Pending JPH0494292A (en) | 1990-08-08 | 1990-08-08 | Home bus protocol controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0494292A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11205357A (en) * | 1998-01-14 | 1999-07-30 | Sharp Corp | Data transfer method in a system including a plurality of devices, data transfer system, transfer device designation device, remote control device for network device, and information device |
-
1990
- 1990-08-08 JP JP2211366A patent/JPH0494292A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11205357A (en) * | 1998-01-14 | 1999-07-30 | Sharp Corp | Data transfer method in a system including a plurality of devices, data transfer system, transfer device designation device, remote control device for network device, and information device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3845472A (en) | Data communication system employing a series loop | |
| JPH0494292A (en) | Home bus protocol controller | |
| US20150005909A1 (en) | Communication Device, Communication Method, and Management Device | |
| JPH08242303A (en) | Method for detecting drop/disconnection of adaptor for slave equipment in nurse calling equipment | |
| JP2011188322A (en) | Method of controlling communication, communication control program, and master communication device | |
| KR100505218B1 (en) | Checking Method of Home Appliance Controlling System | |
| JP3131610B2 (en) | Building management system | |
| JPH04167640A (en) | Home bus system | |
| JP2662319B2 (en) | Transmission error detection method and terminal equipment for disaster prevention monitoring system | |
| JPH0631796Y2 (en) | Home control system | |
| JP4378799B2 (en) | Digital data input / output device | |
| JP2000276260A (en) | Remote reset system | |
| JP2716313B2 (en) | Transmission error detection device for disaster prevention monitoring system | |
| JP3823891B2 (en) | Multi-node computer system and link processing method | |
| KR100637948B1 (en) | Message Processing Method of Home Network System | |
| JPH0746340A (en) | Monitoring image communications system | |
| JP2694412B2 (en) | Data transmission system | |
| JP2007189435A (en) | Monitoring device | |
| JPH04354298A (en) | home security system | |
| JPH0553338B2 (en) | ||
| JP2002042108A (en) | Security system | |
| JPS61163760A (en) | Communication interface for terminal | |
| JPH06311568A (en) | Power control system | |
| JPH01220094A (en) | Home bus system | |
| JPH04129346A (en) | Communication system provided with duplicate address detection function |