JP3988753B2 - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP3988753B2 JP3988753B2 JP2004197121A JP2004197121A JP3988753B2 JP 3988753 B2 JP3988753 B2 JP 3988753B2 JP 2004197121 A JP2004197121 A JP 2004197121A JP 2004197121 A JP2004197121 A JP 2004197121A JP 3988753 B2 JP3988753 B2 JP 3988753B2
- Authority
- JP
- Japan
- Prior art keywords
- power
- setting
- line
- bus
- communication
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、マスタ装置に対して複数のスレーブ装置が接続された通信装置に関し、特に車両用の障害物検知装置などに好適な通信装置に関するものである。 The present invention relates to a communication device in which a plurality of slave devices are connected to a master device, and more particularly to a communication device suitable for an obstacle detection device for a vehicle.
従来、作業者が複数のスレーブ装置の個々の設置位置を意識することなく個々のスレーブ装置に対してIDを正常に設定することを目的とした通信装置が提案されている(例えば、特許文献1参照。)。 2. Description of the Related Art Conventionally, a communication device has been proposed in which an operator aims to normally set an ID for each slave device without being aware of the individual installation positions of the plurality of slave devices (for example, Patent Document 1). reference.).
この特許文献1に開示されている通信装置によれば、例えば、複数のスレーブ装置の各々は、バスを構成する電源線を直列にオン、オフするスイッチを有し、マスタ装置は、予め記憶したスレーブ装置の各接続順序とIDに基づいてバスを介してマスタ装置に近いスレーブ装置から順次、当該接続位置のIDを設定する。このIDの設定されたスレーブ装置は、順次、当該スイッチをオンにして次段のスレーブ装置をバス接続する。
According to the communication device disclosed in
また、IDを再設定する場合、マスタ装置において電源線をオフにし、当該電源線を再度オンにした後、ID設定を最初のスレーブ装置からやり直す。
上述した、従来の通信装置では、エンジンノイズ等に起因した異常発生によってIDを再設定する際、マスタ装置において電源線をオフするため、バス接続された全てのスレーブ装置の電源が断たれることになる。 In the above-described conventional communication device, when resetting the ID due to the occurrence of an abnormality caused by engine noise or the like, the power supply line is turned off in the master device, so that all the slave devices connected to the bus are turned off. become.
例えば、スレーブ装置としての障害物検知用のセンサを車両の前方と後方に配置し、前方のセンサの異常発生によってIDを再設定する場合、前方のセンサへの電源とともに再設定の不要な後方のセンサへの電源を断ち、再設定の不要な後方のセンサを含めてIDの再設定を行う。そのため、IDの再設定に余計な時間を要してしまう。 For example, when obstacle detection sensors as slave devices are arranged at the front and rear of the vehicle and the ID is reset due to the occurrence of an abnormality in the front sensor, the rear sensor that does not need to be reset together with the power supply to the front sensor The power to the sensor is cut off, and the ID is reset including the rear sensor that does not need to be reset. Therefore, extra time is required for resetting the ID.
本発明は、かかる問題を鑑みてなされたもので、IDの再設定に要する時間を短縮することができる通信装置を提供することを目的とする。 The present invention has been made in view of such a problem, and an object of the present invention is to provide a communication apparatus capable of reducing the time required for resetting an ID.
上記課題を解決するためになされた請求項1に記載の通信装置は、複数のスレーブ装置がマスタ装置に対してバスを介して接続され、マスタ装置がバスを構成する電源線に電源を供給した後、複数のスレーブ装置の各々に対して、その各配置位置に応じたIDを設定するID設定を行う通信装置であって、電源線は、複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、マスタ装置は、グループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチを備え、ID設定を再び行う場合、再設定すべきスレーブ装置の属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、電源スイッチをオンして電源線に電源を供給してからID設定を行うことを特徴とする。
The communication device according to
このように、本発明では、IDを再設定する場合、再設定すべきスレーブ装置の属するグループに限定して行うため、IDの再設定に要する時間を短縮することができる。この結果、例えば、スレーブ装置の動作中にIDの再設定を行う場合、スレーブ装置が再び動作するまでの復旧レスポンスを向上することができる。 Thus, according to the present invention, when resetting an ID, it is performed only for the group to which the slave device to be reset belongs, so that the time required for resetting the ID can be shortened. As a result, for example, when the ID is reset during the operation of the slave device, the recovery response until the slave device operates again can be improved.
また、再設定すべきスレーブ装置の属するグループの電源線への電源の供給のみを断つため、再設定の不要なグループに属するスレーブ装置の電源を断つことがなくなる。これにより、正常なスレーブ装置の動作を中断しないようにすることができる。 Further, since only the power supply to the power supply line of the group to which the slave device to be reset belongs is cut off, the power of the slave device belonging to the group that does not need to be reset is not cut off. As a result, normal operation of the slave device can be prevented from being interrupted.
請求項2に記載の通信装置は、複数のスレーブ装置がマスタ装置に対してバスを介して接続され、マスタ装置がバスを構成する電源線に電源を供給した後、複数のスレーブ装置の各々に対して、その各配置位置に応じたIDを設定するID設定を行い、ID設定を再び行う場合には、マスタ装置が電源線への電源の供給を断ち、その後、電源線に電源を供給してからID設定を行う通信装置であって、バスを構成する通信線は、複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、マスタ装置は、ID設定を行う場合、グループ毎に独立して設けられた通信線を介して、各グループ略同じ時間帯で行うことを特徴とする。
In the communication device according to
このように、グループ毎に独立して設けられた通信線を介して各グループ略同じ時間帯でID設定を行うようにすることで、ID設定に要する時間を従来に比べて短縮することができる。 In this way, by performing ID setting in approximately the same time zone of each group via a communication line provided independently for each group, the time required for ID setting can be shortened compared to the conventional case. .
請求項3に記載の通信装置は、複数のスレーブ装置がマスタ装置に対してバスを介して接続され、マスタ装置がバスを構成する電源線に電源を供給した後、複数のスレーブ装置の各々に対して、その各配置位置に応じたIDを設定するID設定を行う通信装置であって、バスを構成する電源線、及び通信線は、複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、マスタ装置は、グループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチを備え、ID設定を再び行う場合、再設定すべきスレーブ装置の属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、電源スイッチをオンして電源線に電源を供給してからグループの通信線を介してID設定を行うことを特徴とする。
In the communication device according to
このように、本発明では、再設定すべきスレーブ装置の属するグループに限定してIDの再設定を行うとともに、再設定すべきスレーブ装置の属するグループの通信線を介してID設定を行う。 As described above, according to the present invention, the ID is reset only for the group to which the slave device to be reset belongs, and the ID is set through the communication line of the group to which the slave device to be reset belongs.
これにより、IDの再設定に要する時間を短縮することができ、また、再設定の不要なグループの通信線にID設定に関する情報を通信しないようにすることができる。この結果、再設定の不要なグループの通信線には、スレーブ装置からの情報のみ通信されるため、通信負荷の軽減を図ることができる。 As a result, the time required for resetting the ID can be shortened, and information relating to the ID setting can be prevented from being communicated to the communication line of the group that does not require resetting. As a result, only the information from the slave device is communicated to the communication line of the group that does not need to be reset, so that the communication load can be reduced.
請求項4に記載の通信装置によれば、複数のスレーブ装置は、バスと次段のスレーブ装置の接続をオン、オフするスイッチを有し、マスタ装置は、ID設定を行う際、複数のスレーブ装置の各配置位置に応じたIDに基づいてバスを介して最初のスレーブ装置にそのIDを設定し、その後、IDの設定されたスレーブ装置が順次スイッチをオンにして次段のスレーブ装置をバスに接続した後、そのバスに接続された次段のスレーブ装置に対してIDを設定することを特徴とする。これにより、マスタ装置から順次、複数のスレーブ装置の各配置位置に応じたIDを自動的に設定することができる。
According to the communication device of
請求項5に記載の通信装置によれば、複数のスレーブ装置の有するスイッチは、バスを構成する電源線、通信線、及び接地線の何れか1つの線と次段のスレーブ装置の接続をオン、オフするものであって、IDの設定されたスレーブ装置は、スイッチをオンにして次段のスレーブ装置へ電源線、通信線、及び接地線の何れか1つの線をバス接続することを特徴とする。このように、IDの設定されたスレーブ装置が次段のスレーブ装置の接続を行うので、IDを正常に設定することができる。 According to the communication device of the fifth aspect, the switch included in the plurality of slave devices turns on the connection of any one of the power supply line, the communication line, and the ground line constituting the bus and the slave device in the next stage. The slave device to which the ID is set turns on the switch to connect any one of the power supply line, the communication line, and the ground line to the next slave device by bus. And As described above, since the slave device to which the ID is set connects to the slave device at the next stage, the ID can be set normally.
請求項6に記載の通信装置によれば、マスタ装置は、複数のスレーブ装置の各配置位置に応じたIDに対応する信号をバスを構成する電源線の電源信号に重畳して送信する送信機を備え、複数のスレーブ装置は、電源線の電源信号に重畳して送信されるIDに対応する信号を受信する受信機を備え、マスタ装置は、電源線を介してID設定を行うことを特徴とする。
According to the communication device according to
例えば、マスタ装置からパルス信号を電源電圧信号に重畳して送信する場合、そのパルス信号の周波数、パルス数、振幅、デューティ比等の信号特性をIDに対応するように変更する。一方、各スレーブ装置では、上記信号特性とIDとの対応を記憶しておき、受信機の受信したパルス信号の特性から対応するIDを特定する。これにより、通信線を介さずに電源線を利用してID設定を行うことができる。 For example, when a pulse signal is superimposed on a power supply voltage signal from the master device and transmitted, the signal characteristics such as frequency, number of pulses, amplitude, and duty ratio of the pulse signal are changed to correspond to the ID. On the other hand, each slave device stores the correspondence between the signal characteristic and the ID, and identifies the corresponding ID from the characteristic of the pulse signal received by the receiver. Thereby, ID setting can be performed using a power supply line not via a communication line.
請求項7に記載の通信装置によれば、複数のスレーブ装置は、車両の前方バンパと後方バンパに各々配置されるものであって、複数のグループは、前方バンパと後方バンパのグループに区分されることを特徴とする。 According to the communication device of the seventh aspect, the plurality of slave devices are respectively arranged in the front bumper and the rear bumper of the vehicle, and the plurality of groups are divided into groups of a front bumper and a rear bumper. It is characterized by that.
例えば、バスを構成する電源線を前方バンパと後方バンパのグループに区分して設け、この各グループに各々設けた電源スイッチを別々にオン、オフすることで、前方バンパのグループに設けられた電源線と、後方バンパのグループに設けられた電源線への電源の供給と遮断を別々に行うことができる。 For example, the power lines that make up the bus are divided into front bumper and rear bumper groups, and the power switches provided in each group are turned on and off separately, so that the power supply provided in the front bumper group The power supply and the power supply to the power supply line provided in the line and the rear bumper group can be performed separately.
以下、図面を参照して本発明の実施の形態について説明する。図1は、本発明に係る通信装置の実施形態としての車両用障害物検知装置を示すブロック図である。 Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a vehicle obstacle detection device as an embodiment of a communication device according to the present invention.
図1に示すマスタ装置としてのECU10は、車両用障害物検知装置を構成する制御装置である。このECU10は、図示しない不揮発性メモリを有しており、この不揮発性メモリは、図3に示す車両1の前方、及び後方に設けられるバンパの左右に各々対応するIDを記憶している。
ECU10 as a master apparatus shown in FIG. 1 is a control apparatus which comprises the obstacle detection apparatus for vehicles. The
図1に示す複数のスレーブ装置としてのセンサ11〜14は、車両用障害物検知装置を構成する超音波センサである。このセンサ11〜14は、図3に示すように、車両1の前方、及び後方のバンパの左右に各々設置される。センサ11〜14に設定される上記のIDは、車両1への設置後に設定されるものである。
The
ECU10は、図1に示すように、コントローラ10a、通信ドライバ/レシーバ(D/R)10b、電源スイッチSW1、電源スイッチSW2を備えている。コントローラ10aは、車両1のイグニッションスイッチ(IG)を介して、車載バッテリの+B端子から電源の供給を受けることによって、電源スイッチSW1、電源スイッチSW2をオン、オフする制御を行う。通信D/R10bは、センサ11〜14との通信を行う。
As shown in FIG. 1, the
同図に示すように、電源スイッチSW1、電源スイッチSW2の一端は、IGを介して車載バッテリの+B端子に接続され、その他端は、センサ11〜14の各配置位置に応じて区分された複数のグループ(本実施形態では、前方バンパと後方バンパの2グループ)毎に独立して設けられた電源線に各々接続される。 As shown in the figure, one end of each of the power switch SW1 and the power switch SW2 is connected to the + B terminal of the in-vehicle battery via the IG, and the other end is divided into a plurality according to each arrangement position of the sensors 11-14. Are connected to power supply lines provided independently for each group (in this embodiment, two groups of a front bumper and a rear bumper).
この電源スイッチSW1、電源スイッチSW2を別々にオン、オフすることで、前方バンパのグループに設けられた電源線と、後方バンパのグループに設けられた電源線への電源の供給と遮断を別々に行うことができる。 By separately turning on and off the power switch SW1 and the power switch SW2, power supply to the power supply line provided in the front bumper group and power supply to the power supply line provided in the rear bumper group are separately supplied and cut off. It can be carried out.
図2に、センサ13の内部構成を示す。なお、センサ11、12、及び14の構成は、センサ13の構成と同様であるため、その説明を省略する。センサ13は、コントローラ13a、電源回路13b、及びスイッチ13cが設けられている。ECU10から引き出された電源線は、センサ11〜14内の各スイッチを介して直列に接続される。すなわち、センサ13の場合、スイッチ13cの一端はECU10に接続され、他端はセンサ14に接続される。
FIG. 2 shows the internal configuration of the
電源回路13bは、スイッチ13cの一端とECU10から引き出されたGND線に接続され、コントローラ13aの電源を生成する。コントローラ13aは、ECU10から引き出されたGND線及び通信線に直結(バス接続)され、また、スイッチ13cを制御する。
The
図4は、ECU10とセンサ11〜センサ14との間の通信フレームのフォーマットを示している。同図に示すフォーマットの1フレームは、スタート・オブ・フレーム(SOF)、宛先、メッセージ種別、センサID、フレーム長、エラー・チェック・コード(ECC)、及びエンド・オブ・フレーム(EOF)の各フィールドにより構成されている。
FIG. 4 shows a format of a communication frame between the
この通信フレームがセンサ11〜14の各々にIDを設定するためのID設定メッセージの場合、宛先フィールドにはブロードキャストアドレスがセットされ、メッセージ種別フィールドには「ID設定」がセットされ、IDフィールドには設定IDがセットされる。
When this communication frame is an ID setting message for setting an ID to each of the
一方、通信フレームがセンサ11〜14からECU10へ返信するID設定完了メッセージの場合、宛先フィールドにはマスタアドレス(ECU10に割り当てられたアドレス)がセットされ、メッセージ種別フィールドには「ID設定完了」がセットされ、IDフィールドには設定IDがセットされる。
On the other hand, when the communication frame is an ID setting completion message returned from the
次に、本実施形態の車両用障害物検知装置におけるID設定処理の動作について、図5に示すフローチャートを用いて説明する。なお、図6に示すタイミングチャートも適宜参照されるとよい。先ず、ECU10のコントローラ10a(以下、単にECU10)は、車両1のIGがオンになって車載バッテリから電源の供給を受けるとスタートする(ステップS1)。
Next, the operation of the ID setting process in the vehicle obstacle detection device of the present embodiment will be described using the flowchart shown in FIG. Note that the timing chart shown in FIG. First, the
ステップS2では、前方バンパのグループの電源線に対応する電源スイッチSW1をオンにして、前方バンパのグループの電源線に電源を供給する。これにより、ステップS12において、次段のセンサ11のコントローラ(以下、単にセンサ11)のみが電源を供給されてスタートする。
In step S2, the power switch SW1 corresponding to the power line of the front bumper group is turned on to supply power to the power line of the front bumper group. Thereby, in step S12, only the controller (hereinafter simply referred to as sensor 11) of the
ECU10は、ステップS3において、設定IDを初期値(ID=1)にセットし、ステップS4において、そのIDをセットしたID設定メッセージを通信線に送信し、ステップS5において、ID設定完了メッセージを待つ(ステップS5)。
The
一方、センサ11は、車両1のIGがオンになって車載バッテリから電源の供給を受けるとスタートする。ステップS13では、ID設定メッセージを受信すると、ステップS14において、ID設定メッセージ無視フラグFがセットされているか否かを判断する。
On the other hand, the
ここで、上記フラグFがセットされていないと判断した場合にはステップS15に処理を進め、上記フラグFがセットされていると判断した場合には受信メッセージを無視してこの処理を終了する。ここで、ID設定メッセージ無視フラグFとは、初期値はF=0であり、IDを設定されたセンサがF=1にセットするフラグである。 If it is determined that the flag F is not set, the process proceeds to step S15. If it is determined that the flag F is set, the received message is ignored and the process ends. Here, the ID setting message ignoring flag F is a flag that is initially set to F = 0 and is set to F = 1 by the sensor set with the ID.
ステップS15では、センサ11において、受信したID設定メッセージ内のIDを記憶し、その設定IDをセットしたID設定完了メッセージを送信する。ステップS16ではスイッチをオンにし、ステップS17では、ID設定メッセージ無視フラグFをセットして終了する。
In step S15, the
これにより、次段のセンサ12に電源が供給されてスタートし、また、ID設定が終了したセンサ11は、次段以降のセンサ12〜14に対するID設定メッセージを無視する。
As a result, the power is supplied to the
ECU10は、ステップS5において、ID設定完了メッセージを受信したか否かを判断し、受信した場合にはステップS6に進み、他方、受信しない場合にはステップS9に分岐する。
In step S5, the
ステップS6では、送信したID設定メッセージ内のIDと、受信したID設定完了メッセージ内のIDを比較し、一致した場合にはステップS7に進み、他方、一致しない場合にはステップS9に分岐する。 In step S6, the ID in the transmitted ID setting message is compared with the ID in the received ID setting completion message. If they match, the process proceeds to step S7. If they do not match, the process branches to step S9.
ステップS7では、最後のセンサ14までID設定が終了したか否かを判断し、終了していない場合にはステップS8に進んで設定IDを次のID(ID=ID+1)にセットし、次いでステップS4に戻ってそのIDをセットしたID設定メッセージを通信線に送信することにより次段のセンサ12のID設定を行う。
In step S7, it is determined whether or not the ID setting has been completed up to the
なお、ステップS8において、ID=3とセットされた場合、ECU10は、後方バンパのグループの電源線に対応する電源スイッチSW2をオンにして、後方バンパのグループの電源線に電源を供給する。これにより、ステップS12において、次段のセンサ13のコントローラのみが電源を供給されてスタートする。
If ID = 3 is set in step S8, the
このように、ID設定を行う際、センサ11〜14の各配置位置に応じたIDに基づいてバスを介して最初のセンサにそのIDを設定し、その後、IDの設定されたセンサが順次スイッチをオンにして次段のセンサをバスに接続した後、そのバスに接続された次段のセンサに対してIDを設定することで、ECU10から順次、各センサの各配置位置に応じたIDを自動的に設定することができる。
As described above, when setting the ID, the ID is set to the first sensor via the bus based on the ID corresponding to each arrangement position of the
ステップS7において、最後のセンサ14までID設定が終了している場合にはステップS11に進み、個々のIDが設定された各センサ11〜14からポーリング/セレクティング方式などで情報を収集する通信を開始する。図6に示すID設定時間(T)は、このID設定に要する時間を示している。
In step S7, if the ID setting has been completed up to the
以下、本実施形態の特徴部分について説明する。ステップS9、及びステップS10は、ID設定不良のためIDの再設定を行う場合の処理である。この処理は、ステップS11における通信開始後にセンサ11〜14の何れかに異常が発生し、IDの再設定を行う場合にも行われる。
Hereafter, the characteristic part of this embodiment is demonstrated. Steps S9 and S10 are processes when the ID is reset because of an ID setting failure. This process is also performed when an abnormality occurs in any of the
IDの再設定を行う場合、先ず、ステップS9では、ID設定不良となったセンサ、又は、異常発生したセンサの属するグループ(すなわち、前方バンパ、又は後方バンパ)を特定する。 When performing ID resetting, first, in step S9, a sensor having an ID setting failure or a group to which an abnormal sensor belongs (that is, a front bumper or a rear bumper) is specified.
ステップS10では、特定したグループの電源線に対応する電源スイッチSW1(又は電源スイッチSW2)をオフにして電源の供給を断ち、その後、ステップS2に戻って、オフにした電源スイッチを再びオンにして、ID設定をやり直す。 In step S10, the power switch SW1 (or power switch SW2) corresponding to the power supply line of the specified group is turned off to cut off the power supply, and then the process returns to step S2 to turn on the turned off power switch again. , Set the ID again.
図7は、通信開始後に前方バンパのグループに属するセンサ11、又はセンサ12に異常が発生し、ID設定を再び行った場合のタイミングチャートを示している。同図に示すように、前方バンパのグループの電源線に対応する電源スイッチSW1をオフにし、その後、オンにして、センサ11、12のID設定を行う。
FIG. 7 shows a timing chart in the case where an abnormality occurs in the
このID再設定の際、異常発生していないセンサ13、14の属するグループの電源スイッチSW2はオンしたまま保持されるため、センサ13、14は通信を行ったまま、センサ11、センサ12のIDの再設定が行われる。
When this ID resetting is performed, the power switch SW2 of the group to which the
これにより、IDの再設定に要する時間は、図7に示すように、略半分(T/2)となるため、ID再設定に要する時間を短縮することができるとともに、再設定の不要な後方バンパのグループに属するセンサ13、14の動作を中断しないようにすることができる。
As a result, the time required for resetting the ID is approximately half (T / 2) as shown in FIG. 7, so that the time required for resetting the ID can be shortened and the resetting is unnecessary. The operation of the
このように、本実施形態の車両用障害物検知装置は、前方バンパ、及び後方バンパのグループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチSW1、SW2を備え、ID再設定を行う場合、再設定すべきセンサの属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、電源スイッチをオンして電源線に電源を供給してからID設定を行う。 As described above, the vehicle obstacle detection device according to the present embodiment has the power switches SW1 and SW2 that turn on and off the connection of the power supply lines provided independently for each group of the front bumper and the rear bumper. When the ID is reset, the power switch of the power line of the group to which the sensor to be reset belongs is turned off to cut off the power supply to the power line, and then the power switch is turned on to supply power to the power line. ID setting is performed after supplying.
このように、IDを再設定する場合、再設定すべきセンサの属するグループに限定して行うため、IDの再設定に要する時間を短縮することができる。この結果、例えば、センサの動作中にIDの再設定を行う場合、センサが再び動作するまでの復旧レスポンスを向上することができる。 Thus, when resetting the ID, it is performed only for the group to which the sensor to be reset belongs, so that the time required for resetting the ID can be shortened. As a result, for example, when the ID is reset during the operation of the sensor, the recovery response until the sensor operates again can be improved.
また、再設定すべきセンサの属するグループの電源線への電源の供給のみを断つため、再設定の不要なグループに属するセンサの電源を断つことがなくなる。これにより、正常なセンサの動作を中断しないようにすることができる。 In addition, since only power supply to the power supply line of the group to which the sensor to be reset belongs is cut off, the power of the sensor belonging to the group that does not need to be reset is not cut off. As a result, normal sensor operation can be prevented from being interrupted.
(変形例1)
本実施形態では、スイッチ13cを介して電源線を直列に接続し、GND線及び通信線3を常時バス接続するものであるが、特開2003−152741号公報に開示されているように、スイッチを介して通信線を直列に接続し、電源線及びGND線を常時バス接続する構成としたり、スイッチを介してGND線を直列に接続し、電源線及び通信線を常時バス接続する構成としたりしてもよい。このような構成とすることで、IDの設定されたセンサが次段のセンサの接続を行うので、IDを正常に設定することができる。
(Modification 1)
In the present embodiment, the power supply line is connected in series via the
(変形例2)
本実施形態におけるID設定処理は、通信線を介した通信フレームの通信によって行われるものであるが、電源線を介して行うようにしてもよい。すなわち、図8に示すように、電源スイッチSW1、SW2の一端に送信機10c、10dを備え、この送信機10c、10dからID設定信号を電源線の電源信号に重畳して送信する。また、図9に示すように、スイッチ13cの一端とECU10から引き出されたGND線に受信機13dを接続し、この受信機13dによりID設定信号を受信してID設定を行う。
(Modification 2)
The ID setting process in the present embodiment is performed by communication of a communication frame via a communication line, but may be performed via a power line. That is, as shown in FIG. 8,
図10は、送信機10c、10dから送信されるID設定信号の一例を示したものであり、例えば、パルス信号を電源信号(電源電圧)に重畳して送信する場合、そのパルス信号の周波数、パルス数、振幅、デューティ比等の信号特性を設定すべきIDに応じて変更する。
FIG. 10 shows an example of an ID setting signal transmitted from the
センサ11〜14では、上記信号特性とIDとの対応を記憶しておき、受信機13dの受信したパルス信号の特性から対応するIDを特定する。これにより、通信線を介さずに電源線を利用してID設定を行うことができる。
The
なお、図8に示すように、本変形例の電源線は、第1の実施形態と同様に前方バンパと後方バンパのグループ毎に別々に設けられているため、第1の実施形態で説明したように、電源スイッチSW1をオンして前方バンパのグループのID設定が行われた後に電源スイッチSW2をオンすることなく、電源スイッチSW1、SW2を同時にオンしてID設定を行うことができる。従って、ID設定を最初に行う場合でも、そのID設定に要する時間を従来に比べ短縮することができる。 In addition, as shown in FIG. 8, since the power supply line of this modification is separately provided for each group of the front bumper and the rear bumper as in the first embodiment, it has been described in the first embodiment. Thus, the ID setting can be performed by simultaneously turning on the power switches SW1 and SW2 without turning on the power switch SW2 after turning on the power switch SW1 and setting the ID of the front bumper group. Therefore, even when the ID setting is performed for the first time, the time required for the ID setting can be shortened compared to the conventional case.
(変形例3)
本実施形態は、前方バンパ、及び後方バンパのグループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチSW1、SW2を備え、ID再設定を行う場合、再設定すべきセンサの属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、電源スイッチをオンして電源線に電源を供給してからID設定を行うものである。
(Modification 3)
The present embodiment includes power switches SW1 and SW2 for turning on / off the connection of power lines provided independently for each group of the front bumper and the rear bumper. The power supply line of the group to which the sensor to be set belongs is turned off to cut off the power supply to the power supply line, and then the power supply switch is turned on to supply power to the power supply line before setting the ID. is there.
これに対し、本変形例では、図11に示すように、前方バンパ、及び後方バンパのグループ毎に通信線を独立して設け、各グループの通信線の各々に通信D/R10e、10fを備える。そして、ID設定を行う場合、このグループ毎の通信D/R10e、10fにより、各通信線を介して略同じ時間帯で行うようにする。
On the other hand, in this modification, as shown in FIG. 11, a communication line is provided independently for each group of the front bumper and the rear bumper, and communication D /
すなわち、SW3がオンされると、前方バンパのグループと後方バンパのグループのID設定を略同じ時間帯で行う。このように、グループ毎に独立して設けられた通信線を介して各グループ略同じ時間帯でID設定を行うようにすることで、ID再設定の場合だけでなく、ID設定を最初に行う場合にもその所要時間を従来に比べて短縮することができる。 That is, when SW3 is turned on, the ID setting of the front bumper group and the rear bumper group is performed in substantially the same time zone. In this way, ID setting is performed at substantially the same time zone of each group via a communication line provided independently for each group, so that ID setting is performed first as well as in the case of ID resetting. Even in this case, the required time can be shortened compared to the conventional case.
(変形例4)
本実施形態は、前方バンパ、及び後方バンパのグループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチSW1、SW2を備え、ID再設定を行う場合、再設定すべきセンサの属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、電源スイッチをオンして電源線に電源を供給してからID設定を行うものである。
(Modification 4)
This embodiment includes power switches SW1 and SW2 for turning on / off the connection of power lines provided independently for each of the front bumper group and the rear bumper group. The power supply line of the group to which the sensor to be set belongs is turned off to cut off the power supply to the power supply line, and then the power supply switch is turned on to supply power to the power supply line before setting the ID. is there.
これに対し、本変形例では、図12に示すように、前方バンパ、及び後方バンパのグループ毎に電源線と通信線を設け、各グループの電源線の各々に電源スイッチSW1、SW2を設け、また、各グループの通信線の各々に通信D/R10e、10fを備える。
On the other hand, in this modification, as shown in FIG. 12, a power line and a communication line are provided for each group of the front bumper and the rear bumper, and power switches SW1 and SW2 are provided for each of the power lines of each group, In addition, each of the communication lines of each group includes communication D /
そして、ID設定を行う場合、電源スイッチSW1、SW2を略同じタイミングでオンし、通信D/R10e、10fにより、各通信線を介して同時に行うようにする。
When the ID setting is performed, the power switches SW1 and SW2 are turned on at substantially the same timing, and are simultaneously performed via the communication lines by the communication D /
また、ID設定を再び行う場合、再設定すべきセンサの属するグループの電源線の電源スイッチをオフして電源線への電源の供給を断ち、その後、その電源スイッチをオンして電源線に電源を供給してから、上記グループの通信線を介してID設定を行うようにする。 When the ID setting is performed again, the power switch of the power line of the group to which the sensor to be reset belongs is turned off to cut off the power supply to the power line, and then the power switch is turned on to supply power to the power line. Is set, and ID setting is performed via the communication line of the group.
このように、再設定すべきセンサの属するグループに限定してIDの再設定を行うとともに、再設定すべきセンサの属するグループの通信線を介してID設定を行うことで、IDの再設定に要する時間を短縮することができるとともに、再設定の不要なグループの通信線にID設定に関する情報を通信しないようにすることができる。 In this way, the ID is reset only for the group to which the sensor to be reset belongs, and the ID is reset through the communication line of the group to which the sensor to be reset belongs. The time required can be shortened, and information related to ID setting can be prevented from being communicated to a communication line of a group that does not need to be reset.
例えば、前方バンパのグループに属するセンサが通常動作中であり、後方バンパのグループに属するセンサのID再設定を行う場合、本実施形態では、一つの通信線にID設定に関する情報と通常動作中のセンサからの情報が通信されることになる。 For example, when sensors belonging to the front bumper group are in normal operation and ID resetting of sensors belonging to the rear bumper group is performed, in this embodiment, information related to ID setting and normal operation are being performed on one communication line. Information from the sensor will be communicated.
これに対し、本変形例では、ID設定の必要なグループの通信線にはID設定に関する情報のみ通信され、ID再設定の不要な通信線には通常動作中のセンサからの情報のみ通信されるため、通信負荷の軽減を図ることができる。 On the other hand, in this modification, only information related to ID setting is communicated to the communication line of the group that requires ID setting, and only information from the sensor in normal operation is communicated to the communication line that does not require ID resetting. Therefore, it is possible to reduce the communication load.
10 ECU(マスタ装置)
10a コントローラ
10b、10e、10f 通信D/R
11〜14 センサ(スレーブ装置)
SW1、SW2 電源スイッチ
10 ECU (master device)
11-14 Sensor (Slave device)
SW1, SW2 Power switch
Claims (7)
前記電源線は、前記複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、
前記マスタ装置は、
前記グループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチを備え、
前記ID設定を再び行う場合、再設定すべきスレーブ装置の属するグループの電源線の電源スイッチをオフして前記電源線への電源の供給を断ち、その後、前記電源スイッチをオンして前記電源線に電源を供給してから前記ID設定を行うことを特徴とする通信装置。 A plurality of slave devices are connected to a master device via a bus, and after the master device supplies power to a power supply line that constitutes the bus, each of the plurality of slave devices is arranged in each position. A communication apparatus for performing ID setting for setting an ID corresponding to
The power line is provided independently for each of a plurality of groups divided according to the arrangement positions of the plurality of slave devices,
The master device is
Each power line provided independently for each group includes a power switch for turning on and off the connection,
When the ID setting is performed again, the power switch of the power line of the group to which the slave device to be reset belongs is turned off to cut off the supply of power to the power line, and then the power switch is turned on and the power line The ID setting is performed after power is supplied to the communication device.
前記バスを構成する通信線は、前記複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、
前記マスタ装置は、前記ID設定を行う場合、前記グループ毎に独立して設けられた通信線を介して、各グループ略同じ時間帯で行うことを特徴とする通信装置。 A plurality of slave devices are connected to a master device via a bus, and after the master device supplies power to a power supply line that constitutes the bus, each of the plurality of slave devices is arranged in each position. When the ID setting is performed to set the ID according to the ID, and the ID setting is performed again, the master device cuts off the power supply to the power supply line, and then supplies power to the power supply line. A communication device for performing ID setting,
The communication lines constituting the bus are provided independently for each of a plurality of groups divided according to the arrangement positions of the plurality of slave devices,
The master device performs the ID setting in approximately the same time zone of each group via a communication line provided independently for each group.
前記バスを構成する電源線、及び通信線は、前記複数のスレーブ装置の各配置位置に応じて区分された複数のグループ毎に独立して設けられ、
前記マスタ装置は、
前記グループ毎に独立して設けられた電源線の夫々に、その接続をオン、オフする電源スイッチを備え、
前記ID設定を再び行う場合、再設定すべきスレーブ装置の属するグループの電源線の電源スイッチをオフして前記電源線への電源の供給を断ち、その後、前記電源スイッチをオンして前記電源線に電源を供給してから前記グループの通信線を介してID設定を行うことを特徴とする通信装置。 A plurality of slave devices are connected to a master device via a bus, and after the master device supplies power to a power supply line that constitutes the bus, each of the plurality of slave devices is arranged in each position. A communication apparatus for performing ID setting for setting an ID corresponding to
The power line and the communication line constituting the bus are provided independently for each of a plurality of groups divided according to the arrangement positions of the plurality of slave devices,
The master device is
Each power line provided independently for each group includes a power switch for turning on and off the connection,
When the ID setting is performed again, the power switch of the power line of the group to which the slave device to be reset belongs is turned off to cut off the supply of power to the power line, and then the power switch is turned on and the power line An ID is set through a communication line of the group after supplying power to the communication device.
前記マスタ装置は、前記ID設定を行う際、前記複数のスレーブ装置の各配置位置に応じたIDに基づいて前記バスを介して最初のスレーブ装置にそのIDを設定し、その後、IDの設定されたスレーブ装置が順次前記スイッチをオンにして次段のスレーブ装置をバスに接続した後、そのバスに接続された次段のスレーブ装置に対してIDを設定することを特徴とする請求項1〜3の何れか1項に記載の通信装置。 The plurality of slave devices have a switch for turning on and off the connection between the bus and the slave device at the next stage,
When the master device performs the ID setting, the master device sets the ID to the first slave device via the bus based on the ID corresponding to each arrangement position of the plurality of slave devices, and then the ID is set. The slave device sequentially turns on the switch to connect the slave device of the next stage to the bus, and then sets an ID for the slave device of the next stage connected to the bus. 4. The communication device according to any one of 3.
前記IDの設定されたスレーブ装置は、前記スイッチをオンにして次段のスレーブ装置へ電源線、通信線、及び接地線の何れか1つの線をバス接続することを特徴とする請求項4記載の通信装置。 The switches of the plurality of slave devices turn on / off the connection of any one of the power supply line, the communication line, and the ground line constituting the bus and the slave device in the next stage,
5. The slave device to which the ID is set turns on the switch to connect any one of a power line, a communication line, and a ground line to the next slave device by bus. Communication equipment.
前記複数のスレーブ装置は、前記電源線の電源信号に重畳して送信される前記IDに対応する信号を受信する受信機を備え、
前記マスタ装置は、前記電源線を介して前記ID設定を行うことを特徴とする請求項1〜5の何れか1項に記載の通信装置。 The master device includes a transmitter that superimposes and transmits a signal corresponding to an ID corresponding to each arrangement position of the plurality of slave devices on a power signal of a power line configuring the bus
The plurality of slave devices include a receiver that receives a signal corresponding to the ID transmitted by being superimposed on a power signal of the power line,
The communication device according to claim 1, wherein the master device performs the ID setting via the power supply line.
前記複数のグループは、前記前方バンパと後方バンパのグループに区分されることを特徴とする請求項1〜6の何れか1項に記載の通信装置。 The plurality of slave devices are respectively disposed on a front bumper and a rear bumper of a vehicle,
The communication apparatus according to claim 1, wherein the plurality of groups are divided into groups of the front bumper and the rear bumper.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004197121A JP3988753B2 (en) | 2004-07-02 | 2004-07-02 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004197121A JP3988753B2 (en) | 2004-07-02 | 2004-07-02 | Communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006020162A JP2006020162A (en) | 2006-01-19 |
JP3988753B2 true JP3988753B2 (en) | 2007-10-10 |
Family
ID=35793970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004197121A Expired - Fee Related JP3988753B2 (en) | 2004-07-02 | 2004-07-02 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3988753B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3940995A4 (en) * | 2019-03-14 | 2022-12-07 | OMRON Corporation | Control system and control device |
US12019419B2 (en) | 2019-03-14 | 2024-06-25 | Omron Corporation | Control system and control apparatus |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5987758B2 (en) * | 2013-04-04 | 2016-09-07 | 株式会社デンソー | Program and control device |
JP7046700B2 (en) * | 2018-04-25 | 2022-04-04 | 矢崎総業株式会社 | Communications system |
JP7448427B2 (en) | 2020-06-19 | 2024-03-12 | 株式会社キーエンス | data collection device |
-
2004
- 2004-07-02 JP JP2004197121A patent/JP3988753B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3940995A4 (en) * | 2019-03-14 | 2022-12-07 | OMRON Corporation | Control system and control device |
US12019419B2 (en) | 2019-03-14 | 2024-06-25 | Omron Corporation | Control system and control apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP2006020162A (en) | 2006-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2754057B1 (en) | Circuit and electronic module for automatic addressing | |
JP4656421B2 (en) | Bus communication system | |
JP4639969B2 (en) | Obstacle detection device for vehicles | |
CN111343085B (en) | Routing system and method of vehicle-mounted CAN bus gateway | |
JP3565200B2 (en) | Obstacle detection device for vehicles | |
US20090106606A1 (en) | Method and apparatus for detecting and isolating controller area network permanent dominant states | |
JP3988753B2 (en) | Communication device | |
KR100362236B1 (en) | Multiple data communication system | |
CN102470791B (en) | Headlamp light source lighting device and vehicle headlamp lighting system | |
WO2020049871A1 (en) | Vehicular communication device | |
JP3714111B2 (en) | Vehicle occupant protection system | |
JP6551244B2 (en) | In-vehicle control system | |
JPH1141261A (en) | Multiple communication equipment | |
JP5098429B2 (en) | Communications system | |
JP3719371B2 (en) | Vehicle occupant protection system | |
US11482060B2 (en) | Method for diagnosing a slave computer communicating with a master computer | |
CN114128222B (en) | Relay device system | |
JP3440564B2 (en) | Multiplex transmission equipment | |
JP3383462B2 (en) | Multiplex transmission system | |
JP2781397B2 (en) | Multiplex transmission equipment | |
JPH1049506A (en) | Multiplex transmission equipment | |
JP4065098B2 (en) | Multiple communication circuit and occupant protection device using the same | |
WO2022220003A1 (en) | On-board communication system, on-board device, and interface device | |
JP3088200B2 (en) | Multiplex communication device | |
JP2006261730A (en) | Network system to which option node is connected |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060904 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20070528 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20070613 |
|
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: 20070626 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070709 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100727 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3988753 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: 20110727 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120727 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120727 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130727 Year of fee payment: 6 |
|
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 |
|
LAPS | Cancellation because of no payment of annual fees |