JP4577071B2 - Vehicle communication system and history management method for vehicle communication system - Google Patents

Vehicle communication system and history management method for vehicle communication system Download PDF

Info

Publication number
JP4577071B2
JP4577071B2 JP2005110284A JP2005110284A JP4577071B2 JP 4577071 B2 JP4577071 B2 JP 4577071B2 JP 2005110284 A JP2005110284 A JP 2005110284A JP 2005110284 A JP2005110284 A JP 2005110284A JP 4577071 B2 JP4577071 B2 JP 4577071B2
Authority
JP
Japan
Prior art keywords
electronic device
history
vehicle
abnormality history
vehicle electronic
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
JP2005110284A
Other languages
Japanese (ja)
Other versions
JP2006295345A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2005110284A priority Critical patent/JP4577071B2/en
Publication of JP2006295345A publication Critical patent/JP2006295345A/en
Application granted granted Critical
Publication of JP4577071B2 publication Critical patent/JP4577071B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数の電子機器が通信ラインを介して接続されてなる車両用通信システム及び履歴管理方法に関し、特に、他の電子機器との間での通信異常を異常履歴として記憶する機能を有する複数の電子機器を含む車両用通信システム及び車両用通信システムの履歴管理方法に関する。   The present invention relates to a vehicle communication system and a history management method in which a plurality of electronic devices are connected via a communication line, and in particular, has a function of storing a communication abnormality with another electronic device as an abnormality history. The present invention relates to a vehicle communication system including a plurality of electronic devices and a history management method for the vehicle communication system.

従来、車両が長期間放置された場合に、エンジンが始動していなくても電力を消費する車載電子機器による電力消費を抑えるために、例えば特許文献1に記載されているように、車両が輸送される期間には、走行に支障をきたさない電子機器をバッテリから外すことが行われている。   Conventionally, when a vehicle is left for a long period of time, the vehicle is transported as described in Patent Document 1, for example, in order to suppress power consumption by an in-vehicle electronic device that consumes power even if the engine is not started. During this period, an electronic device that does not interfere with traveling is removed from the battery.

また従来、車両に設けられた複数の車載電子機器が、通信バスを介して、相互にデータの送受信を行う車両用通信システムが知られており、例えば特許文献2に記載されているように、各車載電子機器に通信バスで接続された別の車載電子機器との間での通信の異常を異常履歴として記憶させ、後に各車載電子機器に記憶された異常履歴を読み出すことで車両用通信システムの故障解析を行えるようにした技術が知られている。
特開平9−049450号公報 特開2000−324145号公報
Further, conventionally, a vehicle communication system in which a plurality of in-vehicle electronic devices provided in a vehicle mutually transmit and receive data via a communication bus is known. For example, as described in Patent Document 2, A communication system for vehicles by storing, as an abnormality history, an abnormality in communication with another in-vehicle electronic device connected to each in-vehicle electronic device via a communication bus, and then reading out the abnormality history stored in each in-vehicle electronic device There is known a technique that can perform failure analysis of the above.
JP-A-9-049450 JP 2000-324145 A

しかしながら、上述した特許文献2のような車両用通信システムにおいて、特許文献1に記載されているように、走行に支障をきたさない車載電子機器をバッテリから外してしまった場合には、バッテリから外されずに通常動作を行っている他の車載電子機器においてバッテリから外された車載電子機器との間での通信異常を異常履歴として記憶させてしまうことになり、車両用通信システムの故障解析を適切に行う上で障害となるという問題があった。   However, in the vehicle communication system such as Patent Document 2 described above, when an in-vehicle electronic device that does not interfere with traveling is removed from the battery as described in Patent Document 1, the vehicle is removed from the battery. In other in-vehicle electronic devices that are normally operating without being connected, the communication abnormality with the in-vehicle electronic device removed from the battery is stored as an abnormality history, and failure analysis of the vehicle communication system is performed. There was a problem that it was an obstacle to doing it properly.

そこで、本発明は、上述した実情に鑑みて提案されたものであり、必要に応じて故意に一部の電子機器に対する電源を遮断させた場合であっても、他の電子機器の異常履歴を消去させることができる車両用通信システム及び車両用通信システムの履歴管理方法を提供することを目的とする。   Therefore, the present invention has been proposed in view of the above-described circumstances, and even when the power to some electronic devices is intentionally shut down as necessary, the abnormality history of other electronic devices is recorded. It is an object of the present invention to provide a vehicular communication system and a vehicular communication system history management method that can be deleted.

本発明は、電源に接続された第1の車載電子機器と、車両の長期停止時に電源供給を遮断するための電源遮断手段を介して電源に接続された第2の車載電子機器とを含む複数の車載電子機器が通信線で接続され、これら複数の車載電子機器間で前記通信線を利用した通信を行うとともに、各車載電子機器が他の車載電子機器との間で行った通信の異常を異常履歴として記憶する車両用通信システムである。   The present invention includes a plurality of first in-vehicle electronic devices connected to a power source and a second in-vehicle electronic device connected to the power source through a power shut-off means for interrupting power supply when the vehicle is stopped for a long time. In-vehicle electronic devices are connected by communication lines, and communication is performed between the plurality of in-vehicle electronic devices using the communication line, and communication abnormality between each on-vehicle electronic device and other in-vehicle electronic devices is detected. It is a communication system for vehicles memorized as abnormal history.

この車両用通信システムは、前記複数の車載電子機器のうちの何れかの車載電子機器が、前記第2の車載電子機器に対する電源供給が前記電源遮断手段により遮断された状態から復帰したときに、前記第1の車載電子機器に対して、前記第2の車載電子機器との間での通信に関する異常履歴を消去する旨の異常履歴消去命令を送信する異常履歴消去命令送信手段を備える。また、この車両用通信システムにおいて、第1の車載電子機器は、前記異常履歴消去命令に応じて、記憶した異常履歴のうちで前記第2の車載電子機器との間での通信に関する異常履歴を消去する異常履歴消去手段を備える。   In this vehicle communication system, when any one of the plurality of in-vehicle electronic devices returns from a state in which the power supply to the second in-vehicle electronic device is interrupted by the power cutoff unit, An abnormality history erasure command transmission means for transmitting an abnormality history erasure command for erasing an abnormality history related to communication with the second in-vehicle electronic device to the first in-vehicle electronic device. Moreover, in this vehicle communication system, the first in-vehicle electronic device stores an abnormality history related to communication with the second in-vehicle electronic device among the stored abnormality histories in response to the abnormality history erasing command. An abnormality history erasing means for erasing is provided.

このような車両用通信システムは、異常履歴消去命令送信手段によって異常履歴消去命令を第1の車載電子機器に送信することにより、第2の車載電子機器に対する電源供給が遮断された状態から復帰したときに記憶されていた異常履歴を、第1の車載電子機器の異常履歴消去手段で消去させる。   Such a vehicle communication system has returned from a state in which the power supply to the second in-vehicle electronic device is cut off by transmitting the abnormality history erasing command to the first in-vehicle electronic device by the abnormal history erasing command transmitting means. The abnormality history stored at that time is erased by the abnormality history erasing means of the first in-vehicle electronic device.

本発明によれば、必要に応じて故意に一部の電子機器に対する電源を遮断させた場合であっても、他の電子機器の異常履歴を消去させることができるので、異常履歴が残っていることによって車両用通信システムの故障解析を適切に行う上で障害となることを回避できる。   According to the present invention, even when the power to some electronic devices is intentionally shut down as necessary, the abnormality history of other electronic devices can be erased, so that the abnormality history remains. Thus, it is possible to avoid an obstacle in properly performing the failure analysis of the vehicle communication system.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1実施形態]
本発明は、例えば図1に示すように構成された車両用通信システムに適用される。
[First Embodiment]
The present invention is applied to a vehicle communication system configured as shown in FIG.

[車両用通信システムの構成]
この車両用通信システムは、複数の電子機器1A〜1H(以下、総称する場合には単に「電子機器1」と呼ぶ。)が通信バス2を介して相互に接続されて構成される。この車両用通信システムでは、各電子機器1が通信バス2を共有して使用し、相互通信を行うことによって、協調して機能する。また、この車両用通信システムでは、各電子機器1が通信接続の有無を相互の電子機器1間で確認して、各電子機器1により、他の電子機器1との間で通信可能状態であるか通信不能状態であるかの異常確認を行い、他の電子機器1に関する通信の異常の記録を行う機能を有している。この通信の異常の記録は、故障解析に用いられる。
[Configuration of vehicle communication system]
The vehicle communication system is configured by connecting a plurality of electronic devices 1 </ b> A to 1 </ b> H (hereinafter simply referred to as “electronic device 1” when collectively referred to) via a communication bus 2. In this vehicular communication system, the electronic devices 1 share and use the communication bus 2 and perform mutual communication to function in a coordinated manner. Further, in this vehicle communication system, each electronic device 1 confirms whether or not there is a communication connection between the electronic devices 1 and can communicate with each other electronic device 1 by each electronic device 1. It has a function of confirming whether there is a communication failure or recording a communication abnormality related to the other electronic device 1. This communication abnormality record is used for failure analysis.

また、車両用通信システムにおいて、電子機器1A〜1Dは、ヒューズ3A,3Bを介してバッテリ5と接続され、電子機器1E〜1Hは、車両の起動用スイッチであるイグニッションスイッチ4及びヒューズ3Cを介してバッテリ5と接続されている。これら電子機器1A〜1Hは、バッテリ4からの電力供給を受けて動作する。   In the vehicle communication system, the electronic devices 1A to 1D are connected to the battery 5 via the fuses 3A and 3B, and the electronic devices 1E to 1H are connected via the ignition switch 4 and the fuse 3C, which are start switches for the vehicle. And connected to the battery 5. These electronic devices 1 </ b> A to 1 </ b> H operate with power supplied from the battery 4.

電子機器1は、その作動条件によって、図2に示すような4つの区分に分類される。第1群の電子機器1及び第2群の電子機器1は、イグニッションスイッチ4がオン状態のみならずオフ状態である時であっても作動しなければならない電子機器1である。イグニッションスイッチ4がオフ状態であっても作動する必要がある電子機器1は、車両走行に必要な機能を実現する第1群の電子機器1と、車両走行に必要がない機能を実現する第2群の電子機器1とに区分される。第1群の電子機器1としては、例えばメータユニットやヘッドランプが挙げられる。また、第2群の電子機器1としては、キーレスエントリシステムのレシーバが挙げられる。図1において、電子機器1A及び電子機器1Bは、第1群の電子機器1に該当し、電子機器1C及び電子機器1Dは、第2群の電子機器1に該当する。   The electronic device 1 is classified into four categories as shown in FIG. The first group of electronic devices 1 and the second group of electronic devices 1 are electronic devices 1 that must operate even when the ignition switch 4 is in an off state as well as an on state. An electronic device 1 that needs to operate even when the ignition switch 4 is in an off state includes a first group of electronic devices 1 that realize functions necessary for vehicle travel, and a second that realizes functions not necessary for vehicle travel. It is divided into a group of electronic devices 1. Examples of the first group of electronic devices 1 include a meter unit and a headlamp. The second group of electronic devices 1 includes a receiver of a keyless entry system. In FIG. 1, an electronic device 1A and an electronic device 1B correspond to a first group of electronic devices 1, and an electronic device 1C and an electronic device 1D correspond to a second group of electronic devices 1.

また、イグニッションスイッチ4がオン状態である場合のみ作動する必要がある電子機器1は、車両走行に必要な機能を実現する第3群の電子機器1と、車両走行に必要がない機能を実現する第4群の電子機器1とに区分される。第3群の電子機器1としては、例えばエンジンコントローラが挙げられる。また、第4群の電子機器1としては、空調用コントローラが挙げられる。図1において、電子機器1E及び電子機器1Fは、第3群の電子機器1に該当し、電子機器1G及び電子機器1Hは、第4群の電子機器1に該当する。   In addition, the electronic device 1 that needs to operate only when the ignition switch 4 is in the on state realizes a third group of electronic devices 1 that realize functions necessary for vehicle travel and functions that are not necessary for vehicle travel. It is divided into a fourth group of electronic devices 1. An example of the third group of electronic devices 1 is an engine controller. The fourth group of electronic devices 1 includes an air conditioning controller. In FIG. 1, an electronic device 1E and an electronic device 1F correspond to the third group of electronic devices 1, and an electronic device 1G and an electronic device 1H correspond to the fourth group of electronic devices 1.

このような車両用通信システムにおいて、通常、イグニッションスイッチ4がオフ状態である場合には、第1群の電子機器1に該当する電子機器1A及び電子機器1B、第2群の電子機器1に該当する電子機器1B及び電子機器1Cにバッテリ5からの電力が供給されている状態となっている。したがって、電子機器1A〜1Dによってバッテリ5の充電電力を消費している状態となっている。   In such a vehicle communication system, normally, when the ignition switch 4 is in an OFF state, the electronic device 1A and the electronic device 1B corresponding to the first group of electronic devices 1 and the second group of electronic devices 1 are applicable. In this state, power from the battery 5 is supplied to the electronic device 1B and the electronic device 1C. Therefore, the charging power of the battery 5 is consumed by the electronic devices 1A to 1D.

一方、イグニッションスイッチ4がオフ状態である場合、第3群の電子機器1に該当する電子機器1E及び電子機器1F、第4群の電子機器1G及び電子機器1Hには、バッテリ5との導通状態が遮断された状態となっている。   On the other hand, when the ignition switch 4 is in an off state, the electronic device 1E and electronic device 1F corresponding to the third group of electronic devices 1 and the fourth group of electronic devices 1G and 1H are in a conductive state with the battery 5. Is in a blocked state.

このような車両用通信システムにおいて、例えば輸送時などの長期に渡ってイグニッションスイッチ4がオン状態にはされずに車両走行が行われない場合には、バッテリ5の充電電力の消費を抑制すべく、予め第2群の電子機器1に該当する電子機器1C及び電子機器1Dとバッテリ5との間に設けられたヒューズ3Bを抜く作業が施される。これにより、電子機器1C及び電子機器1Dと、バッテリ5との導通状態は、遮断された状態となる。   In such a vehicle communication system, for example, when the vehicle is not driven without the ignition switch 4 being turned on for a long period of time, such as during transportation, consumption of charging power of the battery 5 should be suppressed. The operation of removing the electronic device 1C corresponding to the second group of electronic devices 1 and the fuse 3B provided between the electronic device 1D and the battery 5 in advance is performed. Thereby, the electrical connection state between the electronic device 1C and the electronic device 1D and the battery 5 is cut off.

一方、例えば輸送時における車両移動のために車両を走行させる必要性から、第1群の電子機器1に該当する電子機器1A及び電子機器1Bとバッテリ5との間に設けられたヒューズ3Aは取り付けたままにしておく。これにより、電子機器1A及び電子機器1Bとの導通状態が維持された状態としておく。   On the other hand, the fuse 3A provided between the electronic device 1A corresponding to the first group of electronic devices 1 and the electronic device 1B and the battery 5 is attached because of the necessity of traveling the vehicle for moving the vehicle during transportation, for example. Leave it alone. Thereby, it is set as the state by which the electrical connection state with 1 A of electronic devices and the electronic device 1B was maintained.

ヒューズ3Bを抜いた状態で、イグニッションスイッチ4をオン状態にして車両を走行させると、電子機器1C及び電子機器1Dにはバッテリ5からの電力供給がなされておらず他の電子機器との間で通信しない状態であるが、他の電子機器1A、1B、1E〜1Hは、バッテリ5からの電源によって作動状態となる。このような状態で、電子機器1A、1B、1E〜1Hが電子機器1C及び電子機器1Dとの間で通信を行おうとした時には、電子機器1A、1B、1E〜1Hは、電子機器1C及び電子機器1Dとの間の通信不能状態を検出し、当該通信不能状態を異常状態の履歴として記録してしまう。これをそのままにしておくと、故障解析を行う上で障害となる。そこで、本発明を適用した車両用通信システムは、電子機器1C及び電子機器1Dとの間での通信に関する異常履歴を示す情報を自動的に消去する異常履歴消去動作を行う。   When the vehicle is run with the ignition switch 4 turned on with the fuse 3B removed, the electronic device 1C and the electronic device 1D are not supplied with power from the battery 5 and are not connected to other electronic devices. Although not communicating, the other electronic devices 1 </ b> A, 1 </ b> B, 1 </ b> E to 1 </ b> H are activated by the power supply from the battery 5. In such a state, when the electronic devices 1A, 1B, 1E-1H try to communicate with the electronic device 1C and the electronic device 1D, the electronic devices 1A, 1B, 1E-1H are connected to the electronic device 1C and the electronic device 1C. A communication impossible state with the device 1D is detected, and the communication impossible state is recorded as an abnormal state history. If this is left as it is, it becomes an obstacle to failure analysis. Therefore, the vehicle communication system to which the present invention is applied performs an abnormality history erasing operation for automatically erasing information indicating an abnormality history related to communication between the electronic device 1C and the electronic device 1D.

[電子機器1の構成]
つぎに、上述したように構成された第1実施形態に係る車両用通信システムにおける電子機器1の構成について図3を参照して説明する。
[Configuration of Electronic Device 1]
Next, the configuration of the electronic device 1 in the vehicle communication system according to the first embodiment configured as described above will be described with reference to FIG.

以下の説明では、第1群の電子機器1Bと第2群の電子機器1Dのみの内部構成を示しており、電子機器1Bの異常履歴記録/消去部14及び異常履歴記憶部15が、第1群の電子機器1A、第3群及び第4群の1E〜1Hにも備えられているとするが、第2群の電子機器1B又は電子機器1Dと通信を行うように設定されている電子機器1のみに異常履歴記録/消去部14及び異常履歴記憶部15が備えられていればよい。   In the following description, the internal configuration of only the first group of electronic devices 1B and the second group of electronic devices 1D is shown. The abnormality history recording / erasing unit 14 and the abnormality history storage unit 15 of the electronic device 1B are the first The electronic devices 1A, the third group, and the fourth group 1E to 1H are also provided, but are set to communicate with the second group of electronic devices 1B or 1D. It is only necessary that the abnormality history recording / erasing unit 14 and the abnormality history storage unit 15 are provided in only one.

更に、以下では、電子機器1Dの履歴消去要求部24及び異常履歴管理用フラグ記憶部25が、同じ第2群の電子機器1Cには設けられていない場合を説明するが、第2群の電子機器1Cと電子機器1Dとの一方に履歴消去要求部24及び異常履歴管理用フラグ記憶部25が備えられていればよく、第2群の電源復帰を検知できるのであれば何れかの電子機器1に履歴消去要求部24及び異常履歴管理用フラグ記憶部25が備えられていればよい。   Furthermore, in the following, a case will be described in which the history deletion request unit 24 and the abnormality history management flag storage unit 25 of the electronic device 1D are not provided in the same second group of electronic devices 1C. As long as one of the device 1C and the electronic device 1D is provided with the history deletion request unit 24 and the abnormality history management flag storage unit 25, any electronic device 1 can be used as long as it can detect the power recovery of the second group. The history deletion request unit 24 and the abnormality history management flag storage unit 25 may be provided.

電子機器1Bは、予め設定された全電子機器1で共通の通信プロトコル(例えばCAN(Controller Area Network))に従った処理を行う。この電子機器1Bは、他の電子機器1との間で通信を行う機能部として、通信バス2に接続された通信回路11と、受信制御部12と、送信制御部13とを備える。また、電子機器1Bは、通信バス2を介した通信相手となる電子機器1に関する通信の異常状態を記録及び消去するための構成として、異常履歴記録/消去部14と、異常履歴記憶部15とを備える。なお、図3においては、通信を行う機能部として通信回路11、受信制御部12及び送信制御部13を別個に示しているが単一の通信インターフェースで構成しても良く、異常履歴記録/消去部14とを単一のマイクロコンピュータで構成しても良い。   The electronic device 1B performs processing according to a communication protocol (for example, CAN (Controller Area Network)) common to all electronic devices 1 set in advance. The electronic device 1 </ b> B includes a communication circuit 11 connected to the communication bus 2, a reception control unit 12, and a transmission control unit 13 as functional units that perform communication with other electronic devices 1. In addition, the electronic device 1B has an abnormality history recording / erasing unit 14, an abnormality history storage unit 15, and a configuration for recording and erasing an abnormal state of communication related to the electronic device 1 that is a communication partner via the communication bus 2. Is provided. In FIG. 3, the communication circuit 11, the reception control unit 12, and the transmission control unit 13 are separately illustrated as functional units that perform communication, but may be configured with a single communication interface, and an abnormal history recording / erasing operation may be performed. The unit 14 may be constituted by a single microcomputer.

なお、図3には図示していないが、電子機器1Bには、ヒューズ3Aを介してバッテリ5から電力供給を受けて、各部11〜15に分配する電源回路が備えられている。この電子機器1Bは、例えばイグニッションスイッチ4が長期間に亘ってオン状態とされない期間には、通信回路11〜異常履歴記憶部15を、待機モードとさせ、通信バス2からのデータ受信等の所定のトリガに応じて通信回路11〜異常履歴記憶部15の動作を起動させる。   Although not shown in FIG. 3, the electronic device 1 </ b> B includes a power supply circuit that receives power supply from the battery 5 through the fuse 3 </ b> A and distributes the power to the units 11 to 15. In the electronic device 1B, for example, in a period in which the ignition switch 4 is not turned on for a long period of time, the communication circuit 11 to the abnormality history storage unit 15 are set in the standby mode, and data reception from the communication bus 2 is performed. The operation of the communication circuit 11 to the abnormality history storage unit 15 is activated in response to the trigger.

この電子機器1Bは、通信バス2を介して他の電子機器1から各種制御を行うためのデータを通信回路11で受信した場合には、受信制御部12により所定の通信プロトコルに従った所定の受信処理を行う。また、電子機器1Bは、他の電子機器1に送信すべきデータが生成された場合には、送信制御部13により所定の通信プロトコルに従った処理の送信処理を行って、通信回路11から通信バス2に送出させる。   When the electronic circuit 1B receives data for performing various controls from the other electronic apparatus 1 via the communication bus 2, the communication circuit 11 causes the reception control unit 12 to execute a predetermined communication protocol according to a predetermined communication protocol. Perform reception processing. In addition, when data to be transmitted to another electronic device 1 is generated, the electronic device 1B performs a transmission process of processing according to a predetermined communication protocol by the transmission control unit 13, and communicates from the communication circuit 11. Send to bus 2

また、この電子機器1Bは、上述したように電子機器1C及び電子機器1Dに接続されたヒューズ3Cが抜かれて、電子機器1C及び電子機器1Dとの間で通信が不能である場合には、通信回路11及び受信制御部12によってその旨を検出する。通信回路11及び受信制御部12は、例えば電子機器1C又は電子機器1D宛に送信したデータに対する応答がない場合に、電子機器1C及び電子機器1Dが通信不能となっていることを判定して、その旨を異常履歴記録/消去部14に通知する。これに応じ、異常履歴記録/消去部14は、電子機器1C及び電子機器1Dとの間の通信に関する通信の異常状態であることを示す異常履歴情報として、異常履歴フラグを異常履歴記憶部15に記憶させる。   In addition, the electronic device 1B communicates with the electronic device 1C when the fuse 3C connected to the electronic device 1C and the electronic device 1D is removed and communication is impossible between the electronic device 1C and the electronic device 1D. This is detected by the circuit 11 and the reception control unit 12. For example, when there is no response to data transmitted to the electronic device 1C or the electronic device 1D, the communication circuit 11 and the reception control unit 12 determine that the electronic device 1C and the electronic device 1D cannot communicate, This is notified to the abnormal history recording / erasing unit 14. In response to this, the abnormality history recording / erasing unit 14 stores an abnormality history flag in the abnormality history storage unit 15 as abnormality history information indicating an abnormal state of communication related to communication between the electronic device 1C and the electronic device 1D. Remember me.

更に、電子機器1Bは、通信バス2を介して後述の異常履歴消去命令を通信回路11で受信した場合には、当該異常履歴消去命令を、受信制御部12を介して異常履歴記録/消去部14に通知する。これに応じ、異常履歴記録/消去部14は、異常履歴記憶部15に記憶された異常履歴フラグを消去する。そして異常履歴フラグの消去が完了すると、異常履歴記録/消去部14は、異常履歴消去完了通知を、送信制御部13及び通信回路11から通信バス2に送出させる。このように電子機器1Bは、異常履歴消去命令に応答した動作を行う。   Further, when the electronic device 1B receives an abnormality history deletion command (to be described later) via the communication bus 2, the communication circuit 11 receives the abnormality history deletion command via the reception control unit 12. 14 is notified. In response to this, the abnormality history recording / erasing unit 14 erases the abnormality history flag stored in the abnormality history storage unit 15. When the deletion of the abnormality history flag is completed, the abnormality history recording / erasing unit 14 sends an abnormality history deletion completion notification from the transmission control unit 13 and the communication circuit 11 to the communication bus 2. In this way, the electronic device 1B performs an operation in response to the abnormality history deletion command.

なお、電子機器1Bは、例えば異常履歴消去命令の送信元及び異常履歴消去完了通知の送信先を電子機器1Dのアドレス情報として予め記憶しており、当該電子機器1Dをマスタ機器として登録している。   The electronic device 1B stores, for example, the transmission source of the abnormality history deletion command and the transmission destination of the abnormality history deletion completion notification in advance as address information of the electronic device 1D, and registers the electronic device 1D as a master device. .

電子機器1Dは、電子機器1Bを始めとする他の電子機器1と同様に、予め設定された全電子機器1で共通の通信プロトコル(例えばCAN)に従った処理を行うための機能部として、通信バス2に接続された通信回路21と、受信制御部22と、送信制御部23とを備える。また、電子機器1Dは、通信バス2を介した通信相手となる電子機器1の異常履歴フラグを消去させるための構成として、履歴消去要求部24と、異常履歴管理用フラグ記憶部25とを備える。なお、図3においては、通信を行う通信回路21、受信制御部22及び送信制御部23を別個に示しているが単一の通信インターフェースで構成しても良い。   As with the other electronic devices 1 including the electronic device 1B, the electronic device 1D is a functional unit for performing processing according to a communication protocol (for example, CAN) common to all the electronic devices 1 set in advance. A communication circuit 21 connected to the communication bus 2, a reception control unit 22, and a transmission control unit 23 are provided. In addition, the electronic device 1D includes a history deletion request unit 24 and an abnormality history management flag storage unit 25 as a configuration for deleting the abnormality history flag of the electronic device 1 that is a communication partner via the communication bus 2. . In FIG. 3, the communication circuit 21, the reception control unit 22, and the transmission control unit 23 that perform communication are separately illustrated, but may be configured with a single communication interface.

なお、図3には図示していないが、電子機器1Dには、ヒューズ3Bを介してバッテリ5から電力供給を受けて、各部21〜25に分配する電源回路が備えられている。この電子機器1Dは、例えばイグニッションスイッチ4が長期間に亘ってオン状態とされない期間には、各部21〜25を、微小電流を消費し続ける待機モードとさせ、通信バス2からのデータ受信等の所定のトリガに応じて各部21〜25の動作を起動させる。   Although not illustrated in FIG. 3, the electronic device 1 </ b> D includes a power supply circuit that receives power supply from the battery 5 via the fuse 3 </ b> B and distributes the power to the units 21 to 25. In the electronic device 1D, for example, in a period in which the ignition switch 4 is not turned on for a long period of time, the units 21 to 25 are set to a standby mode in which a minute current is consumed, and data reception from the communication bus 2 is performed. The operations of the respective units 21 to 25 are activated in response to a predetermined trigger.

また、電子機器1Dは、ヒューズ3Bが抜かれた場合には、バッテリ5から電源回路への電力供給が受けられず、各部21〜25を停止状態とさせる。一方、電源回路は、ヒューズ3Bが取り付けられてバッテリ5との導通状態が復帰されると、各部21〜25への電力供給を再開する。また、この復帰時には、各部21〜25の初期化が行われる。   In addition, when the fuse 3B is removed, the electronic device 1D cannot receive power from the battery 5 to the power supply circuit, and puts the units 21 to 25 in a stopped state. On the other hand, when the fuse 3B is attached and the conduction state with the battery 5 is restored, the power supply circuit resumes power supply to the respective units 21 to 25. Further, at the time of the return, initialization of each unit 21 to 25 is performed.

この電子機器1Dは、通信バス2を介して他の電子機器1から各種制御を行うためのデータを通信回路21で受信した場合には、受信制御部22により所定の通信プロトコルに従った所定の受信処理を行う。また、電子機器1Dは、他の電子機器1に送信すべきデータが生成された場合には、送信制御部23により所定の通信プロトコルに従った処理の送信処理を行って、通信回路21から通信バス2に送出させる。   When the electronic circuit 1D receives data for performing various controls from another electronic device 1 via the communication bus 2 by the communication circuit 21, the reception control unit 22 performs a predetermined communication according to a predetermined communication protocol. Perform reception processing. In addition, when data to be transmitted to another electronic device 1 is generated, the electronic device 1 </ b> D performs transmission processing of processing according to a predetermined communication protocol by the transmission control unit 23, and performs communication from the communication circuit 21. Send to bus 2

異常履歴管理用フラグ記憶部25には、異常履歴管理用フラグとして、電子機器1ごとの履歴消去完了フラグ及び履歴消去要求フラグが記憶されている。この異常履歴管理用フラグ記憶部25には、図4に示すように、車両用通信システムを構成する電子機器番号k(k=A,B,C,・・・)と、履歴消去要求フラグDRkと、履歴消去完了フラグDCkとが対応付けられたテーブルデータが記憶されている。このテーブルデータは、履歴消去要求部24によって読み込まれ、履歴消去要求フラグDRk及び履歴消去完了フラグDCkの値が履歴消去要求部24によって書き換えられる。   The abnormality history management flag storage unit 25 stores a history erasure completion flag and a history erasure request flag for each electronic device 1 as an abnormality history management flag. In the abnormality history management flag storage unit 25, as shown in FIG. 4, the electronic device number k (k = A, B, C,...) Constituting the vehicle communication system and the history erasure request flag DRk. And table data in which the history erasure completion flag DCk is associated. This table data is read by the history erasure request unit 24, and the values of the history erasure request flag DRk and the history erasure completion flag DCk are rewritten by the history erasure request unit 24.

履歴消去要求フラグDRkは、ヒューズ3Bが抜かれた時に異常履歴フラグを記録した電子機器1に対して当該異常履歴フラグの消去要求を送信したか否かを示す。履歴消去要求フラグDRkは、電子機器番号kに対して消去要求を送信していない場合には、電子機器番号kに対応した値が「1(送信未完了)」とされ、電子機器番号kに対する消去要求を送信した場合には、電子機器番号kに対応した値が「0(送信完了)」とされる。履歴消去完了フラグDCkは、ヒューズ3Bが抜かれた時に異常履歴フラグを記録した電子機器1から異常履歴消去完了通知を受信したか否かを示す。履歴消去完了フラグDCkは、電子機器番号kから異常履歴消去完了通知を受信した場合には、電子機器番号kに対応した値が「0(消去完了)」とされ、電子機器番号kから異常履歴消去完了通知を受信していない場合には、電子機器番号kに対応した値が「1(消去未完了)」とされる。   The history erasure request flag DRk indicates whether or not an erasure request for the abnormality history flag has been transmitted to the electronic device 1 that has recorded the abnormality history flag when the fuse 3B is removed. The history erasure request flag DRk is “1 (transmission incomplete)” corresponding to the electronic device number k when the erasure request is not transmitted to the electronic device number k. When the erasure request is transmitted, the value corresponding to the electronic device number k is set to “0 (transmission completed)”. The history erasure completion flag DCk indicates whether or not an abnormality history erasure completion notification has been received from the electronic device 1 that recorded the abnormality history flag when the fuse 3B was removed. The history erasure completion flag DCk is set to a value corresponding to the electronic device number k “0 (erasure completed)” when the abnormality history erasure completion notification is received from the electronic device number k, and the abnormality history from the electronic device number k. When the erasure completion notification has not been received, the value corresponding to the electronic device number k is set to “1 (erasure incomplete)”.

履歴消去要求部24は、イグニッションスイッチ4がオン状態である場合に、異常履歴管理用フラグ記憶部25に記憶された履歴消去要求フラグDRk及び履歴消去完了フラグDCkの値に応じて、異常履歴消去命令を送信制御部23及び通信回路21から送出させる。これに応じて、電子機器1Dでは、他の電子機器1から異常履歴消去命令に対する応答として、異常履歴消去完了通知を受信すると、当該異常履歴消去完了通知の送信元アドレス等から電子機器番号kを特定して、当該電子機器番号kに対応した履歴消去完了フラグDCkの値を「0(消去完了)」、履歴消去要求フラグDRkの値を「0(送信完了)」に設定する。   The history deletion request unit 24 deletes the abnormal history according to the values of the history deletion request flag DRk and the history deletion completion flag DCk stored in the abnormality history management flag storage unit 25 when the ignition switch 4 is on. The command is sent from the transmission control unit 23 and the communication circuit 21. In response to this, when the electronic device 1D receives an abnormal history deletion completion notification from another electronic device 1 as a response to the abnormal history deletion command, the electronic device number k is obtained from the source address of the abnormal history deletion completion notification. Specifically, the value of the history erasure completion flag DCk corresponding to the electronic device number k is set to “0 (erasure completion)”, and the value of the history erasure request flag DRk is set to “0 (transmission completion)”.

[車両用通信システムの異常履歴の消去手順]
つぎに、上述したように構成された車両用通信システムによって、異常履歴フラグを消去する手順について説明する。
[Procedure for deleting abnormality history of vehicle communication system]
Next, a procedure for deleting the abnormality history flag by the vehicle communication system configured as described above will be described.

上述のように構成された車両用通信システムにおいて、バッテリ5の消費電力低減のためにヒューズ3Bが抜かれると、電子機器1C、1Dの通信が不能となり、他の電子機器1の通信回路11によって電子機器1C、1Dとの間の通信不能が記憶される。ここで、イグニッションスイッチ4がオン状態である場合には、電子機器1A,1B、1E〜1Hのそれぞれの異常履歴記録/消去部14によってそれぞれの異常履歴記憶部15に異常履歴フラグが記録される。   In the vehicular communication system configured as described above, when the fuse 3B is removed to reduce the power consumption of the battery 5, the electronic devices 1C and 1D cannot communicate with each other, and the communication circuit 11 of the other electronic device 1 causes the communication. The inability to communicate with the electronic devices 1C and 1D is stored. Here, when the ignition switch 4 is in the ON state, the abnormality history flag is recorded in the abnormality history storage unit 15 by the abnormality history recording / erasing unit 14 of each of the electronic devices 1A, 1B, 1E to 1H. .

一方、電子機器1Dの異常履歴管理用フラグ記憶部25は、図4に示すように、異常履歴フラグを消去させたい電子機器1の全てに対し、履歴消去の要求の有無を示す履歴消去要求フラグDRk、及び、履歴消去の完了を示す履歴消去完了フラグDCkを保持している。そして、ヒューズ3Bが挿入されると、電子機器1Dでは、各部21〜25の初期化を行う。これにより、異常履歴管理用フラグ記憶部25における履歴消去要求フラグDRk及び履歴消去完了フラグDCkの値は、全て「1(未完了)」に設定される。   On the other hand, the abnormality history management flag storage unit 25 of the electronic device 1D, as shown in FIG. DRk and a history erasure completion flag DCk indicating completion of history erasure are held. And when fuse 3B is inserted, in electronic equipment 1D, each part 21-25 is initialized. As a result, the values of the history deletion request flag DRk and the history deletion completion flag DCk in the abnormality history management flag storage unit 25 are all set to “1 (incomplete)”.

その後、イグニッションスイッチ4がオン状態とされると、履歴消去要求部24は、履歴消去要求フラグDRk及び履歴消去完了フラグDCkの双方が「1(未完了)」に設定されている電子機器番号kの電子機器1に対して、順次、異常履歴消去命令を生成して、送信制御部23及び通信回路21を介して送信させる。   Thereafter, when the ignition switch 4 is turned on, the history erasure requesting unit 24 sets the electronic device number k in which both the history erasure request flag DRk and the history erasure completion flag DCk are set to “1 (incomplete)”. Are sequentially generated via the transmission control unit 23 and the communication circuit 21.

この異常履歴消去命令を他の電子機器1の通信回路11を介して受信すると、受信制御部12によって当該異常履歴消去命令が自己宛のデータであると認識し、当該異常履歴消去命令を異常履歴記録/消去部14に出力する。そして、異常履歴記録/消去部14は、異常履歴記憶部15に記憶されている異常履歴フラグを消去し、異常履歴消去完了通知を生成して、送信制御部13及び通信回路11を介して電子機器1Dに送信させる。   When this abnormality history erasure command is received via the communication circuit 11 of the other electronic device 1, the reception control unit 12 recognizes that the abnormality history erasure command is data addressed to itself, and uses the abnormality history erasure command as the abnormality history. The data is output to the recording / erasing unit 14. Then, the abnormality history recording / erasing unit 14 erases the abnormality history flag stored in the abnormality history storage unit 15, generates an abnormality history erasure completion notification, and transmits the notification via the transmission control unit 13 and the communication circuit 11. Transmit to the device 1D.

この異常履歴消去完了通知を電子機器1Dの通信回路21で受信すると、受信制御部22によって送信元の電子機器1を認識して、履歴消去要求部24に通知する。そして、履歴消去要求部24では、送信元の電子機器1に該当する電子機器番号kの履歴消去要求フラグDRk及び履歴消去完了フラグDCkを共に「0(完了)」に設定する。   When the abnormality history deletion completion notification is received by the communication circuit 21 of the electronic device 1D, the reception control unit 22 recognizes the transmission source electronic device 1 and notifies the history deletion request unit 24 of it. Then, the history erasure request unit 24 sets both the history erasure request flag DRk and the history erasure completion flag DCk of the electronic device number k corresponding to the transmission source electronic device 1 to “0 (completed)”.

このような異常履歴フラグの消去手順は、例えば、図5に示すようになる。なお、この説明では、電子機器1Cには履歴消去要求部24及び異常履歴管理用フラグ記憶部25が設けられていなく、電子機器1Dに履歴消去要求部24及び異常履歴管理用フラグ記憶部25が設けられており、第1群の電子機器1A,1B、第3群の電子機器1E,1F、第4群の電子機器1Gに異常履歴記録/消去部14及び異常履歴記憶部15が設けられている場合について説明する。   The procedure for deleting the abnormality history flag is as shown in FIG. 5, for example. In this description, the electronic device 1C is not provided with the history deletion request unit 24 and the abnormality history management flag storage unit 25, and the electronic device 1D has the history deletion request unit 24 and the abnormality history management flag storage unit 25. An abnormality history recording / erasing unit 14 and an abnormality history storage unit 15 are provided in the first group of electronic devices 1A and 1B, the third group of electronic devices 1E and 1F, and the fourth group of electronic devices 1G. The case will be described.

先ず、時刻t1において、ヒューズ3が取り付けられて、バッテリ5と第2群の電子機器1C、1Dとが導通すると、電子機器1C、1Dの電源がオフ状態からオン状態となる(図5(a))。これに応じて、電子機器1Dは、異常履歴管理用フラグ記憶部25に記憶されている履歴消去完了フラグDCk及び履歴消去要求フラグDRkの全ての値を「1(未完了)」に設定する初期化を行う。そして、電子機器1Dは、微小電流を消費し続ける待機状態となる。   First, at time t1, when the fuse 3 is attached and the battery 5 is electrically connected to the second group of electronic devices 1C and 1D, the power of the electronic devices 1C and 1D is changed from the off state to the on state (FIG. 5A )). In response to this, the electronic device 1D initially sets all values of the history deletion completion flag DCk and the history deletion request flag DRk stored in the abnormality history management flag storage unit 25 to “1 (incomplete)”. Do. And electronic device 1D will be in the standby state which continues consuming minute electric current.

その後の時刻t2において、イグニッションスイッチ4がオン状態となると(図5(b))、電子機器1Dの履歴消去要求部24は、電子機器1Aを宛先とした異常履歴消去命令C1を送信制御部23及び通信回路21によって送信させる(図5(c)、(d))。電子機器1Aは、異常履歴消去命令C1を受信すると、異常履歴記録/消去部14により、異常履歴記憶部15に記憶された異常履歴フラグを消去する。そして、異常履歴フラグの消去が完了すると、異常履歴記録/消去部14は、異常履歴消去命令C1を送信した電子機器1Dを宛先とした異常履歴消去完了通知R1を受信制御部12及び通信回路11に送信させる。電子機器1Dは、異常履歴消去完了通知R1を受信すると、電子機器1Aの電子機器番号Aに対応した履歴消去要求フラグDRA及び履歴消去完了フラグDCAの値を「0(完了)」にクリアする。   Thereafter, when the ignition switch 4 is turned on at time t2 (FIG. 5B), the history erasure request unit 24 of the electronic device 1D transmits an abnormal history erasure command C1 destined for the electronic device 1A as a transmission control unit 23. And it is made to transmit by communication circuit 21 (Drawing 5 (c) and (d)). When the electronic device 1A receives the abnormality history deletion command C1, the abnormality history recording / erasing unit 14 deletes the abnormality history flag stored in the abnormality history storage unit 15. When the deletion of the abnormality history flag is completed, the abnormality history recording / erasing unit 14 receives the abnormality history erasure completion notification R1 addressed to the electronic device 1D that has transmitted the abnormality history erasing command C1. To send to. When the electronic device 1D receives the abnormality history erasure completion notification R1, the electronic device 1D clears the values of the history erasure request flag DRA and the history erasure completion flag DCA corresponding to the electronic device number A of the electronic device 1A to “0 (completed)”.

次に、電子機器1Dは、他の電子機器1の異常履歴フラグを消去させる動作に移行する。この例では、電子機器1Dは、電子機器1Bに異常履歴消去命令C2を送信し、電子機器1Bの異常履歴フラグを消去させ、当該電子機器1Bからの異常履歴消去完了通知R2を受信すると、電子機器番号Bの履歴消去要求フラグDRB及び履歴消去完了フラグDCBの値を「0(完了)」にクリアする(図5(c)、(e))。   Next, the electronic device 1D shifts to an operation for deleting the abnormality history flag of the other electronic device 1. In this example, the electronic device 1D transmits an abnormality history deletion command C2 to the electronic device 1B, deletes the abnormality history flag of the electronic device 1B, and receives the abnormality history deletion completion notification R2 from the electronic device 1B. The values of the history deletion request flag DRB and the history deletion completion flag DCB of the device number B are cleared to “0 (completed)” (FIGS. 5C and 5E).

次に、電子機器1Dから電子機器1Eに異常履歴消去命令C3を送信した後(図5(c)、(f))、電子機器1Eから電子機器1Dに異常履歴消去完了通知R3が送信されない前の時刻t3においてイグニッションスイッチ4がオフ状態にされたとする(図5(b))。この場合、電子機器1Eで異常履歴消去完了通知の送信ができないために、電子機器1Dの履歴消去完了フラグDCE及び履歴消去要求フラグDREの値が「0(完了)」のまま保持されることになる。   Next, after the abnormal history deletion command C3 is transmitted from the electronic device 1D to the electronic device 1E (FIGS. 5C and 5F), the abnormal history deletion completion notification R3 is not transmitted from the electronic device 1E to the electronic device 1D. Assume that the ignition switch 4 is turned off at time t3 (FIG. 5B). In this case, since the electronic device 1E cannot transmit the abnormal history erasure completion notification, the values of the history erasure completion flag DCE and the history erasure request flag DRE of the electronic device 1D are held as “0 (completed)”. Become.

そして、時刻t3の後に、再度イグニッションスイッチ4がオン状態となると(図5(b))、電子機器1Dは、履歴消去完了フラグDCk及び履歴消去要求フラグDRkの値が「0(完了)」となっていない電子機器番号kに対応した電子機器1に異常履歴消去命令の送信を開始する。ここで、以前に異常履歴消去命令C3を送信したものの、異常履歴消去完了通知R3を受信しておらず、履歴消去完了フラグDCE及び履歴消去要求フラグDREの値が「1(未完了)」であるので、電子機器1Dは、電子機器1Eを宛先とした異常履歴消去命令C4を送信する。これにより、電子機器1Dは、電子機器1Eからの異常履歴消去完了通知R4を受信することができ、履歴消去完了フラグDCE及び履歴消去要求フラグDREの値を「0(完了)」にクリアすることができる(図5(c)、(f))。   When the ignition switch 4 is turned on again after time t3 (FIG. 5B), the electronic device 1D sets the values of the history erasure completion flag DCk and the history erasure request flag DRk to “0 (complete)”. The transmission of the abnormality history erasure command is started to the electronic device 1 corresponding to the electronic device number k that is not. Here, although the abnormal history deletion command C3 has been transmitted before, the abnormal history deletion completion notification R3 has not been received, and the values of the history deletion completion flag DCE and the history deletion request flag DRE are “1 (incomplete)”. Therefore, the electronic device 1D transmits an abnormality history deletion command C4 with the electronic device 1E as the destination. Thereby, the electronic device 1D can receive the abnormality history deletion completion notification R4 from the electronic device 1E, and clears the values of the history deletion completion flag DCE and the history deletion request flag DRE to “0 (completed)”. (FIGS. 5C and 5F).

このように、異常履歴管理用フラグ記憶部25に記憶されている履歴消去完了フラグDCk及び履歴消去要求フラグDRkの値を参照して、当該値が「0(完了)」とされていない電子機器1に異常履歴消去命令を送信することができる。これにより、異常履歴フラグを記録した電子機器1の異常履歴フラグを消去させている最中にイグニッションスイッチ4がオフ状態とされても、その後にイグニッションスイッチ4がオン状態にされた時に、既に異常履歴フラグを消去させた電子機器1に繰り返して異常履歴消去命令を送信する必要をなくしつつ、着実且つ効率的に異常履歴フラグの消去を行わせることができる。   In this way, with reference to the values of the history erasure completion flag DCk and the history erasure request flag DRk stored in the abnormality history management flag storage unit 25, the electronic devices whose values are not set to “0 (completed)” 1 can transmit an abnormality history erasure command. As a result, even if the ignition switch 4 is turned off while the abnormality history flag of the electronic device 1 that has recorded the abnormality history flag is being erased, the abnormality is already detected when the ignition switch 4 is subsequently turned on. It is possible to steadily and efficiently delete the abnormality history flag while eliminating the need to repeatedly transmit the abnormality history deletion command to the electronic device 1 from which the history flag has been deleted.

次に時刻t4において、電子機器1Dは、電子機器1Fを宛先とする異常履歴消去命令C5を送信して所定の待ち時間経過後の時刻t5になっても異常履歴消去完了通知を受信できない場合には、当該時刻t5において再度電子機器1Fに異常履歴消去命令C6を送信する(図5(c)、(g))。そして、再度の異常履歴消去命令C6を送信して所定の待ち時間経過後の時刻t6になっても異常履歴消去完了通知を受信できない場合には、電子機器1Fについての履歴消去要求フラグDREの値のみを「0(送信完了)」にクリアする。そして、電子機器1Fの次の電子機器1Gを宛先とした異常履歴消去命令C7を送信して、次の電子機器1Gの異常履歴フラグを消去させる処理に移行する(図5(c)、(h))。   Next, at time t4, the electronic device 1D transmits the abnormality history erasure command C5 destined for the electronic device 1F and cannot receive the abnormality history erasure completion notification at time t5 after a predetermined waiting time has elapsed. Transmits the abnormality history erasing command C6 to the electronic device 1F again at the time t5 (FIGS. 5C and 5G). If the abnormal history erasure completion notification cannot be received at the time t6 after the elapse of the predetermined waiting time after the transmission of the abnormal history erasure command C6 again, the value of the history erasure request flag DRE for the electronic device 1F Only “0 (transmission completed)” is cleared. Then, the abnormal history deletion command C7 destined for the next electronic device 1G of the electronic device 1F is transmitted, and the process proceeds to a process of deleting the abnormal history flag of the next electronic device 1G (FIG. 5C, (h) )).

このように、電子機器1に異常履歴消去命令を送信したにも拘わらず、異常履歴消去完了通知が受信できない場合や、何らかの原因により異常履歴消去命令の送信先の電子機器1で異常履歴フラグが消去できない場合であっても、他の電子機器1の異常履歴フラグの消去に移行させることができる。   As described above, when the abnormal history deletion command is not received even though the abnormal history deletion command is transmitted to the electronic device 1, the abnormal history flag is set in the electronic device 1 to which the abnormal history deletion command is transmitted for some reason. Even if it cannot be erased, it is possible to shift to the deletion of the abnormality history flag of the other electronic device 1.

また、電子機器1Dは、異常履歴消去命令を送信してから所定の待ち時間を経過しても異常履歴消去完了通知が受信できない場合には、当該異常履歴消去命令の送信及び受信待ちを繰り返し、それでも異常履歴消去完了通知が受信できない場合に履歴消去要求フラグDRkの値を「0(送信完了)」とする。これにより、何らかの原因によって異常履歴消去命令が送信完了されない場合や、異常履歴消去命令の送信先の電子機器1に処理遅れが生じた場合であっても、確実に異常履歴フラグを消去させて確認することができ、信頼性を向上させることができる。   If the electronic device 1D cannot receive the abnormal history deletion completion notification even after a predetermined waiting time has elapsed after transmitting the abnormal history deletion command, the electronic device 1D repeats the transmission and reception of the abnormal history deletion command. If the abnormal history deletion completion notification cannot be received, the value of the history deletion request flag DRk is set to “0 (transmission completed)”. As a result, even if the abnormal history deletion command is not completely transmitted due to some cause, or even when a processing delay occurs in the electronic device 1 to which the abnormal history deletion command is transmitted, the abnormal history flag is surely deleted and confirmed. And reliability can be improved.

[第1実施形態の効果]
以上詳細に説明したように、本発明を適用した第1実施形態に係る車両用通信システムによれば、第2群の電子機器1C、1Dとの間で通信を行う電子機器1に、電子機器1C、1Dからの異常履歴消去命令に応じて、異常履歴フラグを消去する異常履歴記録/消去部14を設け、電子機器1C、1Dに対する電力供給が復帰した場合に、電子機器1に記録された異常履歴フラグを消去する異常履歴消去命令を送信して消去させるので、故意に電子機器1C、1Dに対する電力供給を遮断しても、当該電力供給の遮断に応じて記録された異常履歴フラグを残すことなく消去することができる。これにより、例えば車両購入後の点検などにおいて異常履歴記録/消去部14に残存した異常履歴フラグによって誤った点検結果や、当該誤った点検結果による誤った修理作業を未然に防止することができる。また、異常履歴フラグの残存を確実に回避することができるので、車両の輸送時などにおいて、車両走行には不要な電子機器1に対するヒューズ3を取り外すだけの安価且つ簡単な電力遮断作業を採用することができる。
[Effect of the first embodiment]
As described above in detail, according to the vehicle communication system according to the first embodiment to which the present invention is applied, the electronic device 1 that communicates with the second group of electronic devices 1C and 1D is replaced with the electronic device. An abnormality history recording / erasing unit 14 for erasing the abnormality history flag is provided in response to an abnormality history erasing command from 1C and 1D, and is recorded in the electronic device 1 when power supply to the electronic devices 1C and 1D is restored. Since the abnormality history deletion command for deleting the abnormality history flag is transmitted and deleted, even if the power supply to the electronic devices 1C and 1D is intentionally interrupted, the abnormality history flag recorded according to the interruption of the power supply remains. It can be erased without Thereby, for example, an erroneous inspection result due to the abnormality history flag remaining in the abnormality history recording / erasing unit 14 in an inspection after the purchase of the vehicle or an erroneous repair work due to the erroneous inspection result can be prevented. In addition, since the remaining of the abnormality history flag can be surely avoided, an inexpensive and simple power cut-off operation for removing the fuse 3 for the electronic device 1 that is not necessary for vehicle travel is adopted during transportation of the vehicle. be able to.

また、この車両用通信システムによれば、異常履歴フラグを確実に消去できるために、車両走行用途以外の多くの電子機器1に対するヒューズ3を抜くことができ、長期保管するときの消費電力を低減させることができ、長期保管中の消費電力に対するバッテリ容量の余裕代を少なくして、バッテリ5として容量が少ないものを使用することができ車両コストを抑制させることができる。   Further, according to this vehicle communication system, since the abnormality history flag can be surely erased, the fuse 3 for many electronic devices 1 other than the vehicle traveling application can be removed, and the power consumption during long-term storage is reduced. Therefore, it is possible to reduce the margin of the battery capacity with respect to the power consumption during long-term storage, and to use a battery 5 with a small capacity, thereby suppressing the vehicle cost.

ここで、例えば、他の電子機器1と通信を行う全ての電子機器1をヒューズ3Aに接続し、通信を行わない電子機器1をヒューズ3Bに接続して、ヒューズ3Bを抜くことによって異常履歴フラグの残存を回避することができるが、ヒューズ3Bを抜くことによってバッテリ5から遮断できる電子機器1の数が減ることが考えられる。これに対し、第1実施形態に係る車両用通信システムによれば、他の電子機器1と通信を行うような電子機器1C、1Dとバッテリ5とを遮断して、当該電子機器1C、1Dと通信を行う電子機器1を動作させても、電子機器1C、1Dが通信不能となっていることによる異常履歴フラグを消去することができる。これにより、第1実施形態に係る車両用通信システムによれば、他の電子機器1と通信を行う電子機器1であっても、車両走行等の特定の用途に必要な処理以外を行う電子機器1に対してバッテリ5を遮断することができ、大幅な消費電力低減効果を発揮することができる。   Here, for example, all the electronic devices 1 that communicate with other electronic devices 1 are connected to the fuse 3A, the electronic device 1 that does not communicate is connected to the fuse 3B, and the abnormality history flag is extracted by removing the fuse 3B. However, it is conceivable that the number of electronic devices 1 that can be cut off from the battery 5 is reduced by removing the fuse 3B. On the other hand, according to the vehicle communication system according to the first embodiment, the electronic devices 1C and 1D and the battery 5 that communicate with the other electronic devices 1 are disconnected, and the electronic devices 1C and 1D are disconnected. Even if the electronic device 1 that performs communication is operated, the abnormality history flag due to the fact that the electronic devices 1C and 1D cannot communicate can be deleted. Thereby, according to the communication system for vehicles concerning a 1st embodiment, even if it is electronic equipment 1 which communicates with other electronic equipment 1, electronic equipment which performs other than processing required for specific uses, such as vehicle running The battery 5 can be cut off with respect to 1, and a significant power consumption reduction effect can be exhibited.

また、例えば、車両が所定の期間放置された状態を検知した場合に、全ての電子機器1とバッテリ5との導通を遮断し、イグニッションスイッチ4がオン状態となったら全ての電子機器1を起動させることによっても、一部の電子機器1に異常履歴フラグが残存することを回避できるが、このために、所定の期間放置されたことを検出するタイマ及び制御回路や電子制御によって導通を遮断及び復帰させる遮断回路が必要となる。これに対し、第1実施形態に係る車両用通信システムによれば、異常履歴フラグの残存を回避するために、電力供給の遮断及び復帰等を電子制御するための部品を不要とすることができ、コストを上昇させることはない。   Further, for example, when a state in which the vehicle is left for a predetermined period is detected, all the electronic devices 1 are disconnected from the battery 5 and all the electronic devices 1 are activated when the ignition switch 4 is turned on. However, it is possible to avoid the abnormality history flag from remaining in some electronic devices 1, but for this reason, the timer and the control circuit for detecting that the abnormality history flag has been left for a predetermined period of time and the electronic control are cut off. A shut-off circuit to be restored is required. On the other hand, according to the vehicle communication system according to the first embodiment, in order to avoid the remaining of the abnormality history flag, it is possible to eliminate the need for parts for electronically controlling power supply interruption and recovery. , Does not raise the cost.

更に、この車両用通信システムによれば、異常履歴フラグの消去完了又は未完了を示す履歴消去完了フラグDCkを電子機器1ごとに記憶しておき、全ての履歴消去完了フラグDCkが消去完了となるまで異常履歴消去命令を繰り返して送信するので、異常履歴フラグを確実に消去することができる。   Further, according to this vehicle communication system, the history erasure completion flag DCk indicating the completion or non-completion of the abnormality history flag is stored for each electronic device 1, and all the history erasure completion flags DCk become erasure completion. Since the abnormality history deletion command is repeatedly transmitted until the abnormality history flag is deleted, the abnormality history flag can be surely deleted.

更にまた、この車両用通信システムによれば、異常履歴消去命令の送信完了又は未完了を示す履歴消去完了フラグDCkを電子機器1ごとに記憶しておき、電子機器1に異常履歴消去命令を送信して、所定の時間が経過しても電子機器1からの応答を受信できない場合には、当該電子機器1の履歴消去要求フラグDRkを送信完了に設定させると共に当該電子機器1の履歴消去完了フラグDCkを未完了に設定させて、他の電子機器1A、1Bに異常履歴消去命令を送信する処理に移行することができるので、異常履歴フラグの消去ができない電子機器1から他の電子機器1の異常履歴の消去に移行させることができる。また、後に履歴消去要求フラグDRkの値が送信完了となっているが、履歴消去完了フラグDCkの値が消去未完了である組み合わせの電子機器1を検索することによって、異常履歴フラグが消去できなかった電子機器1を確認することができ、異常履歴フラグを消去させる機能の信頼性を向上させることができる。   Furthermore, according to this vehicle communication system, the history erasure completion flag DCk indicating completion or incomplete transmission of the abnormality history erasure command is stored for each electronic device 1, and the abnormality history erasure command is transmitted to the electronic device 1. If a response from the electronic device 1 cannot be received even after a predetermined time has elapsed, the history erasure request flag DRk of the electronic device 1 is set to transmission completion and the history erasure completion flag of the electronic device 1 is set. Since DCk is set to incomplete and the process can be shifted to the process of transmitting the abnormality history deletion command to the other electronic devices 1A and 1B, the abnormality history flag cannot be deleted from the electronic device 1 that cannot erase the abnormality history flag. It is possible to shift to deletion of abnormality history. In addition, the value of the history deletion request flag DRk has been transmitted later, but the abnormality history flag cannot be deleted by searching for a combination of electronic devices 1 in which the value of the history deletion completion flag DCk is not yet deleted. The electronic device 1 can be confirmed, and the reliability of the function for deleting the abnormality history flag can be improved.

更にまた、この車両用通信システムによれば、車両走行に必要な電子機器1についてはバッテリ5を遮断させず、車両走行に不要な電子機器1についてはバッテリ5を遮断させ、車両走行に不要な電子機器1とバッテリ5との遮断が解除された場合に、当該車両走行に不要な電子機器1によって異常履歴フラグの消去をさせることができる。   Furthermore, according to this vehicle communication system, the battery 5 is not cut off for the electronic device 1 necessary for vehicle travel, and the battery 5 is shut off for the electronic device 1 unnecessary for vehicle travel, which is unnecessary for vehicle travel. When the disconnection between the electronic device 1 and the battery 5 is released, the abnormality history flag can be erased by the electronic device 1 that is unnecessary for traveling the vehicle.

更にまた、この車両用通信システムによれば、イグニッションスイッチ4がオン状態である時のみに動作する電子機器1についても、イグニッションスイッチ4がオン状態となった時に異常履歴フラグを消去させることができる。   Furthermore, according to this vehicle communication system, the abnormality history flag can be erased when the ignition switch 4 is turned on even in the electronic device 1 that operates only when the ignition switch 4 is turned on. .

[第2実施形態]
つぎに、第2実施形態に係る車両用通信システムについて説明する。なお、上述の第1実施形態と同様の部分については同一符号を付することによりその詳細な説明を省略する。
[Second Embodiment]
Next, a vehicle communication system according to the second embodiment will be described. In addition, about the part similar to the above-mentioned 1st Embodiment, the detailed description is abbreviate | omitted by attaching | subjecting the same code | symbol.

第2実施形態に係る車両用通信システムは、図6に示すように、他の電子機器1に記憶されている異常履歴フラグを消去させる電子機器1に、スイッチ操作判別部31と、通知部32とを設けた点で、第1実施形態に係る車両用通信システムとは異なる。この第2実施形態に係る電子機器1Dは、図示しない車両の各種スイッチ機構と、図示しないランプ等の報知手段と接続されている。また、第2実施形態においても、履歴消去要求部24及び異常履歴管理用フラグ記憶部25が電子機器1Dに設けられている場合を示しているが、何れかの電子機器1に履歴消去要求部24及び異常履歴管理用フラグ記憶部25が備えられていればよい。   As shown in FIG. 6, in the vehicular communication system according to the second embodiment, the electronic device 1 that deletes the abnormality history flag stored in the other electronic device 1 has the switch operation determination unit 31 and the notification unit 32. Is different from the vehicle communication system according to the first embodiment. The electronic apparatus 1D according to the second embodiment is connected to various switch mechanisms of a vehicle (not shown) and notifying means such as a lamp (not shown). Also, in the second embodiment, the case where the history deletion request unit 24 and the abnormality history management flag storage unit 25 are provided in the electronic device 1D is shown. 24 and the abnormality history management flag storage unit 25 may be provided.

スイッチ操作判別部31は、電子機器1Dが車両に搭載された各種スイッチ機構と通信バス2を介して接続され、各種スイッチ機構に対する操作信号が通信回路21及び受信制御部22を介して供給される。これに応じ、スイッチ操作判別部31は、車両のスイッチ機構に対して所定のスイッチ入力操作がなされか否かを判別する。   The switch operation determination unit 31 is connected to various switch mechanisms on which the electronic device 1D is mounted on the vehicle via the communication bus 2, and operation signals for the various switch mechanisms are supplied via the communication circuit 21 and the reception control unit 22. . In response to this, the switch operation determination unit 31 determines whether or not a predetermined switch input operation is performed on the switch mechanism of the vehicle.

スイッチ操作判別部31は、例えば、所定のスイッチ操作として、イグニッションスイッチ4がオン状態となった後の5秒以内に、ドアロック施開錠を2回繰り返すことを記憶しておく。そして、スイッチ操作判別部31は、イグニッションスイッチ4のオンオフ信号及びドアロックの施解錠信号が通信バス2を介して通信回路21で受信されて、受信制御部22から入力した場合に、所定のスイッチ操作がなされたか否かを判別する。なお、図6の車両用通信システムでは、通信バス2を介してスイッチ信号を入力する例を示しているが、これに限らず、スイッチ操作判別部31が直接スイッチ機構に接続されていても良い。   The switch operation determination unit 31 stores, for example, that the door lock locking / unlocking is repeated twice within 5 seconds after the ignition switch 4 is turned on as a predetermined switch operation. Then, the switch operation determination unit 31 receives a predetermined switch when an ON / OFF signal of the ignition switch 4 and a door lock locking / unlocking signal are received by the communication circuit 21 via the communication bus 2 and input from the reception control unit 22. It is determined whether or not an operation has been performed. In the vehicle communication system of FIG. 6, an example in which a switch signal is input via the communication bus 2 is shown. However, the present invention is not limited to this, and the switch operation determination unit 31 may be directly connected to the switch mechanism. .

通知部32は、スイッチ操作判別部31によって所定のスイッチ入力操作なされたことが判別された場合に、その旨の情報を操作者に通知する。なお、この通知部32は、直接ランプ等の報知手段に接続されて当該報知手段を点滅駆動させても良く、通信バス2を介して報知手段の点滅駆動命令を送信させるものであっても良い。   When the switch operation determination unit 31 determines that a predetermined switch input operation has been performed, the notification unit 32 notifies the operator of information to that effect. The notification unit 32 may be directly connected to notification means such as a lamp to cause the notification means to be driven to blink, or to transmit a blinking drive command for the notification means via the communication bus 2. .

このような車両用通信システムにおいて、異常履歴管理用フラグ記憶部25は、スイッチ操作判別部31で所定のスイッチ操作がなされた旨の情報が出力される。これに応じ、異常履歴管理用フラグ記憶部25は、全ての履歴消去要求フラグDRkの値を「0(送信完了)」に設定し、全ての履歴消去完了フラグDCkの値を「1(消去未完了)」に設定する。また、この異常履歴管理用フラグ記憶部25は、ヒューズ3が取り付けられてバッテリ5に対する導通が復帰した場合に、全ての履歴消去要求フラグDRkの値を「1(送信未完了)」に設定する。   In such a vehicle communication system, the abnormality history management flag storage unit 25 outputs information indicating that a predetermined switch operation has been performed by the switch operation determination unit 31. In response to this, the abnormality history management flag storage unit 25 sets the values of all history erasure request flags DRk to “0 (transmission completed)” and sets the values of all history erasure completion flags DCk to “1 (not erased). Completed) ”. Further, the abnormality history management flag storage unit 25 sets the values of all history erasure request flags DRk to “1 (transmission incomplete)” when the fuse 3 is attached and the continuity to the battery 5 is restored. .

すなわち、異常履歴管理用フラグ記憶部25は、所定のスイッチ入力操作が行われたことがスイッチ操作判別部31で判別され、且つ、バッテリ5に対する導通が復帰した場合にのみ、履歴消去要求フラグDRk及び履歴消去完了フラグDCkの双方の値が「1(未完了)」となる初期化が完了される。換言すれば、所定のスイッチ入力操作がスイッチ操作判別部31で判別されない状態で、バッテリ5に対する導通が復帰した場合には、履歴消去要求フラグDRkの値は「1(送信未完了)」に設定されるが、履歴消去完了フラグDCkの値は「0(消去完了)」のままとなる。一方、所定のスイッチ入力操作がスイッチ操作判別部31で判別されたが、バッテリ5に対する導通が復帰していない場合には、履歴消去要求フラグDRkの値は「0(送信完了)」のままとなり、履歴消去完了フラグDCkの値は「1(消去未完了)」に設定される。   That is, the abnormality history management flag storage unit 25 determines that the predetermined switch input operation has been performed by the switch operation determination unit 31 and only when the continuity to the battery 5 has been restored, the history deletion request flag DRk. Then, initialization is completed so that both values of the history erasure completion flag DCk are “1 (incomplete)”. In other words, when the continuity to the battery 5 is restored in a state where the predetermined switch input operation is not determined by the switch operation determination unit 31, the value of the history erasure request flag DRk is set to “1 (transmission incomplete)”. However, the value of the history erasure completion flag DCk remains “0 (erasure completion)”. On the other hand, when the predetermined switch input operation is determined by the switch operation determination unit 31, but the continuity to the battery 5 is not restored, the value of the history erasure request flag DRk remains “0 (transmission completed)”. The value of the history erasure completion flag DCk is set to “1 (erasure incomplete)”.

このような車両用通信システムは、例えば、図7に示すように、時刻t11において、ヒューズ3Bが取り付けられて第2群の電子機器1C、1Dとバッテリ5との導通が復帰しており(図7(a))、且つ、イグニッションスイッチ4がオン状態であるときに(図7(b))、所定のスイッチ操作がなされると(図7(c))、当該スイッチ操作に応じた操作信号が電子機器1Dで検出される(図7(d))。これに応じ、電子機器1Dは、所定のスイッチ操作を検出できたことを操作者に通知すべく、ランプ等の報知手段への通知要求C11を通信バス2に送出する。これにより、通知要求C11は、ランプ等の報知手段に接続された何れかの電子機器1で受信されて(図7(e)〜(i))、操作者に所定のスイッチ操作が受け付けられたことを報知させる。   In such a vehicle communication system, for example, as shown in FIG. 7, at time t11, the fuse 3B is attached and the electrical connection between the second group of electronic devices 1C and 1D and the battery 5 is restored (see FIG. 7). 7 (a)) and when the ignition switch 4 is in the ON state (FIG. 7 (b)), when a predetermined switch operation is performed (FIG. 7 (c)), an operation signal corresponding to the switch operation Is detected by the electronic apparatus 1D (FIG. 7D). In response to this, the electronic device 1D sends a notification request C11 to a notification means such as a lamp to the communication bus 2 in order to notify the operator that a predetermined switch operation has been detected. Thus, the notification request C11 is received by any one of the electronic devices 1 connected to the notification means such as a lamp (FIGS. 7 (e) to (i)), and a predetermined switch operation is accepted by the operator. Let them know.

また、電子機器1Dは、所定のスイッチ操作の後に、自己に接続されたヒューズ3Bが取り外されて、他の電子機器1に自己の異常履歴フラグが記憶されることを認識する。そして、電子機器1Dは、所定のスイッチ操作がなされたことにより、異常履歴管理用フラグ記憶部25の全ての履歴消去完了フラグDCkの値を「1(未完了)」に設定する。   Further, the electronic device 1D recognizes that the fuse 3B connected to the electronic device 1D is removed after the predetermined switch operation, and the other abnormality history flag is stored in the other electronic device 1. Then, the electronic device 1D sets the values of all history erasure completion flags DCk in the abnormality history management flag storage unit 25 to “1 (uncompleted)” by performing a predetermined switch operation.

その後、時刻t12でイグニッションスイッチ4がオフ状態、オン状態、オフ状態に順次操作されても(図7(b))、電子機器1Dは、全ての履歴消去要求フラグDRkの値が「0(送信完了)」となっているので、異常履歴消去命令の送信を開始しない。   Thereafter, even when the ignition switch 4 is sequentially operated in an off state, an on state, and an off state at time t12 (FIG. 7B), the electronic device 1D sets the values of all the history deletion request flags DRk to “0 (transmission). Completed) ”, so transmission of the error history clear command is not started.

その後、時刻t13以降において、例えば長期保管による消費電力低減のためにヒューズ3Bが取り外され、バッテリ5に対する電子機器1Dの導通が遮断される。このとき、車両を走行させると、電子機器1A,1B,1E,1F,1Hに電子機器1Dの異常履歴が記憶される。そして、時刻t14で復帰した場合には(図7(a))、当該バッテリ5の遮断に続く復帰が電子機器1Dのスイッチ操作判別部31で検出される。これに応じ、スイッチ操作判別部31は、履歴消去要求フラグDRA,DRB,DRE〜DRHの全値が「1(送信未完了)」に設定される。   Thereafter, after time t13, for example, the fuse 3B is removed in order to reduce power consumption due to long-term storage, and conduction of the electronic device 1D to the battery 5 is interrupted. At this time, when the vehicle is driven, the abnormality history of the electronic device 1D is stored in the electronic devices 1A, 1B, 1E, 1F, and 1H. Then, when returning at time t14 (FIG. 7A), the return following the interruption of the battery 5 is detected by the switch operation determination unit 31 of the electronic device 1D. In response to this, the switch operation determination unit 31 sets all values of the history deletion request flags DRA, DRB, DRE to DRH to “1 (transmission incomplete)”.

これによって、時刻t11で全ての履歴消去完了フラグDCkが「1(消去未完了)」に設定され、時刻t14で全ての履歴消去要求フラグDRkが「1(送信未完了)」に設定されて、異常履歴管理用フラグ記憶部25の初期化が完了したことになる。その後、時刻t15で再度イグニッションスイッチ4がオン状態に操作されると(図7(b))、電子機器1Dは、履歴消去完了フラグDCk及び履歴消去要求フラグDRkが共に「1(未完了)」の電子機器1に対して、異常履歴フラグの消去させる処理を開始する。   As a result, all history deletion completion flags DCk are set to “1 (deletion incomplete)” at time t11, and all history deletion request flags DRk are set to “1 (transmission incomplete)” at time t14. This means that the initialization of the abnormality history management flag storage unit 25 has been completed. Thereafter, when the ignition switch 4 is again turned on at time t15 (FIG. 7B), the electronic device 1D has both the history erasure completion flag DCk and the history erasure request flag DRk both “1 (incomplete)”. The process of deleting the abnormality history flag is started for the electronic device 1.

これにより、電子機器1Dは、電子機器1Aから順次異常履歴消去命令C12の送信及び異常履歴消去完了通知R12の受信(図7(e))、異常履歴消去命令C13の送信及び異常履歴消去完了通知R13の受信(図7(f))、異常履歴消去命令C14の送信(図7(g))を行い、各電子機器1で電子機器1Dに関する異常履歴フラグを消去させる。   Thereby, the electronic device 1D sequentially transmits the abnormal history deletion command C12 and the reception of the abnormal history deletion completion notification R12 (FIG. 7E), the transmission of the abnormal history deletion command C13, and the abnormal history deletion completion notification from the electronic device 1A. The R13 is received (FIG. 7 (f)) and the abnormal history deletion command C14 is transmitted (FIG. 7 (g)), and each electronic device 1 deletes the abnormal history flag related to the electronic device 1D.

なお、スイッチ操作判別部31や通知部32は、電子機器1D以外の電子機器1に備えていても良い。この場合、電子機器1Dは、スイッチ操作判別部31を具備する電子機器1から、所定のスイッチ入力操作があったことを通信バス2を介して取得し、異常履歴管理用フラグ記憶部25にて履歴消去完了フラグDCkの値を「1(消去未完了)」に設定する。その後、電子機器1Dは、異常履歴管理用フラグ記憶部25の初期化が完了したことを通知部32を具備する電子機器1に通知し、当該電子機器1によって所定のスイッチ入力操作が検出されたことを操作者に通知させる。   Note that the switch operation determination unit 31 and the notification unit 32 may be provided in the electronic device 1 other than the electronic device 1D. In this case, the electronic device 1D acquires from the electronic device 1 including the switch operation determination unit 31 that the predetermined switch input operation has been performed via the communication bus 2, and uses the abnormality history management flag storage unit 25. The value of the history erasure completion flag DCk is set to “1 (erasure incomplete)”. Thereafter, the electronic device 1D notifies the electronic device 1 including the notification unit 32 that the initialization of the abnormality history management flag storage unit 25 has been completed, and a predetermined switch input operation is detected by the electronic device 1 This is notified to the operator.

[第2実施形態の効果]
以上詳細に説明したように、本発明を適用した第2実施形態に係る車両用通信システムによれば、所定のスイッチ入力操作を判別するスイッチ操作判別部31を設け、所定のスイッチ入力操作が検出され、その後に、第2群の電子機器1の電源が再度復帰した場合に、当該第2群の電子機器1の異常を示す異常履歴フラグを消去させるので、故意にヒューズ3を取り外して電源が遮断された電子機器1の異常履歴のみを削除させることができる。これによって、例えばエンジン始動時の一時的なバッテリ5の電圧低下や、振動などによる一時的な電源接続コネクタの接触不良によるバッテリ5の瞬間断絶、バッテリ5の交換などに伴うバッテリ5の電源の切断によって記録された、本来必要な異常履歴フラグが消去されることを防止することができる。
[Effects of Second Embodiment]
As described above in detail, according to the vehicle communication system according to the second embodiment to which the present invention is applied, the switch operation determining unit 31 that determines a predetermined switch input operation is provided, and the predetermined switch input operation is detected. After that, when the power supply of the second group of electronic devices 1 is restored again, the abnormality history flag indicating the abnormality of the second group of electronic devices 1 is erased. Only the abnormality history of the blocked electronic device 1 can be deleted. As a result, for example, the battery 5 is momentarily disconnected due to a temporary voltage drop of the battery 5 at the time of starting the engine, a temporary contact failure of the power supply connector due to vibrations, or the replacement of the battery 5. It is possible to prevent the originally necessary abnormality history flag recorded by the above method from being erased.

また、この車両用通信システムによれば、所定のスイッチ入力操作が検出された場合に、履歴消去完了フラグDCkの全てを「1(未完了)」に設定して、その後に、所定のスイッチ入力操作が受け付けられたことを操作者に報知するので、異常履歴管理用フラグ記憶部25が初期化され、その後の電源の復帰によって異常履歴フラグを消去させることを操作者に通知できる。これにより、本来必要な異常履歴フラグが不測に消去されることを防止することができる。   Further, according to this vehicle communication system, when a predetermined switch input operation is detected, all of the history erasure completion flags DCk are set to “1 (incomplete)”, and then a predetermined switch input is performed. Since the operator is notified that the operation has been accepted, the abnormality history management flag storage unit 25 is initialized, and the operator can be notified that the abnormality history flag will be erased by the subsequent power recovery. Thereby, it is possible to prevent the originally necessary abnormality history flag from being accidentally deleted.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.

すなわち、上述した実施形態では、複数の電子機器を有する車両用通信システムについて説明したが、待機時の消費電力の低減を図り一部の電子機器を遮断し、当該遮断によって記録された異常履歴を消去可能とする通信システムであれば上述の効果を発揮できるということは勿論である。   That is, in the above-described embodiment, the vehicular communication system having a plurality of electronic devices has been described. However, a part of the electronic devices is cut off in order to reduce power consumption during standby, and the abnormality history recorded by the cut-off is recorded. Of course, any communication system that can be erased can exhibit the above-described effects.

本発明を適用した車両用通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system for vehicles to which this invention is applied. 本発明を適用した車両用通信システムを構成する電子機器の種類について説明するための図である。It is a figure for demonstrating the kind of electronic device which comprises the communication system for vehicles to which this invention is applied. 本発明を適用した第1実施形態に係る車両用通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system for vehicles which concerns on 1st Embodiment to which this invention is applied. 異常履歴管理用フラグ記憶部に記憶されるテーブルデータについて説明するための図である。It is a figure for demonstrating the table data memorize | stored in the abnormality log | history management flag memory | storage part. 本発明を適用した第1実施形態に係る車両用通信システムにより、異常履歴フラグを消去するときの動作を説明するタイミングチャートである。It is a timing chart explaining operation | movement when the abnormality log | history flag is erase | eliminated by the vehicle communication system which concerns on 1st Embodiment to which this invention is applied. 本発明を適用した第2実施形態に係る車両用通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system for vehicles which concerns on 2nd Embodiment to which this invention is applied. 本発明を適用した第2実施形態に係る車両用通信システムにより、異常履歴フラグを消去するときの動作を説明するタイミングチャートである。It is a timing chart explaining operation | movement when the abnormality log | history flag is erase | eliminated by the vehicle communication system which concerns on 2nd Embodiment to which this invention is applied.

符号の説明Explanation of symbols

1 電子機器
2 通信バス
3 ヒューズ
4 イグニッションスイッチ
5 バッテリ
11,21 通信回路
12,22 受信制御部
13,23 送信制御部
14 異常履歴記録/消去部
15 異常履歴記憶部
24 履歴消去要求部
25 異常履歴管理用フラグ記憶部
31 スイッチ操作判別部
32 通知部
1 Electronic Device 2 Communication Bus 3 Fuse 4 Ignition Switch 5 Battery 11, 21 Communication Circuit 12, 22 Reception Control Unit 13, 23 Transmission Control Unit 14 Abnormal History Recording / Erase Unit 15 Abnormal History Storage Unit 24 History Erase Request Unit 25 Abnormal History Management flag storage unit 31 Switch operation determination unit 32 Notification unit

Claims (5)

電源に接続された第1の車載電子機器と、車両の長期停止時に電源供給を遮断するための電源遮断手段を介して電源に接続された第2の車載電子機器とを含む複数の車載電子機器が通信線で接続され、これら複数の車載電子機器間で前記通信線を利用した通信を行うとともに、各車載電子機器が他の車載電子機器との間で行った通信の異常を異常履歴として記憶する車両用通信システムにおいて、
前記複数の車載電子機器のうちの何れかの車載電子機器が、前記第2の車載電子機器に対する電源供給が前記電源遮断手段により遮断された状態から復帰したときに、前記第1の車載電子機器に対して、前記第2の車載電子機器との間での通信に関する異常履歴を消去する旨の異常履歴消去命令を送信する異常履歴消去命令送信手段を備え、
前記第1の車載電子機器が、前記異常履歴消去命令に応じて、記憶した異常履歴のうちで前記第2の車載電子機器との間での通信に関する異常履歴を消去する異常履歴消去手段を備えること
を特徴とする車両用通信システム。
A plurality of in-vehicle electronic devices including a first in-vehicle electronic device connected to a power source and a second in-vehicle electronic device connected to the power source through a power shut-off means for interrupting power supply when the vehicle is stopped for a long time Are connected via a communication line, perform communication using the communication line between the plurality of in-vehicle electronic devices, and store an abnormality history of communication between each in-vehicle electronic device and another in-vehicle electronic device. In a vehicle communication system,
When any one of the plurality of in-vehicle electronic devices returns from a state in which power supply to the second in-vehicle electronic device is interrupted by the power cutoff means, the first in-vehicle electronic device In contrast, an abnormality history erasure command transmission means for transmitting an abnormality history erasure command for erasing an abnormality history relating to communication with the second on-vehicle electronic device is provided,
The first in-vehicle electronic device includes an abnormality history erasing unit that erases an abnormality history related to communication with the second in-vehicle electronic device among the stored abnormality histories in response to the abnormality history erasing command. A vehicle communication system characterized by the above.
前記異常履歴消去命令送信手段を備える車載電子機器は、前記第1の車載電子機器における異常履歴の消去完了又は未完了を示す履歴消去完了フラグを、前記第1の車載電子機器毎に記憶する記憶手段を備え、
前記異常履歴消去命令送信手段が、前記記憶手段に記憶された履歴消去完了フラグを参照して、前記第1の車載電子機器のうちで異常履歴の消去が未完了の車載電子機器を特定し、特定した車載電子機器に対して前記異常履歴消去命令を送信すること
を特徴とする請求項1に記載の車両用通信システム。
The in-vehicle electronic device including the abnormality history erasure command transmission unit stores a history erasure completion flag indicating completion or incomplete erasure of the abnormality history in the first in-vehicle electronic device for each of the first in-vehicle electronic devices. With means,
The abnormality history erasure command transmission means refers to a history erasure completion flag stored in the storage means, identifies an in-vehicle electronic device in which erasure of an abnormality history is incomplete among the first in-vehicle electronic devices, The vehicle communication system according to claim 1, wherein the abnormality history erasure command is transmitted to the specified in-vehicle electronic device.
前記異常履歴消去命令送信手段を備える車載電子機器は、前記車両における所定のスイッチ操作を検出するスイッチ操作検出手段を備え、
前記異常履歴消去命令送信手段が、前記スイッチ操作検出手段により所定のスイッチ操作が検出された後、前記第2の車載電子機器に対する電源供給が遮断された状態から復帰したときに、前記第1の車載電子機器に対して前記異常履歴消去命令を送信すること
を特徴とする請求項1に記載の車両用通信システム。
The in-vehicle electronic device including the abnormality history erasure command transmission unit includes a switch operation detection unit that detects a predetermined switch operation in the vehicle,
When the abnormality history erasure command transmission means returns from a state where power supply to the second in-vehicle electronic device is cut off after a predetermined switch operation is detected by the switch operation detection means, The vehicle communication system according to claim 1, wherein the abnormality history deletion command is transmitted to an in-vehicle electronic device.
前記異常履歴消去命令送信手段を備える車載電子機器は、前記スイッチ操作検出手段により所定のスイッチ操作が検出を操作者に報知する報知手段を備えること
を特徴とする請求項3に記載の車両用通信システム。
The vehicle communication device according to claim 3, wherein the vehicle-mounted electronic device including the abnormality history erasure command transmission unit includes a notification unit that notifies the operator that a predetermined switch operation has been detected by the switch operation detection unit. system.
電源に接続された第1の車載電子機器と、車両の長期停止時に電源供給を遮断するための電源遮断手段を介して電源に接続された第2の車載電子機器とを含む複数の車載電子機器が通信線で接続され、これら複数の車載電子機器間で前記通信線を利用した通信を行うとともに、各車載電子機器が他の車載電子機器との間で行った通信の異常を異常履歴として記憶する車両用通信システムの履歴管理方法において、
前記複数の車載電子機器のうちの何れかの車載電子機器が、前記第2の車載電子機器に対する電源供給が前記電源遮断手段により遮断された状態から復帰したときに、前記第1の車載電子機器に対して、前記第2の車載電子機器との間での通信に関する異常履歴を消去する旨の異常履歴消去命令を送信し、
前記第1の車載電子機器毎が、前記異常履歴消去命令に応じて、記憶した異常履歴のうちで前記第2の車載電子機器との間での通信に関する異常履歴を消去すること
を特徴とする車両用通信システムの履歴管理方法。
A plurality of in-vehicle electronic devices including a first in-vehicle electronic device connected to a power source and a second in-vehicle electronic device connected to the power source through a power shut-off means for interrupting power supply when the vehicle is stopped for a long time Are connected via a communication line, perform communication using the communication line between the plurality of in-vehicle electronic devices, and store an abnormality history of communication between each in-vehicle electronic device and another in-vehicle electronic device. In a history management method for a vehicle communication system,
When any one of the plurality of in-vehicle electronic devices returns from a state in which power supply to the second in-vehicle electronic device is interrupted by the power cutoff means, the first in-vehicle electronic device In response, an abnormality history erasure command for erasing the abnormality history related to communication with the second vehicle-mounted electronic device is transmitted,
Each of the first in-vehicle electronic devices deletes an abnormality history related to communication with the second in-vehicle electronic device from the stored abnormality history in response to the abnormality history deletion command. A history management method for a vehicle communication system.
JP2005110284A 2005-04-06 2005-04-06 Vehicle communication system and history management method for vehicle communication system Expired - Fee Related JP4577071B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005110284A JP4577071B2 (en) 2005-04-06 2005-04-06 Vehicle communication system and history management method for vehicle communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005110284A JP4577071B2 (en) 2005-04-06 2005-04-06 Vehicle communication system and history management method for vehicle communication system

Publications (2)

Publication Number Publication Date
JP2006295345A JP2006295345A (en) 2006-10-26
JP4577071B2 true JP4577071B2 (en) 2010-11-10

Family

ID=37415456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005110284A Expired - Fee Related JP4577071B2 (en) 2005-04-06 2005-04-06 Vehicle communication system and history management method for vehicle communication system

Country Status (1)

Country Link
JP (1) JP4577071B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5713117B2 (en) 2011-12-02 2015-05-07 株式会社オートネットワーク技術研究所 Transmission message generator and in-vehicle communication system
JP5664562B2 (en) * 2012-01-17 2015-02-04 株式会社デンソー Relay device
JP7454022B1 (en) 2022-09-28 2024-03-21 本田技研工業株式会社 Vehicle control system and vehicle control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324145A (en) * 1999-05-12 2000-11-24 Nissan Motor Co Ltd Network diagnostic device, network diagnostic method and network system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0949450A (en) * 1995-08-04 1997-02-18 Mazda Motor Corp Fuel control device for engine in vehicle

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000324145A (en) * 1999-05-12 2000-11-24 Nissan Motor Co Ltd Network diagnostic device, network diagnostic method and network system

Also Published As

Publication number Publication date
JP2006295345A (en) 2006-10-26

Similar Documents

Publication Publication Date Title
KR100545131B1 (en) Control system
KR20150084984A (en) Vehicle-mounted device, vehicle management system, recording medium, and vehicle management method
CN108369505B (en) Control apparatus, program update method, and computer program
JP5206737B2 (en) Electronic control device and information management system
US20130197712A1 (en) Vehicle program rewriting system
US9251632B2 (en) Vehicle diagnostic system
CN100572782C (en) Vehicle data backup method
JP2006316638A (en) Main relay failure diagnosing method and electronic control device
US7054728B2 (en) Rewrite control apparatus for onboard program
US20200215930A1 (en) Control apparatus, control method, and computer program
JP2010247590A (en) Rewriting system for vehicle
JP3956694B2 (en) In-vehicle information communication system and in-vehicle power supply control unit
US20190256109A1 (en) Control apparatus, control method, and computer program
JP2007198939A (en) Vehicle failure diagnosis device
JP2007251722A (en) Communication device, on-vehicle system, data storing method and program
JP4577071B2 (en) Vehicle communication system and history management method for vehicle communication system
JP4487007B2 (en) In-vehicle program rewrite control system
JP4264254B2 (en) In-vehicle program rewrite control system
JP2008015750A (en) Vehicle management system
JP2004199490A (en) Rewriting control device of onboard program
CN106095474A (en) For the method and apparatus updating the software in means of transport
JP2004210183A (en) In-vehicle program rewrite control device
JP2013187968A (en) Charge control device of vehicle
JP4026495B2 (en) Server switching control device
JP2008014851A (en) Vehicle management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080227

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: 20100727

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: 20100809

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130903

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees