JP2009290409A - Address setting device, communication unit, communication system and address setting method - Google Patents
Address setting device, communication unit, communication system and address setting method Download PDFInfo
- Publication number
- JP2009290409A JP2009290409A JP2008139062A JP2008139062A JP2009290409A JP 2009290409 A JP2009290409 A JP 2009290409A JP 2008139062 A JP2008139062 A JP 2008139062A JP 2008139062 A JP2008139062 A JP 2008139062A JP 2009290409 A JP2009290409 A JP 2009290409A
- Authority
- JP
- Japan
- Prior art keywords
- address
- slave
- communication
- switch
- 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.)
- Abandoned
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、バス形式の通信ラインに接続される通信ユニットなどのアドレスを設定するアドレス設定装置およびアドレス設定方法と、そのアドレス設定装置を備えた通信ユニットおよび通信システムに関するものである。 The present invention relates to an address setting device and an address setting method for setting an address of a communication unit or the like connected to a bus-type communication line, and a communication unit and a communication system including the address setting device.
近年、自動車の電子部品(電装ユニット)の増加に伴い、電装ユニット間を結ぶ通信ラインなどの配線となるワイヤハーネスの肥大化、複雑化を解消するために複数の電装ユニットに対応して設けられた通信ユニットを共通の通信ラインに接続し、各通信ユニットを介して電装ユニット間の通信を行う方法が行われている(例えば特許文献1参照)。 In recent years, with the increase in the number of electronic parts (electrical units) in automobiles, it has been provided corresponding to multiple electrical units in order to eliminate the enlargement and complexity of wire harnesses used as wiring for communication lines connecting electrical units. There is a method in which the communication units are connected to a common communication line and communication is performed between the electrical units via each communication unit (see, for example, Patent Document 1).
上述したような通信方法において、通信ユニットとして中継コネクタが用いられることがある。この中継コネクタには、通信ラインと電装ユニットとの間を中継するために、通信ラインから接続された電装ユニットへの通信データ(電文)を判別したり、他の通信ユニットへの電文を通信ラインへ出力したりする機能が内蔵されている。 In the communication method as described above, a relay connector may be used as a communication unit. In this relay connector, in order to relay between the communication line and the electrical unit, the communication data (telegram) from the communication line to the connected electrical unit is discriminated, and the telegram to other communication units is transmitted to the communication line. The function to output to is built in.
上述した中継コネクタは、同じ通信ラインに複数が接続されるために、それぞれ専用のID(アドレス)を設定する必要がある。そのために従来は、外付け部品や半導体メモリなどを用いて各中継コネクタに予めアドレスを設定(記憶)させておく必要があった。
しかしながら、アドレスを予め設定する方法の場合、各中継コネクタの外観形状が同一であると、自動車の製造時に誤接続される可能性がある。誤接続されると、電装ユニットに対して正規の制御ができなくなってしまうために製造不良となってしまう。 However, in the case of the method for setting the address in advance, if the external shape of each relay connector is the same, there is a possibility of erroneous connection during manufacture of the automobile. If it is erroneously connected, regular control cannot be performed on the electrical unit, resulting in a manufacturing failure.
この誤接続を回避するために、例えば各中継コネクタの外観形状を異ならせると、必要アドレス分の異なる外観形状の中継コネクタを製造しなければならずコストアップとなってしまうという問題があった。 In order to avoid this erroneous connection, for example, if the external shape of each relay connector is changed, there is a problem in that the relay connector having a different external shape corresponding to the required address must be manufactured, resulting in an increase in cost.
そこで、本発明は、上記のような問題点に着目し、中継コネクタなどの通信ユニットの誤接続を無くすとともにコストアップも抑えることができるアドレス設定装置、通信ユニット、通信システムおよびアドレス設定方法を提供することを課題とする。 Accordingly, the present invention provides an address setting device, a communication unit, a communication system, and an address setting method capable of eliminating erroneous connection of a communication unit such as a relay connector and suppressing an increase in cost while paying attention to the above problems. The task is to do.
上記課題を解決するためになされた請求項1に記載の発明は、バス方式の通信ラインに接続される通信ユニットのアドレスを設定するアドレス設定装置であって、前記通信ラインの上流から下流への電文の送信を制限するスイッチと、前記スイッチの閉開を制御するスイッチ制御手段と、前記通信ラインの上流から送信されてきた電文から設定対象となる通信ユニットのアドレスを抽出して設定するアドレス設定手段と、を備え、前記スイッチ制御手段が、前記アドレス設定手段がアドレスを設定した後には前記スイッチを閉制御することを特徴としている。
In order to solve the above-mentioned problem, the invention according to
請求項2に記載の発明は、請求項1に記載の発明において、前記通信ラインの上流から送信されてきた電文に基づいて、前記アドレス設定手段が設定したアドレスをリセットするアドレスリセット手段と、を備え、前記スイッチ制御手段が、前記アドレスリセット手段がアドレスをリセットした後には前記スイッチを開制御することを特徴としている。 According to a second aspect of the present invention, in the first aspect of the invention, an address resetting unit for resetting an address set by the address setting unit based on a message transmitted from upstream of the communication line, The switch control means opens the switch after the address reset means resets the address.
請求項3に記載の発明は、通信ユニットに請求項1または2に記載のアドレス設定装置を備えたことを特徴としている。 According to a third aspect of the present invention, the communication unit includes the address setting device according to the first or second aspect.
請求項4に記載の発明は、請求項3に記載の発明において、前記通信ラインの上流側に接続される第1の端子と、前記通信ラインの下流側に接続される第2の端子と、を備えたことを特徴としている。
The invention according to claim 4 is the invention according to
請求項5に記載の発明は、前記通信ラインの最上流に接続されてマスタとなる通信装置と、前記通信装置のスレーブとなる複数の請求項4に記載の通信ユニットと、を備えた通信システムであって、前記スレーブの前記第1の端子には該スレーブの上流に位置するスレーブまたはマスタが接続されるとともに、前記第2の端子には該スレーブの下流に位置するスレーブが接続されることを特徴としている。
The invention according to
請求項6に記載の発明は、バス方式の通信ラインに接続される通信ユニットのアドレスを設定するアドレス設定方法であって、前記通信ラインの上流から下流への電文の送信を制限するスイッチを備え、前記通信ラインの上流から送信されてきた電文から設定対象となる通信ユニットのアドレスを抽出して設定し、その後に前記スイッチを閉制御することを特徴としている。 The invention according to claim 6 is an address setting method for setting an address of a communication unit connected to a bus-type communication line, comprising a switch for restricting transmission of a message from upstream to downstream of the communication line. The address of the communication unit to be set is extracted and set from the message transmitted from the upstream of the communication line, and then the switch is closed.
請求項7に記載の発明は、請求項6に記載の発明において、前記通信ラインの上流から送信されてきた電文に基づいて、前記設定したアドレスをリセットし、その後に前記スイッチを開制御することを特徴としている。 According to a seventh aspect of the invention, in the sixth aspect of the invention, the set address is reset based on a message transmitted from the upstream of the communication line, and then the switch is controlled to open. It is characterized by.
以上説明したように請求項1に記載の発明によれば、通信ラインの上流から下流への電文の送信を制限するスイッチを備えて、通信ラインの上流から送信されてきた電文からアドレス設定手段がアドレスを設定し、スイッチ制御手段がスイッチを閉制御する。このように構成しているので、上流からアドレスが設定された後に、初めてスイッチを閉制御して下流に電文を送信できるため、予め通信ユニット自体にアドレスの設定を行う必要がなく通信ラインに接続後にアドレスを設定するので誤接続による製造不良がなくなり、また、機能追加も回路部分に限定できるので外観形状を異ならせることと比較してコストアップも抑えることができる。 As described above, according to the first aspect of the present invention, the address setting means includes the switch for restricting transmission of the message from the upstream to the downstream of the communication line, and the address setting means from the message transmitted from the upstream of the communication line. The address is set, and the switch control means controls the switch to close. Since it is configured in this way, after the address is set from the upstream, the switch can be closed for the first time and a message can be sent downstream, so it is not necessary to set the address in advance in the communication unit itself and connect to the communication line Since an address is set later, manufacturing defects due to erroneous connection are eliminated, and addition of functions can be limited to the circuit portion, so that an increase in cost can be suppressed as compared to changing the external shape.
請求項2に記載の発明によれば、通信ラインの上流から送信されてきた電文に基づいてアドレス設定手段が設定したアドレスをアドレスリセット手段がリセットし、その後スイッチ制御手段がスイッチを開制御しているので、上流からの電文によってアドレスをリセットし、アドレスを設定する状態とすることができる。 According to the second aspect of the present invention, the address reset unit resets the address set by the address setting unit based on the message transmitted from the upstream of the communication line, and then the switch control unit controls the opening of the switch. Therefore, it is possible to set the address by resetting the address by a message from upstream.
請求項3に記載の発明によれば、通信ユニットにアドレス設定装置を備えたので、通信ユニット内の回路と一体的にアドレス設定装置を構成することができ、アドレス設定装置追加によるコストアップを更に抑えることができる。 According to the third aspect of the present invention, since the communication unit includes the address setting device, the address setting device can be configured integrally with the circuit in the communication unit, which further increases the cost by adding the address setting device. Can be suppressed.
請求項4に記載の発明によれば、通信ラインの上流側に接続される第1の端子と、通信ラインの下流側に接続される第2の端子と、を備えたので、上流側に接続される配線と下流側に接続される配線とを分けることができる。 According to the fourth aspect of the present invention, since the first terminal connected to the upstream side of the communication line and the second terminal connected to the downstream side of the communication line are provided, the connection is made upstream. The wiring to be connected and the wiring connected to the downstream side can be separated.
請求項5に記載の発明によれば、複数のスレーブが数珠繋ぎとなって接続されるので、通信システムの構成がシンプルになり、従来のバス接続のように通信ラインからの分岐線や分岐するための部品等が不要となる。 According to the fifth aspect of the present invention, since a plurality of slaves are connected in a daisy chain, the configuration of the communication system is simplified, and branch lines and branches from the communication line are performed as in the conventional bus connection. These parts are unnecessary.
請求項6に記載の発明によれば、通信ラインの上流から下流への電文の送信を制限するスイッチを備えて、通信ラインの上流から送信されてきた電文からアドレス設定手段がアドレスを設定し、アドレスを設定しスイッチを閉制御する。このため、上流からアドレスが設定された後に、初めてスイッチを閉制御して下流に電文を送信できるため、予め通信ユニット自体にアドレスの設定を行う必要がなく通信ラインに接続後にアドレスを設定するので誤接続による製造不良がなくなり、また、機能追加も回路部分に限定できるので外観形状を異ならせることと比較してコストアップも抑えることができる。 According to the sixth aspect of the present invention, the switch includes a switch for restricting transmission of the message from the upstream to the downstream of the communication line, and the address setting means sets the address from the message transmitted from the upstream of the communication line, Set the address and control the switch to close. For this reason, after the address is set from the upstream, the switch can be closed for the first time and a message can be sent downstream, so it is not necessary to set the address in the communication unit in advance, and the address is set after connecting to the communication line. Manufacturing failure due to erroneous connection is eliminated, and addition of functions can be limited to the circuit portion, so that an increase in cost can be suppressed as compared with changing the external shape.
請求項7に記載の発明によれば、通信ラインの上流から送信されてきた電文に基づいてアドレスをアドレスリセット手段がリセットし、その後スイッチを開制御しているので、上流からの電文によってアドレスをリセットし、アドレスを設定する状態とすることができる。 According to the seventh aspect of the present invention, the address reset means resets the address based on the message transmitted from the upstream of the communication line, and then controls the opening of the switch. It is possible to reset and enter an address setting state.
以下、本発明の一実施形態にかかる通信システムを図1ないし図4に基づいて説明する。本発明の第1の実施形態にかかる通信システム1は、図1に示すようにマスタ2と、スレーブ3、スレーブ4、スレーブ5、スレーブ6、スレーブ7と、から構成されている。
A communication system according to an embodiment of the present invention will be described below with reference to FIGS. The
通信システム1は、図1に示すように、マスタ2の通信端子21とスレーブ3の通信端子A31が通信ライン81で接続され、スレーブ3の通信端子B32とスレーブ4の通信端子A41が通信ライン82で接続され、スレーブ4の通信端子B42とスレーブ5の通信端子A51が通信ライン83で接続され、スレーブ5の通信端子B52とスレーブ6の通信端子A61が通信ライン84で接続され、スレーブ6の通信端子B62とスレーブ7の通信端子A71が通信ライン85で接続されている。すなわち、各スレーブが数珠繋ぎに接続されている。
As shown in FIG. 1, in the
マスタ2は、通信システム1のマスタとなる通信ユニットであり、各スレーブへの通信データ(電文)の出力や、各スレーブからの通信データの入力が行われる。本実施形態においては、特に各スレーブのアドレスの設定を行う。
The
スレーブ3、スレーブ4、スレーブ5、スレーブ6、スレーブ7は、全て同じ構成であり、マスタ2から送信された電文を隣接するスレーブへ出力することや、マスタ2から送信された電文を解析して、各スレーブに接続された図示しない電装ユニットへのデータの出力および、電装ユニットから入力されたデータを電文として通信ライン81などへ出力する。また、スレーブ3、スレーブ4、スレーブ5、スレーブ6、スレーブ7は、マスタ2からそれぞれ異なるアドレスが設定される。
通信ユニットとしてのスレーブ3、スレーブ4、スレーブ5、スレーブ6、スレーブ7の構成を図2を参照して説明する。図2はスレーブ3を示しているが上述したようにスレーブ4、スレーブ5、スレーブ6、スレーブ7も同様の構成である。
The configuration of
スレーブ3は、図2に示すように通信端子A31と、通信端子B32と、GND端子33と、電源端子34と、スイッチ35と、通信トランシーバ36と、制御部37と、I/F38と、外部端子39と、を備えている。
As shown in FIG. 2, the
第1の端子としての通信端子A31は、通信ラインの上流側(マスタ2側つまり通信ライン81)に電文を送受信するための端子である。第2の端子としての通信端子B32は、通信ラインの下流側(スレーブ側つまり通信ライン82)に電文を送受信するための端子である。
The communication terminal A31 as a first terminal is a terminal for transmitting and receiving a message to the upstream side of the communication line (
GND端子33は、図示しない接地線と接続するための接続端子である。電源端子34は図示しない電源電圧が供給される電源線と接続するための接続端子である。
The
スイッチ35は、トランジスタなどの無接点式のスイッチで構成され、通信端子A31から入力された電文が通信端子B32から出力されるのを制限する。すなわち、通信ラインの上流から下流への電文の送信を制限している。勿論スイッチ35は接点式のスイッチで構成してもよい。スイッチ35は、後述する制御部37から開閉が制御される。なお、スイッチ35を開制御すると通信端子A31から入力された電文が通信端子B32から出力できない状態(逆方向、つまり通信端子B32から通信端子A31へ向かう方向も同様)となり、スイッチ35を閉制御すると通信端子A31から入力された電文が通信端子B32から出力できる状態(逆方向も同様)となる。
The
アドレス設定手段、アドレスリセット手段としての通信トランシーバ36は、通信端子A31から入力された電文を解析し、アドレスを設定する電文の場合は内部のメモリ等の記憶領域にアドレスを格納し、アドレスリセットの電文の場合は内部のメモリ等の記憶領域に格納したアドレスをリセットする。また、アドレス設定やリセットに応じて制御部37に制御信号を出力する。また、アドレスが設定された後は、自アドレスを示す電文からスレーブ3の外部端子39に接続される図示しない電装ユニットへ出力するデータの抽出および電装ユニットから入力されたデータを電文形式に構成して出力することも行う。
The communication transceiver 36 as an address setting unit and an address reset unit analyzes a message input from the communication terminal A31, and in the case of a message for setting an address, stores the address in a storage area such as an internal memory, and resets the address. In the case of a message, the address stored in the storage area such as the internal memory is reset. In addition, a control signal is output to the
スイッチ制御手段としての制御部37は、通信トランシーバ36からの制御信号に基づいて、アドレスが設定された場合はスイッチ35を閉制御し、アドレスがリセットされた場合はスイッチ35を開制御する。また、後述するI/F38を介してスレーブ3の外部端子39に接続される図示しない電装ユニットとのデータの入出力制御を行う。
Based on a control signal from the
I/F38は、スレーブ3の外部端子39に接続される図示しない電装ユニットへのデータの入出力するためのインタフェース動作を行う。
The I /
外部端子39は、スレーブ3に接続される図示しない電装ユニットとの配線等が接続される端子である。
The
本実施形態においては、上述したスイッチ35、通信トランシーバ36および制御部37でアドレス設定装置を構成している。
In the present embodiment, the
なお、図2に示したようにスレーブ3は通信端子A31と通信端子B32とが、通信トランシーバ36とスイッチ35とを介して接続されているが、通信トランシーバ36は図3に示すように機能的には入力された電文はそのまま通過させるとともに内部へも取り込み自アドレス宛の電文のみを内部処理回路で処理をするという構成としているので、図1に示した通信システム1はアドレス設定後はバス接続となる。
As shown in FIG. 2, the
次に、上述した構成の通信システム1においてアドレス設定の動作を図4のタイミングチャートを参照して説明する。図4は紙面の都合上スレーブ5までの動作を示すが、スレーブ6やスレーブ7についても同様である。
Next, the address setting operation in the
本実施形態においては、通信システム1で用いられる通信方式としてLIN(Local Interconnect Network)を採用している。LINは、車載LANの通信プロトコルの一種であり、マスタ、スレーブ構成で使用され、主に、自動車のワイパー、ドアスイッチ、パワーウィンド、ドアミラーなどの制御に用いられることが多い。
In the present embodiment, LIN (Local Interconnect Network) is adopted as a communication method used in the
まず、通常動作後あるいは初期動作後に電文として各スレーブに設定したアドレスを再設定(リセット)するフレームRをマスタ2が出力する。このとき各スレーブのスイッチは閉制御されている。このリセットするフレームは図4に示すように、Breakとデリミタ(図4中はAと記載)とSynchとID0とアドレス再設定とチェックサムとから構成され、SynchとID0とアドレス再設定とチェックサムはそれぞれstart bit(図4中はBと記載)とstop bit(図4中はCと記載)とが前後に付加される。このうちBreakとSynchまではマスタ2および各スレーブの同期を取るためのデータであり、ID0はアドレス再設定(リセット)を行うフレームRであることを示すデータである。アドレス再設定は受信したスレーブに対して設定されているアドレスをリセットすることを指示するデータであり、チェックサムはフレームデータの誤り検出のために付加されるデータである。
First, the
このアドレスを再設定するフレームRをマスタ2が出力すると、各スレーブのスイッチは閉制御されているので略同時に各スレーブにアドレスを再設定するフレームRが到達し、各スレーブでは、データを受け取るタイミングの遅延を考慮して、チェックサム正常終了から若干の時間経過後に通信トランシーバ36が、内部に設定されているアドレスをリセットし、続いて制御信号を制御部37に出力して、制御部37がスイッチ35を開制御する。この動作はスレーブ3のみでなく全てのスレーブで行われスイッチが開制御される。この時点で各スレーブのアドレスは確実にリセット状態になり、スイッチ35も開制御されているので、マスタ2とスレーブ3とが接続された状態となる。
When the
次に、電文としてスレーブ3にアドレス設定をするフレームAD1をマスタ2から出力する。このフレームは図4に示すように、BreakとデリミタとSynchとID1とアドレス設定1とチェックサムとから構成され、SynchとID1とアドレス設定1とチェックサムはそれぞれstart bitとstop bitとが前後に付加される。このうちBreakからSynchまでとチェックサムはアドレスを再設定するフレームRと同様の意味である。ID1はアドレス設定を行うフレームであることを示すデータである。アドレス設定1はスレーブ3に対して設定するアドレスが含まれるデータである。
Next, a frame AD1 for setting an address in the
このスレーブ3にアドレス設定をするフレームAD1をマスタ2が出力すると、スレーブ3のみが受信し、スレーブ4以降はスイッチ35が開制御されているので到達しない。スレーブ3では、通信トランシーバ36が、自身にアドレスを設定するフレームであることを認識して当該フレームのアドレス設定1から新たなアドレスを抽出して内部に設定し、続いて制御信号を制御部37に出力して、制御部37がスイッチ35を閉制御する。この時点でスレーブ3のみアドレスが設定され、スイッチ35は閉制御されているので、マスタ2とスレーブ3とスレーブ4と接続された状態となる。
When the
次に、電文としてスレーブ4にアドレス設定をするフレームAD2をマスタ2から出力する。このフレームは図4に示すように、BreakとデリミタとSynchとID1とアドレス設定2とチェックサムとから構成され、SynchとID1とアドレス設定2とチェックサムはそれぞれstart bitとstop bitとが前後に付加される。このうちBreakからSynchまでとID1およびチェックサムはスレーブ3にアドレスを設定するフレームAD1と同様の意味である。アドレス設定2はスレーブ4に対して設定するアドレスが含まれるデータである。
Next, a frame AD2 for setting an address in the slave 4 is output from the
このスレーブ4にアドレス設定をするフレームAD2をマスタ2が出力すると、スレーブ3とスレーブ4が受信する。スレーブ5以降はスイッチが開制御されているので到達しない。スレーブ4では、スレーブ3のアドレス設定時と同様に、通信トランシーバが、自身にアドレスを設定するフレームであることを認識して当該フレームのアドレス設定2から新たなアドレスを抽出して内部に設定し、続いて制御信号を制御部に出力して、制御部がスイッチを閉制御する。この時点でスレーブ4までのアドレスが設定され、スレーブ4のスイッチは閉制御されているので、マスタ2とスレーブ3からスレーブ5までが接続された状態となる。一方、スレーブ3では、このフレームのID1から先に設定された自身のアドレス宛でないことを認識し、以降このフレームに対する処理は何も行わない。
When the
次に、電文としてスレーブ5にアドレス設定をするフレームAD3をマスタ2から出力する。このフレームは図4に示すように、BreakとデリミタとSynchとID1とアドレス設定3とチェックサムとから構成され、SynchとID1とアドレス設定3とチェックサムはそれぞれstart bitとstop bitとが前後に付加される。このうちBreakからSynchまでとID1およびチェックサムはスレーブ3にアドレスを設定するフレームと同様の意味である。アドレス設定3はスレーブ5に対して設定するアドレスが含まれるデータである。
Next, a frame AD3 for setting an address to the
このスレーブ5にアドレス設定をするフレームAD3をマスタ2が出力すると、スレーブ3とスレーブ4とスレーブ5が受信する。スレーブ6以降はスイッチが開制御されているので到達しない。スレーブ5では、スレーブ3やスレーブ4のアドレス設定時と同様に、通信トランシーバが、自身にアドレスを設定するフレームであることを認識して当該フレームのアドレス設定3から新たなアドレスを抽出して内部に設定し、続いて制御信号を制御部に出力して、制御部がスイッチを閉制御する。この時点でスレーブ5までのアドレスが設定され、スレーブ5のスイッチは閉制御されているので、マスタ2とスレーブ3からスレーブ6までが接続された状態となる。一方、スレーブ3およびスレーブ4では、このフレームのID1から先に設定された自身のアドレス宛でないことを認識し、以降このフレームに対する処理は何も行わない。
When the
スレーブ6およびスレーブ7も、図4では省略したが同様の方法でアドレスを設定する。そして、全てのスレーブのアドレスが設定されると、全てのスレーブに含まれるスイッチが閉制御されるために、通信システム1はバス方式の通信システムとして機能することができる。
The
本実施形態によれば、マスタ2とバス形式で接続されたスレーブ3において、マスタ2から自身よりも下流のスレーブへのフレームの送信を制限するスイッチ35を備えて、マスタ2から送信されてきたフレームがアドレスを再設定するフレームRであった場合は、通信トランシーバ36が内部に設定されているアドレスをリセットし、制御部37がスイッチ35を開制御する。また、マスタ2から送信されてきたフレームが自身のアドレスを設定するフレームAD1であった場合は、通信トランシーバ36が、当該フレームからアドレスを抽出して設定し、制御部37がスイッチ35を閉制御する。このように構成しているので、アドレスがリセットされた後はマスタ2からアドレスを設定するフレームにより自身のアドレスを設定するまではスイッチ35を開制御することによりフレームを下流に送信しないようでき、アドレスが設定された後に、初めてスイッチを閉制御して下流にフレームを送信できるため、確実に各スレーブに異なるアドレスを設定できるとともに、予めアドレスの設定を行う必要がなく通信ライン81、82、83、84、85に接続後にアドレスを設定するので誤接続による製造不良がなくなり、また、機能追加も回路部分に限定できるので外観形状を異ならせることと比較してコストアップも抑えることができる。
According to the present embodiment, the
また、通信システム1は、マスタ2とスレーブ3、スレーブ4、スレーブ5、スレーブ6、スレーブ7と、を数珠繋ぎにして構成しているので、通信システム1の構成が従来のバス接続と比較してシンプルになり、従来のバス接続のように通信ラインからの分岐線や分岐するための部品等が不要となる。
In addition, since the
なお、上述した実施形態でスレーブ(通信ユニット)にアドレス設定装置を備えたが、 図5に示すように、従来のバス接続において、通信ラインの分岐点にアドレス設定装置100を設けてもよい。アドレス設定装置100には、スイッチとそのスイッチの制御部および受信したフレームを解析してアドレスを設定しておくブロックが備えられていればよい。受信したフレームを解析してアドレスを設定しておくブロックは受信したフレームが対応するスレーブ(通信ユニット)宛のフレームの場合のみ必要なデータを抽出してスレーブ(通信ユニット)に出力する。あるいは、アドレス設定装置100にスイッチのみ備えて、スイッチの制御はスレーブ(通信ユニット)から行うようにしてもよい。
In the embodiment described above, the slave (communication unit) is provided with the address setting device. However, as shown in FIG. 5, in the conventional bus connection, the
但し、図5の構成は分岐点にアドレス設定装置100を設けることから従来のバス接続と同様に部品点数が増加してしまうために、図1に示した構成とした方が環境に対する影響を少なくすることができ好ましい。
However, since the configuration of FIG. 5 is provided with the
また、本発明は、上述した実施形態で採用したLINに限らずバス方式の通信方式に適用できるプロトコルであれば適用可能である。例えば、スレーブ3がアドレス設定後にスレーブ4のアドレスを設定するフレームを生成し、スイッチ35を閉制御後に生成したフレームをスレーブ4に出力するというようなマスタ2が全て制御しない方法でもよい。
In addition, the present invention is not limited to the LIN employed in the above-described embodiment, but can be applied to any protocol that can be applied to a bus communication system. For example, a method in which the
要するに、本発明は上記実施形態に限定されるものではない。即ち、本発明の骨子を逸脱しない範囲で種々変形して実施することができる。 In short, the present invention is not limited to the above embodiment. That is, various modifications can be made without departing from the scope of the present invention.
1 通信システム
3〜7 スレーブ(通信ユニット)
31 通信端子A(第1の端子)
32 通信端子B(第2の端子)
35 スイッチ
36 通信トランシーバ(アドレス設定手段、アドレスリセット手段)
37 制御部(スイッチ制御手段)
1 Communication system 3-7 Slave (communication unit)
31 Communication terminal A (first terminal)
32 Communication terminal B (second terminal)
35
37 Control unit (switch control means)
Claims (7)
前記通信ラインの上流から下流への電文の送信を制限するスイッチと、
前記スイッチの閉開を制御するスイッチ制御手段と、
前記通信ラインの上流から送信されてきた電文から設定対象となる通信ユニットのアドレスを抽出して設定するアドレス設定手段と、を備え、
前記スイッチ制御手段が、前記アドレス設定手段がアドレスを設定した後には前記スイッチを閉制御する
ことを特徴とするアドレス設定装置。 An address setting device for setting an address of a communication unit connected to a bus communication line,
A switch for restricting transmission of messages from upstream to downstream of the communication line;
Switch control means for controlling closing and opening of the switch;
Address setting means for extracting and setting the address of a communication unit to be set from a message transmitted from the upstream of the communication line,
The address setting device, wherein the switch control means controls the switch to be closed after the address setting means has set an address.
前記スイッチ制御手段が、前記アドレスリセット手段がアドレスをリセットした後には前記スイッチを開制御する
ことを特徴とする請求項1に記載のアドレス設定装置。 An address reset means for resetting the address set by the address setting means based on a message transmitted from the upstream of the communication line,
2. The address setting device according to claim 1, wherein the switch control means opens the switch after the address reset means resets the address.
前記通信装置のスレーブとなる複数の請求項4に記載の通信ユニットと、
を備えた通信システムであって、
前記スレーブの前記第1の端子には該スレーブの上流に位置するスレーブまたはマスタが接続されるとともに、前記第2の端子には該スレーブの下流に位置するスレーブが接続されることを特徴とする通信システム。 A communication device connected to the most upstream of the communication line and serving as a master;
A plurality of communication units according to claim 4, which are slaves of the communication device;
A communication system comprising:
A slave or a master located upstream of the slave is connected to the first terminal of the slave, and a slave located downstream of the slave is connected to the second terminal. Communications system.
前記通信ラインの上流から下流への電文の送信を制限するスイッチを備え、
前記通信ラインの上流から送信されてきた電文から設定対象となる通信ユニットのアドレスを抽出して設定し、その後に前記スイッチを閉制御する
ことを特徴とするアドレス設定方法。 An address setting method for setting an address of a communication unit connected to a bus communication line,
A switch for restricting transmission of messages from upstream to downstream of the communication line;
An address setting method comprising: extracting and setting an address of a communication unit to be set from a message transmitted from an upstream side of the communication line, and then closing the switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008139062A JP2009290409A (en) | 2008-05-28 | 2008-05-28 | Address setting device, communication unit, communication system and address setting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008139062A JP2009290409A (en) | 2008-05-28 | 2008-05-28 | Address setting device, communication unit, communication system and address setting method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009290409A true JP2009290409A (en) | 2009-12-10 |
Family
ID=41459216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008139062A Abandoned JP2009290409A (en) | 2008-05-28 | 2008-05-28 | Address setting device, communication unit, communication system and address setting method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009290409A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105793115A (en) * | 2014-01-09 | 2016-07-20 | 矢崎总业株式会社 | Electrical wiring device for vehicle |
JP2016181795A (en) * | 2015-03-24 | 2016-10-13 | Necディスプレイソリューションズ株式会社 | Network system and network setting method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004039010A1 (en) * | 2002-10-25 | 2004-05-06 | Citizen Watch Co., Ltd. | Electronic device system |
-
2008
- 2008-05-28 JP JP2008139062A patent/JP2009290409A/en not_active Abandoned
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004039010A1 (en) * | 2002-10-25 | 2004-05-06 | Citizen Watch Co., Ltd. | Electronic device system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105793115A (en) * | 2014-01-09 | 2016-07-20 | 矢崎总业株式会社 | Electrical wiring device for vehicle |
CN105793115B (en) * | 2014-01-09 | 2018-03-27 | 矢崎总业株式会社 | Vehicle electrical packaging connecton layout |
US10676049B2 (en) | 2014-01-09 | 2020-06-09 | Yazaki Corporation | Electrical wiring device for vehicle |
JP2016181795A (en) * | 2015-03-24 | 2016-10-13 | Necディスプレイソリューションズ株式会社 | Network system and network setting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6438982B2 (en) | Feedforward ringing suppression circuit | |
US8750351B2 (en) | Configuration of bus transceiver | |
US9832038B2 (en) | Communication system having a can bus and a method for operating such a communication system | |
US7366115B2 (en) | Multiplex transmission system with in-circuit addressing | |
US10523462B2 (en) | Communication network for transmission of messages | |
US10572428B2 (en) | Bus system | |
CN105612734B (en) | Adapter device for a bus system and method for operating a CAN subscriber station and a CAN FD subscriber station in a bus system | |
EP2346214B1 (en) | Communication circuit, relay connecting circuit, and communication network | |
RU2678715C2 (en) | Data transmission protocol with protocol exception state | |
CN112075063B (en) | Gateway for data communication in a vehicle | |
CN108353016B (en) | Relay device, electronic control device, and in-vehicle network system | |
CN103490906A (en) | Power supply processing method and device and power supply system | |
JP2006129235A (en) | Network system, master device, slave device, and network system startup controlling method | |
JP2008278403A (en) | Monitoring apparatus and method of network system | |
CN110301115B (en) | Subscriber station for a bus system and method for data transmission in a bus system | |
JP2011182123A (en) | Communication system, communication apparatus, and communication method | |
WO2009144843A1 (en) | Communication system, test device, communication device, communication method, and test method | |
CN110768880A (en) | Ethernet network node, fault processing method, computer device and storage medium | |
US10162777B2 (en) | Transmission unit with checking function | |
JP2009290409A (en) | Address setting device, communication unit, communication system and address setting method | |
JP5301088B2 (en) | Serial communication device for motor control | |
US20230198800A1 (en) | Apparatus for a controller area network | |
US20140153381A1 (en) | Information transmission network and corresponding network node | |
CN102724144A (en) | Self-adaptive gateway device and data transmission method thereof | |
JP2012074779A (en) | Communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110329 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130108 |
|
A762 | Written abandonment of application |
Free format text: JAPANESE INTERMEDIATE CODE: A762 Effective date: 20130301 |