JP3065651B2 - Data communication method in in-vehicle communication network - Google Patents

Data communication method in in-vehicle communication network

Info

Publication number
JP3065651B2
JP3065651B2 JP2288214A JP28821490A JP3065651B2 JP 3065651 B2 JP3065651 B2 JP 3065651B2 JP 2288214 A JP2288214 A JP 2288214A JP 28821490 A JP28821490 A JP 28821490A JP 3065651 B2 JP3065651 B2 JP 3065651B2
Authority
JP
Japan
Prior art keywords
slave
master
data
communication
identification information
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.)
Expired - Fee Related
Application number
JP2288214A
Other languages
Japanese (ja)
Other versions
JPH04160933A (en
Inventor
浩 下間
保直 郷
仁克 伊形
俊之 木村
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.)
Pioneer Corp
Original Assignee
Pioneer 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 Pioneer Corp filed Critical Pioneer Corp
Priority to JP2288214A priority Critical patent/JP3065651B2/en
Priority to EP19910309896 priority patent/EP0482951B1/en
Priority to DE1991615641 priority patent/DE69115641T2/en
Publication of JPH04160933A publication Critical patent/JPH04160933A/en
Application granted granted Critical
Publication of JP3065651B2 publication Critical patent/JP3065651B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、車載用通信ネットワークにおけるデータ通
信方法に係り、特に車載用のAV(オーディオ・ビジュア
ル)システムの接続ネットワークに用いるのに好適なデ
ータ通信方法に関する。
Description: TECHNICAL FIELD The present invention relates to a data communication method in a vehicle-mounted communication network, and more particularly to a data communication method suitable for use in a connection network of a vehicle-mounted AV (audio-visual) system. Related to the communication method.

〔従来の技術〕[Conventional technology]

近年、車載用オーディオシステムは、単に音楽を聞く
だけのシステムから視覚的な要素を含むシステムへと発
展しつつある。このように、オーディオのみならずビジ
ュアルな機能をもったシステムはAVシステムとして知ら
れている。
In recent years, in-vehicle audio systems have evolved from systems that merely listen to music to systems that include visual elements. A system having not only audio but also visual functions is known as an AV system.

車載用のAVシステムは、多種多様な要素によって構築
されている。例えば、オーディオ要素としては、カセッ
トテープデッキ、ラジオチューナ、CD(コンパクトディ
スク)プレーヤ等があり、ビュジアル要素としては、TV
(テレビジョン)チューナやナビゲーション装置等が含
まれている。これらの各要素から出力されるオーディオ
再生信号はアンプを介して車内に搭載されたスピーカか
ら再生され、画像再生信号は同様に車内に搭載されたデ
ィスプレイ上に映像出力される。今日、これらの各要素
はディジタル技術によって制御されており、その制御は
マイクロコンピュータを用いたコントローラによって行
われる。
In-vehicle AV systems are constructed with various elements. For example, the audio element includes a cassette tape deck, a radio tuner, a CD (compact disk) player, and the like, and the visual element includes a TV.
(Television) A tuner, a navigation device, and the like are included. An audio reproduction signal output from each of these elements is reproduced from a speaker mounted in the vehicle via an amplifier, and an image reproduction signal is similarly output as an image on a display mounted in the vehicle. Today, each of these elements is controlled by digital technology, which is controlled by a microcomputer-based controller.

上記各要素をシステマチックに動作させるためには、
各要素を統括的にコントロールする必要がある。そこ
で、車載用AVシステムでは、上記各要素のコントローラ
をバス方式のネットワークにより接続し、互の制御デー
タを上記ネットワークを構成する通信バスを介して送受
するようになっている。
In order to operate each of the above elements systematically,
It is necessary to control each element comprehensively. Therefore, in the on-vehicle AV system, the controllers of the above elements are connected by a bus network, and mutual control data is transmitted and received via a communication bus constituting the network.

従来のネットワークでは、各コントローラの制御をポ
ーリング方式で行なっている。ポーリング方式とは、各
コントローラのうちのいずれかに優先的地位を与えてそ
のコントローラをマスタとし、残る他のコントローラを
スレーブとして主従関係を定め、マスタがスレーブから
データを収集する場合に常にマスタ側からスレーブ側に
アクセスする方式である。
In a conventional network, each controller is controlled by a polling method. The polling method is a method in which one of the controllers is given a priority position, the controller is set as the master, and the remaining controllers are set as the master-slave relationship, and the master is always used when the master collects data from the slave. This is a method for accessing the slave side from the server.

この従来のポーリング方式によりマスタがスレーブに
通信データを送信しアクセスしたりスレーブ側からマス
タにデータを返信する場合に、各コントローラの識別あ
るいは特定を行う必要がある。そこで、各コントローラ
には当該コントローラを示すアドレスを割当てている。
When the master transmits and accesses communication data to the slave by the conventional polling method, or when the slave returns data to the master, it is necessary to identify or specify each controller. Therefore, an address indicating the controller is assigned to each controller.

従来のアドレスの割当て方式では、各コントローラに
対しそれぞれ固有のアドレスを割当てている。そして、
制御データは各コントローラ固有のアドレスデータにそ
のコントローラに対する指示データ(例えば、起動命
令:ONデータ)を付加した状態で生成され、通信バス上
に送出される。
In the conventional address assignment method, a unique address is assigned to each controller. And
The control data is generated with address data unique to each controller added with instruction data (for example, a start command: ON data) for the controller, and sent out on the communication bus.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来の接続ネットワークにおける問題点は、通信
データの送受にポーリング方式を用いている点にある。
すなわち、特に車載用のAVシステムの場合、エンジンス
イッチに連動するACCスイッチ(カーアクセサリ電源供
給スイッチ)のON/OFFのたびに電源供給がON/OFF状態と
なるため、その都度当該ネットワークを構成するスレー
ブ装置の接続状態を確認する必要がある。この場合に、
ポーリング方式によれば、ACCスイッチのON時ごとにマ
スタ装置から各スレーブ装置に対して接続確認のための
アクセスを行なわなければならず、マスタ装置の負担は
極めて大きいものである。例えば、スレーブ装置のアド
レスが12bitの場合、マスタ装置のシリアル・ポールで
接続確認を行うと、最高4096回のアクセスが必要とな
る。
The problem with the conventional connection network is that a polling method is used for transmitting and receiving communication data.
That is, especially in the case of an in-vehicle AV system, the power supply is turned ON / OFF each time the ACC switch (car accessory power supply switch) linked to the engine switch is turned ON / OFF. It is necessary to check the connection status of the slave device. In this case,
According to the polling method, every time the ACC switch is turned on, the master device must access each slave device for confirming the connection, and the burden on the master device is extremely large. For example, when the address of the slave device is 12 bits, if the connection is confirmed by the serial poll of the master device, up to 4096 accesses are required.

また、ポーリング方式の場合、マスタ装置がスレーブ
装置に対してアクセスするためには、マスタ装置が通信
バス上の全スレーブ装置のアドレスを登録しておく必要
があり、登録されていない追加スレーブ装置に対しては
何らアクセスを行うことができず、物理的あるいは電気
的に通信バスに接続されたとしても機能しないことが起
こる。確実に機能させるためには追加スレーブ装置に固
有のアドレスを割当てて新たに登録する手続が必要とな
る。
In addition, in the case of the polling method, in order for the master device to access the slave device, the master device needs to register the addresses of all the slave devices on the communication bus. No access can be made to the communication bus, and even if it is physically or electrically connected to the communication bus, it does not function. In order to function reliably, a procedure for assigning a unique address to the additional slave device and newly registering it is necessary.

本発明の目的は、マスタ装置の負担軽減ならびにAVシ
ステムの拡張性の向上を達成しうる車載用通信ネットワ
ークにおけるデータ通信方法を提供することにある。
An object of the present invention is to provide a data communication method in a vehicle-mounted communication network that can achieve a reduction in the burden on a master device and an improvement in expandability of an AV system.

〔課題を解決するための手段〕[Means for solving the problem]

上記課題を解決するために、請求項1に記載の発明
は、第1図(a)に示すように、一つのマスタ装置
(M)および一つまたはそれ以上のスレーブ装置(S)
が同一通信バス(B)に接続されてなるバス方式の車載
用通信ネットワークにおけるデータ通信方法であって、
前記マスタ装置(M)は、第1図(b)に示すように、
前記スレーブ装置(S)からの接続依頼情報であって当
該スレーブ装置(S)を示すスレーブ識別情報と前記マ
スタ装置(M)を示すマスタ識別情報とを含む接続依頼
情報(DREQ)を受信したのち、当該接続依頼情報
(DREQ)を送信したスレーブ装置(S)に対して、前記
通信バス(B)に接続されている他のスレーブ装置
(S)に関する接続状態情報(DCON)であって前記マス
タ識別情報と前記接続依頼情報(DREQ)を送信したスレ
ーブ装置(S)を示す前記スレーブ識別情報とを含む接
続状態情報(DCON)を発行することを特徴とするもので
ある。
In order to solve the above-mentioned problem, the invention according to claim 1 comprises, as shown in FIG. 1 (a), one master device (M) and one or more slave devices (S).
Is a data communication method in a bus-type in-vehicle communication network connected to the same communication bus (B),
As shown in FIG. 1 (b), the master device (M)
Connection request information (D REQ ), which is connection request information from the slave device (S) and includes slave identification information indicating the slave device (S) and master identification information indicating the master device (M), has been received. After that, the connection status information (D CON ) on the other slave device (S) connected to the communication bus (B) is transmitted to the slave device (S) that transmitted the connection request information (D REQ ). Then, connection state information (D CON ) including the master identification information and the slave identification information indicating the slave device (S) that has transmitted the connection request information (D REQ ) is issued.

また、請求項2に記載の発明は、請求項1に記載の車
載用通信ネットワークにおけるデータ通信方法におい
て、前記スレーブ装置(S)は、前記スレーブ識別情報
として、当該スレーブ装置(S)自体を示すスレーブ装
置識別情報と、当該スレーブ装置(S)の機能を示すス
レーブ機能識別情報と、を含む前記接続依頼情報
(DREQ)を送信することを特徴とするものである。
According to a second aspect of the present invention, in the data communication method in the on-vehicle communication network according to the first aspect, the slave device (S) indicates the slave device (S) itself as the slave identification information. The connection request information (D REQ ) including slave device identification information and slave function identification information indicating the function of the slave device (S) is transmitted.

更に、請求項3に記載の発明は、請求項2に記載の車
載用通信ネットワークにおけるデータ通信方法におい
て、前記マスタ装置(M)は、前記マスタ識別情報とし
て、当該マスタ装置(M)自体を示すマスタ装置識別情
報と、当該マスタ装置(M)の機能を示すマスタ機能識
別情報と、を含む前記接続状態情報(DCON)を発行する
ことを特徴とするものである。
Further, according to a third aspect of the present invention, in the data communication method in the vehicle-mounted communication network according to the second aspect, the master device (M) indicates the master device (M) itself as the master identification information. The connection status information (D CON ) including master device identification information and master function identification information indicating a function of the master device (M) is issued.

〔作用〕[Action]

請求項1に記載の発明によれば、第1図(b)に示す
ように、マスタ装置(M)、はスレーブ装置(S)から
の接続依頼情報(DREQ)を受信した場合に限り(STEP
1)、通信バス(B)に接続されている他のスレーブ装
置(S)の接続状態情報(DCON)を発行し(STEP2)、
マスタ装置(M)側からスレーブ装置(S)に積極的に
アクセスすることはない。換言すれば、各スレーブ装置
(S)からの自己申告を待って情報の提供を行うことに
なる。このように、スレーブ装置(S)からの自己申告
方法を採用することにより、マスタ装置(M)のアクセ
スに要する負担が軽減される。
According to the first aspect of the present invention, as shown in FIG. 1 (b), the master device (M) receives the connection request information (D REQ ) from the slave device (S) only ( STEP
1) issue connection state information (D CON ) of another slave device (S) connected to the communication bus (B) (STEP 2),
The master device (M) does not actively access the slave device (S). In other words, information is provided after waiting for a self-report from each slave device (S). As described above, by adopting the self-reporting method from the slave device (S), the load required for the access of the master device (M) is reduced.

また、スレーブ装置(S)が能動的に自己申告するよ
うにしたことで、マスタ装置(M)に登録されていない
新たなスレーブ装置(S)の追加接続があった場合で
も、申告後はシステムの構成メンバとして機能し得るこ
ととなる。
In addition, since the slave device (S) actively reports itself, even if there is an additional connection of a new slave device (S) not registered in the master device (M), after the declaration, the system is set up. Can function as a member.

更に、接続依頼情報(DREQ)を受けたマスタ装置
(M)は通信バス(B)に接続されている他のスレーブ
装置(S)に関する接続状態情報(DCON)を接続依頼情
報(DREQ)を発行したスレーブ装置(S)に送信するた
め、全スレーブ装置(S)は通信バス(B)の接続情報
を保有することになる。
Further, the master device (M) having received the connection request information (D REQ ) transmits the connection state information (D CON ) relating to the other slave devices (S) connected to the communication bus (B) to the connection request information (D REQ). ) Is transmitted to the slave device (S) that issued the command, all the slave devices (S) have the connection information of the communication bus (B).

この接続状態情報(DCON)の提供動作において、スレ
ーブ装置(S)はスレーブ識別情報とマスタ識別情報と
を含む接続依頼情報(DREQ)を送信すると共に、マスタ
装置(M)は接続依頼情報(DREQ)の受信後にマスタ識
別情報と接続依頼情報(DREQ)を送信したスレーブ装置
(S)を示すスレーブ識別情報とを含む接続状態情報
(DCON)を発行する。
In the operation of providing the connection state information (D CON ), the slave device (S) transmits the connection request information (D REQ ) including the slave identification information and the master identification information, and the master device (M) transmits the connection request information. After receiving (D REQ ), it issues connection state information (D CON ) including master identification information and slave identification information indicating the slave device (S) that transmitted the connection request information (D REQ ).

よって、接続依頼情報(DREQ)の送信元であるスレー
ブ装置(S)に対してその送信先であるマスタ装置
(M)から接続状態情報(DCON)の返信を行う場合に、
迅速に当該スレーブ装置(S)を認識して当該返信を確
実に実行することができる。
Therefore, when returning the connection state information (D CON ) from the master device (M) as the transmission destination to the slave device (S) as the transmission source of the connection request information (D REQ ),
The reply can be reliably executed by quickly recognizing the slave device (S).

また、新たなスレーブ装置(S)が通信バスに接続さ
れた場合にも当該スレーブ装置(S)からの接続依頼情
報(DREQ)がマスタ装置(M)において即座に認識され
ることとなり、当該新しいスレーブ装置(S)が追加さ
れたことを当該マスタ装置(M)において容易かつ迅速
に認識することができると共に、当該マスタ装置(M)
において新たなスレーブ装置(S)を即座に認識するこ
とができるので当該マスタ装置(M)において当該新た
なスレーブ装置(S)に対応した処理を迅速に開始する
ことができる。
Further, even when a new slave device (S) is connected to the communication bus, the connection request information (D REQ ) from the slave device (S) is immediately recognized by the master device (M). The addition of a new slave device (S) can be easily and quickly recognized in the master device (M), and the master device (M) can be recognized.
, The new slave device (S) can be immediately recognized, so that the master device (M) can quickly start processing corresponding to the new slave device (S).

更に、既存のスレーブ装置(S)が脱落した場合に
も、いずれのスレーブ装置(S)が脱落したかをマスタ
装置(M)において即座に認識することができると共
に、当該マスタ装置(M)において当該スレーブ装置
(S)の脱落に対応した処理を迅速に開始することがで
きる。
Further, even when the existing slave device (S) is dropped, the master device (M) can immediately recognize which slave device (S) has dropped, and in the master device (M). The process corresponding to the drop of the slave device (S) can be started quickly.

また、請求項2に記載の発明によれば、請求項1に記
載の発明の作用に加えて、スレーブ装置(S)がスレー
ブ識別情報としてスレーブ装置識別情報とスレーブ機能
識別情報とを含む接続依頼情報(DREQ)を送信するの
で、例えば新たなスレーブ装置(S)が通信バス(B)
に接続された場合において、マスタ装置(M)において
当該新たなスレーブ装置(S)の機能まで確実に認識す
ることができる。
According to the invention described in claim 2, in addition to the effect of the invention described in claim 1, a connection request in which the slave device (S) includes slave device identification information and slave function identification information as slave identification information. Since the information (D REQ ) is transmitted, for example, a new slave device (S) is connected to the communication bus (B).
In this case, the function of the new slave device (S) can be reliably recognized in the master device (M).

更に、請求項3に記載の発明によれば、請求項2に記
載の発明の作用に加えて、マスタ装置(M)がマスタ識
別情報としてマスタ装置識別情報とマスタ機能識別情報
とを含む接続状態情報(DCON)を発行するので、例えば
新たなスレーブ装置(S)が通信バス(B)に接続され
た場合において、当該新たなスレーブ装置(S)におい
てマスタ装置(M)の機能まで確実に認識することがで
きる。
According to a third aspect of the present invention, in addition to the operation of the second aspect, the connection state in which the master device (M) includes master device identification information and master function identification information as master identification information. Since the information (D CON ) is issued, for example, when a new slave device (S) is connected to the communication bus (B), the function of the master device (M) in the new slave device (S) is ensured. Can be recognized.

〔実施例〕〔Example〕

次に、本発明の好適な実施例を図面に基づいて説明す
る。
Next, a preferred embodiment of the present invention will be described with reference to the drawings.

AVシステムの電源系統 本発明は好適な態様では、車載用のAVシステムに適用
される。第2図に示すように、AVシステム103はACCスイ
ッチ102を介してカーバッテリ101から電源供給を受け
る。ACCスイッチ102は自動車のエンジンキーに連動する
スイッチであり、エンジンキーをACCスイッチ102のポジ
ションに回動させることにより、車内のアクセサリー類
に電源が供給されるようになっている。したがって、一
般に、AVシステム103にはエンジンキーを回すたびに電
源供給のON/OFFが繰返されることになる。
Power supply system of AV system The present invention is preferably applied to a vehicle-mounted AV system. As shown in FIG. 2, the AV system 103 receives power supply from the car battery 101 via the ACC switch 102. The ACC switch 102 is a switch that is linked to an engine key of the vehicle. By rotating the engine key to the position of the ACC switch 102, power is supplied to accessories in the vehicle. Therefore, in general, the power supply to the AV system 103 is repeatedly turned on / off each time the engine key is turned.

AVシステムの構成例 第3図に、本発明が適用されるAVシステムの構成例を
示す。第3図の例では、オーディオ再生装置として、カ
セットテープ1から録音信号を再生するテープデッキ
6、アンテナ2で受信したラジオ電波を再生するFM等の
チューナ7、CD3から記録信号を再生するCDプレーヤ8
およびマルチCD4の各CDから記録信号を再生するオート
チェンジャ5を含むマルチCDプレーヤ9を備えている。
ビジュアル再生装置としては、アンテナ2で受信したTV
電波を再生するTVチューナ(チューナ7に内蔵されてい
るものとする。)、あるいは、CDプレーヤ8がCD−ROM
である場合にその記録静止画像をCDプレーヤ8を介して
画像出力するディスプレイ12などを含んでいる。CD−RO
Mを使う典型的な例は、ナビゲーション装置である。外
部コマンダ10は外部から各種操作命令を入力するための
キーボードからなる。入力装置13は外部コマンダ10に組
込むこともできる。
Example of Configuration of AV System FIG. 3 shows an example of the configuration of an AV system to which the present invention is applied. In the example of FIG. 3, a tape deck 6 for reproducing a recording signal from a cassette tape 1, a tuner 7 such as an FM for reproducing a radio wave received by an antenna 2, and a CD player for reproducing a recording signal from a CD 3 are used as an audio reproducing apparatus. 8
And a multi-CD player 9 including an auto-changer 5 for reproducing a recording signal from each CD of the multi-CD 4.
As the visual playback device, the TV received by antenna 2
A TV tuner (assumed to be built into the tuner 7) for reproducing radio waves or a CD-ROM 8
And a display 12 for outputting the recorded still image via the CD player 8. CD-RO
A typical example of using M is a navigation device. The external commander 10 includes a keyboard for inputting various operation commands from outside. The input device 13 can also be incorporated in the external commander 10.

以上の各装置は自らの動作を制御するためのコントロ
ーラを有しており、各コントローラは通信BUS14を介し
て互に接続され、バス方式の制御のネットワークが形成
されている。このネットワークの構成は第4図に示され
ており、その詳細は後述する。
Each of the above devices has a controller for controlling its own operation, and the controllers are connected to each other via a communication BUS 14 to form a bus control network. The structure of this network is shown in FIG. 4, and the details will be described later.

一方、オーディオ再生装置の再生信号はセレクタ15を
介して選択的にディジタルアンプ16に入力され、所定量
だけ増幅されたのちスピーカ17から放射される。ディジ
タルアンプ16内に含まれるディジタル信号系の回路も内
蔵するコントローラによって制御され、このコントロー
ラも通信BUS14に接続されている。
On the other hand, the reproduced signal of the audio reproducing apparatus is selectively input to the digital amplifier 16 via the selector 15 and is amplified by a predetermined amount and then emitted from the speaker 17. A digital signal circuit included in the digital amplifier 16 is also controlled by a built-in controller, and this controller is also connected to the communication BUS.

AVシステムの制御ネットワーク 第4図に、AVシステムの制御ネットワークの例を示
す。ここで、説明の便宜のため、第3図において通信BU
S14に接続されている各装置を一般的な表現として[ユ
ニット」と称することとする。第4図に示すように、通
信BUS14には各ユニットが並列的に接続されている。各
ユニットのうち、いずれか一つは当該ネットワークを統
括的に制御するために[マスタ」とされ、これをマスタ
ユニット200で示す。他の残りのユニットはすべて「ス
レーブ」であり、これらをスレーブユニット200-1〜200
-nで示す。
AV System Control Network FIG. 4 shows an example of an AV system control network. Here, for convenience of explanation, in FIG.
Each device connected to S14 is referred to as a “unit” as a general expression. As shown in FIG. 4, each unit is connected to the communication BUS 14 in parallel. One of the units is referred to as a “master” in order to control the network in general, and this is indicated by a master unit 200. Are all other remaining units "slave", these slave units 200 -1 to 200
Shown by -n .

マスタユニット200に内蔵されるマスタコントローラ1
8は、通信インターフェイスIC25を介して通信BUS14に接
続されている。この例では、マスタコントローラ18はテ
ープデッキ6およびチューナ7のコントロールを兼用す
るようになっている。さらに、マスタコントローラ18の
テープデッキ6のコントロール部分はオートチェンジャ
5のコントロールをも行う。スレーブユニット200-1〜2
00-nに内蔵される各スレーブコントローラ19〜24も同様
に通信インターフェイスIC25〜31を介して通信BUS14に
接続されている。
Master controller 1 built in master unit 200
8 is connected to the communication BUS 14 via the communication interface IC25. In this example, the master controller 18 also controls the tape deck 6 and the tuner 7. Further, the control section of the tape deck 6 of the master controller 18 also controls the autochanger 5. Slave unit 200 -1 to 2
Each of the slave controllers 19 to 24 built in 00- n is similarly connected to the communication BUS 14 via the communication interface ICs 25 to 31.

第5図に、マスタユニット200とスレーブユニット200
-nとの接続状態の具体例を示す。第5図に示すように、
マスタユニット200とスレーブユニット200-nとは通信BU
S14により接続されている。通信BUS14は2本の線からな
るツイストペア線が使用されている。通信BUS14を経由
して送受される通信データDTはマスタユニット200およ
びスレーブユニット200-nの通信インターフェイスIC25
および通信インターフェイスIC31により送受される。通
信インターフェイスIC25は、通信ドライバ/レシーバ32
と通信コントロールIC33に分離されており、同様に通信
インターフェイスIC31は通信ドライバ/レシーバ35と通
信コントロールIC36に分離されている。この点、従来で
は1つのIC内に一体で設けられていた。通信コントロー
ルIC33はCOMSトランジスタで形成され、通信ドライバ/
レシーバ32は電流駆動能力の高いバイポーラトランジス
タで形成されている。通信ドライバ/レシーバ35、通信
コントロールIC36についても同様である。
FIG. 5 shows the master unit 200 and the slave unit 200.
A specific example of the connection state with -n is shown. As shown in FIG.
Communication BU between master unit 200 and slave unit 200- n
Connected by S14. The communication BUS 14 uses a twisted pair line composed of two lines. The communication data DT transmitted and received via the communication BUS 14 is transmitted to the communication interface IC 25 of the master unit 200 and the slave unit 200- n.
And the communication interface IC31. The communication interface IC 25 is a communication driver / receiver 32
Similarly, the communication interface IC31 is separated into a communication driver / receiver 35 and a communication control IC36. In this regard, in the related art, it has been provided integrally in one IC. The communication control IC 33 is formed of a COMS transistor and has a communication driver /
The receiver 32 is formed of a bipolar transistor having a high current driving capability. The same applies to the communication driver / receiver 35 and the communication control IC 36.

このように、通信インターフェイスIC25についていえ
ば、通信コントロールIC33と通信ドライバ/レシーバ32
に分離することにより、通信BUS14の伝送媒体の変更に
対応することが可能となる。例えば、第5図の例では、
差動伝送のために通信BUS14としてツイストペア線を用
いているが、第6図に示すように、通信BUS14として光
通信ケーブル40を用いる場合、通信ドライバ/レシーバ
32に代えて電/光変換器38を用いることで他の構成を変
えることなく対応することができる。また、マスタユニ
ット200において発生する動作不良は通信BUS14から混入
する外乱ノイズによるところが大きいのであり、何らか
の原因で過大信号が混入したとしても通信ドライバ/レ
シーバ32のみの故障で済むことが多く、通信ドライバ/
レシーバ32のみを交換することにより現状復帰を簡単に
行える等、メンテナンス上有利となる。特に、車載用の
AVシステムの場合、自動車のエンジン系統から発生する
ノイズの混入の機械が多いため、有効である。
Thus, regarding the communication interface IC 25, the communication control IC 33 and the communication driver / receiver 32
This makes it possible to cope with a change in the transmission medium of the communication BUS 14. For example, in the example of FIG.
Although a twisted pair wire is used as the communication BUS 14 for differential transmission, as shown in FIG. 6, when an optical communication cable 40 is used as the communication BUS 14, a communication driver / receiver
By using the electro-optical converter 38 instead of 32, it is possible to cope without changing other configurations. Further, the operation failure generated in the master unit 200 is largely due to disturbance noise mixed in from the communication BUS 14, and even if an excessive signal is mixed in for some reason, the communication driver / receiver 32 alone often fails. /
By replacing only the receiver 32, it is easy to return to the current state, which is advantageous for maintenance. In particular, for automotive
In the case of an AV system, it is effective because there are many machines mixed with noise generated from the engine system of a car.

また、ICの製造面からすれば、Bi−CMOS ICの構成と
するよりも、製造プロセスの異なるCMOSトランジスタと
バイポーラトランジスタのICに分離した方が製造が容易
であり、コスト的にも有利となる。
Also, from the viewpoint of IC manufacturing, it is easier to manufacture the IC and the cost is more advantageous if the CMOS transistor and the bipolar transistor having different manufacturing processes are separated from each other than the configuration of the Bi-CMOS IC. .

なお、以上の説明は、通信インターフェイスIC25につ
いて説明したが、他のスレーブユニット200-1〜200-n
通信インターフェイスIC26〜31についても同様に通信コ
ントロールICと通信ドライバ/レシーバに分離されてい
る。
Incidentally, the above description has described a communication interface IC 25, and is separated into a communication driver / receiver and the communication control IC Similarly for communications interface IC26~31 the other slave units 200 -1 to 200 DEG -n.

通信データDTの伝送フォーマット 次に、本発明で用いられる通信データDTの伝送フォー
マットについて説明する。
Next, the transmission format of the communication data DT used in the present invention will be described.

第7図に、通信データDTの転送フォーマットの例を示
す。第7図に示すように、通信データDTは、先頭からマ
スタユニット200のアドレスを示すマスタアドレスデー
タMA、スレーブニット200-1〜200-nのアドレスを示すス
レーブアドレスSA、データDの電文長を表わす電文長デ
ータN、データDの種類を表わす分類データTPおよび転
送内容を示すデータDからなる。
FIG. 7 shows an example of a transfer format of the communication data DT. As shown in FIG. 7, the communication data DT, the master address data MA from the head indicates the address of the master unit 200, slave address SA indicating the addresses of the slave knit 200 -1 to 200 DEG -n, the message length of data D It comprises message length data N, classification data TP indicating the type of data D, and data D indicating transfer contents.

データDの構成は、通信データDTの内容、すなわち、
分類データTPによって異なり、大別して3種類のフォー
マット構成となる。第10図に示すように、第1のフォー
マットは接続確認のためのフォーマットであり、第2の
フォーマットはキーや表示データ等のフォーマットであ
り、第3のフォーマットはチェックサムCSの結果を送出
するフォーマットである。さらに、接続確認のためのフ
ォーマットは通信データDTをスレーブユニット200-1〜2
00-nからマスタユニット200に転送する場合と、その逆
の転送の場合とで異なっている。なお、第10図におい
て、キーや表示データのフォーマットにおいて、データ
構成のうちフィジカル・ステータス・データPS〜ロジカ
ル・モード・データLMまでは全て同じであるため、図示
が省略されている。
The configuration of the data D is the content of the communication data DT,
It differs depending on the classification data TP, and is roughly classified into three types of format configurations. As shown in FIG. 10, the first format is a format for confirming connection, the second format is a format for keys, display data, and the like, and the third format transmits a result of a checksum CS. Format. Furthermore, the format for confirming the connection is to transfer the communication data DT to the slave units 200-1 to 200-2.
The transfer from 00 -n to the master unit 200 is different from the transfer from the other unit. In FIG. 10, the format of the key and the display data is the same from the physical status data PS to the logical mode data LM in the data configuration, and is not shown.

分類データTPは、通信データDTの先頭に配置され、分
類データTPにつづくデータDの種類を表わすデータ領域
である。分類データTPは大分類データと小分類データと
で構成される。大分分データは、第8図に示すように、
データDの種類を表わす。ビット配分は、分類データTP
全体が8ビットである場合、上位4ビットが割当てられ
る。小分類データは、第9図に示すように、主にデータ
Dのフォーマットを識別するために用いられ、下位4ビ
ットが割当てられる。
The classification data TP is a data area which is arranged at the head of the communication data DT and indicates the type of data D following the classification data TP. The classification data TP is composed of large classification data and small classification data. The Oita data, as shown in FIG.
Indicates the type of data D. Bit allocation is classified data TP
If the whole is 8 bits, the upper 4 bits are assigned. As shown in FIG. 9, the small classification data is mainly used to identify the format of the data D, and the lower 4 bits are allocated.

物理アドレスデータPAは、第11図、第12図に示すよう
に、通信BUS14上における各マスタユニット200〜スレー
ブユニット200-1〜200-nの通信インターフェイスIC25〜
31を特定するための通信上のアドレスであり、当該マス
タユニット200、スレーブユニット200-1〜200-nを示す
アドレスである。この物理アドレスデータPAのうち、マ
スタユニット200を特定する物理アドレスデータPAは常
に固定されている。物理アドレスデータPAは基本的には
1つのユニットには1つの物理アドレスデータPAが割当
てられる。第14図に、第4図のユニット構成に対応付け
て物理アドレスデータPAを割当てた例を示す。なお、第
14図において、マスタコントローラ18〜24にも物理アド
レスデータPAが設定されているが、これは、マスタユニ
ットMのように、1つのコントローラマスタコントロー
ラ18にテープデッキ6、チューナ7の2つの機能要素が
接続される場合を考慮したものである。1つのコントロ
ーラに1つの機能という組合せでは、スレーブコントロ
ーラ19〜24のように、物理アドレスデータPAと論理アド
レスデータLAは同一アドレスとなる。
Physical address data PA is Figure 11, as shown in FIG. 12, the communication interface of the master unit 200 to slave unit 200 -1 to 200 DEG -n on the communication BUS 14 IC25~
This is an address in communication for specifying 31 and is an address indicating the master unit 200 and the slave units 200 -1 to 200 -n . Of the physical address data PA, the physical address data PA that specifies the master unit 200 is always fixed. As for the physical address data PA, basically, one physical address data PA is assigned to one unit. FIG. 14 shows an example in which physical address data PA is allocated in association with the unit configuration shown in FIG. In addition,
In FIG. 14, physical address data PA is also set in the master controllers 18 to 24. This is because, like the master unit M, two functional elements of the tape deck 6 and the tuner 7 are provided in one controller master controller 18. Is connected. In a combination of one function for one controller, the physical address data PA and the logical address data LA have the same address as in the slave controllers 19 to 24.

フィジカル・ステータス・データPSは、マスタユニッ
トM、スレーブユニットS1〜Snの当該ユニットに関する
ステータス情報であり、当該ユニットがもつ機能アドレ
ス(すなわち、後述する論理アドレスデータLA)の数を
示すデータである。
Physical status data PS, the master unit M, a status information about the unit of the slave units S 1 to S n, functional address to which the unit has (ie, the logical address data LA, described below) with data indicating the number of is there.

論理アドレスデータLAは、第13図に示すように、マス
タユニットM、スレーブユニットS1〜Snの当該ユニット
がもつ機能(すなわち、チューナ、テープデッキのこ
と)を示すデータであり、各機能ごとに割当てられる。
この論理アドレスデータLAの数は物理アドレスデータPA
で定まるコントローラが受けもつ機能の数だけ、LA1、L
A2…というように付加されるので一定した数ではない。
第14図に、第4図のユニット構成に対応付けて論理アド
レスデータLAを割当てた例を示す。
The logical address data LA, as shown in FIG. 13 is data indicating the master unit M, the slave unit S 1 to S n the unit functions of the (i.e., tuner, that the tape deck), every function Assigned to
The number of the logical address data LA is the physical address data PA
LA 1 and L as many as the functions assigned to the controller determined by
It is not a fixed number because it is added as A 2 .
FIG. 14 shows an example in which logical address data LA is allocated in association with the unit configuration in FIG.

トーカ・アドレス・データTLは、通信データDTを送信
する送信元(話し手)のアドレスを示す。
The talker address data TL indicates the address of the transmission source (speaker) transmitting the communication data DT.

リスナ・アドレス・データLNは、通信データDTを受信
する送信先(聞き手)のアドレスを示す。
The listener address data LN indicates an address of a transmission destination (listener) for receiving the communication data DT.

ロジカル・ステータス・データLSは、各論理アドレス
LAに対応した機能の状態を表す。
The logical status data LS contains each logical address.
Indicates the state of the function corresponding to LA.

ロジカル・モード・データLMは、各論理アドレスに対
応した機能の動作状態(モード)を表わす。
The logical mode data LM indicates an operation state (mode) of a function corresponding to each logical address.

チェックサムデータCSは、データDの信頼性を向上さ
せるために、付加されたエラー検出用のデータである。
The checksum data CS is data for error detection added in order to improve the reliability of the data D.

通信動作 以上説明したAVシステムにおいて、マスタユニットM
とスレーブユニットS1〜Snとの間で通信データDTを通信
する場合の動作を以下に説明する。
Communication operation In the AV system described above, the master unit M
To explain the operation when the following communicating communication data DT between the slave units S 1 to S n.

このネットワークにおいては、従来のポーリング方式
と異なり、すべてスレーブユニット側からマスタユニッ
トへ自己のユニットの自己申告を行う。マスタユニット
はスレーブユニット側に対して積極的なアクセス動作は
行わない。
In this network, unlike the conventional polling method, all slave units self-declare their own units to the master unit. The master unit does not actively access the slave unit.

すなわち、本発明における接続確認シーケンスは、大
別して電源ON(ACCスイッチON)時の通信シーケンスSEQ
1と、電源供給期間中(通常動作時)の通信シーケンスS
EQ2とからなる。
That is, the connection confirmation sequence in the present invention is roughly divided into the communication sequence SEQ when the power is ON (ACC switch ON).
1 and communication sequence S during power supply period (during normal operation)
Consisting of EQ 2 Metropolitan.

(1)電源ON時の通信シーケンンスSEQ1の基本的なアリ
ゴリズムは次の通りである(詳細アリゴリズムは第15図
(a)、(b)参照)。
(1) The basic algorithm of the communication sequence SEQ 1 when the power is turned on is as follows (for the detailed algorithm, see FIGS. 15 (a) and 15 (b)).

『各スレーブは電源ON検出後、マスターに対しアクセ
スを行い、接続確認依頼を行う。マスターはアクセスし
てきたスレーブを接続スレーブとし、所定時間経過後、
各スレーブに対し情報の提供を行う。』 (2)また、電源供給期間中の通信シーケンスSEQ2は、
スレーブユニットS1〜Snの脱落時の処理シーケンスSEQ3
と新たなスレーブユニットSmの参加時の処理シーケンス
SEQ4とを含んでおり、それらの基本的なアルゴリズムは
次の通りである(詳細アルゴリズムは第16図(a)、
(b)参照)。
"Each slave detects access to the power supply and then accesses the master and requests connection confirmation. The master sets the slave that has accessed it as the connected slave, and after a predetermined time elapses,
Provide information to each slave. (2) The communication sequence SEQ 2 during the power supply period is
Slave units S 1 to S n processing sequence SEQ 3 during separation of
New slave unit S m processing sequence at the time of participation of the
SEQ 4 and their basic algorithms are as follows (detailed algorithm is shown in FIG. 16 (a),
(B)).

(2−1)脱落時の処理シーケンスSEQ3 『各スレーブは一定時間毎にマスターに対し接続確認
依頼を行う。これに対し、マスターは常に最新の接続情
報を提供する。接続確認依頼のないスレーブに対して
は、BUS上から脱落したものと見なし、必要な内部処理
を行うとともに、各スレーブに対しその旨の(最新の接
続情報を提供する。』 (2−2)参加時の処理シーケンスSEQ4 『電源ON時の接続確認に於て、接続が確認されていなか
ったスレーブが、突然接続確認依頼をおこなってきた場
合には、参加したものと見なし、必要な内部処理を行な
うとともに、各スレーブに対しその旨の(最新の)接続
情報を提供する。』 上述したように、スレーブがマスタにアクセスして接
続依頼を行うと、マスタは当該通信バスに接続されてい
るスレーブの構成に関する情報、すなわち、最新の接続
情報が提供される。この情報の提供は接続依頼のあった
全スレーブに対して行われるため、全スレーブが同じ接
続情報を共有していることとなる。
(2-1) Processing sequence at the time of dropout SEQ 3 “Each slave sends a connection confirmation request to the master at regular intervals. In contrast, the master always provides the latest connection information. For slaves that have not received a connection confirmation request, it is considered that they have been dropped off from the BUS, and necessary internal processing is performed, and to that effect (the latest connection information is provided.) (2-2) Processing sequence when joining SEQ 4 "If the slave whose connection has not been confirmed in the connection confirmation at power-on suddenly requests a connection confirmation, it is deemed to have joined, and necessary internal processing is performed. And providing the (latest) connection information to that effect to each slave. ”As described above, when the slave accesses the master and makes a connection request, the master is connected to the communication bus. Information about the configuration of the slaves, that is, the latest connection information is provided.Since this information is provided to all slaves that have requested connection, all slaves share the same connection information. You are doing.

この状態の具体例を第17図に示す。第17図に示すよう
に、スレーブユニット200-1がマスタユニット200に対し
接続依頼情報DT1を送信すると、マスタユニット200はそ
のスレーブユニット200-1に接続情報DT2を発行する。ス
レーブユニット200-2についても同様に接続依頼情報DT2
を送信すると、マスタユニット200から接続情報DT2が送
られる。この動作を全マスタユニット200-1〜200-nに対
し行うので、全マスタユニット200-1〜200-nは同じ接続
情報DT2を共有することになる。換言すれば、通信バス1
4上の全スレーブユニット200-1〜200-nが当該AVシステ
ムの機器(あるいは機能)の構成を知っていることにな
る。その結果、マスタユニット200とスレーブユニット2
00-1〜200-nとの一対一の関係ではなく、個々のスレー
ブユニット200-1〜200-n同士で直接的に通信が可能とな
る。このことは、仮にマスタユニット200が何らかの原
因によって故障した場合であっても、いずれかのスレー
ブユニット200-1〜200-nがマスタユニット200の代替機
能をもつことが可能となることを意味する。
FIG. 17 shows a specific example of this state. As shown in FIG. 17, the slave unit 200-1 transmits a connection request information DT 1 to the master unit 200, the master unit 200 issues the connection information DT 2 to the slave unit 200 -1. Similarly, for slave unit 200-2 , connection request information DT 2
Sending connection information DT 2 is sent from the master unit 200. Since performing this operation on all the master units 200 -1 to 200 DEG -n, all master units 200 -1 to 200 DEG -n will share the same connection information DT 2. In other words, communication bus 1
This means that all the slave units 200 -1 to 200 -n on 4 know the configuration of the device (or function) of the AV system. As a result, master unit 200 and slave unit 2
Instead of a one-to-one relationship with 00 -1 to 200 -n , the individual slave units 200 -1 to 200 -n can directly communicate with each other. This means that even if the master unit 200 fails for some reason, any one of the slave units 200 -1 to 200 -n can have an alternative function of the master unit 200. .

次に、第18図に具体例を示す。第18図は、TV/FMチュ
ーナを含むスレーブユニットとマスタユニットとの間で
スレーブユニット側から自己のAVシステムへの接続確認
のアクセスを行う場合の接続確認シーケンスの例を示し
たものである。
Next, a specific example is shown in FIG. FIG. 18 shows an example of a connection confirmation sequence when a slave unit including a TV / FM tuner and a master unit perform access confirmation access to their own AV system from the slave unit side.

いま、第18図において、スレーブユニットが接続確認
依頼(自己申告)のため、通信データDT1を発行して通
信BUS14を経由してマスタユニットに送信を行う。この
とき通信データDT1は自己の物理アドレスデータPAを“1
23H"(Hは16進法のヘキサ)、相手先のマスタユニット
の物理アドレスデータPAを“100H"とし、自己のスレー
ブユニットがTVチューナおよびFM/AMチューナを含む構
成であることを論理アドレスデータLA1=05、論理アド
レスデータLA2=07で示している(第11図参照)。この
通信データDT1によりマスタユニットMはPA=123HでLA1
=05、LA2=07の機能をもつ装置が通信BUS14に接続され
たことを登録し、以後この装置はAVシステム構成メンバ
として取扱うことになる。マスタユニットは、通信デー
タDT1が送信されたとき、当該通信データDT1を受信した
ことを示すため、リターンデータRDT1をスレーブユニッ
トに返信する。次いで、新たに接続されたスレーブユニ
ットに対し、当該AVシステムの構成メンバを知らしめる
ため、システム接続情報DT2をスレーブユニット側に送
信する。このシステム接続情報DT2を受信したスレーブ
ユニットは受信確認のため、リターンデータRDT2をマス
タユニット側に返信する。次いで、所定時間経過後、ス
レーブユニットは再び接続確認依頼(自己申告)の通信
データDT1をマスタユニット側に送信する。所定時間経
過後に、再び接続確認依頼の通信データDT1を送信する
のは、車載用AVシステムの場合、その電源供給のON/OFF
はACCスイッチのON/OFFに依存するため、定期的に接続
確認を行う必要があるからである。
Now, in FIG. 18, because the slave unit is connected confirmation request (self-reported), to transmit to the master unit via the communication BUS14 issue the communication data DT 1. At this time, the communication data DT 1 sets its own physical address data PA to “1”.
23H "(H is hexadecimal hexadecimal), the physical address data PA of the master unit of the other party is set to" 100H ", and the logical address data indicates that its own slave unit has a configuration including a TV tuner and an FM / AM tuner. This is indicated by LA 1 = 05 and logical address data LA 2 = 07 (see Fig. 11.) This communication data DT 1 allows the master unit M to have PA = 123H and LA 1
It is registered that a device having the functions of = 05 and LA 2 = 07 has been connected to the communication BUS 14, and this device will be treated as an AV system member thereafter. Master unit, when the communication data DT 1 is sent to indicate that it has received the communication data DT 1, and returns the return data RDT 1 to the slave unit. Then, the slave unit which is newly connected, for notify the constituent members of the AV system, and transmits the system connection information DT 2 to the slave unit side. The slave unit that has received the system connection information DT 2 for acknowledgment, and returns the return data RDT 2 to the master unit side. Then, after a predetermined time has elapsed, the slave unit transmits a connection confirmation request communication data DT 1 of (self-reported) to the master unit side again. In the case of an in-vehicle AV system, the transmission of the connection confirmation request communication data DT 1 again after the predetermined time has elapsed is performed when the power supply is turned ON / OFF.
This is because it depends on the ON / OFF of the ACC switch, so it is necessary to check the connection periodically.

このように、通信データDTには必ず物理アドレスデー
タPAと論理アドレスデータLAが含まれており、しかも物
理アドレスデータPAと論理アドレスデータLAとは互に独
立したデータであるため、任意の組合せによって任意の
相手先に通信データDTを送信することができる。
As described above, the communication data DT always includes the physical address data PA and the logical address data LA, and the physical address data PA and the logical address data LA are mutually independent data. The communication data DT can be transmitted to any destination.

上記動作例は、スレーブユニットとマスタユニットと
の間の通信の例について述べたが、他のスレーブユニッ
ト同士においても同様に通信が可能である。
In the above operation example, an example of communication between the slave unit and the master unit has been described, but communication can be similarly performed between other slave units.

また、通信データDTのフォーマットならびに各ユニッ
トへのアドレス割当てを上述したように物理アドレスPA
と論理アドレスLAとに分離して行ったことにより、物理
アドレスPAが不明であっても論理アドレスLAが明確に設
定されていれば、新たなユニットを接続することが可能
であり、当該新たなユニットと既接続のユニットとの交
信が可能である。
In addition, the format of the communication data DT and the address assignment to each unit
And the logical address LA, it is possible to connect a new unit if the logical address LA is clearly set even if the physical address PA is unknown. Communication between the unit and the already connected unit is possible.

すなわち、第19図に示すように、通信BUS14に新たな
スレーブユニット200-mが接続されたとする。この場
合、スレーブユニット200-mの物理アドレスデータPAが
想定されていない物理アドレスデータPA=101であった
としても、その機能が「表示機能」の場合には、すでに
スレーブユニット200内に登録された同じ機能が論理ア
ドレスデータLA=01で存在するため、その論理アドレス
データLAに対してアクセスすることができるから、スレ
ーブユニット200-mの接続が可能である。このことは、A
Vシステムの拡張性の向上に資することとなる。
That is, it is assumed that a new slave unit 200 - m is connected to the communication BUS 14 as shown in FIG. In this case, even if the physical address data PA of the slave unit 200- m is not assumed and the physical address data PA is 101, if the function is the “display function”, it is already registered in the slave unit 200. Since the same function exists with the logical address data LA = 01, the logical address data LA can be accessed, so that the slave unit 200- m can be connected. This means that A
This will contribute to improving the scalability of the V system.

〔発明の効果〕〔The invention's effect〕

以上の通り、請求項1に記載の発明によれば、通信バ
スに対する各スレーブ装置の接続確認を当該各スレーブ
装置からの自己申告によって行うようにしたので、マス
タ装置から各スレーブ装置に対してポーリングを行う必
要がなくなり、マスタ装置の負担が軽減され、またマス
タ装置側にスレーブ装置のアドレスの登録がない場合で
も自己申告により容易に追加されるので、AVシステムの
拡張性の向上、接続の自由度の向上が確保される。
As described above, according to the first aspect of the present invention, since the connection confirmation of each slave device to the communication bus is performed by self-report from each slave device, the master device polls each slave device. This eliminates the need to perform the operation, and reduces the burden on the master device. Even if the address of the slave device is not registered on the master device side, it can be easily added by self-declaration, improving the expandability of the AV system and free connection. The degree of improvement is ensured.

更に、当該接続状態情報の提供動作において、スレー
ブ装置はスレーブ識別情報とマスタ識別情報とを含む接
続依頼情報を送信すると共に、マスタ装置は接続依頼情
報の受信後にマスタ識別情報と接続依頼情報を送信した
スレーブ装置を示すスレーブ識別情報とを含む接続状態
情報を発行するので、接続依頼情報の送信元であるスレ
ーブ装置に対してその送信先であるマスタ装置から接続
状態情報の返信を行う場合に、迅速に当該スレーブ装置
を認識して当該返信を確実に実行することができる。
Further, in the operation of providing the connection state information, the slave device transmits the connection request information including the slave identification information and the master identification information, and the master device transmits the master identification information and the connection request information after receiving the connection request information. Since the connection state information including the slave identification information indicating the slave device that has been issued is issued, when the connection destination information is returned from the master device as the transmission destination to the slave device as the transmission source of the connection request information, The reply can be surely executed by quickly recognizing the slave device.

更に、また新たなスレーブ装置が通信バスに接続され
た場合にも当該スレーブ装置からの接続依頼情報がマス
タ装置において即座に認識されることとなり、当該新し
いスレーブ装置が追加されたことを当該マスタ装置にお
いて容易且つ迅速に認識することができると共に、当該
マスタ装置において新たなスレーブ装置を即座に認識す
ることができるので当該マスタ装置において当該新たな
スレーブ装置に対応した処理を迅速に開始することがで
きる。
Furthermore, even when a new slave device is connected to the communication bus, the connection request information from the slave device is immediately recognized by the master device, and the fact that the new slave device has been added is indicated by the master device. And the master device can immediately recognize a new slave device, so that the master device can quickly start processing corresponding to the new slave device. .

また、既存のスレーブ装置が脱落した場合にも、いず
れのスレーブ装置が脱落したかをマスタ装置において即
座に認識することができると共に、当該マスタ装置にお
いて当該スレーブ装置の脱落に対応した処理を迅速に開
始することができる。
Also, when an existing slave device is dropped, which slave device is dropped can be immediately recognized by the master device, and processing corresponding to the drop of the slave device can be quickly performed by the master device. You can start.

更に、請求項2に記載の発明によれば、請求項1に記
載の発明の効果に加えて、スレーブ装置がスレーブ識別
情報としてスレーブ装置識別情報とスレーブ機能識別情
報とを含む接続依頼情報を送信するので、例えば新たな
スレーブ装置が通信バスに接続された場合において、マ
スタ装置において当該新たなスレーブ装置の機能まで確
実に認識することができる。
Further, according to the invention described in claim 2, in addition to the effect of the invention described in claim 1, the slave device transmits connection request information including slave device identification information and slave function identification information as slave identification information. Therefore, for example, when a new slave device is connected to the communication bus, the function of the new slave device can be reliably recognized in the master device.

更に、また請求項3に記載の発明によれば、請求項2
に記載の発明の効果に加えて、マスタ装置がマスタ識別
情報としてマスタ装置識別情報とマスタ機能識別情報と
を含む接続状態情報を発行するので、例えば新たなスレ
ーブ装置が通信バスに接続された場合において、当該新
たなスレーブ装置においてマスタ装置の機能まで確実に
認識することができる。
Furthermore, according to the invention described in claim 3, according to claim 2,
In addition to the effects of the invention described in the above, since the master device issues connection state information including master device identification information and master function identification information as master identification information, for example, when a new slave device is connected to the communication bus In this case, the function of the master device can be reliably recognized in the new slave device.

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

第1図は本発明の原理説明図、 第2図はAVシステムの電源系統図、 第3図はAVシステムの全体構成図、 第4図はAVシステムの制御ネットワークのブロック図、 第5図はマスタユニットとスレーブユニットの接続状態
の具体例を示すブロック図、 第6図はマスタユニットとスレーブユニットの接続状態
の他の例を示すブロック図、 第7図は通信データの転送フォーマットを示す説明図、 第8図は分類データ(大分類)の内容を示す説明図、 第9図は分類データ(小分類)の内容を示す説明図、 第10図はデータ基本フォーマットを示す説明図、 第11図は物理アドレスの例を示す説明図、 第12図は物理アドレスの例を示す説明図、 第13図は論理アドレスの例を示す説明図、 第14図は物理アドレスおよび論理アドレスの割当て例を
示すブロック図、 第15図は電源ON時の通信シーケンスを示すフローチャー
ト、 第16図は電源供給期間中の通信シーケンスを示すフロー
チャート、 第17図はシステム接続情報の伝送状態の説明図、 第18図は通信動作の例を示す説明図、 第19図は追加スレーブユニットを接続した場合のブロッ
ク図である。 ADR……アドレスデータ B……通信BUS CS……チェックサムデータ D……データ DT……通信データ DT1……接続確認依頼情報 DT2……システム接続情報 LA、LA1〜LAn……論理アドレスデータ M……マスタ装置 PA、PA1〜PAn……物理アドレスデータ PS……フィジカル・ステータス・データ S1〜Sn……スレーブ装置 TP……分類データ 101……カーバッテリ 102……ACCスイッチ 103……AVシステム 200……マスタユニット 200-1〜200-n……スレーブユニット 1……カセットテープ 2……アンテナ 3……CD 4……マルチCD 5……オートチェンジャ 6……テープデッキ 7……チューナ 8……CDプレーヤ 9……マルチCDプレーヤ 10……外部コマンダ 11……ディスプレイ 12……ディスプレイ 13……入力装置 14……通信BUS 15……セレクタ 16、16A……ディジタルアンプ 17……スピーカ 18……マスタコントローラ 19……スレーブコントローラ 20……スレーブコントローラ 21……スレーブコントローラ 22……スレーブコントローラ 23……スレーブコントローラ 24……スレーブコントローラ 25……通信インターフェイスIC 26……通信インターフェイスIC 27……通信インターフェイスIC 28……通信インターフェイスIC 29……通信インターフェイスIC 30……通信インターフェイスIC 31……通信インターフェイスIC 32……通信ドライバ/レシーバ 33……通信コントロールIC 34……被制御部 35……通信ドライバ/レシーバ 36……通信コントロールIC 37……被制御部 38……電/光変換器 39……電/光変換器
FIG. 1 is a diagram illustrating the principle of the present invention, FIG. 2 is a power supply system diagram of an AV system, FIG. 3 is an overall configuration diagram of the AV system, FIG. 4 is a block diagram of a control network of the AV system, and FIG. FIG. 6 is a block diagram showing a specific example of a connection state between a master unit and a slave unit. FIG. 6 is a block diagram showing another example of a connection state between a master unit and a slave unit. FIG. 7 is an explanatory diagram showing a transfer format of communication data. , FIG. 8 is an explanatory diagram showing the contents of the classification data (major classification), FIG. 9 is an explanatory diagram showing the contents of the classification data (small classification), FIG. 10 is an explanatory diagram showing the basic data format, FIG. Is an explanatory diagram showing an example of a physical address, FIG. 12 is an explanatory diagram showing an example of a physical address, FIG. 13 is an explanatory diagram showing an example of a logical address, and FIG. 14 shows an example of allocation of a physical address and a logical address. Block Diagram FIG. 15 is a flowchart showing a communication sequence at the time of power-on, FIG. 16 is a flowchart showing a communication sequence during a power supply period, FIG. 17 is an explanatory diagram of a transmission state of system connection information, and FIG. FIG. 19 is an explanatory diagram showing an example, and FIG. 19 is a block diagram when an additional slave unit is connected. ADR… Address data B… Communication BUS CS… Check sum data D… Data DT… Communication data DT 1 … Connection confirmation request information DT 2 … System connection information LA, LA 1 to LA n … Logical address data M ...... master device PA, PA 1 ~PA n ...... physical address data PS ...... physical status data S 1 to S n ...... slave device TP ...... classification data 101 ...... car battery 102 ...... ACC Switch 103 AV system 200 Master unit 200 -1 to 200 -n Slave unit 1 Cassette tape 2 Antenna 3 CD 4 Multi CD 5 Auto changer 6 Tape deck 7 Tuner 8 CD player 9 Multi CD player 10 External commander 11 Display 12 Display 13 Input device 14 Communication BUS 15 Selector 16, 16A Digital Amplifier 17 Speaker 18 Master controller 19 Slave controller 20 Slave controller 21 Slave controller 22 Slave controller 23 Slave controller 24 Slave controller 25 Communication interface IC 26 Communication Interface IC 27 Communication interface IC 28 Communication interface IC 29 Communication interface IC 30 Communication interface IC 31 Communication interface IC 32 Communication driver / receiver 33 Communication control IC 34 Controlled Unit 35 Communication driver / receiver 36 Communication control IC 37 Controlled unit 38 Electrical / optical converter 39 Electrical / optical converter

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木村 俊之 埼玉県川越市大字山田字西町25番地1 パイオニア株式会社川越工場内 (56)参考文献 特開 平2−130049(JP,A) 特開 昭62−111545(JP,A) 特開 昭62−92543(JP,A) 特開 昭63−9251(JP,A) 特開 昭63−215239(JP,A) 特開 平4−4636(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/00 H04L 12/28 H04L 12/40 - 12/44 H04Q 9/00 ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Toshiyuki Kimura 25-1, Nishimachi, Yamada, Kawagoe-shi, Saitama Prefecture Pioneer Corporation Kawagoe Factory (56) References JP-A-2-130049 (JP, A) JP-A Sho 62-111545 (JP, A) JP-A-62-292543 (JP, A) JP-A-63-9251 (JP, A) JP-A-63-215239 (JP, A) JP-A-4-4636 (JP, A A) (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/00 H04L 12/28 H04L 12/40-12/44 H04Q 9/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】一つのマスタ装置および一つまたはそれ以
上のスレーブ装置が同一通信バスに接続されてなるバス
方式の車載用通信ネットワークにおけるデータ通信方法
であって、 前記マスタ装置は、前記スレーブ装置からの接続依頼情
報であって当該スレーブ装置を示すスレーブ識別情報と
前記マスタ装置を示すマスタ識別情報とを含む接続依頼
情報を受信したのち、当該接続依頼情報を送信したスレ
ーブ装置に対して、前記通信バスに接続されている他の
スレーブ装置に関する接続状態情報であって前記マスタ
識別情報と前記接続依頼情報を送信したスレーブ装置を
示す前記スレーブ識別情報とを含む接続状態情報を発行
することを特徴とする車載用通信ネットワークにおける
データ通信方法。
1. A data communication method in a bus-type vehicle-mounted communication network in which one master device and one or more slave devices are connected to the same communication bus, wherein the master device is the slave device. After receiving connection request information including connection identification information indicating the slave device and master identification information indicating the master device from the connection request information, the slave device transmitting the connection request information, Issuing connection state information relating to other slave apparatuses connected to the communication bus, the connection state information including the master identification information and the slave identification information indicating the slave apparatus that has transmitted the connection request information. A data communication method in a vehicle-mounted communication network.
【請求項2】請求項1に記載の車載用通信ネットワーク
におけるデータ通信方法において、 前記スレーブ装置は、前記スレーブ識別情報として、当
該スレーブ装置自体を示すスレーブ装置識別情報と、当
該スレーブ装置の機能を示すスレーブ機能識別情報と、
を含む前記接続依頼情報を送信することを特徴とする車
載用通信ネットワークにおけるデータ通信方法。
2. The data communication method in a vehicle-mounted communication network according to claim 1, wherein the slave device includes, as the slave identification information, slave device identification information indicating the slave device itself, and a function of the slave device. Slave function identification information,
A data communication method in a vehicle-mounted communication network, characterized by transmitting the connection request information including:
【請求項3】請求項2に記載の車載用通信ネットワーク
におけるデータ通信方法において、 前記マスタ装置は、前記マスタ識別情報として、当該マ
スタ装置自体を示すマスタ装置識別情報と、当該マスタ
装置の機能を示すマスタ機能識別情報と、を含む前記接
続状態情報を発行することを特徴とする車載用通信ネッ
トワークにおけるデータ通信方法。
3. The data communication method according to claim 2, wherein the master device includes, as the master identification information, master device identification information indicating the master device itself, and a function of the master device. A data communication method in a vehicle-mounted communication network, comprising issuing the connection state information including master function identification information.
JP2288214A 1990-10-25 1990-10-25 Data communication method in in-vehicle communication network Expired - Fee Related JP3065651B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2288214A JP3065651B2 (en) 1990-10-25 1990-10-25 Data communication method in in-vehicle communication network
EP19910309896 EP0482951B1 (en) 1990-10-25 1991-10-25 Method of and system for data communication in communication network on automobile
DE1991615641 DE69115641T2 (en) 1990-10-25 1991-10-25 Method and system for data transmission in a motor vehicle transmission network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2288214A JP3065651B2 (en) 1990-10-25 1990-10-25 Data communication method in in-vehicle communication network

Publications (2)

Publication Number Publication Date
JPH04160933A JPH04160933A (en) 1992-06-04
JP3065651B2 true JP3065651B2 (en) 2000-07-17

Family

ID=17727298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2288214A Expired - Fee Related JP3065651B2 (en) 1990-10-25 1990-10-25 Data communication method in in-vehicle communication network

Country Status (1)

Country Link
JP (1) JP3065651B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111221594B (en) * 2019-12-30 2023-12-12 智车优行科技(北京)有限公司 Master-slave device function plug-in registration method, master device and slave device

Also Published As

Publication number Publication date
JPH04160933A (en) 1992-06-04

Similar Documents

Publication Publication Date Title
EP0482957B1 (en) Method of data communication in an automobile communication network
EP0511794B2 (en) System for data communication on automobile
JPH04326897A (en) On-vehicle data communicaiton system
JPH04326834A (en) On-vehicle data communication system
US5280281A (en) Method of and system for data communication in communication network on automobile
JP3007407B2 (en) Data communication system
JP3100975B2 (en) Data communication system
JP3065651B2 (en) Data communication method in in-vehicle communication network
JP3026359B2 (en) Data communication method in in-vehicle communication network
JPH04326898A (en) On-vehicle data communication system
JP3065652B2 (en) Data communication method in in-vehicle communication network
JP2966502B2 (en) Data communication method in in-vehicle communication network
JP3090463B2 (en) Data communication system
JP2978551B2 (en) Data communication method
JP3100997B2 (en) In-vehicle data communication system
JP3045326B2 (en) In-vehicle data communication system
JPH04326896A (en) On-vehicle data communication system
EP0482952B1 (en) Method of data communication in communication network on automobile
EP0482951B1 (en) Method of and system for data communication in communication network on automobile
JPH04326900A (en) On-vehicle data communication system
JPH04326899A (en) On-vehicle data communication system
JPH04326835A (en) On-vehicle data communication system
JPH04160937A (en) Data communication system
JPH04160934A (en) On-vehicle data communication system
JPH04160932A (en) Communication interface unit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees