Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5949538B2 - Relay device, communication system, and communication method - Google Patents
[go: Go Back, main page]

JP5949538B2 - Relay device, communication system, and communication method - Google Patents

Relay device, communication system, and communication method Download PDF

Info

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
Application number
JP2012286153A
Other languages
Japanese (ja)
Other versions
JP2014125203A (en
Inventor
博哉 安藤
博哉 安藤
詠史 瀧
詠史 瀧
勇太 落合
勇太 落合
加藤 光敏
光敏 加藤
正寛 牧野
正寛 牧野
真貴 金田
真貴 金田
義史 大森
義史 大森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2012286153A priority Critical patent/JP5949538B2/en
Publication of JP2014125203A publication Critical patent/JP2014125203A/en
Application granted granted Critical
Publication of JP5949538B2 publication Critical patent/JP5949538B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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).

特開2006−315585号公報JP 2006-315585 A

ツールには、高品質のものから低品質のものまで様々なものが存在する。低品質のツールがデータリンクコネクタに接続された場合、該ツールからノイズがゲートウエイ機能を有する通信ノードに入力されることがある。ゲートウエイ機能を有する通信ノードは、ノイズを信号と誤って判定し、低電圧モードから通常モードへ、通信ノードを遷移させることがある。しかし、実際にはノイズであるため、しばらくして、通信ノードは、通常モードから低電圧モードへ遷移することが多い。   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.

通信システムの一実施例を示す図である。It is a figure which shows one Example of a communication system. 第1の通信ノードの一実施例を示す図である。It is a figure which shows one Example of a 1st communication node. 第1の通信ノードの一実施例を示す機能ブロック図である。It is a functional block diagram which shows one Example of a 1st communication node. 通信開始の際に検出される電位の一実施例を示す図である。It is a figure which shows one Example of the electric potential detected at the time of a communication start. 第2の通信ノードの一実施例を示す図である。It is a figure which shows one Example of a 2nd communication node. 第2の通信ノードの一実施例を示す機能ブロック図である。It is a functional block diagram which shows one Example of a 2nd communication node. 通信システムの動作の一実施例を示すフローチャートである。It is a flowchart which shows one Example of operation | movement of a communication system. 通信システムの動作の一実施例を示すフローチャートである。It is a flowchart which shows one Example of operation | movement of a communication system.

次に、本発明を実施するための形態を、以下の実施例に基づき図面を参照しつつ説明する。
なお、実施例を説明するための全図において、同一機能を有するものは同一符号を用い、繰り返しの説明は省略する。
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の通信ノード200(nは、n>0の整数)を有する。図1には、一例としてn=6の場合について示す。nの値は適宜変更可能である。第1の通信ノード100、第2の通信ノード200は、車両等の移動体に搭載される。通信システムの一実施例では、第1の通信ノード100、第2の通信ノード200は車両に搭載され、車載LANを構成する。車載LANには、LIN(Local Interconnect Network)、CAN(Controller Area Network)、FlexRay、Ethernet(登録商標)が含まれる。第1の通信ノード100がマスターノード、第2の通信ノード200がスレーブノードとして機能してもよい。 The communication system includes a first communication node 100 and a second communication node 200 n (n is an integer where n> 0). FIG. 1 shows an example where n = 6. The value of n can be changed as appropriate. The first communication node 100 and the second communication node 200 n are mounted on a moving body such as a vehicle. In one embodiment of the communication system, the first communication node 100 and the second communication node 200 n are mounted on a vehicle and constitute an in-vehicle LAN. The in-vehicle LAN includes LIN (Local Interconnect Network), CAN (Controller Area Network), FlexRay, and Ethernet (registered trademark). The first communication node 100 may function as a master node, and the second communication node 200 n may function as a slave node.

また、車両には、外部機器接続用コネクタ500が搭載される。外部機器接続用コネクタ500には、データリンクコネクタ(DLC: Data Link Connector)が含まれる。   In addition, an external device connecting connector 500 is mounted on the vehicle. The external device connection connector 500 includes a data link connector (DLC).

第1の通信ノード100と第2の通信ノード200との間、第1の通信ノード100と外部機器接続用コネクタ500との間は、バス300(mは、m>0の整数)により有線接続される。図1には、一例としてm=4の場合について示す。mの値は、外部機器接続用コネクタ500の数、第2の通信ノード200の数に応じて適宜変更可能である。 Between the first communication node 100 and the second communication node 200 n and between the first communication node 100 and the external device connection connector 500, a bus 300 m (m is an integer of m> 0). Wired connection. FIG. 1 shows a case where m = 4 as an example. The value of m, the number of the external device connecting connector 500 can be appropriately changed depending on the number of the second communication node 200 n.

第1の通信ノード100は、電子制御ユニット等により実現されるのが好ましい。また、第1の通信ノード100に、センサ、アクチュエータ等が含まれてもよい。第2の通信ノード200は、電子制御ユニットにより実現されてもよいし、センサ、アクチュエータ等により実現されてもよい。例えば、第1の通信ノード100にエアコンの制御機能が含まれ、第2の通信ノード200に温度センサ等が含まれてもよい。 The first communication node 100 is preferably realized by an electronic control unit or the like. In addition, the first communication node 100 may include a sensor, an actuator, and the like. The second communication node 200 n may be realized by an electronic control unit, or may be realized by a sensor, an actuator, or the like. For example, the first communication node 100 may include an air conditioner control function, and the second communication node 200 n may include a temperature sensor or the like.

また、第1の通信ノード100に複数のシステムが内蔵されている場合もある。例えば、第1の通信ノード100が、他の第1の通信ノード(図示無し)との間で通信を行うようにしてもよい。また、第1の通信ノード100が、システムの制御を実行してもよい。   In some cases, the first communication node 100 includes a plurality of systems. For example, the first communication node 100 may communicate with another first communication node (not shown). Further, the first communication node 100 may execute control of the system.

図1に示される例では、第1の通信ノード100は、バス300を介して第2の通信ノード200及び200と接続される。第1の通信ノード100は、バス300を介して第2の通信ノード200及び200と接続される。第1の通信ノード100は、バス300を介して第2の通信ノード200及び200と接続される。 In the example shown in FIG. 1, the first communication node 100 is connected to the second communication node 200 1 and 200 2 via the bus 300 1. The first communication node 100 is connected to the second communication node 200 3 and 200 4 via the bus 300 2. The first communication node 100 is connected to the second communication node 200 5 and 200 6 via the bus 300 3.

また、第1の通信ノード100は、バス300を介して外部機器接続用コネクタ500と接続される。 The first communication node 100 is connected to an external device connecting connector 500 via a bus 300 4.

外部機器接続用コネクタ500には、車両の外部から、診断機400などの様々なツールが接続される。診断機400には、例えば故障箇所検出装置が含まれる。故障箇所検出装置は車両外の故障判断ツールにより構成してもよい。故障判断ツールには、サービス部のダイアグツールが含まれる。   Various tools such as a diagnostic machine 400 are connected to the external device connecting connector 500 from the outside of the vehicle. The diagnostic machine 400 includes, for example, a failure location detection device. The failure location detection device may be configured by a failure determination tool outside the vehicle. The failure determination tool includes a diagnosis tool of the service unit.

通信システムの一実施例では、外部機器接続用コネクタ500に診断機400が接続される場合について説明する。診断機400以外のツールが接続される場合についても同様である。   In one embodiment of the communication system, a case where the diagnostic device 400 is connected to the external device connection connector 500 will be described. The same applies when a tool other than the diagnostic machine 400 is connected.

診断機400の一実施例は、通信システムと、外部機器接続用コネクタ500を介して接続される。診断機400は、インターフェース(I/F: interface)402と、CPU404とを有する。   One embodiment of the diagnostic machine 400 is connected to the communication system via the external device connection connector 500. The diagnostic machine 400 includes an interface (I / F) 402 and a CPU 404.

インターフェース402は、第1の通信ノード100からのデータを受信する。例えば、インターフェース402は、第1の通信ノード100に記憶されたデータを受信する。また、インターフェース402は、第1の通信ノード100を介して、第2の通信ノード200に記憶されたデータを受信する。インターフェース402は、受信したデータをCPU404に入力する。 The interface 402 receives data from the first communication node 100. For example, the interface 402 receives data stored in the first communication node 100. Further, the interface 402 receives data stored in the second communication node 200 n via the first communication node 100. The interface 402 inputs the received data to the CPU 404.

CPU404は、インターフェース402と接続される。CPU404は、インターフェース402からのデータに所定の処理を行う。CPU404は、インターフェース402からのデータを出力する処理を実行してもよい。   The CPU 404 is connected to the interface 402. The CPU 404 performs predetermined processing on data from the interface 402. The CPU 404 may execute processing for outputting data from the interface 402.

第1の通信ノード100は、第2の通信ノード200と診断機400との間の通信を中継するゲートウエイ(GW: Gateway)としての機能を有する。第1の通信ノード100は、中継装置と呼ばれてもよい。 The first communication node 100 has a function as a gateway (GW) that relays communication between the second communication node 200 n and the diagnostic device 400. The first communication node 100 may be called a relay device.

第1の通信ノード100は、外部機器接続用コネクタ500を介して接続された診断機400が正常であるか否かを判定する。第1の通信ノード100は、診断機400が正常であると判定した場合、第2の通信ノード200を省電力モードから通常モードへ遷移させる。第1の通信ノード100は、診断機400が正常でない、つまり異常であると判定した場合、第2の通信ノード200を通常モードへ遷移させない。 The first communication node 100 determines whether or not the diagnostic device 400 connected via the external device connection connector 500 is normal. If the first communication node 100 determines that the diagnostic device 400 is normal, the first communication node 100 shifts the second communication node 200 n from the power saving mode to the normal mode. If the first communication node 100 determines that the diagnostic device 400 is not normal, that is, is abnormal, the first communication node 100 does not shift the second communication node 200 n to the normal mode.

第2の通信ノード200が通常モードへ遷移した後、第1の通信ノード100と診断機400との間で、通信が開始される。 After the second communication node 200 n transitions to the normal mode, communication is started between the first communication node 100 and the diagnostic machine 400.

第1の通信ノード100は、診断機400との間の通信開始を検出した後に、診断機400からのデータが受信されない場合には診断機400に異常が発生したと判断するのが好ましい。例えば、第1の通信ノード100は、通信が開始されたことを検出した後に、一定時間が経過しても診断機400からのデータが受信されない場合には診断機400に異常が発生したと判断するのが好ましい。診断機400は、通信が開始されてから一定時間以内にデータを送信するように設定されていることが多いためである。第1の通信ノード100は、通信開始を検出した後、一定時間以内に、診断機400からデータを受信する。   The first communication node 100 preferably determines that an abnormality has occurred in the diagnostic machine 400 when data from the diagnostic machine 400 is not received after detecting the start of communication with the diagnostic machine 400. For example, the first communication node 100 determines that an abnormality has occurred in the diagnostic device 400 when data from the diagnostic device 400 is not received even after a certain period of time has elapsed after detecting the start of communication. It is preferable to do this. This is because the diagnostic machine 400 is often set to transmit data within a certain time after communication is started. The first communication node 100 receives data from the diagnostic machine 400 within a certain time after detecting the start of communication.

また、第1の通信ノード100は、通信開始を検出した後に、一定時間が経過しても診断機400からのデータが受信されないことが所定の回数継続した場合に診断機400に異常が発生したと判断するのが好ましい。この場合、第1の通信装置100は、通信開始から一定時間が経過しても診断機400からのデータが受信されなかった回数をカウントするカウンタ(以下、「異常検出カウンタ」という)を有するのが好ましい。第1の通信ノード100は、異常検出カウンタの値が異常検出閾値以上であると判定した場合、診断機400の状態が異常であると判定する。異常検出閾値は、予め設定されるのが好ましい。このように、データが受信されないことが所定の回数継続した場合に異常が発生したと判断することにより、誤検出による影響を低減できるため、信頼性を向上させることができる。   Further, after detecting the start of communication, the first communication node 100 has detected an abnormality in the diagnostic device 400 when the data has not been received from the diagnostic device 400 for a predetermined number of times even after a predetermined time has elapsed. It is preferable to judge that. In this case, the first communication device 100 has a counter (hereinafter referred to as “abnormality detection counter”) that counts the number of times data has not been received from the diagnostic device 400 even after a predetermined time has elapsed since the start of communication. Is preferred. If the first communication node 100 determines that the value of the abnormality detection counter is equal to or greater than the abnormality detection threshold, the first communication node 100 determines that the state of the diagnostic machine 400 is abnormal. The abnormality detection threshold is preferably set in advance. As described above, by determining that an abnormality has occurred when data has not been received for a predetermined number of times, the influence of erroneous detection can be reduced, so that reliability can be improved.

また、第1の通信装置100により、診断機400が異常であると判断された状態が継続するのは好ましくない。このため、何らかイベントをトリガーとして、診断機400が異常であると判断される前の状態へ復帰させるのが好ましい。例えば、通信システムが搭載された車両が走行を開始し、バッテリへの給電が開始された際に、復帰するようにしてもよい。   In addition, it is not preferable that the state in which the diagnostic device 400 is determined to be abnormal by the first communication device 100 continues. For this reason, it is preferable to return to a state before the diagnosis device 400 is determined to be abnormal by using some event as a trigger. For example, when a vehicle equipped with a communication system starts traveling and power supply to the battery is started, the vehicle may be returned.

<第1の通信ノード100>
図2は、第1の通信ノード100の一実施例を示す。図2には、主に、第1の通信ノード100のハードウエア構成が示される。
<First communication node 100>
FIG. 2 shows an embodiment of the first communication node 100. FIG. 2 mainly shows the hardware configuration of the first communication node 100.

第1の通信ノード100は、マイクロコントローラ(Micro-Control Unit)102と、第1のトランシーバ112と、第2のトランシーバ114と、第3のトランシーバ116と、第4のトランシーバ118とを有する。   The first communication node 100 includes a microcontroller (Micro-Control Unit) 102, a first transceiver 112, a second transceiver 114, a third transceiver 116, and a fourth transceiver 118.

第1の通信ノード100が2−3個のトランシーバを有するようにしてもよいし、5個以上のトランシーバを有するようにしてもよい。2個以上としたのは、外部機器接続用コネクタ500と接続されるトランシーバと、1台の第2の通信ノードと接続されるトランシーバは必要であるためである。   The first communication node 100 may have 2-3 transceivers, or may have 5 or more transceivers. The reason why the number is two or more is that a transceiver connected to the external device connection connector 500 and a transceiver connected to one second communication node are necessary.

また、第1の通信ノード100が2個以上のマイクロコントローラを有するようにしてもよい。   Further, the first communication node 100 may include two or more microcontrollers.

マイクロコントローラ102は、第1の通信装置104と、第2の通信装置106と、第3の通信装置108と、第4の通信装置110とを有する。   The microcontroller 102 includes a first communication device 104, a second communication device 106, a third communication device 108, and a fourth communication device 110.

第1の通信装置104は、受信用(RxD)のバス、送信用(TxD)のバスを介して第1のトランシーバ112と接続される。第1のトランシーバ112は、バス300を介して第2の通信装置200及び200と接続される。第1の通信装置104は、第1のトランシーバ112を介して、データを送受信する。第1の通信装置104は、シリアル通信を実行するようにしてもよい。第1の通信装置104の一実施例は、CANが適用される。 The first communication device 104 is connected to the first transceiver 112 via a reception (RxD) bus and a transmission (TxD) bus. The first transceiver 112 is connected to the second communication device 200 1 and 200 2 and via the bus 300 1. The first communication device 104 transmits and receives data via the first transceiver 112. The first communication device 104 may perform serial communication. As an example of the first communication device 104, CAN is applied.

第2の通信装置106は、受信用(RxD)のバス、送信用(TxD)のバスを介して第2のトランシーバ114と接続される。第2のトランシーバ114は、バス300を介して第2の通信装置200及び200と接続される。第2の通信装置106は、第2のトランシーバ114を介して、データを送受信する。第2の通信装置106は、シリアル通信を実行するようにしてもよい。第2の通信装置106の一実施例は、CANが適用される。 The second communication device 106 is connected to the second transceiver 114 via a reception (RxD) bus and a transmission (TxD) bus. The second transceiver 114 is connected to the second communication apparatus 200 3 and 200 4 via the bus 300 2. The second communication device 106 transmits and receives data via the second transceiver 114. The second communication device 106 may execute serial communication. As an example of the second communication device 106, CAN is applied.

第3の通信装置108は、受信用(RxD)のバス、送信用(TxD)のバスを介して第3のトランシーバ116と接続される。第3のトランシーバ116は、バス300を介して第2の通信装置200及び200と接続される。第3の通信装置108は、第3のトランシーバ116を介して、データを送受信する。第3の通信装置108は、シリアル通信を実行するようにしてもよい。第3の通信装置108の一実施例は、CANが適用される。 The third communication device 108 is connected to the third transceiver 116 via a reception (RxD) bus and a transmission (TxD) bus. The third transceiver 116 is connected to the second communication apparatus 200 5 and 200 6 via the bus 300 3. The third communication device 108 transmits and receives data via the third transceiver 116. The third communication device 108 may execute serial communication. As an example of the third communication device 108, CAN is applied.

第4の通信装置110は、受信用(RxD)のバス、送信用(TxD)のバスを介して第4のトランシーバ118と接続される。第4のトランシーバ118は、バス300を介して外部機器接続用コネクタ500と接続される。第4の通信装置110は、第4のトランシーバ118を介して、データを送受信する。第4の通信装置110は、シリアル通信を実行するようにしてもよい。第4の通信装置118の一実施例は、CANが適用される。 The fourth communication device 110 is connected to the fourth transceiver 118 via a reception (RxD) bus and a transmission (TxD) bus. The fourth transceiver 118 is connected to an external device connecting connector 500 via a bus 300 4. The fourth communication device 110 transmits and receives data via the fourth transceiver 118. The fourth communication device 110 may perform serial communication. As an example of the fourth communication device 118, CAN is applied.

マイクロコントローラ102は、外部機器接続用コネクタ500に接続された診断機400が正常であるか否かを判定する。マイクロコントローラ102は、診断機400が正常であると判定した場合、省電力モードから通常モードへ、第2の通信ノード200を遷移させる。マイクロコントローラ102は、診断機400が正常でないと判定した場合、省電力モードから通常モードへ、第2の通信ノード200を遷移させる制御を停止する。つまり、マイクロコントローラ102は、診断機400が正常でないと判定した場合、省電力モードから通常モードへ、第2の通信ノード200を遷移させない。 The microcontroller 102 determines whether or not the diagnostic machine 400 connected to the external device connection connector 500 is normal. If the microcontroller 102 determines that the diagnostic device 400 is normal, the microcontroller 102 transitions the second communication node 200 n from the power saving mode to the normal mode. If the microcontroller 102 determines that the diagnostic machine 400 is not normal, the microcontroller 102 stops the control for transitioning the second communication node 200 n from the power saving mode to the normal mode. That is, if the microcontroller 102 determines that the diagnostic device 400 is not normal, the microcontroller 102 does not transition the second communication node 200 n from the power saving mode to the normal mode.

<第1の通信装置100の機能>
図3は、第1の通信装置100の一実施例を示す機能ブロック図である。図3の機能ブロック図により表される機能は、主に、マイクロコントローラ102により実行される。つまり、マイクロコントローラ102は、状態判定部302、動作モード制御部304、異常検出カウンタ306として機能する。
<Function of First Communication Device 100>
FIG. 3 is a functional block diagram illustrating an embodiment of the first communication device 100. The functions represented by the functional block diagram of FIG. 3 are mainly executed by the microcontroller 102. That is, the microcontroller 102 functions as a state determination unit 302, an operation mode control unit 304, and an abnormality detection counter 306.

マイクロコントローラ102の内部に記憶されたアプリケーション(ファームウェア)に従ってマイクロコントローラ102により、状態判定部302、動作モード制御部304、異常検出カウンタ306としての機能が実行されるのが好ましい。また、記憶部(図示無し)に記憶されたアプリケーションに従ってマイクロコントローラ102により、状態判定部302、動作モード制御部304、異常検出カウンタ306としての機能が実行されてもよい。   It is preferable that the function as the state determination unit 302, the operation mode control unit 304, and the abnormality detection counter 306 is executed by the microcontroller 102 in accordance with an application (firmware) stored in the microcontroller 102. Further, the functions as the state determination unit 302, the operation mode control unit 304, and the abnormality detection counter 306 may be executed by the microcontroller 102 according to the application stored in the storage unit (not shown).

状態判定部302は、外部機器接続用コネクタ500に接続された診断機400の状態を判定する。例えば、状態判定部302は、バス300の電位の変化に基づいて、診断機400の状態を判定するのが好ましい。例えば、診断機400によりバス300に電圧が印加され、その電圧は、第4のトランシーバ118から、受信用(RxD)のバスを介して、第4の通信装置110へと伝送される。 The state determination unit 302 determines the state of the diagnostic machine 400 connected to the external device connection connector 500. For example, state determination unit 302, based on the change in the potential of the bus 300 4, preferably to determine the status of the diagnostic device 400. For example, the voltage on the bus 300 4 is applied by the diagnostic device 400, the voltage from the fourth transceiver 118, via the bus for receiving (RxD), it is transmitted to the fourth communication device 110.

状態判定部302は、第4の通信装置110へ伝送されたバス300の電位を検出する。状態判定部302は、該電位の変化に基づいて、診断機400の状態を判定する。状態判定部302は、バス300の電位が略一定である場合には、診断機400は正常であると判定する。状態判定部302は、所定の時間におけるバス300の電位の変更回数が閾値(以下、「変更回数閾値」という)以上である場合、診断機400が正常でないと判定する。また、状態判定部302は、所定の時間におけるパス300の電位の変更の回数が変更回数閾値未満である場合、診断機400が正常であると判定する。例えば、電位の変動の閾値が予め設定され、状態判定部302は、電位の変化が該閾値を超える場合に、電位が変更されたと判断するのが好ましい。 State determining unit 302 detects the fourth transmission potentials of the bus 300 4 to the communication device 110. The state determination unit 302 determines the state of the diagnostic machine 400 based on the change in the potential. State determining unit 302 determines that when the potential of the bus 300 4 is substantially constant, the diagnostic device 400 is normal. State determining unit 302, the number of changes of the potential of the bus 300 4 in a predetermined time threshold (hereinafter, "number of changes threshold" hereinafter) is equal to or greater than, determines that the diagnostic apparatus 400 is not normal. The state determination unit 302, if the number of changes in the potential of the path 300 4 at a given time is less than the number of changes the threshold, determines that the diagnostic apparatus 400 is normal. For example, it is preferable that a threshold value for potential fluctuation is set in advance, and the state determination unit 302 determines that the potential has been changed when the change in potential exceeds the threshold value.

図4は、診断機400との間で通信が開始される場合にバス300から検出される電位の一実施例を示す。 Figure 4 illustrates one embodiment of a potential detected from the bus 300 4 When the communication is started between the diagnostic device 400.

診断機400により通信が開始された場合には、バス300の電位は所定の時間略一定となる。状態判定部302は、通信が開始されたことを検出してから所定の時間バス300の電位が略一定であることを検出した場合には、動作モード制御部304に、通信が開始されたことを通知する。 If the communication is initiated by the diagnostic apparatus 400, the potential of the bus 300 4 becomes the predetermined time substantially constant. State determining unit 302, when the potential of time after detecting that the communication has started a predetermined bus 300 4 detects that a substantially constant, the operation mode control unit 304, communication is started Notify that.

一方、診断機400が故障している場合や、ノイズが発生した場合には、バス300の電位は所定の時間変動する。状態判定部302は、通信が開始されたことを検出してから所定の時間バス300の電位が変動する場合には、動作モード制御部304に、通信が開始されたことを通知しない。つまり、状態判定部302は、通信が開始されたことを検出してから所定の時間バス300の電位が変動する場合には、待機する。 On the other hand, and if the diagnosis unit 400 has failed, when the noise is generated, the potential of the bus 300 4 varies predetermined time. State determining unit 302, when the potential of the predetermined since it is detected that the communication has started time bus 300 4 fluctuates, the operation mode control unit 304 does not notify that communication has started. In other words, the state determining unit 302, when the potential of time after detecting that the communication has started a predetermined bus 300 4 fluctuates waits.

また、状態判定部302は、第2の通信ノード200を通常モードに遷移させた後であっても、通信開始から一定時間が経過しても診断機400からのデータが受信されない場合には、異常検出カウンタ306の値をカウントアップする。状態判定部302は、異常検出カウンタ306の値が異常検出閾値以上となった場合には、診断機400の状態が異常になったと判定するのが好ましい。診断機400の状態が異常になったと判定した場合、状態判定部302は、動作モード制御部304に、異常状態になったことを通知するのが好ましい。 In addition, the state determination unit 302 does not receive data from the diagnostic device 400 even after the second communication node 200 n has been switched to the normal mode, even after a certain period of time has elapsed since the start of communication. Then, the value of the abnormality detection counter 306 is counted up. The state determination unit 302 preferably determines that the state of the diagnostic device 400 has become abnormal when the value of the abnormality detection counter 306 is equal to or greater than the abnormality detection threshold. When it is determined that the state of the diagnostic machine 400 has become abnormal, the state determination unit 302 preferably notifies the operation mode control unit 304 that an abnormal state has occurred.

また、状態判定部302には、車両状態を表す情報(以下、「車両状態情報」という)が入力される。車両状態情報には、走行状態、停車状態、ACCがオンにされたこと等が含まれる。状態判定部302は、診断機400が異常であると判定した後に、走行状態であること示す車両状態情報が入力された場合、診断機400の判定結果をリセットする。また、異常検出カウンタ306の値をリセットする。このようにすることにより、診断機400の診断結果が維持され、第2の通信ノード200が低電圧モードに維持され続けるのを防止できる。 In addition, information indicating the vehicle state (hereinafter referred to as “vehicle state information”) is input to the state determination unit 302. The vehicle state information includes a traveling state, a stopped state, that the ACC is turned on, and the like. The state determination unit 302 resets the determination result of the diagnosis device 400 when vehicle state information indicating that the diagnosis device 400 is in a traveling state is input after determining that the diagnosis device 400 is abnormal. Also, the value of the abnormality detection counter 306 is reset. By doing in this way, the diagnostic result of the diagnostic machine 400 is maintained, and it can be prevented that the second communication node 200 n is continuously maintained in the low voltage mode.

異常検出カウンタ306は、状態判定部302と接続される。異常検出カウンタ306は、通信開始から一定時間が経過しても診断機400からのデータが受信されない回数をカウントする。   The abnormality detection counter 306 is connected to the state determination unit 302. The abnormality detection counter 306 counts the number of times that data from the diagnostic device 400 is not received even after a predetermined time has elapsed since the start of communication.

動作モード制御部304は、状態判定部302と接続される。動作モード制御部304は、状態判定部302から通信が開始されたことが通知された場合に、第2の通信ノード200を通常モードに遷移させる。動作モード制御部304は、第1の通信装置104、第2の通信装置106、第3の通信装置108に、バス300の電位を伝送するのが好ましい。 The operation mode control unit 304 is connected to the state determination unit 302. The operation mode control unit 304 transitions the second communication node 200 n to the normal mode when notified from the state determination unit 302 that communication has started. Operation mode control unit 304, the first communication device 104, the second communication device 106, the third communication device 108, it is preferable to transmit the potential of the bus 300 4.

バス300の電位は、第1の通信装置104から送信用(TxD)バスを介して第1のトランシーバ112へ伝送される。さらに、バス300の電位は、第1のトランシーバ112からバス300を介して第2の通信ノード200及び200へ伝送される。 The potential of the bus 300 4 is transmitted through the transmission (TxD) bus from the first communication device 104 to the first transceiver 112. Furthermore, the potential of the bus 300 4 is transmitted from the first transceiver 112 bus 300 1 to the second communication node 200 1 and 200 2 via the.

バス300の電位は、第2の通信装置106から送信用(TxD)バスを介して第2のトランシーバ114へ伝送される。さらに、バス300の電位は、第2のトランシーバ114からバス300を介して第2の通信ノード200及び200へ伝送される。 The potential of the bus 300 4 is transmitted from the second communication device 106 to the second transceiver 114 via a transmission (TxD) bus. Furthermore, the potential of the bus 300 4 is transmitted from the second transceiver 114 via the bus 300 2 to the second communication node 200 3 and 200 4.

バス300の電位は、第3の通信装置108から送信用(TxD)バスを介して第2のトランシーバ116へ伝送される。さらに、バス300の電位は、第3のトランシーバ116からバス300を介して第2の通信ノード200及び200へ伝送される。 The potential of the bus 300 4 is transmitted through the transmission (TxD) bus from the third communication device 108 to the second transceiver 116. Furthermore, the potential of the bus 300 4 is transmitted from the third transceiver 116 via the bus 300 3 to the second communication node 200 5 and 200 6.

第2の通信ノード200及び200は、バス300の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。第2の通信ノード200及び200は、バス300の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。第2の通信ノード200及び200は、バス300の電位を検出し、該電位に基づいて、低電圧モードから通常モードへ遷移する。 The second communication nodes 200 1 and 200 2 detect the potential of the bus 300 1 and make a transition from the low voltage mode to the normal mode based on the potential. The second communication node 200 3 and 200 4 detects the potential of the bus 300 2, based on said potential transitions from a low voltage mode to the normal mode. The second communication node 200 5 and 200 6 detects the potential of the bus 300 3, based on said potential transitions from a low voltage mode to the normal mode.

また、動作モード制御部304は、状態判定部302から異常状態になったことを通知された場合に、第2の通信ノード200を通常モードから低電圧モードに遷移させる。動作モード制御部304は、第1の通信装置104、第2の通信装置106、第3の通信装置108に、低電圧モードへ遷移する命令を伝送するのが好ましい。 Further, the operation mode control unit 304 transitions the second communication node 200 n from the normal mode to the low voltage mode when notified from the state determination unit 302 that an abnormal state has occurred. It is preferable that the operation mode control unit 304 transmits a command to make a transition to the low voltage mode to the first communication device 104, the second communication device 106, and the third communication device 108.

低電圧モードへ遷移する命令は、第1の通信装置104から送信用(TxD)バスを介して第1のトランシーバ112へ伝送される。さらに、低電圧モードへ遷移する命令は、第1のトランシーバ112からバス300を介して第2の通信ノード200及び200へ伝送される。 The command to transition to the low voltage mode is transmitted from the first communication device 104 to the first transceiver 112 via a transmission (TxD) bus. Further, instructions to transition to the low voltage mode is transmitted from the first transceiver 112 bus 300 1 to the second communication node 200 1 and 200 2 via the.

低電圧モードへ遷移する命令は、第2の通信装置106から送信用(TxD)バスを介して第2のトランシーバ114へ伝送される。さらに、低電圧モードへ遷移する命令は、第2のトランシーバ114からバス300を介して第2の通信ノード200及び200へ伝送される。 The command to transition to the low voltage mode is transmitted from the second communication device 106 to the second transceiver 114 via a transmission (TxD) bus. Further, instructions to transition to the low voltage mode is transmitted from the second transceiver 114 via the bus 300 2 to the second communication node 200 3 and 200 4.

低電圧モードへ遷移する命令は、第3の通信装置108から送信用(TxD)バスを介して第2のトランシーバ116へ伝送される。さらに、低電圧モードへ遷移する命令は、第3のトランシーバ116からバス300を介して第2の通信ノード200及び200へ伝送される。 The command to transition to the low voltage mode is transmitted from the third communication device 108 to the second transceiver 116 via the transmission (TxD) bus. Further, instructions to transition to the low voltage mode is transmitted from the third transceiver 116 via the bus 300 3 to the second communication node 200 5 and 200 6.

第2の通信ノード200及び200は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。第2の通信ノード200及び200は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。第2の通信ノード200及び200は、低電圧モードへ遷移する命令を検出し、該低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ遷移する。 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の通信ノード200
図5は、第2の通信ノード200の一実施例を示す。図2には、主に、第2の通信ノード200のハードウエア構成が示される。
<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の通信ノード200は、マイクロコントローラ202と、トランシーバ206とを備える。 The second communication node 200 n includes a microcontroller 202 and a transceiver 206.

マイクロコントローラ202は、通信装置204を有する。マイクロコントローラ202は、トランシーバ206を介して、バス300と接続される。マイクロコントローラ202は、自第2の通信ノード200の状態を制御する。また、マイクロコントローラ202は、データを送受信する制御を実行する。 The microcontroller 202 has a communication device 204. The microcontroller 202 is connected to the bus 300 m via the transceiver 206. The microcontroller 202 controls the state of the second communication node 200 n itself. In addition, the microcontroller 202 executes control for transmitting and receiving data.

通信装置204は、トランシーバ206を介して、データを送受信する。通信装置204は、シリアル通信を実行するようにしてもよい。通信装置204の一実施例は、CANが適用される。   The communication device 204 transmits and receives data via the transceiver 206. The communication device 204 may execute serial communication. As an example of the communication device 204, CAN is applied.

トランシーバ206は、通信装置204と、送信用(TxD)用バス、受信用(RxD)バスを介して接続される。トランシーバ206は、バス300に、通信装置204からの送信要求、データを送信する。また、トランシーバ206は、バス300の電位を検出し、通信装置204へ通知する。また、トランシーバ206は、第1の通信装置100からのデータを受信し、通信装置204に入力する。 The transceiver 206 is connected to the communication device 204 via a transmission (TxD) bus and a reception (RxD) bus. The transceiver 206 transmits a transmission request and data from the communication device 204 to the bus 300 m . In addition, the transceiver 206 detects the potential of the bus 300 m and notifies the communication device 204 of it. The transceiver 206 receives data from the first communication device 100 and inputs the data to the communication device 204.

<第2の通信ノード200の機能>
第2の通信ノード200の機能の一実施例について説明する。
<Second communication node 200 n functions>
An example of the function of the second communication node 200 n will be described.

図6は、第2の通信ノード200の機能の一実施例を示す機能ブロック図である。この機能ブロック図により表される機能は、主に、マイクロコントローラ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 microcontroller 202. For example, the microcontroller 202 may be executed by operating according to a program such as firmware.

マイクロコントローラ202は、動作モード制御部602として機能する。   The microcontroller 202 functions as the operation mode control unit 602.

動作モード制御部602は、通信装置204と接続される。動作モード制御部602は、第2の通信ノード200の動作モードを制御する。動作モードには、通常モードと、低電圧モードとが含まれる。動作モード制御部602には、通信装置204から、トランシーバ206により検出されたバス300の電位が通知される。動作モード制御部602は、バス300の電位に基づいて、低電圧モードから通常モードへ、動作モードを制御する。 The operation mode control unit 602 is connected to the communication device 204. The operation mode control unit 602 controls the operation mode of the second communication node 200 n . The operation mode includes a normal mode and a low voltage mode. The operation mode control unit 602 is notified of the potential of the bus 300 m detected by the transceiver 206 from the communication device 204. The operation mode control unit 602 controls the operation mode from the low voltage mode to the normal mode based on the potential of the bus 300 m .

また、動作モード制御部602は、低電圧モードへ遷移する命令に基づいて、通常モードから低電圧モードへ、動作モードを制御する。   Further, the operation mode control unit 602 controls the operation mode from the normal mode to the low voltage mode based on a command for transition to the low voltage mode.

<通信システムの動作(その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 first communication node 100.

図7には、診断機400を異常状態であるか否かを判定する際の動作が示される。
通信システムの動作の一実施例では、第1の通信ノード100、第2の通信ノード200は、低電圧モードである。
FIG. 7 shows an operation when determining whether or not the diagnostic machine 400 is in an abnormal state.
In one embodiment of the operation of the communication system, the first communication node 100 and the second communication node 200 n are in the low voltage mode.

ステップS702では、第1の通信ノード100は、診断機400により通信が開始されたことを検出したか否かを判定する。診断機400により通信が開始されたことを検出しないと判定した場合、ステップS702に戻る。   In step S <b> 702, the first communication node 100 determines whether or not the diagnostic machine 400 detects that communication has started. When it is determined that the diagnosis machine 400 does not detect that communication has started, the process returns to step S702.

ステップS704では、第1の通信ノード100は、診断機400により通信が開始されたことを検出した場合、診断機400の状態が正常であるか否かを判定する。診断機400の状態が正常でないと判定した場合、終了する。   In step S704, when the first communication node 100 detects that communication is started by the diagnostic machine 400, the first communication node 100 determines whether the state of the diagnostic machine 400 is normal. If it is determined that the state of the diagnostic machine 400 is not normal, the process ends.

ステップS706では、診断機400の状態が正常であると判定した場合、第1の通信ノード100は、通信システムを通常モードへ移行させる。つまり、第1の通信ノード100は、低電圧モードから通常モードへ、第2の通信ノード200を移行させる。低電圧モードから通常モードへ、第2の通信ノード200を移行させることにより、第2の通信ノード200は、通信を実行することができる。 In step S706, when it is determined that the state of the diagnostic machine 400 is normal, the first communication node 100 shifts the communication system to the normal mode. That is, the first communication node 100 shifts the second communication node 200 n from the low voltage mode to the normal mode. From the low voltage mode to the normal mode, by shifting the second communication node 200 n, the second communication node 200 n may perform the communication.

ステップS708では、第1の通信ノード100は、診断機400からデータを受信したか否かを判定する。   In step S708, the first communication node 100 determines whether data has been received from the diagnostic machine 400.

ステップS710では、診断機400からデータを受信しないと判定した場合、第1の通信ノード100は、通信開始から一定時間が経過したか否かを判定する。通信開始から一定時間が経過しないと判定した場合、ステップS708に戻る。   In step S710, when it is determined that data is not received from the diagnostic machine 400, the first communication node 100 determines whether or not a certain time has elapsed since the start of communication. If it is determined that a certain time has not elapsed since the start of communication, the process returns to step S708.

ステップ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 first communication node 100 increases the count of the abnormality detection counter 306.

ステップS714では、第1の通信ノード100は、異常検出カウンタ306が異常検出閾値以上であるか否かを判定する。異常検出カウンタ306が異常検出閾値以上でないと判定した場合、終了する。   In step S714, the first communication node 100 determines whether or not the abnormality detection counter 306 is greater than or equal to the abnormality detection threshold. If the abnormality detection counter 306 determines that it is not greater than or equal to the abnormality detection threshold, the process ends.

ステップS716では、ステップS714で異常検出カウンタ306が異常検出閾値以上であると判定した場合、第1の通信ノード100は、診断機400が異常状態であると判定する。   In step S716, when it is determined in step S714 that the abnormality detection counter 306 is greater than or equal to the abnormality detection threshold, the first communication node 100 determines that the diagnostic machine 400 is in an abnormal state.

ステップS718では、ステップS708において、診断機400からデータを受信したと判定した場合、第1の通信ノード100は、異常検出カウンタ306をクリアし、終了する。   In step S718, if it is determined in step S708 that data has been received from the diagnostic machine 400, the first communication node 100 clears the abnormality detection counter 306 and ends.

<通信システムの動作(その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 first communication node 100.

図7には、診断機400を異常状態であると判定した状態を初期状態に復帰される際の動作が示される。   FIG. 7 shows an operation when the state in which the diagnostic machine 400 is determined to be in an abnormal state is returned to the initial state.

ステップS802では、第1の通信ノード100は、車両が走行中であるか否かを判定する。車両が走行中であると判定しない場合、ステップS802に戻る。   In step S802, the first communication node 100 determines whether or not the vehicle is traveling. If it is not determined that the vehicle is traveling, the process returns to step S802.

ステップS804では、ステップS802で車両が走行中であると判定された場合、第1の通信ノード100は、異常検出カウンタ306をクリアする。   In step S804, when it is determined in step S802 that the vehicle is traveling, the first communication node 100 clears the abnormality detection counter 306.

ステップS806では、診断機400を異常状態であると判定した状態を正常状態へ復帰させる。   In step S806, the state where diagnostic device 400 is determined to be in an abnormal state is returned to a normal state.

図8に示されるフローチャートにおいて、ステップS804の処理とステップS806の処理とを入れ替えるようにしてもよい。   In the flowchart shown in FIG. 8, the process in step S804 and the process in step S806 may be interchanged.

通信システムの一実施例によれば、通信が開始されたことが検出されても、通信開始から所定の時間の間にバス300の電位の変動が検出された場合には、動作モード制御部304に通信が開始されたことが通知されないため、第2の通信ノード200−200は、通常モードへ遷移しない。従って、診断機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 bus 300 4 is detected during from the start of communication of the predetermined time, the operation mode control unit for 304 to communication that has been started is not notified, the second communication node 200 1 -200 6 are not transition to the normal mode. Therefore, even if it is erroneously detected that communication has been started due to a failure of the diagnostic machine 400 or noise, it can be determined whether or not communication has actually started from the diagnostic machine 400 based on the subsequent potential change. . For this reason, it is possible to reduce the erroneous transition of the communication node from the low voltage mode to the normal mode. Since it is possible to reduce the erroneous transition of the communication node to the normal mode, it is possible to reduce the battery exhaustion caused by the cause.

さらに、低電圧モードから通常モードへ通信ノードを遷移させた後でも、診断機400が異常であると判断した場合には、第2の通信ノード200−200を低電圧モードへ遷移させる。第2の通信ノード200−200を低電圧モードへ遷移させることにより消費電力を低減できる。このため、そのことが原因によるバッテリ上がりを低減できる。 Furthermore, even after transitions the communication node from the low voltage mode to the normal mode, if the diagnostic device 400 is abnormal shifts the second communication node 200 1 -200 6 to the low voltage mode. The second communication node 200 1 -200 6 can reduce the power consumption by transitioning to a low voltage mode. For this reason, it is possible to reduce battery exhaustion caused by this.

以上、本発明は特定の実施例及び変形例を参照しながら説明されてきたが、各実施例及び変形例は単なる例示に過ぎず、当業者は様々な変形例、修正例、代替例、置換例等を理解するであろう。説明の便宜上、本発明の実施例に従った装置は機能的なブロック図を用いて説明されたが、そのような装置はハードウエアで、ソフトウエアで又はそれらの組み合わせで実現されてもよい。本発明は上記実施例に限定されず、本発明の精神から逸脱することなく、様々な変形例、修正例、代替例、置換例等が包含される。   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の通信ノード
200(nは、n>1の整数) 第2の通信ノード
300(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) Bus 400 Diagnostic machine 500 Connector for connecting external device

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に記載の中継装置。 The relay device according to claim 1, wherein the operation mode control unit determines that the state of the tool outside the vehicle is abnormal when the number of changes of the bus in the predetermined time is equal to or greater than a threshold value . 前記動作モード制御部は、前記状態判定部により前記車両外部のツールの状態が正常であると判定された場合に、前記電子制御ユニットを前記通信できる状態へ遷移させる、請求項1又は2に記載の中継装置。 The operation mode control unit, when the state of the vehicle outside of the tool is determined to be normal by the status determination unit shifts the electronic control unit to a state capable of the communication, to claim 1 or 2 The relay device described. 前記状態判定部は、前記動作モード制御部により前記電子制御ユニットを前記通信できる状態へ遷移させる制御が実行され、前記車両外部のツールと前記電子制御ユニットとの間の前記通信が開始されてから所定の時間が経過しても、前記車両外部のツールからのデータが受信されない回数に基づいて、前記車両外部のツールの状態が異常であるか否かを判定する、請求項3に記載の中継装置。 The state determination unit is configured by the operation mode control unit the electronic control unit is a control run for shifting to a state where it is the communication, the communication is started between the vehicle external tool and said electronic control unit The determination of whether or not the state of the tool outside the vehicle is abnormal based on the number of times that data from the tool outside the vehicle is not received even after a predetermined time has elapsed Relay device. 前記状態判定部は、車両の状態を示す情報に基づいて、前記車両外部のツールの状態の判定結果をクリアするか否かを判定する、請求項1ないし4のいずれか1項に記載の中継装置。   The relay according to any one of claims 1 to 4, wherein the state determination unit determines whether or not to clear a determination result of a state of the tool outside the vehicle based on information indicating a state of the vehicle. 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.
JP2012286153A 2012-12-27 2012-12-27 Relay device, communication system, and communication method Expired - Fee Related JP5949538B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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