JP2003152741A - Communication system - Google Patents

Communication system

Info

Publication number
JP2003152741A
JP2003152741A JP2001343518A JP2001343518A JP2003152741A JP 2003152741 A JP2003152741 A JP 2003152741A JP 2001343518 A JP2001343518 A JP 2001343518A JP 2001343518 A JP2001343518 A JP 2001343518A JP 2003152741 A JP2003152741 A JP 2003152741A
Authority
JP
Japan
Prior art keywords
slave
bus
master
next stage
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001343518A
Other languages
Japanese (ja)
Other versions
JP3565200B2 (en
Inventor
Yoshihisa Sato
善久 佐藤
Hiroshi Ogura
弘 小倉
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2001343518A priority Critical patent/JP3565200B2/en
Priority to DE10236879A priority patent/DE10236879B4/en
Priority to US10/216,832 priority patent/US6897768B2/en
Priority to FR0210268A priority patent/FR2828741B1/en
Priority to KR10-2002-0048244A priority patent/KR100465130B1/en
Publication of JP2003152741A publication Critical patent/JP2003152741A/en
Priority to FR0406709A priority patent/FR2856480B1/en
Application granted granted Critical
Publication of JP3565200B2 publication Critical patent/JP3565200B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication system by which an operator can normally set an ID to each slave without being conscious of respective installed positions of a plurality of the slaves. SOLUTION: Each of a plurality of slave devices 11, 21 and 31 has a switch 12 turning ON/OFF a power line 1 configuring a bus in series with the power line 1, a master device 10 sequentially sets an ID of a connected position in the closer order of the slave devices to the master device on the basis of each connection sequence and each ID of the slave device stored in advance, and the slave device to which the ID is set sequentially turns on the switch to apply bus connection to the slave device of the next stage.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、マスタ装置に対し
て複数のスレーブ装置がバスに接続された通信装置に関
し、特に車両用の障害物検知装置などに好適な通信装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device in which a plurality of slave devices are connected to a bus with respect to a master device, and more particularly to a communication device suitable for an obstacle detection device for vehicles.

【0002】[0002]

【従来の技術】この種の従来例として、車両のバンパ
の、例えば左、正面、右などにそれぞれ超音波センサ
(スレーブ)を設け、各超音波センサの反射波検知信号
に基づいてコントローラ(マスタ)がどの位置に障害物
があるかを検知して警報する障害物検知装置が知られて
いる。この障害物検知装置では、車両に設置する前にあ
らかじめ、図12に示すマスタ10には、複数のスレー
ブ11、21、31の個々の位置(バンパの左、正面、
右など)に応じたIDがそれぞれ設定され、また、個々
のスレーブ11、21、31にはそのIDが設定され
る。そして、車両に設置する場合には、各スレーブ1
1、21、31がそれぞれ個々の位置においてマスタ1
0と電源線1、通信線3、GND線2を介してバス接続
される。そして、マスタ10が個々のIDがあらかじめ
設定された各スレーブ11、21、31からポーリング
/セレクティング方式などで情報を収集する。
2. Description of the Related Art As a conventional example of this type, ultrasonic sensors (slave) are provided on, for example, the left side, the front side, and the right side of a vehicle bumper, and a controller (master) is provided based on reflected wave detection signals from the ultrasonic sensors. ), There is known an obstacle detection device which detects at which position there is an obstacle and issues an alarm. In this obstacle detection device, the master 10 shown in FIG. 12 has a plurality of slaves 11, 21 and 31 at individual positions (left, front of the bumper,
The ID corresponding to the right or the like) is set, and the ID is set to each of the slaves 11, 21, and 31. When installed in a vehicle, each slave 1
1, 21, and 31 are masters 1 in their respective positions
0 is connected to the bus via a power supply line 1, a communication line 3, and a GND line 2. Then, the master 10 collects information from each of the slaves 11, 21, and 31 in which individual IDs are set in advance by a polling / selecting method or the like.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来例では、個々のIDを既に設定したスレーブ11、2
1、31を本来の位置と異なる位置に誤って接続して設
置すると、障害物検知装置の場合、マスタ10は障害物
がある位置では警報することができず、障害物がない位
置で警報するという問題点がある。
However, in the above-mentioned conventional example, the slaves 11 and 2 in which individual IDs have already been set.
If 1 and 31 are erroneously connected and installed at a position different from the original position, in the case of an obstacle detection device, the master 10 cannot give an alarm at a position with an obstacle and gives an alarm at a position without an obstacle. There is a problem.

【0004】本発明は上記従来例の問題点に鑑み、作業
者が複数のスレーブの個々の設置位置を意識することな
く個々のスレーブに対してIDを正常に設定することが
できる通信装置を提供することを目的とする。
In view of the above-mentioned problems of the conventional example, the present invention provides a communication device which allows a worker to normally set an ID for each slave without being aware of the individual installation positions of the plurality of slaves. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するために、個々の所定位置に配置される複数のスレー
ブ装置の各々にバスと次段のスレーブ装置の接続をオ
ン、オフするスイッチを有し、マスタ装置があらかじめ
記憶した複数のスレーブ装置の各配置位置に応じたID
に基づいてバスを介して最初のスレーブ装置にそのID
を設定した後、IDを設定されたスレーブ装置が順次そ
のスイッチをオンにして次段のスレーブ装置をバスに接
続するとともに、バスに接続された次段のスレーブ装置
に対してマスタ装置がそのIDを設定することを特徴と
する。上記構成によれば、マスタ装置から順次、各接続
順に対応するIDを複数のスレーブ装置に自動的に設定
するので、作業者が複数のスレーブの個々の設置位置を
意識することなく個々のスレーブに対してIDを正常に
設定することができる。
In order to achieve the above object, the present invention provides a switch for turning on / off a connection between a bus and a slave device at a next stage for each of a plurality of slave devices arranged at individual predetermined positions. And an ID corresponding to each arrangement position of a plurality of slave devices which is stored in advance by the master device.
To the first slave device via the bus based on its ID
After setting, the slave device to which the ID is set sequentially turns on its switch to connect the slave device at the next stage to the bus, and the master device sends the ID to the slave device at the next stage connected to the bus. It is characterized by setting. According to the above configuration, since the ID corresponding to each connection order is automatically set to the plurality of slave devices sequentially from the master device, the worker does not have to be aware of the individual installation positions of the plurality of slaves and assigns them to the individual slaves. On the other hand, the ID can be set normally.

【0006】[0006]

【発明の実施の形態】<第1の実施形態>以下、図面を
参照して本発明の実施の形態について説明する。図1は
本発明に係る通信装置の第1の実施形態として車両用障
害物検知装置を示すブロック図、図2は図1のマスタの
構成を示すブロック図、図3は図1のスレーブの構成を
示すブロック図、図4は図1のマスタ−スレーブ間の通
信フレームのフォーマットを示す説明図、図5は図1の
マスタ及びスレーブの動作を説明するためのフローチャ
ート、図6は図1のマスタ−スレーブ間の通信シーケン
スを示すタイミングチャートである。
BEST MODE FOR CARRYING OUT THE INVENTION <First Embodiment> An embodiment of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an obstacle detection device for a vehicle as a first embodiment of a communication device according to the present invention, FIG. 2 is a block diagram showing a configuration of a master shown in FIG. 1, and FIG. 3 is a configuration of a slave shown in FIG. 4 is an explanatory diagram showing the format of the communication frame between the master and slaves in FIG. 1, FIG. 5 is a flow chart for explaining the operation of the master and slaves in FIG. 1, and FIG. 6 is the master in FIG. 3 is a timing chart showing a communication sequence between slaves.

【0007】図1におけるマスタ10は、一例として車
両用障害物検知装置を構成する制御装置であり、バンパ
の左、正面、右にそれぞれ対応するIDがあらかじめ図
示しない不揮発性メモリに設定されている。スレーブ1
1、21、31は車両用障害物検知装置を構成する超音
波センサであり、マスタ10に近い順からこの順番で順
次、車両のバンパの左、正面、右にそれぞれ設置され
る。スレーブ11、21、31には、上記のIDは車両
への設置前にはあらかじめ設定されない。
The master 10 in FIG. 1 is, for example, a control device that constitutes a vehicle obstacle detection device, and IDs corresponding to the left, front, and right of the bumper are set in advance in a non-volatile memory (not shown). . Slave 1
Reference numerals 1, 21, and 31 are ultrasonic sensors that form an obstacle detection device for a vehicle, and are sequentially installed in this order from a position closer to the master 10 on the left, front, and right of a vehicle bumper. The above IDs are not set in advance in the slaves 11, 21, and 31 before installation in the vehicle.

【0008】マスタ10では図2に詳しく示すように、
コントローラ10aはイグニッションスイッチIGを介
して車載バッテリ+Bから電源の供給を受ける。また、
スイッチ10bの一端はイグニッションスイッチIGを
介して車載バッテリ+Bに接続され、他端は電源線1に
接続される。図3に示すようにスレーブ11(及び2
1、31)にはスイッチ12と、電源回路13とコント
ローラ14が設けられている。マスタ10から引き出さ
れた電源線1は、スレーブ11、21、31内の各スイ
ッチ12を介して直列に接続される。すなわち、スレー
ブ11、21、31内の各スイッチ12の一端は上流側
に接続され、他端は下流側に接続される。
In the master 10, as shown in detail in FIG.
The controller 10a is supplied with power from the vehicle-mounted battery + B via the ignition switch IG. Also,
One end of the switch 10b is connected to the in-vehicle battery + B via the ignition switch IG, and the other end is connected to the power supply line 1. As shown in FIG. 3, the slave 11 (and 2
1, 31) are provided with a switch 12, a power supply circuit 13 and a controller 14. The power supply line 1 drawn from the master 10 is connected in series via each switch 12 in the slaves 11, 21, 31. That is, one end of each switch 12 in the slaves 11, 21, 31 is connected to the upstream side, and the other end is connected to the downstream side.

【0009】スレーブ11(及び21、31)ではま
た、電源回路13は各スイッチ12の一端とマスタ10
から引き出されたGND線2に接続されてコントローラ
14の電源を生成する。コントローラ14はマスタ10
から引き出されたGND線2及び通信線3に直結(バス
接続)され、また、スイッチ12を制御する。
In the slave 11 (and 21, 31), the power supply circuit 13 also includes one end of each switch 12 and the master 10.
The controller 14 is connected to the GND line 2 drawn out from to generate power for the controller 14. The controller 14 is the master 10
It is directly connected (bus connection) to the GND line 2 and the communication line 3 drawn from the switch, and also controls the switch 12.

【0010】図4はマスタ10−スレーブ11、21、
31間の通信フレームのフォーマットを示し、1フレー
ムはスタート・オブ・フレーム(SOF)と、宛先と、
メッセージ種別と、IDと、フレーム長と、エラー・チ
ェック・コード(ECC)と、エンド・オブ・フレーム
(EOF)の各フィールドにより構成されている。
FIG. 4 shows a master 10-slave 11, 21,
The format of the communication frame between 31 is shown, and one frame is a start of frame (SOF) and a destination,
The message type, ID, frame length, error check code (ECC), and end of frame (EOF) fields are included.

【0011】そして、通信フレームがマスタ10からス
レーブ11、21、31にIDを設定するためのID設
定メッセージの場合には、宛先フィールドにはブロード
キャストアドレスがセットされ、メッセージ種別フィー
ルドには「ID設定」がセットされ、IDフィールドに
は設定IDがセットされる。また、通信フレームがスレ
ーブ11、21、31からマスタ10に返信するID設
定完了メッセージの場合には、宛先フィールドにはマス
タアドレスがセットされ、メッセージ種別フィールドに
は「ID設定完了」がセットされ、IDフィールドには
設定IDがセットされる。
When the communication frame is an ID setting message for setting an ID from the master 10 to the slaves 11, 21, and 31, a broadcast address is set in the destination field and "ID setting" is set in the message type field. Is set, and the setting ID is set in the ID field. If the communication frame is an ID setting completion message returned from the slaves 11, 21, 31 to the master 10, the master address is set in the destination field, and “ID setting complete” is set in the message type field. A setting ID is set in the ID field.

【0012】次に図5、図6を参照してID設定動作を
説明する。まず、マスタ10のコントローラ10a(以
下、単にマスタ10)は、車両のイグニッションスイッ
チIGがオンになって車載バッテリから電源の供給を受
けるとスタートし(ステップS1)、スイッチ10bを
オンにして電源線1に電源を供給する(ステップS
2)。これにより、次段のスレーブ11のコントローラ
14(以下、単にスレーブ11)のみが電源を供給され
てスタートする(ステップS11)。
Next, the ID setting operation will be described with reference to FIGS. First, the controller 10a of the master 10 (hereinafter simply referred to as the master 10) starts when the vehicle ignition switch IG is turned on and power is supplied from the vehicle battery (step S1), and the switch 10b is turned on to turn on the power supply line. Supply power to 1 (step S
2). As a result, only the controller 14 of the slave 11 at the next stage (hereinafter, simply slave 11) is supplied with power and starts (step S11).

【0013】マスタ10は次いで設定IDを初期値(I
D=1)にセットし(ステップS3)、次いでそのID
をセットしたID設定メッセージを通信線3に送信し
(ステップS4)、ID設定完了メッセージを待つ(ス
テップS5)。スレーブ11は車両のイグニッションス
イッチIGがオンになって車載バッテリから電源の供給
を受けるとスタートし、ステップS12においてID設
定メッセージを受信すると、ID設定メッセージ無視フ
ラグFがセットされているか否かを判断し(ステップS
13)、セットされていない場合にはステップS14に
進み、他方、セットされている場合には受信メッセージ
を無視してこの処理を終了する。ここで、ID設定メッ
セージ無視フラグFとは、初期値はF=0であり、ID
を設定されたスレーブがF=1にセットするフラグであ
る。
The master 10 then sets the setting ID to the initial value (I
D = 1) (step S3) and then its ID
The ID setting message in which is set is transmitted to the communication line 3 (step S4), and the ID setting completion message is waited for (step S5). The slave 11 starts when the ignition switch IG of the vehicle is turned on and is supplied with power from the vehicle-mounted battery, and when the ID setting message is received in step S12, the slave 11 determines whether the ID setting message ignore flag F is set. (Step S
13) If it is not set, the process proceeds to step S14. On the other hand, if it is set, the received message is ignored and this process ends. Here, the ID setting message ignore flag F has an initial value of F = 0,
It is a flag that the slave set to set F = 1.

【0014】ステップS14では、受信したID設定メ
ッセージ内のIDを記憶し、次いでその設定IDをセッ
トしたID設定完了メッセージを送信し(ステップS1
4)、次いでスイッチ12をオンにし(ステップS1
5)、次いでID設定メッセージ無視フラグFをセット
し(ステップS16)、次いで終了する。これにより、
次段のスレーブ21が電源を供給されてスタートし、ま
た、ID設定が終了したスレーブ11は次段以降のスレ
ーブ21、31に対するID設定メッセージを無視す
る。
In step S14, the ID in the received ID setting message is stored, and then the ID setting completion message in which the setting ID is set is transmitted (step S1.
4) and then turn on the switch 12 (step S1
5) Next, the ID setting message ignore flag F is set (step S16), and then the process ends. This allows
The slave 21 in the next stage starts by being supplied with power, and the slave 11 having completed the ID setting ignores the ID setting message for the slaves 21 and 31 in the subsequent stages.

【0015】マスタ10はステップS5においてID設
定完了メッセージを受信したか否かを判断し、受信した
場合にはステップS6に進み、他方、受信しない場合に
はステップS9に分岐する。ステップS6では、送信し
たID設定メッセージ内のIDと、受信したID設定完
了メッセージ内のIDを比較し、一致した場合にはステ
ップS7に進み、他方、一致しない場合にはステップS
9に分岐する。ステップS9ではID設定不良と判断し
て電源線1をオフにし、次いでステップS2に戻って電
源線1を再度オンにし、ID設定を最初のスレーブ11
からやり直す。これにより、エンジンノイズなどによる
IDの誤設定を防止することができる。
In step S5, the master 10 determines whether or not the ID setting completion message is received. If the ID setting completion message is received, the process proceeds to step S6, while if not received, the process branches to step S9. In step S6, the ID in the transmitted ID setting message is compared with the ID in the received ID setting completion message, and if they match, the process proceeds to step S7.
Branch to 9. In step S9, it is determined that the ID setting is defective and the power supply line 1 is turned off. Then, the process returns to step S2 and the power supply line 1 is turned on again.
Start over. As a result, erroneous ID setting due to engine noise or the like can be prevented.

【0016】ステップS7では最後のスレーブ31まで
ID設定が終了したか否かを判断し、終了していない場
合にはステップS8に進んで設定IDを次のID(ID
=ID+1)にセットし、次いでステップS4に戻って
そのIDをセットしたID設定メッセージを通信線3に
送信することにより次段のスレーブ21のID設定を行
う。ステップS7において最後のスレーブ31までID
設定が終了している場合にはステップS10に進み、個
々のIDが設定された各スレーブ11、21、31から
ポーリング/セレクティング方式などで情報を収集する
通信を開始する。
In step S7, it is determined whether or not the ID setting up to the last slave 31 has been completed. If not completed, the process proceeds to step S8 to set the setting ID to the next ID (ID
= ID + 1), and then returns to step S4 to send an ID setting message in which the ID is set to the communication line 3 to set the ID of the slave 21 in the next stage. ID up to the last slave 31 in step S7
If the setting is completed, the process proceeds to step S10 to start communication for collecting information from each slave 11, 21, 31 to which the individual ID is set by the polling / selecting method or the like.

【0017】したがって、第1の実施形態によれば、マ
スタ10から引き出された電源線1をスレーブ11、2
1、31内の各スイッチ12を介して直列に接続(GN
D線2及び通信線3は常時バス接続)し、マスタ10側
に近いスレーブから順次、各スイッチ12により電源線
1をオンにしてIDを設定するので、作業者が複数のス
レーブ11、21、31の設置位置を意識することなく
個々のスレーブ11、21、31に対してIDを正常に
設定することができる。
Therefore, according to the first embodiment, the power supply line 1 drawn from the master 10 is connected to the slaves 11 and 2.
Connected in series via each switch 12 in 1 and 31 (GN
The D line 2 and the communication line 3 are always connected to the bus), and the power line 1 is turned on by each switch 12 to set the ID in order from the slave close to the master 10 side. The ID can be normally set for each slave 11, 21, 31 without being aware of the installation position of 31.

【0018】<第2の実施形態>第1の実施形態では、
電源線1を各スイッチ12を介して直列に接続し、GN
D線2及び通信線3を常時、バス接続したが、第2の実
施形態では、図7に示すように通信線3がスレーブ1
1、21、31の各スイッチ12を介して直列に接続さ
れ、電源線1及びGND線2が常時、バス接続されてい
る。この第2の実施形態では、マスタ10が電源線1を
オンにすると、全てのスレーブ11、21、31が動作
状態になるが、マスタ10側に近いスレーブから順次、
各スイッチ12により通信線3をオンにしてバス接続し
てスレーブ11、21、31のIDを設定するので、作
業者が複数のスレーブ11、21、31の設置位置を意
識することなく個々のスレーブ11、21、31に対し
てIDを正常に設定することができる。
<Second Embodiment> In the first embodiment,
Connect the power supply line 1 in series via each switch 12,
Although the D line 2 and the communication line 3 are always connected to the bus, in the second embodiment, the communication line 3 is the slave 1 as shown in FIG.
The power source line 1 and the GND line 2 are always connected to the bus via the switches 12 of 1, 21, and 31 in series. In the second embodiment, when the master 10 turns on the power supply line 1, all the slaves 11, 21 and 31 are in the operating state, but the slaves closer to the master 10 side sequentially.
Since the communication line 3 is turned on by each switch 12 and the bus is connected to set the IDs of the slaves 11, 21 and 31, the worker does not have to be aware of the installation positions of the slaves 11, 21 and 31 and the individual slaves. IDs can be normally set for 11, 21, and 31.

【0019】<第3の実施形態>第3の実施形態では、
図8に示すようにGND線2が各スイッチ12を介して
直列に接続され、電源線1及び通信線3が常時、バス接
続されている。この第3の実施形態では、マスタ10側
に近いスレーブから順次、各スイッチ12によりGND
線2をオンにしてバス接続し、スレーブ11、21、3
1のIDを設定するので、作業者が複数のスレーブ1
1、21、31の設置位置を意識することなく個々のス
レーブ11、21、31に対してIDを正常に設定する
ことができる。
<Third Embodiment> In the third embodiment,
As shown in FIG. 8, the GND line 2 is connected in series via each switch 12, and the power supply line 1 and the communication line 3 are always bus-connected. In the third embodiment, the GND is set by the switches 12 sequentially from the slave close to the master 10 side.
Turn on line 2 to connect to the bus and set slaves 11, 21, 3
Since the ID of 1 is set, the worker can
It is possible to normally set the ID for each slave 11, 21, 31 without being aware of the installation positions of 1, 21, 31.

【0020】<第4の実施形態>第4の実施形態では、
図9、図10に示すように電源線1、GND線2及び通
信線3がバス接続され、さらにID設定線7、8、9が
それぞれマスタ10−スレーブ11間、スレーブ11−
21間、スレーブ21−31間に直列に接続されてい
る。そして、スレーブ11、21、31はID設定線
7、8、9がハイ−アクティブのときであって、前述し
たID設定メッセージ無視フラグFがセットされていな
いときに通信線3上のID設定メッセージを取り込んで
IDを設定し、また、次段のID設定線8、9をハイ−
アクティブにするように構成されている。
<Fourth Embodiment> In the fourth embodiment,
As shown in FIGS. 9 and 10, the power supply line 1, the GND line 2 and the communication line 3 are bus-connected, and the ID setting lines 7, 8 and 9 are between the master 10 and the slave 11 and the slave 11-, respectively.
21 and the slaves 21-31 are connected in series. When the ID setting lines 7, 8 and 9 are high-active and the slaves 11, 21 and 31 are in the high-active state and the above-mentioned ID setting message ignore flag F is not set, the ID setting message on the communication line 3 is set. To set the ID, and set the next ID setting lines 8 and 9 to
It is configured to activate.

【0021】したがって、図11に示すように、まず、
マスタ10がID設定線7をLからH(ハイ−アクティ
ブ)にして、ID=1をセットしたID設定メッセージ
を通信線3に送信すると、スレーブ11のみが通信線3
上のID設定メッセージを取り込んでIDを設定してI
D設定完了メッセージを通信線3に送信する。また、次
段のID設定線8をHにしてID設定メッセージ無視フ
ラグFをセットする。マスタ10は通信線3上のID設
定完了メッセージを受信して次のID設定メッセージを
通信線3に送信すると、次段のスレーブ21のみが前段
のスレーブ11と同じ動作を行う。
Therefore, as shown in FIG.
When the master 10 changes the ID setting line 7 from L to H (high-active) and transmits an ID setting message with ID = 1 set to the communication line 3, only the slave 11 sends the communication line 3
Capture the ID setting message above and set the ID
The D setting completion message is transmitted to the communication line 3. Further, the ID setting line 8 of the next stage is set to H and the ID setting message ignore flag F is set. When the master 10 receives the ID setting completion message on the communication line 3 and transmits the next ID setting message to the communication line 3, only the slave 21 in the next stage performs the same operation as the slave 11 in the previous stage.

【0022】したがって、第4の実施形態によれば、マ
スタ10、スレーブ11、21がそれぞれID設定線
7、8、9を順次Hにしてスレーブ11、21、31の
IDを設定するので、作業者が複数のスレーブ11、2
1、31の個々の設置位置を意識することなく個々のス
レーブ11、21、31に対してIDを正常に設定する
ことができる。
Therefore, according to the fourth embodiment, the master 10 and the slaves 11 and 21 sequentially set the ID setting lines 7, 8 and 9 to H to set the IDs of the slaves 11, 21 and 31, respectively. Have multiple slaves 11, 2
The ID can be normally set for each slave 11, 21, 31 without being aware of the individual installation positions of 1, 31.

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

【図1】本発明に係る通信装置の第1の実施形態として
車両用障害物検知装置を示すブロック図である。
FIG. 1 is a block diagram showing a vehicle obstacle detection device as a first embodiment of a communication device according to the present invention.

【図2】図1のマスタの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a master shown in FIG.

【図3】図1のスレーブの構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of a slave of FIG.

【図4】図1のマスタ−スレーブ間の通信フレームのフ
ォーマットを示す説明図である。
FIG. 4 is an explanatory diagram showing a format of a communication frame between the master and the slave in FIG.

【図5】図1のマスタ及びスレーブの動作を説明するた
めのフローチャートである。
5 is a flowchart for explaining the operation of the master and slave of FIG.

【図6】図1のマスタ−スレーブ間の通信シーケンスを
示すタイミングチャートである。
6 is a timing chart showing a communication sequence between the master and the slave in FIG.

【図7】第2の実施形態のスレーブの構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing a configuration of a slave of the second embodiment.

【図8】第3の実施形態のスレーブの構成を示すブロッ
ク図である。
FIG. 8 is a block diagram showing a configuration of a slave according to a third embodiment.

【図9】第4の実施形態の通信装置を示すブロック図で
ある。
FIG. 9 is a block diagram showing a communication device of a fourth exemplary embodiment.

【図10】図9のスレーブの構成を示すブロック図であ
る。
10 is a block diagram showing a configuration of a slave of FIG.

【図11】図9のマスタ−スレーブ間の通信シーケンス
を示すタイミングチャートである。
11 is a timing chart showing a communication sequence between the master and slave in FIG.

【図12】従来の通信装置を示すブロック図である。FIG. 12 is a block diagram showing a conventional communication device.

【符号の説明】 1 電源線 2 GND線 3 通信線 10 マスタ 11、21、31 スレーブ 12 スイッチ[Explanation of symbols] 1 power line 2 GND line 3 communication lines 10 Master 11, 21, 31 slaves 12 switches

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 個々の所定位置に配置される複数のスレ
ーブ装置がマスタ装置に対してバスを介して接続された
通信装置において、 前記複数のスレーブ装置の各々に前記バスと次段のスレ
ーブ装置の接続をオン、オフするスイッチを有し、 前記マスタ装置があらかじめ記憶した前記複数のスレー
ブ装置の各配置位置に応じたIDに基づいて前記バスを
介して最初のスレーブ装置にそのIDを設定した後、I
Dを設定されたスレーブ装置が順次前記スイッチをオン
にして次段のスレーブ装置をバスに接続するとともに、
バスに接続された次段のスレーブ装置に対して前記マス
タ装置がそのIDを設定することを特徴とする通信装
置。
1. A communication device in which a plurality of slave devices arranged at respective predetermined positions are connected to a master device via a bus, wherein each of the plurality of slave devices has the bus and a slave device at the next stage. The master device has a switch for turning on and off the connection, and sets the ID to the first slave device via the bus based on the ID stored in advance in the master device according to each arrangement position of the plurality of slave devices. Later, I
The slave device set to D sequentially turns on the switch to connect the slave device of the next stage to the bus, and
A communication device, wherein the master device sets an ID for a slave device at a next stage connected to a bus.
【請求項2】 前記複数のスレーブ装置の各スイッチが
前記バスを構成する電源線と次段のスレーブ装置の接続
をオン、オフするように構成され、IDを設定されたス
レーブ装置がそのスイッチをオンにして次段のスレーブ
装置へ電源線をバス接続することを特徴とする請求項1
に記載の通信装置。
2. Each of the plurality of slave devices is configured to turn on / off a connection between a power supply line forming the bus and a slave device at a next stage, and a slave device having an ID set switches the switch. The power supply line is connected to the slave device of the next stage by bus connection when turned on.
The communication device according to 1.
【請求項3】 前記複数のスレーブ装置の各スイッチが
前記バスを構成する通信線と次段のスレーブ装置の接続
をオン、オフするように構成され、IDを設定されたス
レーブ装置がそのスイッチをオンにして次段のスレーブ
装置へ通信線をバス接続することを特徴とする請求項1
又は2に記載の通信装置。
3. Each of the switches of the plurality of slave devices is configured to turn on / off the connection between the communication line forming the bus and the slave device of the next stage, and the slave device to which the ID is set switches the switch. 2. The communication line is connected to the slave device of the next stage by bus connection when turned on.
Or the communication device according to 2.
【請求項4】 前記複数のスレーブ装置の各スイッチが
前記バスを構成する接地線と次段のスレーブ装置の接続
をオン、オフするように構成され、IDを設定されたス
レーブ装置がそのスイッチをオンにして次段のスレーブ
装置へ接地線をバス接続することを特徴とする請求項1
から3のいずれか1つに記載の通信装置。
4. Each of the switches of the plurality of slave devices is configured to turn on / off the connection between the ground line forming the bus and the slave device of the next stage, and the slave device to which the ID is set switches the switch. 2. The ground line is connected to the slave device at the next stage by bus connection when turned on.
5. The communication device according to any one of 1 to 3.
【請求項5】 個々の所定位置に配置される複数のスレ
ーブ装置がマスタ装置に対してバスを介して接続された
通信装置において、 前記マスタ装置と前記複数のスレーブ装置を前記バスと
は独立したID設定線を介して直列に接続し、 前記マスタ装置があらかじめ記憶した前記複数のスレー
ブ装置の各配置位置に応じたIDに基づいて、前記ID
設定線をオンにして前記バスを介して最初のスレーブ装
置にそのIDを設定した後、IDを設定されたスレーブ
装置が順次、次段のスレーブ装置への前記ID設定線を
オンにするとともに、前記ID設定線がオンの次段のス
レーブ装置に対して前記マスタ装置がそのIDを設定す
ることを特徴とする通信装置。
5. A communication device in which a plurality of slave devices arranged at respective predetermined positions are connected to a master device via a bus, wherein the master device and the plurality of slave devices are independent of the bus. The IDs are connected in series via an ID setting line, and the IDs are stored based on the IDs stored in advance by the master device according to the respective arrangement positions of the plurality of slave devices.
After turning on the setting line and setting its ID to the first slave device via the bus, the slave devices to which the ID is set sequentially turn on the ID setting line to the slave device of the next stage, A communication device, wherein the master device sets an ID for a slave device at a next stage in which the ID setting line is on.
【請求項6】 前記複数のスレーブ装置の各々が車両の
各適宜位置に配置される障害物検知センサであって、前
記マスタ装置が車両のイグニッションスイッチがオンに
なった時に前記配置位置に応じたIDを前記障害物検知
センサに設定して、障害物を検知した障害物検知センサ
のIDに基づいて障害物の位置を検知することを特徴と
する1から5のいずれか1つに記載の通信装置。
6. An obstacle detection sensor in which each of the plurality of slave devices is arranged at each appropriate position of a vehicle, wherein the master device responds to the arrangement position when an ignition switch of the vehicle is turned on. The communication according to any one of 1 to 5, characterized in that an ID is set in the obstacle detection sensor and the position of the obstacle is detected based on the ID of the obstacle detection sensor that has detected the obstacle. apparatus.
JP2001343518A 2001-08-14 2001-11-08 Obstacle detection device for vehicles Expired - Lifetime JP3565200B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2001343518A JP3565200B2 (en) 2001-11-08 2001-11-08 Obstacle detection device for vehicles
DE10236879A DE10236879B4 (en) 2001-08-14 2002-08-12 Obstacle detection device and related communication device
US10/216,832 US6897768B2 (en) 2001-08-14 2002-08-13 Obstacle detecting apparatus and related communication apparatus
FR0210268A FR2828741B1 (en) 2001-08-14 2002-08-13 OBSTACLE DETECTION DEVICE AND ASSOCIATED COMMUNICATION DEVICE
KR10-2002-0048244A KR100465130B1 (en) 2001-08-14 2002-08-14 Obstacle detecting apparatus and related communication apparatus
FR0406709A FR2856480B1 (en) 2001-08-14 2004-06-21 OBSTACLE DETECTION DEVICE AND ASSOCIATED COMMUNICATION DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001343518A JP3565200B2 (en) 2001-11-08 2001-11-08 Obstacle detection device for vehicles

Publications (2)

Publication Number Publication Date
JP2003152741A true JP2003152741A (en) 2003-05-23
JP3565200B2 JP3565200B2 (en) 2004-09-15

Family

ID=19157192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001343518A Expired - Lifetime JP3565200B2 (en) 2001-08-14 2001-11-08 Obstacle detection device for vehicles

Country Status (1)

Country Link
JP (1) JP3565200B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100559913B1 (en) * 2004-01-09 2006-03-13 이기원 Communication device
JP2006335203A (en) * 2005-06-01 2006-12-14 Denso Corp Obstacle detecting device for vehicle
EP2110284A1 (en) 2008-04-18 2009-10-21 Keihin Corporation Passenger protection control device and passenger protection system
JP2011041225A (en) * 2009-08-18 2011-02-24 Sony Corp Power supply unit, processing system, and id allocation method
DE102011002628A1 (en) 2010-01-26 2011-07-28 DENSO CORPORATION, Aichi-pref. Communication slave and communication network system
DE102011004250A1 (en) 2010-02-24 2011-08-25 DENSO CORPORATION, Aichi-pref. Communication Slave
JP2011239024A (en) * 2010-05-06 2011-11-24 Mega Chips Corp Communication unit, communication system, display unit and display system
KR101333944B1 (en) 2012-04-10 2013-11-27 주식회사 에이디알에프코리아 Distributed system and method for identification assign thereof
DE102005033977B4 (en) * 2004-07-28 2014-05-15 Denso Corporation Device for detecting an obstacle
JP5519807B2 (en) * 2010-12-22 2014-06-11 株式会社日立製作所 Setting terminal used in distributed computer system
CN108957459A (en) * 2018-05-29 2018-12-07 肇庆奥迪威传感科技有限公司 Digital type ultrasound wave sensor, distance detection system and method
JP7448427B2 (en) 2020-06-19 2024-03-12 株式会社キーエンス data collection device
DE112022003322T5 (en) 2021-06-30 2024-04-11 Aisin Corporation Object detection device and authentication method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100559913B1 (en) * 2004-01-09 2006-03-13 이기원 Communication device
DE102005033977B4 (en) * 2004-07-28 2014-05-15 Denso Corporation Device for detecting an obstacle
JP2006335203A (en) * 2005-06-01 2006-12-14 Denso Corp Obstacle detecting device for vehicle
JP4639969B2 (en) * 2005-06-01 2011-02-23 株式会社デンソー Obstacle detection device for vehicles
EP2110284A1 (en) 2008-04-18 2009-10-21 Keihin Corporation Passenger protection control device and passenger protection system
JP2009255820A (en) * 2008-04-18 2009-11-05 Keihin Corp Passenger protection control device and passenger protection system
JP2011041225A (en) * 2009-08-18 2011-02-24 Sony Corp Power supply unit, processing system, and id allocation method
DE102011002628A1 (en) 2010-01-26 2011-07-28 DENSO CORPORATION, Aichi-pref. Communication slave and communication network system
DE102011004250B4 (en) 2010-02-24 2018-05-30 Denso Corporation Communication Slave
DE102011004250A1 (en) 2010-02-24 2011-08-25 DENSO CORPORATION, Aichi-pref. Communication Slave
JP2011239024A (en) * 2010-05-06 2011-11-24 Mega Chips Corp Communication unit, communication system, display unit and display system
JP5519807B2 (en) * 2010-12-22 2014-06-11 株式会社日立製作所 Setting terminal used in distributed computer system
KR101333944B1 (en) 2012-04-10 2013-11-27 주식회사 에이디알에프코리아 Distributed system and method for identification assign thereof
CN108957459A (en) * 2018-05-29 2018-12-07 肇庆奥迪威传感科技有限公司 Digital type ultrasound wave sensor, distance detection system and method
JP7448427B2 (en) 2020-06-19 2024-03-12 株式会社キーエンス data collection device
DE112022003322T5 (en) 2021-06-30 2024-04-11 Aisin Corporation Object detection device and authentication method

Also Published As

Publication number Publication date
JP3565200B2 (en) 2004-09-15

Similar Documents

Publication Publication Date Title
JP2003152741A (en) Communication system
US8750351B2 (en) Configuration of bus transceiver
CN106230678A (en) Information processing method based on car borne gateway controller and gateway controller
JP4639969B2 (en) Obstacle detection device for vehicles
US20180141439A1 (en) Onboard vehicle communication system
JP6032103B2 (en) Power line data transmitter
KR102090061B1 (en) Appatarus testing bcm integrated with can
KR100362236B1 (en) Multiple data communication system
US11386032B2 (en) Network system
JP3465250B2 (en) Multiplex transmission equipment
WO2015064061A1 (en) Sensor system, control device, and sensor
JP2009302783A (en) Failure detecting method and failure detection system of communication network
JP3988753B2 (en) Communication device
JP4013592B2 (en) Vehicle communication system
JP7001026B2 (en) Vehicle communication device
JP2004241997A (en) Power superimposed multiplex communication system for vehicle
JP2001334908A (en) Vehicular occupant protection system
JP5098429B2 (en) Communications system
CN108227672B (en) Vehicle-mounted communication system
JP2781397B2 (en) Multiplex transmission equipment
JPH05122226A (en) Multiplex transmission method
JPH0558233A (en) Multiple transmission device
JPH1049506A (en) Multiplex transmission equipment
JP3401361B2 (en) Multiplex transmission system
JP2925546B2 (en) Vehicle decentering detection device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040108

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20040108

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20040203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040406

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040518

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040531

R150 Certificate of patent or registration of utility model

Ref document number: 3565200

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100618

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110618

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120618

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140618

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term