JP4560000B2 - Operation monitoring unit - Google Patents
Operation monitoring unit Download PDFInfo
- Publication number
- JP4560000B2 JP4560000B2 JP2006099561A JP2006099561A JP4560000B2 JP 4560000 B2 JP4560000 B2 JP 4560000B2 JP 2006099561 A JP2006099561 A JP 2006099561A JP 2006099561 A JP2006099561 A JP 2006099561A JP 4560000 B2 JP4560000 B2 JP 4560000B2
- Authority
- JP
- Japan
- Prior art keywords
- electronic control
- message
- control unit
- state
- arithmetic processing
- 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
Description
本発明は、車両に搭載する複数の電子制御ユニットの動作状態を監視する動作監視ユニットに関し、特に車両の電源状態に対応して起動または停止する各電子制御ユニットの動作状態を監視する動作監視ユニットに関するものである。 The present invention relates to an operation monitoring unit that monitors operation states of a plurality of electronic control units mounted on a vehicle, and in particular, an operation monitoring unit that monitors operation states of electronic control units that are started or stopped in response to a power supply state of the vehicle. It is about.
従来より、車両に各種の電装機器の制御を行う電子制御ユニット(ECU)が搭載されており、該ECUの数は増加する傾向にある。また、各ECUはLIN,CAN、FlexRay(登録商標)等の車載LANによって接続されて、互いにメッセージを送受信できるように構成されている。 Conventionally, an electronic control unit (ECU) that controls various electrical devices is mounted on a vehicle, and the number of ECUs tends to increase. In addition, each ECU is connected by an in-vehicle LAN such as LIN, CAN, FlexRay (registered trademark), and configured to be able to transmit and receive messages to and from each other.
車載LANによって接続されるECUはメッセージの送受信を行うときに、メッセージの受信が確実に行えたかどうかを確認するために例えば受信確認信号(以下、ACKという)を用いることがある。メッセージを送信したECUはACKを受信できるまでメッセージを再送するが、停止状態(本明細書において停止状態とはメモリバックアップを行いながら待機している状態も含む)であるECUからACKが返されることはない。 When the ECU connected by the in-vehicle LAN transmits and receives a message, for example, a reception confirmation signal (hereinafter referred to as ACK) may be used to confirm whether or not the message has been reliably received. The ECU that sent the message resends the message until it can receive the ACK, but an ACK is returned from the ECU that is in a stopped state (in this specification, the stopped state includes a state of waiting while performing memory backup). There is no.
このため、ECUの動作状態を確認する必要性がある。また、近年では特開2000−132410号公報(特許文献1)に示されるように、OSEK(Offene Systeme und deren Elekrtonik im Kraftfahrzeug)に代表されるAPI(Application Program Interface)が、車載LANに用いられるようになっている。 For this reason, it is necessary to check the operation state of the ECU. In recent years, as shown in Japanese Patent Laid-Open No. 2000-132410 (Patent Document 1), an API (Application Program Interface) typified by OSEK (Offene System und deren Elekrtonik im Kraftfahrzeug) is used for an in-vehicle LAN. It has become.
特許文献1のようなものでは、動作中のECU間のみで巡回メッセージを送受信できるものの、車載LANの異常を検出することはできなかった。つまり、動作状態であるはずのECUが停止していたり、停止状態であるはずのECUが漏電などの異常状態によって動作しているときにこれを検出することはできなかった。
With the thing like
とりわけ、バッテリを電源とする車載LANの場合、ECUによって消費される電力を削減することは重要であり、イグニッションキーをオフの状態にしたときに動作するはずのないECUが起動してしまっていると、バッテリに蓄えた電力を早く消耗させてしまう原因となる。 In particular, in the case of an in-vehicle LAN that uses a battery as a power source, it is important to reduce the power consumed by the ECU, and an ECU that should not operate when the ignition key is turned off has started. As a result, the power stored in the battery is quickly consumed.
本発明は前記問題を考慮に入れてなされたものであり、車載LANに接続される各ECUの動作状態を監視して、車載LANの状態を監視することを可能とする動作監視ユニットを提供することを課題とする。 The present invention has been made in consideration of the above problems, and provides an operation monitoring unit that can monitor the operation state of each ECU connected to the in-vehicle LAN and monitor the state of the in-vehicle LAN. This is the issue.
前記課題を解決するため、本発明は、
複数の電子制御ユニットと接続されている車載LANに伝送線を介して接続される動作監視ユニットであって、
前記全電子制御ユニットから送信されるメッセージを受信するメッセージ受信手段と、 前記メッセージ受信手段で受信した各メッセージに付与された電子制御ユニット識別用の識別情報から、該メッセージを送信した動作状態にある電子制御ユニットを判別すると共に、各電子制御ユニットの動作状態を監視する演算処理手段を備え、
前記演算処理手段は、車両の電源状態切替に対応する前記各電子制御ユニットの動作状態を記録してなる動作状態一覧表を参照し、前記動作状態にあると判別した電子制御ユニットが動作しないはずの電子制御ユニットであると動作を停止させることを特徴とする動作監視ユニットを提供している。
In order to solve the above problems, the present invention provides:
An operation monitoring unit connected via a transmission line to an in-vehicle LAN connected to a plurality of electronic control units,
A message receiving means for receiving a message transmitted from all the electronic control units ; and an operating state in which the message is transmitted from identification information for identifying an electronic control unit attached to each message received by the message receiving means. Along with discriminating the electronic control unit, it comprises arithmetic processing means for monitoring the operating state of each electronic control unit ,
The arithmetic processing means refers to an operation state list obtained by recording the operation state of each electronic control unit corresponding to the power supply state switching of the vehicle, and the electronic control unit determined to be in the operation state should not operate. The operation monitoring unit is characterized by stopping the operation of the electronic control unit .
前記構成によれば、メッセージ受信手段が車載LANに送信されるメッセージを受信すると、演算処理手段は各メッセージに付与された識別情報を用いて当該メッセージを送信した動作中の電子制御ユニットを判別することができる。そして、演算処理手段は各時点で動作する必要のある電子制御ユニットが確かに動作状態であるかどうかを確認することができる。 According to the above configuration, when the message receiving unit receives a message transmitted to the in-vehicle LAN, the arithmetic processing unit determines the operating electronic control unit that transmitted the message using the identification information given to each message. be able to. And the arithmetic processing means can confirm whether the electronic control unit which needs to operate | move at each time is surely an operation state.
前記各電子制御ユニットに動作確認メッセージを送信するメッセージ送信手段を備え、
前記動作メッセージに対する電子制御ユニットからの送信メッセージを受信することにより、該電子制御ユニットの動作状態を監視する構成としていることが好ましい。すなわち、動作監視ユニット側のメッセージ送信手段が積極的に動作確認メッセージを送信することにより各電子制御ユニットが自らの必要に応じてメッセージを送信するときを待つことなく、直ちに各電子制御ユニットの動作状態を監視することができる。
Message sending means for sending an operation confirmation message to each electronic control unit;
It is preferable that the operation state of the electronic control unit is monitored by receiving a transmission message from the electronic control unit in response to the operation message. That is, the operation of each electronic control unit is immediately performed without waiting for each electronic control unit to send a message according to its own needs by the message transmitting means on the operation monitoring unit side actively transmitting an operation confirmation message. The status can be monitored.
また、本発明は
複数の電子制御ユニットが伝送線を介して接続され、動作状態の各電子制御ユニットの間に論理リングが構築されると共に該論理リング内で巡回メッセージを巡回させるように送受信する車載LANに対して、伝送線を介して接続される動作監視ユニットであって、 前記全電子制御ユニットから送信される巡回メッセージを受信するメッセージ受信手段と、 前記メッセージ受信手段で受信した前記巡回メッセージに付与された電子制御ユニット識別用の識別情報から、該巡回メッセージを送信した動作状態にある電子制御ユニットを判別すると共に、各電子制御ユニットの動作状態を監視する演算処理手段を備え、
前記演算処理手段は、車両の電源状態切替に対応する前記各電子制御ユニットの動作状態を記録してなる動作状態一覧表を参照し、前記動作状態にあると判別した電子制御ユニットが動作しないはずの電子制御ユニットであると動作を停止させることを特徴とする動作監視ユニットを提供している。
In the present invention, a plurality of electronic control units are connected via a transmission line, and a logical ring is constructed between each electronic control unit in an operating state, and a cyclic message is circulated within the logical ring. An operation monitoring unit connected to a vehicle-mounted LAN via a transmission line, message receiving means for receiving a cyclic message transmitted from all the electronic control units, and the cyclic message received by the message receiving means from the identification information of the electronic control unit identification assigned to, together determine the electronic control unit is in operation that sent the該巡times message, an arithmetic processing means for monitoring the operating state of the electronic control unit,
The arithmetic processing means refers to an operation state list obtained by recording the operation state of each electronic control unit corresponding to the power supply state switching of the vehicle, and the electronic control unit determined to be in the operation state should not operate. The operation monitoring unit is characterized by stopping the operation of the electronic control unit .
論理リングを構築する車載LANは、動作している電子ユニット間において巡回メッセージを巡回させるように送受信する。このとき、前記メッセージ受信手段は車載LANに送信される前記巡回メッセージを受信すると、演算処理手段は巡回メッセージに付与された識別情報を用いて動作中の電子制御ユニット判別することができる。そして、演算処理手段は、巡回メッセージが安定して送受信されていることを確認すると、この安定状態において動作する必要のある電子制御ユニットが確かに動作状態であるかどうかを確認することができるだけでなく、停止しているはずの電子制御ユニットが確かに停止状態であることを確認することができる。 The in-vehicle LAN that constructs the logical ring transmits and receives so as to circulate a cyclic message between the operating electronic units. At this time, when the message receiving means receives the cyclic message transmitted to the in-vehicle LAN, the arithmetic processing means can determine the electronic control unit in operation using the identification information given to the cyclic message. When the arithmetic processing means confirms that the cyclic message is stably transmitted and received, the arithmetic processing means can only confirm whether or not the electronic control unit that needs to operate in this stable state is surely in the operating state. It can be confirmed that the electronic control unit that should have stopped is surely stopped.
前記演算処理手段は、前記電子制御ユニットから論理リングを構築するための起動通知メッセージの受信後に、一巡する前記巡回メッセージを受信した時点で、前記論理リングが安定状態であると判断するものであることが好ましい。つまり、車両の電源状態が切り替わると起動する電子制御ユニットや、停止する電子制御ユニットが生じる。そして、電子制御ユニットが起動すると、車載LANの論理リングに加わるために起動通知メッセージを送信し、論理リングに前記新たに起動した電子制御ユニットが加えられる。つまり、電源状態の切り替わり時点以降のしばらくの時間は、各電子制御ユニットから起動通知メッセージが送信されるので、前記メッセージ受信手段は起動通知メッセージを受信する。 The arithmetic processing means determines that the logical ring is in a stable state when the cyclic message is received once after the activation notification message for constructing the logical ring is received from the electronic control unit. It is preferable. That is, an electronic control unit that starts when the power state of the vehicle is switched and an electronic control unit that stops are generated. When the electronic control unit is activated, an activation notification message is transmitted to join the logical ring of the in-vehicle LAN, and the newly activated electronic control unit is added to the logical ring. That is, since the activation notification message is transmitted from each electronic control unit for a while after the power supply state is switched, the message receiving unit receives the activation notification message.
演算処理手段は、この起動通知メッセージを受信しなくなってから、少なくとも動作中の全電子制御ユニットを巡回する巡回メッセージを受信した時点で、論理リングが安定状態であると判断することにより、動作状態である電子制御ユニットと停止状態である電子制御ユニットをより確実に検出することができる。 The arithmetic processing means determines that the logical ring is in a stable state at the time of receiving at least a cyclic message that circulates all electronic control units in operation after receiving this activation notification message. It is possible to more reliably detect the electronic control unit and the electronic control unit in the stopped state.
前記車載LANは、前記伝送線と前記電子制御ユニットを群分けしてなる複数のセグメントと、セグメント間におけるメッセージの中継を行うゲートウェイとを備えるものであって、
前記ゲートウェイ内に前記メッセージ受信手段と前記演算処理手段を設け、
前記メッセージ受信手段は前記各セグメントを構成する各伝送線にそれぞれ接続され、
前記演算処理手段は前記各セグメントに属する電子制御ユニットの動作状態をそれぞれ監視するものであることが好ましい。
The in-vehicle LAN includes a plurality of segments obtained by grouping the transmission line and the electronic control unit, and a gateway that relays messages between the segments,
The message receiving means and the arithmetic processing means are provided in the gateway,
The message receiving means is connected to each transmission line constituting each segment,
It is preferable that the arithmetic processing means is for monitoring the operating states of the electronic control units belonging to the segments.
ゲートウェイに動作監視の機能を持たせることにより、複数のセグメント内に群分けされた各ECUの起動状態または停止状態を一つの演算処理手段によって監視することができる。また、ゲートウェイの基本的な構成に各伝送線に接続されてメッセージを受信可能とするメッセージ受信手段と、演算処理手段が含まれるので、このゲートウェイ内に動作監視ユニットを形成することにより、動作監視ユニットを低コストによって形成することができる。 By providing the gateway with an operation monitoring function, it is possible to monitor the starting state or the stopping state of each ECU grouped in a plurality of segments by one arithmetic processing means. In addition, since the basic configuration of the gateway includes message receiving means connected to each transmission line so as to be able to receive messages, and arithmetic processing means, the operation monitoring unit is formed in the gateway, thereby monitoring the operation. The unit can be formed at low cost.
前記のように、演算処理手段は、車両の状態に対応する各電子制御ユニットの動作状態を記録してなる動作状態一覧表を参照して、該一覧表を用いて車両の状態を切り替えた後に動作するはずの電子制御ユニットの監視を行い、動作中の電子制御ユニットが前記一覧表に示すものと相違するときに異常を検知し、一覧表の動作となるように処理するものである。つまり、車両の電源状態に合わせて動作するべき電子制御ユニットと停止するべき電子制御ユニットの一覧表を用いて、電子制御ユニットの動作状態を監視することにより、より確実な動作を行うことができる。 As described above, the arithmetic processing means refers to the operation state list obtained by recording the operation state of each electronic control unit corresponding to the state of the vehicle, and switches the vehicle state using the list. The electronic control unit that should operate is monitored, and when the operating electronic control unit is different from the one shown in the list, an abnormality is detected , and processing is performed so that the list is operated. That is, a more reliable operation can be performed by monitoring the operation state of the electronic control unit using a list of the electronic control unit that should operate according to the power supply state of the vehicle and the electronic control unit that should be stopped. .
前述したように、本発明によれば、電子制御ユニットが車載LANに送信するメッセージを用いて、各電子制御ユニットの動作状態を監視するので、動作しないはずの電子制御ユニットが車載LANにメッセージを送信した時点で、この電子制御ユニットが何らかの異常によって起動していることを監視することができる。したがって、電源の消費電力を無闇に引き上げている状況を早急に確認して、この電子制御ユニットを停止させることが可能である。逆に動作しているはずの電子制御ユニットが停止状態であることも確認できるので、この電子制御ユニットを起動させたり、異常の発見を警告することも可能である。 As described above, according to the present invention, since the operation state of each electronic control unit is monitored using the message transmitted from the electronic control unit to the vehicle-mounted LAN, the electronic control unit that should not operate sends a message to the vehicle-mounted LAN. At the time of transmission, it can be monitored that this electronic control unit is activated due to some abnormality. Therefore, it is possible to immediately confirm the situation in which the power consumption of the power source is being raised without interruption, and to stop the electronic control unit. Conversely, since it can be confirmed that the electronic control unit that should be operating is in a stopped state, it is also possible to activate the electronic control unit or warn of the discovery of an abnormality.
本発明の実施形態を図面を参照して説明する。
図1乃至図5は、本発明の第1実施形態を示すものである。
Embodiments of the present invention will be described with reference to the drawings.
1 to 5 show a first embodiment of the present invention.
図1に示すように、第1実施形態の動作監視ユニット1は、動作状態の監視対象となる複数の電子制御ユニット(ECU)2に、伝送線3を介して直接的に接続されている。4は車両に搭載するバッテリであり、5は常にバッテリ4に接続される+B電源線、6はイグニッションスイッチ7(イグニッションキーを回動操作することにより切り替わる電源状態の切り換えスイッチなど)がアクセサリ状態であるときにバッテリ4に接続されるACC電源線である。なお、以下の説明において区別が必要なときにはECU2に符号2A,2B…を付して示す。ECU2A,2B,2C…は+B電源線5によって常に給電されて常に動作し、ECU2D,2E,2F…はACC電源線電源線6によってイグニッションスイッチ7がアクセサリ状態であるときに給電されて動作するように構成されている。
As shown in FIG. 1, the
8は前記複数のECU2A,2B…と、これらのECU2A,2B…を互いに送受信可能に接続する一つの伝送線3とを備える車載LANであり、図1に示す各ECU2A,2B…は一つの伝送線3によって接続されることにより、一つの車載LAN8のセグメントSaを構成する例を示している。
8 is an in-vehicle LAN including the plurality of
前記動作監視ユニット1はゲートウェイGとしても機能するものであり、車載LAN8を各セグメントSa…(図1には一つのセグメントSaのみを示している)に分けて形成したときに、各セグメントSa…間におけるメッセージの中継を行うことを可能としている。したがって、以下の説明において動作監視ユニット1の中継機能を説明するときにはこの部材をゲートウェイGと表現することもある。
The
図2に示すように、前記動作監視ユニット1とECU2には、例えばCANなどの車載LANの規格に準拠するメッセージの送受信を行う車載LAN通信手段10,20を備えており、前記伝送線3はCANに準拠する車載LANのバスを構成するもの(以下、CANバスという)である。また、動作監視ユニット1側の車載LAN通信手段10はゲートウェイGとしてメッセージを中継する車載LAN8のセグメントSa,Sb…の数に合わせたポート10a,10b…を備える。
As shown in FIG. 2, the
なお、車載LAN8はCANのみならず、LIN、FlexRay(登録商標)などの車載LANであってもよく、各セグメントSa,…毎に異ならせるなど、自在に設定可能である。
The in-
また、前記車載LAN通信手段10は伝送線3を介して送受信されるメッセージを受信する機能および送信する機能を有するものであるから、メッセージ受信手段10rおよびメッセージ送信手段10sとしても動作する。
Further, since the in-vehicle LAN communication means 10 has a function of receiving and transmitting a message transmitted / received via the
11,21は前記動作監視ユニット1およびECU2内において、前記車載LAN通信手段10,20に接続されるCPUなどの演算処理手段であり、それぞれにおいて車載LAN8に論理リングRを構築する一例としてOSEKに準拠するインターフェースプログラムP1,P2を実行する。12は前記動作監視ユニット1に設けた記録手段であり、この記録手段12には、電源の状態に合わせて各ECU2…の動作状態を示す動作状態一覧表Tを記録している。
図3に示すように、動作状態一覧表Tは、電源状態S(Ron,Racc,Roff)と、論理リングR(Ron,Racc,Roff)の対応関係を示す一覧表である。なお、図3には電源状態Sとして「IG−ON」、「IG−ACC」、「IG−OFF」の3つの電源状態がある例を示しているが、本発明はこの点に限定されるものではない。また、図1,2には図面を簡略化するために、イグニッションキーをONの位置に回動させた状態「IG−ON」におけるON電源線の図示を省略している。 As shown in FIG. 3, the operation state list T is a list showing a correspondence relationship between the power state S (Ron, Racc, Roff) and the logical ring R (Ron, Racc, Roff). FIG. 3 shows an example in which the power supply state S includes three power supply states of “IG-ON”, “IG-ACC”, and “IG-OFF”, but the present invention is limited to this point. It is not a thing. 1 and 2 omit the illustration of the ON power supply line in the state “IG-ON” in which the ignition key is turned to the ON position in order to simplify the drawings.
前記インターフェースプログラムP1,P2はこれを実行するCPU11,21や周辺のハードウェア構成によって異なるが、以下の説明においてはOSEK/NMのインターフェースプログラムにすべて同じ符号P1を付して、これをNMインターフェースP1という。また、OSEK/COMのインターフェースプログラムにすべて同じ符号P2を伏して、これをCOMインターフェースP2という。
The interface programs P1 and P2 differ depending on the
さらに、P3は動作監視ユニット1内の演算処理手段11において実行される動作監視プログラムであって、該動作監視プログラムP3は前記NMインターフェースP1を用いて、前記OSEKの論理リングを構成するECU2…間において巡回するように送受信される巡回メッセージを受信することにより、論理リング内を巡回する巡回メッセージに付与された識別情報を用いて車載LAN8の状態確認を行うものである。また、P4は動作監視ユニット1がゲートウェイGとして機能するために必要な中継処理などを実行するためのアプリケーションプログラムである。同様に、P5はECU2がそれぞれの動作を行うためのアプリケーションプログラムである。
Further, P3 is an operation monitoring program executed in the arithmetic processing means 11 in the
前記OSEK/NMの論理リングRは車載LAN8の一つのセグメントに接続される各ECU2…が起動または停止するときに動的に変更され、ECU2…の状態が安定すると、論理リングR内で巡回する巡回メッセージも安定する。
The OSEK / NM logical ring R is dynamically changed when each
図4はOSEKの論理リングRが安定するまでの動作の時間経過をおって説明する図である。前記OSEK/NMを用いることにより、図4(A)に示すように、時点t0において3台のECU2…給電が開始し、時点t1,t2,t3においてECU2…が起動すると、起動した各ECU2…がそれぞれ車載LAN8への参加を要請する起動通知メッセージMa11,Ma12,Ma21,Ma31を送信し、これによって各ECU2…が他のECU2…の動作状態を確認して、所定時間間隔Δt毎に動作状態のECU2…間において巡回メッセージMr01,Mr02…を巡回させることができる。
FIG. 4 is a diagram for explaining the time elapsed until the OSEK logical ring R is stabilized. By using the OSEK / NM, as shown in FIG. 4 (A), when the three
そして、起動通知メッセージMa31を受信しなくなってから、少なくとも動作中の全ECU2…を一巡する巡回メッセージMr06〜Mr08を受信した時点t4には安定した論理リングRを形成することができる。なお、図4(A),4(B)には説明を簡単にするために、識別情報がそれぞれ「1」,「2」,「3」である3個のECU2…を用いて論理リングRを形成する例を示しているが、本発明はこの点に限定されるものではないことはいうまでもない。
A stable logical ring R can be formed at the time t4 when the cyclic messages Mr06 to Mr08 are received at least once for all the
また、図4(B)に示すように、OSEK/NMを用いたネットワーク管理を行う車載LAN8では、時点t5において、電源状態を切り替えて、時点t6において車載LAN8に接続していたECU2が停止するなどして車載LAN8から離脱するときには、巡回メッセージMr12が送信されてから最大時間間隔Δtmaxを経過した時点t7において、継続して動作中のECU2…から再び起動通知メッセージMa22,M32が送信される。そして、少なくとも動作中の全ECU2…を一巡する巡回メッセージMr14〜Mr15を受信した時点t8には車載LAN8から離脱したECU2を除いて新たに安定した論理リングRを形成することができる。
Further, as shown in FIG. 4B, in the in-
次に、図5を用いて、前記論理リングRを用いて車載LAN8を監視する前記動作監視プログラムP3の動作を説明する。また、動作監視プログラムP3は、前記電源の状態を切り替えたときに実行されるものである。
Next, the operation of the operation monitoring program P3 for monitoring the in-
S1は論理リングRが安定したかどうかを判断するステップである。この論理リングRが安定していることを判断するための指針は、電源状態の切り替え後に、前記起動通知メッセージMa11,…、Ma21,…、Ma31,…を受信することがなくなってから、少なくとも動作中の全電子制御ユニットを一巡する巡回メッセージMr01,Mr02…を受信したかどうかによって行うことができる。そして、論理リングRが安定するまでステップS1の処理を繰り返す。 S1 is a step of determining whether or not the logical ring R is stable. A guideline for determining that the logical ring R is stable is that at least operation after the activation notification messages Ma11,..., Ma21,. This can be done depending on whether or not a round message Mr01, Mr02,. Then, the process of step S1 is repeated until the logical ring R is stabilized.
また、該ステップS1の処理において、メッセージ受信手段10rにおいて巡回メッセージMr01…を受信すると、この巡回メッセージMr01…の識別情報を用いて論理リングRに含まれるECU2…の識別情報を記憶する。なお、このステップS1の安定状態の判断において電源状態の切り替え後の時間を所定時間と比較することも可能である。
In the processing of step S1, when the message receiving means 10r receives the circular message Mr01..., The identification information of the
S2は前記論理リングRを動作状態一覧表Tと比較するステップである。すなわち、前記ステップS1において安定したと判断した論理リングRにおける各巡回メッセージMr01…を受信してこの巡回メッセージMr01…の識別情報から現在安定して動作状態にあるECU2…の識別情報の一例を、図3に示す、現在の電源状態Son,Sacc,Soffにおける論理リングRon,Racc,Roffと比較するステップである。
S2 is a step of comparing the logical ring R with the operation state list T. That is, an example of the identification information of the
S3はステップS4に示す比較において一致したかどうかを判断するステップである。ステップS3において一致した場合には、各ECU2…の動作状態は動作状態一覧表Tと同じであるから異常なしであるから、ステップS4を実行する。一方、ステップS3において一致しないと判断した場合には、動作状態であるはずのECU2…が動作していないか、停止状態であるはずのECU2…が停止していないかのいずれかであるから、後述のステップS7にジャンプする。
S3 is a step of determining whether or not the comparisons in step S4 match. If they match in step S3, the operation state of each
S4は論理リングRの監視を定期的に行うためのタイマーをセットするステップである。S4においてセットする時間間隔毎に論理リングRの監視を行うことにより、電源状態Sの切り替えに関係なく起動する誤動作によって起動または停止するECU2…を監視することができる。
S4 is a step of setting a timer for periodically monitoring the logical ring R. By monitoring the logical ring R at each time interval set in S4, it is possible to monitor the
S5はステップS4によってセットした時間が経過したしたかどうかを判断するステップである。このステップS5はタイムアップするまで繰り返される。 S5 is a step of determining whether or not the time set in step S4 has elapsed. This step S5 is repeated until time is up.
S6は監視対象となっているCANバス3が動作状態であるかどうかを判断するステップである。すなわち、CANバス3が停止状態である場合には、このCANバス3に接続されるすべてのECU2…が停止状態であるから、前記ステップS2以降の処理をする必要がないので、前記ステップS4に戻って処理を繰り返す。
S6 is a step of determining whether or not the
S7は前記ステップS3において論理リングRが動作状態一覧表Tと一致しなかったときに実行されるステップであり、電源マネージメントの制御を行っているかどうかを判断するステップである。このステップS7において電源マネージメントを行っていないと判断した場合は、ECU2…の異常起動または異常停止であると判断することができるので、後述のステップS10にジャンプする。
S7 is a step that is executed when the logical ring R does not match the operation state list T in step S3, and is a step that determines whether or not the power management is being controlled. If it is determined in step S7 that the power management is not performed, it can be determined that the
S8は前記ステップS7において電源マネージメントを行っていると判断した場合に実行され、電源管理状態の調査を行うステップである。すなわち、例えば電源管理用のECUにアクセスして、現在電源管理によって停止状態となるように制御しているECU2を調査する。
S8 is a step that is executed when it is determined in step S7 that the power management is performed, and the power management state is investigated. That is, for example, the
S9は前記ステップS2によって一覧表Tと一致しないと判明した異常動作中または異常停止中のECUが電源管理によって通常の状態と異なった動作をしているのかどうかを判断するステップである。すなわち、ステップS2において異常と判断された全てのECUが電源管理中である場合には、これを異常扱いするのではなく、前記ステップS4にジャンプする。一方、ステップS2において異常と判断された全てのECUのうち何れか一つでも電源管理中である場合には、これを異常と判断してステップS10の処理を実行する。 S9 is a step in which it is determined whether or not the abnormally operating or abnormally stopped ECU that has been found not to match the list T in step S2 is operating differently from the normal state by power management. That is, when all ECUs determined to be abnormal in step S2 are under power management, the ECU jumps to step S4 instead of treating the ECU as abnormal. On the other hand, if any one of all ECUs determined to be abnormal in step S2 is under power management, this is determined to be abnormal and the process of step S10 is executed.
S10はECU2…の異常情報を出力するステップである。すなわち、異常起動又は異常停止しているECU2…の情報をカーナビゲーションシステムの表示部やメータ表示部に表示または警告音の発音、異常起動または異常停止しているECU2…のログへの記録、異常起動しているECU2…を停止させるための命令の出力、電源管理用ECUに対して異常起動しているECU2…への給電を制限させる電源制御を行わせるための命令の出力などを行うことができる。
S10 is a step of outputting abnormality information of the
上述のように構成された動作監視ユニット1をゲートウェイG内に設けることにより、このゲートウェイGによって接続される車載LANの各セグメントSa,Sb…においてそれぞれECU2…の動作監視を行うことができる。また、ゲートウェイGには各CANバス3に接続される既存のメッセージ受信手段10rと何らかの演算処理手段11が備わっているので、ソフトウェアの追加によって動作監視ユニット1を形成することができる利点がある。
By providing the
しかしながら、動作監視ユニット1をゲートウェイGとは異なるハードウェアによって形成することも可能であることはいうまでもない。
However, it goes without saying that the
図6,7は、本発明の第2実施形態を示す。図6に示す動作監視ユニット30が図1〜5に示す第1実施例の動作監視ユニット1と異なる点は、車載LAN8がOSEK/NMに対応するインターフェースプログラムを備えていない点である。したがって、演算処理手段11によって実行される動作監視プログラムP6は、OSEK/NMに対応するインターフェースプログラムを介することなくメッセージ受信手段10rからメッセージを受信するように構成されている。
6 and 7 show a second embodiment of the present invention. The
また、動作監視プログラムP6は各ECU2…の動作を確認するために、メッセージ送信手段10sを介してCANバス3に動作確認メッセージMs(アライブメッセージと呼ばれている)を送信し、各ECU2…から受信確認メッセージMrを受信するように構成されている。
In addition, the operation monitoring program P6 transmits an operation confirmation message Ms (called an alive message) to the
図7に示す、S20は前記動作確認メッセージMsの送信を行うステップであり、S21は該動作確認メッセージMsの受信に伴って各ECU2…が送信する受信確認メッセージMrを受信して、この受信確認メッセージMrに付与された識別情報を前記動作状態一覧表Tと比較するステップである。これによって、前記動作確認メッセージMsを送信した時点において動作状態にある全てのECU2…を確認することができる。
7, S20 is a step of transmitting the operation confirmation message Ms, and S21 receives a reception confirmation message Mr transmitted by each
本実施形態に示すように、たとえ車載LAN8がOSEKのような論理リングを構築するものでなくても、各ECU2…が伝送線に送信するメッセージを受信して、該メッセージに付与された識別情報を用いることにより、演算処理手段11は動作状態にあるECU2…を判別して、各電子制御ユニットの動作状態を監視することができる。
なお、他の構成および作用効果は第一実施形態と同様であるから、同一の符号を付してその説明を省略する。
As shown in this embodiment, even if the in-
In addition, since another structure and effect are the same as that of 1st embodiment, the same code | symbol is attached | subjected and the description is abbreviate | omitted.
加えて、上述した第1実施形態および第2実施形態では、すべての点で例示であるから、本発明は上述した各実施形態の構成に限定されるものではない。むしろ、本発明の範囲は、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。すなわち、本発明の効果がある限りにおいて、他の成分が含まれていてもよい。 In addition, since the first embodiment and the second embodiment described above are examples in all respects, the present invention is not limited to the configuration of each embodiment described above. Rather, the scope of the present invention is defined by the terms of the claims, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims. That is, as long as the effects of the present invention are obtained, other components may be included.
1,30 動作監視ユニット
2 ECU
3 伝送線
8 車載LAN
10r メッセージ受信手段
10s メッセージ送信手段
11 演算処理手段
G ゲートウェイ
R 論理リング
T 動作状態一覧表
Mr01,… 巡回メッセージ
Ma11,… 起動通知メッセージ
P4,P6 動作監視プログラム
1,30
3
10r Message receiving means 10s Message sending means 11 Arithmetic processing means G Gateway R Logical ring T Operational state list Mr01, ... Cyclic message Ma11, ... Start notification message P4, P6 Operation monitoring program
Claims (6)
前記全電子制御ユニットから送信されるメッセージを受信するメッセージ受信手段と、 前記メッセージ受信手段で受信した各メッセージに付与された電子制御ユニット識別用の識別情報から、該メッセージを送信した動作状態にある電子制御ユニットを判別すると共に、各電子制御ユニットの動作状態を監視する演算処理手段を備え、
前記演算処理手段は、車両の電源状態切替に対応する前記各電子制御ユニットの動作状態を記録してなる動作状態一覧表を参照し、前記動作状態にあると判別した電子制御ユニットが動作しないはずの電子制御ユニットであると動作を停止させることを特徴とする動作監視ユニット。 An operation monitoring unit connected via a transmission line to an in-vehicle LAN connected to a plurality of electronic control units,
A message receiving means for receiving a message transmitted from all the electronic control units ; and an operating state in which the message is transmitted from identification information for identifying an electronic control unit attached to each message received by the message receiving means. Along with discriminating the electronic control unit, it comprises arithmetic processing means for monitoring the operating state of each electronic control unit ,
The arithmetic processing means refers to an operation state list obtained by recording the operation state of each electronic control unit corresponding to the power supply state switching of the vehicle, and the electronic control unit determined to be in the operation state should not operate. The operation monitoring unit is characterized in that the operation is stopped when it is an electronic control unit.
前記演算処理手段は、車両の電源状態切替に対応する前記各電子制御ユニットの動作状態を記録してなる動作状態一覧表を参照し、前記動作状態にあると判別した電子制御ユニットが動作しないはずの電子制御ユニットであると動作を停止させることを特徴とする動作監視ユニット。 For an in-vehicle LAN in which a plurality of electronic control units are connected via a transmission line, and a logical ring is constructed between each electronic control unit in an operating state and a cyclic message is circulated in the logical ring. An operation monitoring unit connected via a transmission line, a message receiving means for receiving a cyclic message transmitted from all the electronic control units, and an electron attached to the cyclic message received by the message receiving means From the identification information for control unit identification , the electronic control unit in the operating state that transmitted the cyclic message is determined , and includes an arithmetic processing means for monitoring the operating state of each electronic control unit ,
The arithmetic processing means refers to an operation state list obtained by recording the operation state of each electronic control unit corresponding to the power supply state switching of the vehicle, and the electronic control unit determined to be in the operation state should not operate. The operation monitoring unit is characterized in that the operation is stopped when it is an electronic control unit.
前記ゲートウェイ内に前記メッセージ受信手段と前記演算処理手段を設け、
前記メッセージ受信手段は前記各セグメントを構成する各伝送線にそれぞれ接続され、 前記演算処理手段は前記各セグメントに属する電子制御ユニットの動作状態をそれぞれ監視するものである請求項1乃至請求項4のいずれか1項に記載の動作監視ユニット。 The in-vehicle LAN includes a plurality of segments obtained by grouping the transmission line and the electronic control unit, and a gateway that relays messages between the segments,
The message receiving means and the arithmetic processing means are provided in the gateway,
5. The message receiving unit according to claim 1, wherein the message receiving unit is connected to each transmission line constituting each segment, and the arithmetic processing unit monitors an operating state of an electronic control unit belonging to each segment. The operation monitoring unit according to any one of claims.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006099561A JP4560000B2 (en) | 2006-03-31 | 2006-03-31 | Operation monitoring unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006099561A JP4560000B2 (en) | 2006-03-31 | 2006-03-31 | Operation monitoring unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007272709A JP2007272709A (en) | 2007-10-18 |
JP4560000B2 true JP4560000B2 (en) | 2010-10-13 |
Family
ID=38675429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006099561A Expired - Fee Related JP4560000B2 (en) | 2006-03-31 | 2006-03-31 | Operation monitoring unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4560000B2 (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4750606B2 (en) * | 2006-04-05 | 2011-08-17 | 株式会社オートネットワーク技術研究所 | Operation monitoring unit |
JP4980947B2 (en) * | 2008-02-19 | 2012-07-18 | 株式会社Ihi | Control system and control method |
DE102010030160B4 (en) | 2010-06-16 | 2023-10-12 | Bayerische Motoren Werke Aktiengesellschaft | Method and control device for processing data in a network of a vehicle |
DE112012006843T5 (en) | 2012-08-24 | 2015-05-21 | Mitsubishi Electric Corporation | Vehicle communication system and vehicle communication method |
JP6028717B2 (en) * | 2013-11-06 | 2016-11-16 | トヨタ自動車株式会社 | COMMUNICATION SYSTEM, GATEWAY DEVICE, AND COMMUNICATION METHOD |
KR20150052677A (en) * | 2013-11-06 | 2015-05-14 | 엘에스산전 주식회사 | Apparatus for controlling ldc in electric vehicle |
JP2016055673A (en) * | 2014-09-05 | 2016-04-21 | 株式会社デンソー | Failure diagnosis device and electronic control device |
WO2020059015A1 (en) * | 2018-09-18 | 2020-03-26 | 三菱電機株式会社 | Monitoring control device and monitoring control method |
JP2023130046A (en) * | 2022-03-07 | 2023-09-20 | 株式会社オートネットワーク技術研究所 | Power feeding control device, power feeding control system, and power feeding control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63101147A (en) * | 1986-10-16 | 1988-05-06 | Nippon Denso Co Ltd | On-vehicle electronic control device |
JP2001257694A (en) * | 2000-03-09 | 2001-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Device for managing information power supply |
JP2002077204A (en) * | 2000-08-28 | 2002-03-15 | Hitachi Ltd | Network communication system |
JP2002158668A (en) * | 2000-11-17 | 2002-05-31 | Denso Corp | Abnormality detector of network system for vehicle |
-
2006
- 2006-03-31 JP JP2006099561A patent/JP4560000B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63101147A (en) * | 1986-10-16 | 1988-05-06 | Nippon Denso Co Ltd | On-vehicle electronic control device |
JP2001257694A (en) * | 2000-03-09 | 2001-09-21 | Auto Network Gijutsu Kenkyusho:Kk | Device for managing information power supply |
JP2002077204A (en) * | 2000-08-28 | 2002-03-15 | Hitachi Ltd | Network communication system |
JP2002158668A (en) * | 2000-11-17 | 2002-05-31 | Denso Corp | Abnormality detector of network system for vehicle |
Also Published As
Publication number | Publication date |
---|---|
JP2007272709A (en) | 2007-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4560000B2 (en) | Operation monitoring unit | |
US8665700B2 (en) | Fault detection and mitigation for in-vehicle LAN network management | |
JP6258997B2 (en) | Vehicle control system | |
KR20140036580A (en) | Integrated network system for vehicle | |
JP4940681B2 (en) | Electronic control device | |
US11146082B2 (en) | Method of preventing battery discharge and electronic control unit performing the same | |
WO2014034345A1 (en) | Vehicle control system, and vehicular electronic control unit | |
WO2019188233A1 (en) | Processing device | |
US9519337B2 (en) | Circuitry for controlling an output from an electronic control unit including two processors mutually monitoring each other | |
JP6417248B2 (en) | Vehicle control device | |
JP2015107672A (en) | On-vehicle network system | |
JP4866214B2 (en) | Control unit and in-vehicle multiple communication system | |
KR20150052186A (en) | Method for monitoring an apparatus connected to a communication channel | |
JP2006301952A (en) | Vehicular usb system and onboard radio communication device | |
JP2008126738A (en) | Relay connection unit and vehicular multiplex communication system | |
JP2004066974A (en) | Vehicle control device and its communication method | |
JP4750606B2 (en) | Operation monitoring unit | |
JP5614365B2 (en) | Data relay device, in-vehicle network | |
JP2009267853A (en) | Communication system and communication method | |
JPWO2017018179A1 (en) | Electronic control unit | |
JP2022138678A (en) | vehicle system | |
JP2017114406A (en) | Network system | |
KR102029371B1 (en) | Power Supply system and method for ethernet communication network in vehicle | |
JP2010098477A (en) | Electronic control device and method for controlling the electronic control device | |
WO2023223772A1 (en) | In-vehicle communication device and push server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080926 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100421 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100427 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100624 |
|
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: 20100720 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100723 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130730 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |