JP5949538B2 - Relay device, communication system, and communication method - Google Patents
Relay device, communication system, and communication method Download PDFInfo
- Publication number
- JP5949538B2 JP5949538B2 JP2012286153A JP2012286153A JP5949538B2 JP 5949538 B2 JP5949538 B2 JP 5949538B2 JP 2012286153 A JP2012286153 A JP 2012286153A JP 2012286153 A JP2012286153 A JP 2012286153A JP 5949538 B2 JP5949538 B2 JP 5949538B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- control unit
- vehicle
- state
- electronic control
- 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 system.
車両には、該車両内の様々な制御を行うために車載ネットワークが構成されることが多い。車載ネットワークは、LANに、多くの電子制御ユニット(ECU: Electronic Control Unit)、センサ、アクチュエータ等が接続されることにより実現される。以下、車載ネットワークに接続される、電子制御ユニット、センサ、アクチュエータ等を通信ノードと呼ぶ。該通信ノードは、車両内の様々な位置に設置される。通信ノード間は、通信線や電線により接続される。 In many cases, a vehicle-mounted network is configured in a vehicle to perform various controls in the vehicle. The in-vehicle network is realized by connecting many electronic control units (ECUs), sensors, actuators, and the like to the LAN. Hereinafter, electronic control units, sensors, actuators, and the like connected to the in-vehicle network are referred to as communication nodes. The communication node is installed at various positions in the vehicle. Communication nodes are connected by communication lines or electric wires.
例えば、データバスに、複数の通信ノードが接続されることにより、車載ネットワークが構成される。該車載ネットワークには、CAN(Controller Area Network)、LIN(Local Interconnect Network)が含まれる。また、該車載ネットワークには、 FlexRay(登録商標)に従って通信を行うものが含まれてもよい。 For example, an in-vehicle network is configured by connecting a plurality of communication nodes to a data bus. The in-vehicle network includes CAN (Controller Area Network) and LIN (Local Interconnect Network). Further, the in-vehicle network may include one that performs communication according to FlexRay (registered trademark).
車両には、外部から装置を接続するためのコネクタ(DLC: Data Link Connector)が搭載される。このコネクタに、様々なツールを接続することで、ツールと車載ネットワークとを接続することができる。車載ネットワークに含まれる通信ノードは、複数の動作モードを有する。動作モードには、通常モードと、低電圧モードとが含まれる。通常モードでは、通信ノードは他の通信ノードと通信できる。低電圧モードでは、通信ノードは他の通信ノードと通信はできないが、所定のイベントにより通常モードへ遷移できる。 A connector (DLC: Data Link Connector) for connecting a device from the outside is mounted on the vehicle. By connecting various tools to this connector, the tool and the in-vehicle network can be connected. A communication node included in the in-vehicle network has a plurality of operation modes. The operation mode includes a normal mode and a low voltage mode. In the normal mode, the communication node can communicate with other communication nodes. In the low voltage mode, the communication node cannot communicate with other communication nodes, but can transition to the normal mode by a predetermined event.
ツールにより通信が開始されると、ゲートウエイ機能を有する通信ノードは、低電圧モードから通常モードへ、通信ノードを遷移させる。 When communication is started by the tool, the communication node having the gateway function changes the communication node from the low voltage mode to the normal mode.
車載LANへの要求頻度が正規な要求頻度から外れているか、又は車載LANへの要求間隔が正規な要求間隔から外れているかを判定し、非正規の要求であると判定されると、バッテリ保護モードに設定する技術が知られている(例えば、特許文献1参照)。 If it is determined that the request frequency for the in-vehicle LAN is out of the normal request frequency or the request interval for the in-vehicle LAN is out of the normal request interval, and it is determined that the request is non-regular, battery protection A technique for setting the mode is known (see, for example, Patent Document 1).
ツールには、高品質のものから低品質のものまで様々なものが存在する。低品質のツールがデータリンクコネクタに接続された場合、該ツールからノイズがゲートウエイ機能を有する通信ノードに入力されることがある。ゲートウエイ機能を有する通信ノードは、ノイズを信号と誤って判定し、低電圧モードから通常モードへ、通信ノードを遷移させることがある。しかし、実際にはノイズであるため、しばらくして、通信ノードは、通常モードから低電圧モードへ遷移することが多い。 There are various tools from high quality to low quality tools. When a low quality tool is connected to the data link connector, noise may be input from the tool to a communication node having a gateway function. A communication node having a gateway function may erroneously determine noise as a signal and cause the communication node to transition from the low voltage mode to the normal mode. However, since it is actually noise, the communication node often transitions from the normal mode to the low voltage mode after a while.
しかし、ゲートウエイ機能を有する通信ノードから、通信ノードへ、低電圧モードから通常モードへの移行の指示が繰り返し実行されると、通信ノードは低電圧モードへ移行できない。通信ノードが低電圧モードへ移行できないことにより消費電力が増大し、バッテリが上がることにつながる。 However, when an instruction to shift from the low voltage mode to the normal mode is repeatedly executed from the communication node having the gateway function to the communication node, the communication node cannot shift to the low voltage mode. Since the communication node cannot shift to the low voltage mode, the power consumption increases and the battery is increased.
そこで、本発明は、低電圧モードから通常モードへ、電子制御ユニットを誤って遷移させることを低減することを目的とする。 Accordingly, an object of the present invention is to reduce erroneous transition of the electronic control unit from the low voltage mode to the normal mode.
開示の一実施例の中継装置は、
車両外部のツールと電子制御ユニットとの間の通信を中継する中継装置であって、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定する状態判定部と、
前記電子制御ユニットの動作モードを制御する動作モード制御部と
を有し、
前記動作モード制御部は、前記状態判定部により前記車両外部のツールの状態が異常であると判定された場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止する。
A relay device according to an embodiment of the disclosure is:
A relay device that relays communication between a tool outside the vehicle and the electronic control unit,
State determination for detecting the potential of a bus connected to the tool outside the vehicle and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus during a predetermined time And
An operation mode control unit for controlling an operation mode of the electronic control unit,
The operation mode control unit, when the state of the vehicle outside of the tool is determined to be abnormal by said state determination unit, stops the control for shifting the electronic control unit to a state capable of the communication.
開示の通信システムは、
電子制御ユニットと、該電子制御ユニットと車両外部のツールとの間の通信を中継する中継装置とを有する通信システムであって、
前記中継装置は、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定する状態判定部と、
前記電子制御ユニットの動作モードを制御する第1の動作モード制御部と
を有し、
前記第1の動作モード制御部は、前記状態判定部により前記車両外部のツールの状態が異常であると判定された場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止し、
前記電子制御ユニットは、
前記第1の動作モード制御部による制御に従って、前記電子制御ユニットの動作モードを制御する第2の動作モード制御部
を有する。
The disclosed communication system is:
A communication system having an electronic control unit and a relay device that relays communication between the electronic control unit and a tool outside the vehicle,
The relay device is
State determination for detecting the potential of a bus connected to the tool outside the vehicle and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus during a predetermined time And
A first operation mode control unit for controlling an operation mode of the electronic control unit;
Said first operation mode control unit, when by the state determination unit is a state of the vehicle outside of the tool is determined to be abnormal, and stops the control for shifting the electronic control unit to a state that can the communication ,
The electronic control unit is
A second operation mode control unit configured to control an operation mode of the electronic control unit in accordance with control by the first operation mode control unit;
開示の通信制御方法は、
車両外部のツールと電子制御ユニットとの間の通信を中継する中継装置における通信制御方法であって、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定し、
前記電子制御ユニットの動作モードを制御する際に、前記車両外部のツールの状態が異常であると判定した場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止する。
The communication control method disclosed is
A communication control method in a relay device that relays communication between a tool outside a vehicle and an electronic control unit,
Detecting the potential of the bus connected to the tool outside the vehicle, and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus in a predetermined time ;
In controlling an operation mode of the electronic control unit, when the state of the vehicle outside of the tool is abnormal, it stops the control for shifting the electronic control unit to a state capable of the communication.
開示の通信制御方法は、
電子制御ユニットと、該電子制御ユニットと車両外部のツールとの間の通信を中継する中継装置とを有する通信システムにおける通信制御方法であって、
前記中継装置は、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定し、
前記電子制御ユニットの動作モードを制御する際に、前記車両外部のツールの状態が異常であると判定した場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止し、
前記電子制御ユニットは、
前記中継装置による制御に従って、前記電子制御ユニットの動作モードを制御する。
The communication control method disclosed is
A communication control method in a communication system having an electronic control unit and a relay device that relays communication between the electronic control unit and a tool outside the vehicle,
The relay device is
Detecting the potential of the bus connected to the tool outside the vehicle, and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus in a predetermined time ;
In controlling an operation mode of the electronic control unit, when the state of the vehicle outside of the tool is determined to be abnormal, and stops the control for shifting the electronic control unit to a state capable of the communication,
The electronic control unit is
The operation mode of the electronic control unit is controlled according to the control by the relay device.
開示の実施例によれば、低電圧モードから通常モードへ、電子制御ユニットを誤って遷移させることを低減することができる。 According to the disclosed embodiment, it is possible to reduce erroneous transition of the electronic control unit from the low voltage mode to the normal mode.
次に、本発明を実施するための形態を、以下の実施例に基づき図面を参照しつつ説明する。
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。
Next, the form for implementing this invention is demonstrated, referring drawings based on the following Examples.
In all the drawings for explaining the embodiments, the same reference numerals are used for those having the same function, and repeated explanation is omitted.
<実施例>
<通信システム>
図1は、通信システムの一実施例を示す。
<Example>
<Communication system>
FIG. 1 shows an embodiment of a communication system.
通信システムは、第1の通信ノード100、第2の通信ノード200n(nは、n>0の整数)を有する。図1には、一例としてn=6の場合について示す。nの値は適宜変更可能である。第1の通信ノード100、第2の通信ノード200nは、車両等の移動体に搭載される。通信システムの一実施例では、第1の通信ノード100、第2の通信ノード200nは車両に搭載され、車載LANを構成する。車載LANには、LIN(Local Interconnect Network)、CAN(Controller Area Network)、FlexRay、Ethernet(登録商標)が含まれる。第1の通信ノード100がマスターノード、第2の通信ノード200nがスレーブノードとして機能してもよい。
The communication system includes a
また、車両には、外部機器接続用コネクタ500が搭載される。外部機器接続用コネクタ500には、データリンクコネクタ(DLC: Data Link Connector)が含まれる。
In addition, an external
第1の通信ノード100と第2の通信ノード200nとの間、第1の通信ノード100と外部機器接続用コネクタ500との間は、バス300m(mは、m>0の整数)により有線接続される。図1には、一例としてm=4の場合について示す。mの値は、外部機器接続用コネクタ500の数、第2の通信ノード200nの数に応じて適宜変更可能である。
Between the
第1の通信ノード100は、電子制御ユニット等により実現されるのが好ましい。また、第1の通信ノード100に、センサ、アクチュエータ等が含まれてもよい。第2の通信ノード200nは、電子制御ユニットにより実現されてもよいし、センサ、アクチュエータ等により実現されてもよい。例えば、第1の通信ノード100にエアコンの制御機能が含まれ、第2の通信ノード200nに温度センサ等が含まれてもよい。
The
また、第1の通信ノード100に複数のシステムが内蔵されている場合もある。例えば、第1の通信ノード100が、他の第1の通信ノード(図示無し)との間で通信を行うようにしてもよい。また、第1の通信ノード100が、システムの制御を実行してもよい。
In some cases, the
図1に示される例では、第1の通信ノード100は、バス3001を介して第2の通信ノード2001及び2002と接続される。第1の通信ノード100は、バス3002を介して第2の通信ノード2003及び2004と接続される。第1の通信ノード100は、バス3003を介して第2の通信ノード2005及び2006と接続される。
In the example shown in FIG. 1, the
また、第1の通信ノード100は、バス3004を介して外部機器接続用コネクタ500と接続される。
The
外部機器接続用コネクタ500には、車両の外部から、診断機400などの様々なツールが接続される。診断機400には、例えば故障箇所検出装置が含まれる。故障箇所検出装置は車両外の故障判断ツールにより構成してもよい。故障判断ツールには、サービス部のダイアグツールが含まれる。
Various tools such as a
通信システムの一実施例では、外部機器接続用コネクタ500に診断機400が接続される場合について説明する。診断機400以外のツールが接続される場合についても同様である。
In one embodiment of the communication system, a case where the
診断機400の一実施例は、通信システムと、外部機器接続用コネクタ500を介して接続される。診断機400は、インターフェース(I/F: interface)402と、CPU404とを有する。
One embodiment of the
インターフェース402は、第1の通信ノード100からのデータを受信する。例えば、インターフェース402は、第1の通信ノード100に記憶されたデータを受信する。また、インターフェース402は、第1の通信ノード100を介して、第2の通信ノード200nに記憶されたデータを受信する。インターフェース402は、受信したデータをCPU404に入力する。
The
CPU404は、インターフェース402と接続される。CPU404は、インターフェース402からのデータに所定の処理を行う。CPU404は、インターフェース402からのデータを出力する処理を実行してもよい。
The
第1の通信ノード100は、第2の通信ノード200nと診断機400との間の通信を中継するゲートウエイ(GW: Gateway)としての機能を有する。第1の通信ノード100は、中継装置と呼ばれてもよい。
The
第1の通信ノード100は、外部機器接続用コネクタ500を介して接続された診断機400が正常であるか否かを判定する。第1の通信ノード100は、診断機400が正常であると判定した場合、第2の通信ノード200nを省電力モードから通常モードへ遷移させる。第1の通信ノード100は、診断機400が正常でない、つまり異常であると判定した場合、第2の通信ノード200nを通常モードへ遷移させない。
The
第2の通信ノード200nが通常モードへ遷移した後、第1の通信ノード100と診断機400との間で、通信が開始される。
After the second communication node 200 n transitions to the normal mode, communication is started between the
第1の通信ノード100は、診断機400との間の通信開始を検出した後に、診断機400からのデータが受信されない場合には診断機400に異常が発生したと判断するのが好ましい。例えば、第1の通信ノード100は、通信が開始されたことを検出した後に、一定時間が経過しても診断機400からのデータが受信されない場合には診断機400に異常が発生したと判断するのが好ましい。診断機400は、通信が開始されてから一定時間以内にデータを送信するように設定されていることが多いためである。第1の通信ノード100は、通信開始を検出した後、一定時間以内に、診断機400からデータを受信する。
The
また、第1の通信ノード100は、通信開始を検出した後に、一定時間が経過しても診断機400からのデータが受信されないことが所定の回数継続した場合に診断機400に異常が発生したと判断するのが好ましい。この場合、第1の通信装置100は、通信開始から一定時間が経過しても診断機400からのデータが受信されなかった回数をカウントするカウンタ(以下、「異常検出カウンタ」という)を有するのが好ましい。第1の通信ノード100は、異常検出カウンタの値が異常検出閾値以上であると判定した場合、診断機400の状態が異常であると判定する。異常検出閾値は、予め設定されるのが好ましい。このように、データが受信されないことが所定の回数継続した場合に異常が発生したと判断することにより、誤検出による影響を低減できるため、信頼性を向上させることができる。
Further, after detecting the start of communication, the
また、第1の通信装置100により、診断機400が異常であると判断された状態が継続するのは好ましくない。このため、何らかイベントをトリガーとして、診断機400が異常であると判断される前の状態へ復帰させるのが好ましい。例えば、通信システムが搭載された車両が走行を開始し、バッテリへの給電が開始された際に、復帰するようにしてもよい。
In addition, it is not preferable that the state in which the
<第1の通信ノード100>
図2は、第1の通信ノード100の一実施例を示す。図2には、主に、第1の通信ノード100のハードウエア構成が示される。
<
FIG. 2 shows an embodiment of the
第1の通信ノード100は、マイクロコントローラ(Micro-Control Unit)102と、第1のトランシーバ112と、第2のトランシーバ114と、第3のトランシーバ116と、第4のトランシーバ118とを有する。
The
第1の通信ノード100が2−3個のトランシーバを有するようにしてもよいし、5個以上のトランシーバを有するようにしてもよい。2個以上としたのは、外部機器接続用コネクタ500と接続されるトランシーバと、1台の第2の通信ノードと接続されるトランシーバは必要であるためである。
The
また、第1の通信ノード100が2個以上のマイクロコントローラを有するようにしてもよい。
Further, the
マイクロコントローラ102は、第1の通信装置104と、第2の通信装置106と、第3の通信装置108と、第4の通信装置110とを有する。
The
第1の通信装置104は、受信用(RxD)のバス、送信用(TxD)のバスを介して第1のトランシーバ112と接続される。第1のトランシーバ112は、バス3001を介して第2の通信装置2001及び2002と接続される。第1の通信装置104は、第1のトランシーバ112を介して、データを送受信する。第1の通信装置104は、シリアル通信を実行するようにしてもよい。第1の通信装置104の一実施例は、CANが適用される。
The
第2の通信装置106は、受信用(RxD)のバス、送信用(TxD)のバスを介して第2のトランシーバ114と接続される。第2のトランシーバ114は、バス3002を介して第2の通信装置2003及び2004と接続される。第2の通信装置106は、第2のトランシーバ114を介して、データを送受信する。第2の通信装置106は、シリアル通信を実行するようにしてもよい。第2の通信装置106の一実施例は、CANが適用される。
The
第3の通信装置108は、受信用(RxD)のバス、送信用(TxD)のバスを介して第3のトランシーバ116と接続される。第3のトランシーバ116は、バス3003を介して第2の通信装置2005及び2006と接続される。第3の通信装置108は、第3のトランシーバ116を介して、データを送受信する。第3の通信装置108は、シリアル通信を実行するようにしてもよい。第3の通信装置108の一実施例は、CANが適用される。
The
第4の通信装置110は、受信用(RxD)のバス、送信用(TxD)のバスを介して第4のトランシーバ118と接続される。第4のトランシーバ118は、バス3004を介して外部機器接続用コネクタ500と接続される。第4の通信装置110は、第4のトランシーバ118を介して、データを送受信する。第4の通信装置110は、シリアル通信を実行するようにしてもよい。第4の通信装置118の一実施例は、CANが適用される。
The
マイクロコントローラ102は、外部機器接続用コネクタ500に接続された診断機400が正常であるか否かを判定する。マイクロコントローラ102は、診断機400が正常であると判定した場合、省電力モードから通常モードへ、第2の通信ノード200nを遷移させる。マイクロコントローラ102は、診断機400が正常でないと判定した場合、省電力モードから通常モードへ、第2の通信ノード200nを遷移させる制御を停止する。つまり、マイクロコントローラ102は、診断機400が正常でないと判定した場合、省電力モードから通常モードへ、第2の通信ノード200nを遷移させない。
The
<第1の通信装置100の機能>
図3は、第1の通信装置100の一実施例を示す機能ブロック図である。図3の機能ブロック図により表される機能は、主に、マイクロコントローラ102により実行される。つまり、マイクロコントローラ102は、状態判定部302、動作モード制御部304、異常検出カウンタ306として機能する。
<Function of
FIG. 3 is a functional block diagram illustrating an embodiment of the
マイクロコントローラ102の内部に記憶されたアプリケーション(ファームウェア)に従ってマイクロコントローラ102により、状態判定部302、動作モード制御部304、異常検出カウンタ306としての機能が実行されるのが好ましい。また、記憶部(図示無し)に記憶されたアプリケーションに従ってマイクロコントローラ102により、状態判定部302、動作モード制御部304、異常検出カウンタ306としての機能が実行されてもよい。
It is preferable that the function as the
状態判定部302は、外部機器接続用コネクタ500に接続された診断機400の状態を判定する。例えば、状態判定部302は、バス3004の電位の変化に基づいて、診断機400の状態を判定するのが好ましい。例えば、診断機400によりバス3004に電圧が印加され、その電圧は、第4のトランシーバ118から、受信用(RxD)のバスを介して、第4の通信装置110へと伝送される。
The
状態判定部302は、第4の通信装置110へ伝送されたバス3004の電位を検出する。状態判定部302は、該電位の変化に基づいて、診断機400の状態を判定する。状態判定部302は、バス3004の電位が略一定である場合には、診断機400は正常であると判定する。状態判定部302は、所定の時間におけるバス3004の電位の変更回数が閾値(以下、「変更回数閾値」という)以上である場合、診断機400が正常でないと判定する。また、状態判定部302は、所定の時間におけるパス3004の電位の変更の回数が変更回数閾値未満である場合、診断機400が正常であると判定する。例えば、電位の変動の閾値が予め設定され、状態判定部302は、電位の変化が該閾値を超える場合に、電位が変更されたと判断するのが好ましい。
図4は、診断機400との間で通信が開始される場合にバス3004から検出される電位の一実施例を示す。
Figure 4 illustrates one embodiment of a potential detected from the
診断機400により通信が開始された場合には、バス3004の電位は所定の時間略一定となる。状態判定部302は、通信が開始されたことを検出してから所定の時間バス3004の電位が略一定であることを検出した場合には、動作モード制御部304に、通信が開始されたことを通知する。
If the communication is initiated by the
一方、診断機400が故障している場合や、ノイズが発生した場合には、バス3004の電位は所定の時間変動する。状態判定部302は、通信が開始されたことを検出してから所定の時間バス3004の電位が変動する場合には、動作モード制御部304に、通信が開始されたことを通知しない。つまり、状態判定部302は、通信が開始されたことを検出してから所定の時間バス3004の電位が変動する場合には、待機する。
On the other hand, and if the
また、状態判定部302は、第2の通信ノード200nを通常モードに遷移させた後であっても、通信開始から一定時間が経過しても診断機400からのデータが受信されない場合には、異常検出カウンタ306の値をカウントアップする。状態判定部302は、異常検出カウンタ306の値が異常検出閾値以上となった場合には、診断機400の状態が異常になったと判定するのが好ましい。診断機400の状態が異常になったと判定した場合、状態判定部302は、動作モード制御部304に、異常状態になったことを通知するのが好ましい。
In addition, the
また、状態判定部302には、車両状態を表す情報(以下、「車両状態情報」という)が入力される。車両状態情報には、走行状態、停車状態、ACCがオンにされたこと等が含まれる。状態判定部302は、診断機400が異常であると判定した後に、走行状態であること示す車両状態情報が入力された場合、診断機400の判定結果をリセットする。また、異常検出カウンタ306の値をリセットする。このようにすることにより、診断機400の診断結果が維持され、第2の通信ノード200nが低電圧モードに維持され続けるのを防止できる。
In addition, information indicating the vehicle state (hereinafter referred to as “vehicle state information”) is input to the
異常検出カウンタ306は、状態判定部302と接続される。異常検出カウンタ306は、通信開始から一定時間が経過しても診断機400からのデータが受信されない回数をカウントする。
The
動作モード制御部304は、状態判定部302と接続される。動作モード制御部304は、状態判定部302から通信が開始されたことが通知された場合に、第2の通信ノード200nを通常モードに遷移させる。動作モード制御部304は、第1の通信装置104、第2の通信装置106、第3の通信装置108に、バス3004の電位を伝送するのが好ましい。
The operation
バス3004の電位は、第1の通信装置104から送信用(TxD)バスを介して第1のトランシーバ112へ伝送される。さらに、バス3004の電位は、第1のトランシーバ112からバス3001を介して第2の通信ノード2001及び2002へ伝送される。
The potential of the
バス3004の電位は、第2の通信装置106から送信用(TxD)バスを介して第2のトランシーバ114へ伝送される。さらに、バス3004の電位は、第2のトランシーバ114からバス3002を介して第2の通信ノード2003及び2004へ伝送される。
The potential of the
バス3004の電位は、第3の通信装置108から送信用(TxD)バスを介して第2のトランシーバ116へ伝送される。さらに、バス3004の電位は、第3のトランシーバ116からバス3003を介して第2の通信ノード2005及び2006へ伝送される。
The potential of the
第2の通信ノード2001及び2002は、バス3001の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。第2の通信ノード2003及び2004は、バス3002の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。第2の通信ノード2005及び2006は、バス3003の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。
The second communication nodes 200 1 and 200 2 detect the potential of the
また、動作モード制御部304は、状態判定部302から異常状態になったことを通知された場合に、第2の通信ノード200nを通常モードから低電圧モードに遷移させる。動作モード制御部304は、第1の通信装置104、第2の通信装置106、第3の通信装置108に、低電圧モードへ遷移する命令を伝送するのが好ましい。
Further, the operation
低電圧モードへ遷移する命令は、第1の通信装置104から送信用(TxD)バスを介して第1のトランシーバ112へ伝送される。さらに、低電圧モードへ遷移する命令は、第1のトランシーバ112からバス3001を介して第2の通信ノード2001及び2002へ伝送される。
The command to transition to the low voltage mode is transmitted from the
低電圧モードへ遷移する命令は、第2の通信装置106から送信用(TxD)バスを介して第2のトランシーバ114へ伝送される。さらに、低電圧モードへ遷移する命令は、第2のトランシーバ114からバス3002を介して第2の通信ノード2003及び2004へ伝送される。
The command to transition to the low voltage mode is transmitted from the
低電圧モードへ遷移する命令は、第3の通信装置108から送信用(TxD)バスを介して第2のトランシーバ116へ伝送される。さらに、低電圧モードへ遷移する命令は、第3のトランシーバ116からバス3003を介して第2の通信ノード2005及び2006へ伝送される。
The command to transition to the low voltage mode is transmitted from the
第2の通信ノード2001及び2002は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。第2の通信ノード2003及び2004は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。第2の通信ノード2005及び2006は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。 The second communication node 200 1 and 200 2 detects an instruction to transition to the low-voltage mode, based on the instruction to transition to the low voltage mode, the transition from the normal mode to the low-voltage mode. The second communication nodes 200 3 and 200 4 detect an instruction to transition to the low voltage mode, and transition from the normal mode to the low voltage mode based on the instruction to transition to the low voltage mode. The second communication nodes 200 5 and 200 6 detect an instruction to transition to the low voltage mode, and transition from the normal mode to the low voltage mode based on the instruction to transition to the low voltage mode.
<第2の通信ノード200n>
図5は、第2の通信ノード200nの一実施例を示す。図2には、主に、第2の通信ノード200nのハードウエア構成が示される。
<Second communication node 200 n >
Figure 5 shows an example of a second communication node 200 n. FIG. 2 mainly shows the hardware configuration of the second communication node 200 n .
第2の通信ノード200nは、マイクロコントローラ202と、トランシーバ206とを備える。
The second communication node 200 n includes a
マイクロコントローラ202は、通信装置204を有する。マイクロコントローラ202は、トランシーバ206を介して、バス300mと接続される。マイクロコントローラ202は、自第2の通信ノード200nの状態を制御する。また、マイクロコントローラ202は、データを送受信する制御を実行する。
The
通信装置204は、トランシーバ206を介して、データを送受信する。通信装置204は、シリアル通信を実行するようにしてもよい。通信装置204の一実施例は、CANが適用される。
The
トランシーバ206は、通信装置204と、送信用(TxD)用バス、受信用(RxD)バスを介して接続される。トランシーバ206は、バス300mに、通信装置204からの送信要求、データを送信する。また、トランシーバ206は、バス300mの電位を検出し、通信装置204へ通知する。また、トランシーバ206は、第1の通信装置100からのデータを受信し、通信装置204に入力する。
The
<第2の通信ノード200nの機能>
第2の通信ノード200nの機能の一実施例について説明する。
<Second communication node 200 n functions>
An example of the function of the second communication node 200 n will be described.
図6は、第2の通信ノード200nの機能の一実施例を示す機能ブロック図である。この機能ブロック図により表される機能は、主に、マイクロコントローラ202により実行される。例えば、マイクロコントローラ202が、ファームウェア等のプログラムに従って動作することにより実行されてもよい。
FIG. 6 is a functional block diagram showing an example of the function of the second communication node 200 n . The functions represented by this functional block diagram are mainly executed by the
マイクロコントローラ202は、動作モード制御部602として機能する。
The
動作モード制御部602は、通信装置204と接続される。動作モード制御部602は、第2の通信ノード200nの動作モードを制御する。動作モードには、通常モードと、低電圧モードとが含まれる。動作モード制御部602には、通信装置204から、トランシーバ206により検出されたバス300mの電位が通知される。動作モード制御部602は、バス300mの電位に基づいて、低電圧モードから通常モードへ、動作モードを制御する。
The operation
また、動作モード制御部602は、低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ、動作モードを制御する。
Further, the operation
<通信システムの動作(その1)>
図7は、通信システムの動作の一実施例を示す。図7には、主に、第1の通信ノード100の動作が示される。
<Operation of communication system (1)>
FIG. 7 shows an embodiment of the operation of the communication system. FIG. 7 mainly shows the operation of the
図7には、診断機400を異常状態であるか否かを判定する際の動作が示される。
通信システムの動作の一実施例では、第1の通信ノード100、第2の通信ノード200nは、低電圧モードである。
FIG. 7 shows an operation when determining whether or not the
In one embodiment of the operation of the communication system, the
ステップS702では、第1の通信ノード100は、診断機400により通信が開始されたことを検出したか否かを判定する。診断機400により通信が開始されたことを検出しないと判定した場合、ステップS702に戻る。
In step S <b> 702, the
ステップS704では、第1の通信ノード100は、診断機400により通信が開始されたことを検出した場合、診断機400の状態が正常であるか否かを判定する。診断機400の状態が正常でないと判定した場合、終了する。
In step S704, when the
ステップS706では、診断機400の状態が正常であると判定した場合、第1の通信ノード100は、通信システムを通常モードへ移行させる。つまり、第1の通信ノード100は、低電圧モードから通常モードへ、第2の通信ノード200nを移行させる。低電圧モードから通常モードへ、第2の通信ノード200nを移行させることにより、第2の通信ノード200nは、通信を実行することができる。
In step S706, when it is determined that the state of the
ステップS708では、第1の通信ノード100は、診断機400からデータを受信したか否かを判定する。
In step S708, the
ステップS710では、診断機400からデータを受信しないと判定した場合、第1の通信ノード100は、通信開始から一定時間が経過したか否かを判定する。通信開始から一定時間が経過しないと判定した場合、ステップS708に戻る。
In step S710, when it is determined that data is not received from the
ステップS712では、ステップS710で通信開始から一定時間が経過したと判定された場合、第1の通信ノード100は、異常検出カウンタ306のカウントをアップさせる。
In step S712, when it is determined in step S710 that a certain time has elapsed from the start of communication, the
ステップS714では、第1の通信ノード100は、異常検出カウンタ306が異常検出閾値以上であるか否かを判定する。異常検出カウンタ306が異常検出閾値以上でないと判定した場合、終了する。
In step S714, the
ステップS716では、ステップS714で異常検出カウンタ306が異常検出閾値以上であると判定した場合、第1の通信ノード100は、診断機400が異常状態であると判定する。
In step S716, when it is determined in step S714 that the
ステップS718では、ステップS708において、診断機400からデータを受信したと判定した場合、第1の通信ノード100は、異常検出カウンタ306をクリアし、終了する。
In step S718, if it is determined in step S708 that data has been received from the
<通信システムの動作(その2)>
図8は、通信システムの動作の一実施例を示す。図8には、主に、第1の通信ノード100の動作が示される。
<Operation of communication system (2)>
FIG. 8 shows an embodiment of the operation of the communication system. FIG. 8 mainly shows the operation of the
図7には、診断機400を異常状態であると判定した状態を初期状態に復帰される際の動作が示される。
FIG. 7 shows an operation when the state in which the
ステップS802では、第1の通信ノード100は、車両が走行中であるか否かを判定する。車両が走行中であると判定しない場合、ステップS802に戻る。
In step S802, the
ステップS804では、ステップS802で車両が走行中であると判定された場合、第1の通信ノード100は、異常検出カウンタ306をクリアする。
In step S804, when it is determined in step S802 that the vehicle is traveling, the
ステップS806では、診断機400を異常状態であると判定した状態を正常状態へ復帰させる。
In step S806, the state where
図8に示されるフローチャートにおいて、ステップS804の処理とステップS806の処理とを入れ替えるようにしてもよい。 In the flowchart shown in FIG. 8, the process in step S804 and the process in step S806 may be interchanged.
通信システムの一実施例によれば、通信が開始されたことが検出されても、通信開始から所定の時間の間にバス3004の電位の変動が検出された場合には、動作モード制御部304に通信が開始されたことが通知されないため、第2の通信ノード2001−2006は、通常モードへ遷移しない。従って、診断機400の故障や、ノイズの発生により、通信が開始されたと誤検出した場合でも、その後の電位の変化に基づいて、実際に診断機400から通信が開始されたか否かを判定できる。このため、低電圧モードから通常モードへ、通信ノードを誤って遷移させることを低減することができる。通常モードへ通信ノードを誤って遷移させることを低減することができるため、そのことが原因によるバッテリ上がりを低減できる。
According to one embodiment of the communication system, even if it is detected that the communication is started, when a change in the potential of the
さらに、低電圧モードから通常モードへ通信ノードを遷移させた後でも、診断機400が異常であると判断した場合には、第2の通信ノード2001−2006を低電圧モードへ遷移させる。第2の通信ノード2001−2006を低電圧モードへ遷移させることにより消費電力を低減できる。このため、そのことが原因によるバッテリ上がりを低減できる。
Furthermore, even after transitions the communication node from the low voltage mode to the normal mode, if the
以上、本発明は特定の実施例及び変形例を参照しながら説明されてきたが、各実施例及び変形例は単なる例示に過ぎず、当業者は様々な変形例、修正例、代替例、置換例等を理解するであろう。説明の便宜上、本発明の実施例に従った装置は機能的なブロック図を用いて説明されたが、そのような装置はハードウエアで、ソフトウエアで又はそれらの組み合わせで実現されてもよい。本発明は上記実施例に限定されず、本発明の精神から逸脱することなく、様々な変形例、修正例、代替例、置換例等が包含される。 Although the present invention has been described above with reference to specific embodiments and modifications, each embodiment and modification is merely illustrative, and those skilled in the art will recognize various modifications, modifications, alternatives, and substitutions. You will understand examples. For convenience of explanation, an apparatus according to an embodiment of the present invention has been described using a functional block diagram, but such an apparatus may be implemented in hardware, software, or a combination thereof. The present invention is not limited to the above-described embodiments, and various variations, modifications, alternatives, substitutions, and the like are included without departing from the spirit of the present invention.
100 第1の通信ノード
200n(nは、n>1の整数) 第2の通信ノード
300m(mは、n>1の整数) バス
400 診断機
500 外部機器接続用コネクタ
100 First communication node 200 n (n is an integer of n> 1) Second communication node 300 m (m is an integer of n> 1)
Claims (8)
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定する状態判定部と、
前記電子制御ユニットの動作モードを制御する動作モード制御部と
を有し、
前記動作モード制御部は、前記状態判定部により前記車両外部のツールの状態が異常であると判定された場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止する、中継装置。 A relay device that relays communication between a tool outside the vehicle and the electronic control unit,
State determination for detecting the potential of a bus connected to the tool outside the vehicle and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus during a predetermined time And
An operation mode control unit for controlling an operation mode of the electronic control unit,
The operation mode control unit, when the state of the vehicle outside of the tool is determined to be abnormal by said state determination unit, stops the control for shifting the electronic control unit to a state capable of the communication relay apparatus .
前記中継装置は、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定する状態判定部と、
前記電子制御ユニットの動作モードを制御する第1の動作モード制御部と
を有し、
前記第1の動作モード制御部は、前記状態判定部により前記車両外部のツールの状態が異常であると判定された場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止し、
前記電子制御ユニットは、
前記第1の動作モード制御部による制御に従って、前記電子制御ユニットの動作モードを制御する第2の動作モード制御部
を有する、通信システム。 A communication system having an electronic control unit and a relay device that relays communication between the electronic control unit and a tool outside the vehicle,
The relay device is
State determination for detecting the potential of a bus connected to the tool outside the vehicle and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus during a predetermined time And
A first operation mode control unit for controlling an operation mode of the electronic control unit;
Said first operation mode control unit, when by the state determination unit is a state of the vehicle outside of the tool is determined to be abnormal, and stops the control for shifting the electronic control unit to a state that can the communication ,
The electronic control unit is
A communication system comprising: a second operation mode control unit that controls an operation mode of the electronic control unit according to control by the first operation mode control unit.
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定し、
前記電子制御ユニットの動作モードを制御する際に、前記車両外部のツールの状態が異常であると判定した場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止する、通信制御方法。 A communication control method in a relay device that relays communication between a tool outside a vehicle and an electronic control unit,
Detecting the potential of the bus connected to the tool outside the vehicle, and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus in a predetermined time ;
In controlling an operation mode of the electronic control unit, wherein when the state of the vehicle external tool is abnormal, stops the control for shifting the electronic control unit to a state capable of the communication, communication control Method.
前記中継装置は、
前記車両外部のツールと接続されるバスの電位を検出し、所定の時間における前記バスの電位の変更回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定し、
前記電子制御ユニットの動作モードを制御する際に、前記車両外部のツールの状態が異常であると判定した場合に、前記電子制御ユニットを前記通信ができる状態へ遷移させる制御を停止し、
前記電子制御ユニットは、
前記中継装置による制御に従って、前記電子制御ユニットの動作モードを制御する、通信制御方法。 A communication control method in a communication system having an electronic control unit and a relay device that relays communication between the electronic control unit and a tool outside the vehicle,
The relay device is
Detecting the potential of the bus connected to the tool outside the vehicle, and determining whether the state of the tool outside the vehicle is abnormal based on the number of changes in the potential of the bus in a predetermined time ;
In controlling an operation mode of the electronic control unit, when the state of the vehicle outside of the tool is determined to be abnormal, and stops the control for shifting the electronic control unit to a state capable of the communication,
The electronic control unit is
A communication control method for controlling an operation mode of the electronic control unit according to control by the relay device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012286153A JP5949538B2 (en) | 2012-12-27 | 2012-12-27 | Relay device, communication system, and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012286153A JP5949538B2 (en) | 2012-12-27 | 2012-12-27 | Relay device, communication system, and communication method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2014125203A JP2014125203A (en) | 2014-07-07 |
| JP5949538B2 true JP5949538B2 (en) | 2016-07-06 |
Family
ID=51405026
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012286153A Expired - Fee Related JP5949538B2 (en) | 2012-12-27 | 2012-12-27 | Relay device, communication system, and communication method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5949538B2 (en) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3840319B2 (en) * | 1997-08-26 | 2006-11-01 | 富士通テン株式会社 | Current communication circuit using power line |
| JP4483694B2 (en) * | 2004-06-22 | 2010-06-16 | 株式会社デンソー | Vehicle communication system |
| JP2006290162A (en) * | 2005-04-11 | 2006-10-26 | Denso Corp | Automotive control unit |
| JP4400576B2 (en) * | 2006-01-10 | 2010-01-20 | 株式会社デンソー | Vehicle diagnostic system |
| JP4844658B2 (en) * | 2009-08-07 | 2011-12-28 | 株式会社デンソー | Diagnostic device and diagnostic system |
| JP2012063163A (en) * | 2010-09-14 | 2012-03-29 | Honda Motor Co Ltd | Failure diagnosis system for vehicle |
-
2012
- 2012-12-27 JP JP2012286153A patent/JP5949538B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2014125203A (en) | 2014-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4407752B2 (en) | FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD | |
| EP3119038B1 (en) | Communication device, communication method and communication system | |
| CN107113214B (en) | Abnormality detection electronic control unit, vehicle-mounted network system, and communication method | |
| US9989575B2 (en) | Detection of ECU ground fault with can bus voltage measurements | |
| KR102286050B1 (en) | Method for preventing diagnostic errors in vehicle network and apparatus for the same | |
| CN105745871A (en) | Vehicle having an ethernet bus system and method for operating such a bus system | |
| KR101519719B1 (en) | Message process method of gateway | |
| JP2011131762A (en) | Control device for data relay, and vehicle control system | |
| KR102355092B1 (en) | Operation method of communication node for diagnosing in vehicle network | |
| JP5811140B2 (en) | Communications system | |
| JP2015199444A (en) | Electronic control unit | |
| JP6384332B2 (en) | Electronic control unit | |
| JP2006222649A (en) | Gateway device with network monitoring function | |
| JP5071340B2 (en) | Gateway device, vehicle network, one-side disconnection detection method | |
| JP6410914B1 (en) | Serial communication system | |
| JP2015154189A (en) | Communication system, gateway device, communication node and communication control method | |
| CN105637811A (en) | Semantic deduplication | |
| JP6365876B2 (en) | node | |
| JP2009111911A (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
| JP5949538B2 (en) | Relay device, communication system, and communication method | |
| JP2010028356A (en) | Communication management device of on-vehicle network | |
| JP7205439B2 (en) | electronic controller | |
| JP5018396B2 (en) | Communication apparatus and communication system | |
| JP5212339B2 (en) | Data relay apparatus and data relay method | |
| JP7190964B2 (en) | Communication error detector |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150115 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150928 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151006 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20151130 |
|
| 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: 20160510 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160523 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5949538 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| LAPS | Cancellation because of no payment of annual fees |