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

JP5034866B2 - In-vehicle control device - Google Patents

In-vehicle control device Download PDF

Info

Publication number
JP5034866B2
JP5034866B2 JP2007278344A JP2007278344A JP5034866B2 JP 5034866 B2 JP5034866 B2 JP 5034866B2 JP 2007278344 A JP2007278344 A JP 2007278344A JP 2007278344 A JP2007278344 A JP 2007278344A JP 5034866 B2 JP5034866 B2 JP 5034866B2
Authority
JP
Japan
Prior art keywords
control device
information data
specification information
vehicle
writing
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.)
Active
Application number
JP2007278344A
Other languages
Japanese (ja)
Other versions
JP2009107358A (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.)
Suzuki Motor Corp
Original Assignee
Suzuki Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzuki Motor Corp filed Critical Suzuki Motor Corp
Priority to JP2007278344A priority Critical patent/JP5034866B2/en
Publication of JP2009107358A publication Critical patent/JP2009107358A/en
Application granted granted Critical
Publication of JP5034866B2 publication Critical patent/JP5034866B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

この発明は車載制御装置に係り、特に、車両に搭載する制御装置に格納される仕様情報データを書き込む技術、および、その書き込み機能を有する制御装置からなる車載制御装置に関する。   The present invention relates to an in-vehicle control device, and more particularly to a technique for writing specification information data stored in a control device mounted on a vehicle, and an in-vehicle control device including a control device having the writing function.

車両には、種々の構成部品の動作を制御するために、複数の制御装置を搭載している。車両に搭載される制御装置の数は、近年、増加の一途を辿っている。さらに、車両上では、それらの制御装置どうしを相互通信により結びつけるネットワーク(LAN、CAN等のエリアネットワーク)により車載制御装置のシステムを構築している。
また、完成工場においては、ほぼ同時期に製造された同系の車両が、異なる国や地域に仕向けられるように製造されている。この時、製造される車両には、同型の制御装置を搭載し、仕向地に応じて同型の制御装置にそれぞれの異なる仕様情報データを書き込むことになる。
そして、車両が製品として市場に出回った後に、製品についての故障・個人的な嗜好・市場を流れる上での法規適応上の問題など様々な要因によって、搭載された多くの制御装置のうち、一つ以上の制御装置の交換作業を行う必要も出てきている。
完成工場での仕様情報データの書き込みを行っている制御装置を、市場で交換した場合には、修理工場において専用の書き込みツールを使用して、交換する制御装置に完成工場で行っているのと同じ仕様情報データの書き込みを行う必要がある。
一方、市場においては、書き込みツールが無い修理工場などがあるため、市場で交換する制御装置に仕様情報データの書き込みは行わず、部品メーカーで仕様情報データの書き込みを行い、この仕様情報データの書き込みを行った制御装置を取付けるように対応している。
部品メーカとしては、サービス用部品を在庫する必要があるけれども、異なる仕様情報データを書き込み済みの同型の制御装置、さらに異型の制御装置までを加えた膨大な種類の制御装置を在庫する必要はないので、仕様情報データを書き込んでいない同型の制御装置を在庫し、それに後から異なる仕様情報データを書き込むことで、在庫数を減らすことができ、また、品番管理などの管理工数を抑えることができる。
A vehicle is equipped with a plurality of control devices in order to control the operation of various components. In recent years, the number of control devices mounted on vehicles has been steadily increasing. Further, on the vehicle, an in-vehicle control device system is constructed by a network (an area network such as a LAN or CAN) that connects these control devices with each other through mutual communication.
In the completed factory, similar vehicles manufactured at almost the same time are manufactured to be sent to different countries and regions. At this time, the same type of control device is mounted on the manufactured vehicle, and different specification information data is written in the same type of control device according to the destination.
After a vehicle is put on the market as a product, one of the many control devices installed due to various factors, such as product failure, personal preference, and regulatory compliance in the market. There has also been a need to replace more than one controller.
When a control device that writes specification information data at the completed factory is replaced in the market, a dedicated writing tool is used at the repair factory, and the controller is replaced at the completed factory. It is necessary to write the same specification information data.
On the other hand, because there are repair shops that do not have a writing tool in the market, the specification information data is not written to the control device to be replaced in the market, the specification information data is written by the component manufacturer, and this specification information data is written. It corresponds to installing the control device which performed.
As a parts manufacturer, it is necessary to stock service parts, but it is not necessary to stock the same type of control device that has been written with different specification information data, and a vast number of types of control devices that include even different types of control devices. Therefore, stocking control devices of the same type that have not written specification information data, and writing different specification information data later, can reduce the number of inventory, and can also reduce management man-hours such as product number management. .

従来技術では、車両に搭載した複数の制御装置について、複数の制御装置の間で仕様情報データを通信し、単純に他の制御装置に一の制御装置の仕様情報データを記憶させる車載制御装置が、公知となっている。その記憶をする目的が、仕様情報データの集中的な管理の目的である場合と、仕様情報データのバックアップの目的である場合との、いずれもが公知である。   In the prior art, an in-vehicle control device that communicates specification information data among a plurality of control devices and simply stores the specification information data of one control device in another control device for a plurality of control devices mounted on a vehicle. Is known. Both the case where the purpose of storing is the purpose of centralized management of specification information data and the case of the purpose of backup of specification information data are known.

このような車載制御装置の先行する技術としては、一の制御装置が、自己の仕様情報データが記憶されているかを自己判断し、他の制御装置から送信される仕様情報データを受信し、一の制御装置に書き込みを行うことで、一の制御装置に対して品番を与える必要を無くす技術が開示されている。
特開2004−40649号公報
As a prior art of such an in-vehicle control device, one control device self-determines whether its own specification information data is stored, receives specification information data transmitted from another control device, A technique is disclosed that eliminates the need to give a part number to one control device by writing to the control device.
JP 2004-40649 A

また、従来の車載制御装置としては、一の制御装置が、他の制御装置に仕様情報データを要求し、他の制御装置から仕様情報データを受信し、一の制御装置に書き込みを行うことで、各制御装置毎に記憶手段を設ける必要を無くす技術が開示されている。
特許第3788862号公報
In addition, as a conventional in-vehicle control device, one control device requests specification information data from another control device, receives specification information data from another control device, and writes to the one control device. A technique for eliminating the need to provide storage means for each control device is disclosed.
Japanese Patent No. 3788862

さらに、従来の車載制御装置としては、他の制御装置が、起動時に一の制御装置に仕様情報データを要求し、一の制御装置から仕様情報データを受信し、他の制御装置に書き込みを行うことで、他の制御装置に対して品番を与える必要を無くす技術が開示されている。
特開平7−9925号公報
Furthermore, as a conventional in-vehicle control device, another control device requests specification information data from one control device at startup, receives specification information data from one control device, and writes to another control device Thus, a technique for eliminating the need to give a product number to another control device is disclosed.
Japanese Patent Laid-Open No. 7-9925

さらにまた、従来の車載制御装置としては、一の制御装置が、他の制御装置に仕様情報データを送信し、他の制御装置に繰り返し書き込みを行うことで、信頼性を高める技術が開示されている。
特許第3750692号公報
Furthermore, as a conventional in-vehicle control device, a technology has been disclosed in which one control device transmits specification information data to another control device and repeatedly writes to another control device, thereby improving reliability. Yes.
Japanese Patent No. 3750692

また、従来の車載制御装置としては、一の制御装置が、他の制御装置から転送される仕様情報データを受信し、受信した仕様情報に基づいて他の制御装置の制御仕様を決定することで、制御仕様の変更を容易とする技術が開示されている。
特開平9−242582号公報
In addition, as a conventional in-vehicle control device, one control device receives specification information data transferred from another control device, and determines the control specifications of the other control device based on the received specification information. A technique for facilitating change of control specifications is disclosed.
JP-A-9-242582

ところで、従来の車載制御装置においては、完成工場での仕様情報データの書き込みを行っている制御装置を市場で交換した場合に、市場における修理工場の都合、書き込みツールが無い修理工場の問題に対して、部品メーカーで仕様情報データの書き込みを行い、書き込みを行った制御装置を取付けるように対応している。
しかし、部品メーカとしては、仕様情報データを書き込んでいない同型の制御装置を在庫し、それに後から異なる仕様情報データを書き込むことで、在庫数を減らすことができ、また、品番管理などの管理工数を抑えることができる一方で、前述の市場における修理工場の問題に対して、部品メーカーでの仕様情報データの書き込み対応という管理上の都合により、補給専用品番の設定が必要となり、管理品番が増加する問題がある。
By the way, in the case of a conventional in-vehicle control device, when a control device that writes specification information data at a completed factory is replaced in the market, the problem of a repair factory without a writing tool due to the convenience of a repair shop in the market. Thus, the specification information data is written by the component manufacturer, and the controller that has written the data is attached.
However, as a parts manufacturer, you can reduce the number of inventory by stocking the same type of control device that has not written specification information data, and writing different specification information data later, and management man-hours such as part number management. On the other hand, for the above-mentioned problem of the repair shop in the market, it is necessary to set the part number for exclusive use of replenishment due to the management convenience of writing specification information data at the parts manufacturer, and the managed part number increases. There is a problem to do.

これに対して、前述特許文献1においては、一の制御装置が、自己の仕様情報データが記憶されているかを自己判断し、他の制御装置から仕様情報データを受信して書き込みを行うことで、制御装置に対して品番を与える必要を無くし、品番の数を減らしている。
しかし、この特許文献1のシステムでは、他の制御装置が、一の制御装置からの通信が無いことをきっかけとして自発的に仕様情報データを送信する機能を有しており、一時的に上位(マスタ)と下位(スレーブ)との関係が崩れることことにより、上位である一の制御装置の動作が受動的となる一方、下位である他の制御装置は無信号をトリガとする能動的な動作が必要となり、また、他の制御装置が一の制御装置からの信号が無いことを待って仕様情報データを送信するため、通信に待ち状態となる無駄時間を含む問題がある。
また、前述特許文献2においては、他の制御装置に仕様情報データを要求し、他の制御装置から仕様情報データを受信し、一の制御装置に書込みを行うことで、各制御装置毎に記憶手段を設ける必要を無くしているが、起動時に、自己の状態を判断せずに、必ず書き込むことになるため、記憶手段に書込む際の繰り返し回数が、必要性に対して過大となり、耐久性が要求される問題がある。
On the other hand, in the above-mentioned Patent Document 1, one control device self-determines whether its own specification information data is stored, receives specification information data from another control device, and writes it. This eliminates the need to give part numbers to the control device and reduces the number of part numbers.
However, in the system of Patent Document 1, another control device has a function of spontaneously transmitting specification information data triggered by the absence of communication from one control device. When the relationship between the master) and the lower level (slave) breaks down, the operation of one upper level control device becomes passive, while the other lower level control device operates actively with no signal as a trigger. In addition, since the specification information data is transmitted after waiting for the absence of a signal from one control device from another control device, there is a problem including a dead time for waiting for communication.
Further, in the above-mentioned Patent Document 2, the specification information data is requested from another control device, the specification information data is received from the other control device, and written to one control device, so that it is stored for each control device. Although there is no need to provide a means, at the time of start-up, since it will always write without judging its own state, the number of repetitions when writing to the storage means becomes excessive to the necessity, and durability There is a problem that is required.

この発明は、一の制御装置が自動的に他の制御装置と仕様情報データを相互通信して、その通信を基に書き込みできる機能を有するようにすること、そのような制御システムを構築することにより、メーカがサービス用部品として在庫する制御装置の数量を減らして管理の負担を減らすこと、市場における人為的操作による仕様情報データ書き込みの機会や書き込みツールの使用の機会を減らす、あるいは不要とすることを目的とする。
また、この発明は、自己診断機能が働く頻度に比較して書き込み実行の頻度が過多とならないようにすること、上位(マスタ)と下位(スレーブ)の関係を保ち、下位(スレーブ)の機能を過多としないようにすることを目的とする。
さらには、この発明は、従来からある情報データを共有してバックアップする技術により、アフターサービスを受けて正常に機能回復する可能性を損なわないようにすること、ひいては、不都合なく正しい車両の使用を可能とすることも目的とする。
The present invention provides a function that allows one control device to automatically communicate with specification information data with another control device and to write based on the communication, and to construct such a control system. By reducing the number of control devices stocked as service parts by manufacturers, the management burden is reduced, and the opportunity for writing specification information data and the use of writing tools in the market is reduced or eliminated. For the purpose.
In addition, the present invention prevents the frequency of write execution from exceeding the frequency at which the self-diagnostic function works, maintains the relationship between the upper (master) and lower (slave), and reduces the lower (slave) function. The purpose is not to be excessive.
Furthermore, the present invention prevents the possibility of normal function recovery by receiving after-sales service by using a conventional information data sharing and backup technology, and therefore correct vehicle use without inconvenience. The purpose is to make it possible.

第一の制御装置および第二の制御装置を含む複数の制御装置を車両に搭載し、それら制御装置を互いに通信線で接続して仕様情報データの通信を行うとともに、これらの制御装置がそれぞれ車両の仕様情報データを記憶する記憶手段を有する車載制御装置において、前記第一の制御装置の記憶手段には第一の制御装置の仕様情報データおよび第二の制御装置の仕様情報データを格納可能とするとともに、前記第二の制御装置の記憶手段には第二の制御装置の仕様情報データおよび第一の制御装置の仕様情報データを格納可能とし、前記第一の制御装置は、起動時に、それぞれの記憶手段に格納された個々の仕様情報データの有無を所定の順序で順次確認する機能と、この確認の過程で、いずれか一方の記憶手段に第二の制御装置の仕様情報データがない場合は、いずれか他方の記憶手段から第二の制御装置の仕様情報データを書き込むように制御する機能と、かつ第一の制御装置の記憶手段に第一の制御装置の仕様情報データがない場合は、その確認の過程では第一の制御装置に書き込まないように制御する機能とを有する。   A plurality of control devices including a first control device and a second control device are mounted on a vehicle, and the control devices are connected to each other via a communication line to communicate specification information data. In the in-vehicle control device having storage means for storing the specification information data, the storage means of the first control device can store the specification information data of the first control device and the specification information data of the second control device. In addition, the storage means of the second control device can store the specification information data of the second control device and the specification information data of the first control device, and the first control device can A function for sequentially confirming the presence or absence of individual specification information data stored in the storage means in a predetermined order, and in the process of this confirmation, the specification information data of the second controller is stored in either storage means. If there is no data, the function of controlling to write the specification information data of the second control device from one of the other storage means, and the specification information data of the first control device to the storage means of the first control device If there is no, there is a function of controlling not to write to the first control device in the confirmation process.

この発明の車載制御装置は、制御装置の交換時に、交換する制御装置の取り付け後、取り付けられた制御装置に、通信により仕様情報データの書き込みができるので、もとの状態をほぼ自動的に再現できる。それにより、この発明の車載制御装置は、交換用の制御装置に、予め仕様情報データを書き込む必要性を低減できる。
また、この発明の車載制御装置は、完成工場において、予め仕様情報データを書き込んだ制御装置を、管理品番を付けたり、その品番を付けた制御装置を管理したりといった、管理工数を削減できる。一方、この発明の車載制御装置は、市場の修理工場において、書き込みツールを用意する負担、およびツールを使用する際の負担を軽滅できる。
さらに、この発明の車載制御装置は、車両に搭載した第二の制御装置を、仕様情報データを書き込んでいない新しい第二の制御装置に交換した際に、制御装置間の通信によって自動的に新しい第二の制御装置に仕様情報データを書き込むことができる。さらにまた、この発明の車載制御装置は、イニシャライズとして診断を行う第一の制御装置が、仕様情報データの有無を確認する過程で、自己が書き込みモードに移ることを無くすことができる。
The vehicle-mounted control device according to the present invention can automatically reproduce the original state because the specification information data can be written to the attached control device by communication after the control device to be replaced is attached when the control device is replaced. it can. Thereby, the vehicle-mounted control apparatus of this invention can reduce the necessity for writing specification information data beforehand in the control apparatus for exchange.
In addition, the in-vehicle control device of the present invention can reduce management man-hours such as assigning a management product number to a control device to which specification information data has been written in advance or managing a control device to which the product number is assigned in a completed factory. On the other hand, the in-vehicle control device of the present invention can lighten the burden of preparing a writing tool and the burden of using the tool at a repair shop in the market.
Furthermore, when the second control device mounted on the vehicle is replaced with a new second control device in which the specification information data is not written, the in-vehicle control device of the present invention is automatically updated by communication between the control devices. Specification information data can be written to the second control device. Furthermore, the in-vehicle control device of the present invention can prevent the first control device, which performs diagnosis as initialization, from entering the write mode in the process of confirming the presence / absence of the specification information data.

この発明の車載制御装置は、交換により取り付けられる制御装置に、通信により仕様情報データの書き込みができるようにし、交換用の制御装置に予め仕様情報データを書き込む必要性を低減し、完成工場において制御装置の管理工数を削減するものである。
以下、図面に基づいてこの発明の実施例を説明する。
The vehicle-mounted control device of the present invention enables specification information data to be written by communication to a control device that is attached by replacement, reduces the need to write specification information data in advance to the control device for replacement, and is controlled at a completed factory. This reduces the man-hours for managing the equipment.
Embodiments of the present invention will be described below with reference to the drawings.

図1〜図6は、実施例を示すものである。図1は車載制御装置のシステム構成図、図2は車載制御装置の全体処理のフローチャート、図3は車載制御装置のイニシャル処理のフローチャート、図4は第一の制御装置へ第二の制御装置の仕様情報データを書き込むモードのフローチャート、図5は第二の制御装置へ第一の制御装置の仕様情報データと第二の制御装置の仕様情報データとを書き込むモードのフローチャート、図6は第一の制御装置へ第一の制御装置の仕様情報データを書き込むモードのフローチャートである。
図1において、1は車載制御装置、2は第一の制御装置、3は第二の制御装置、4は通信線である。車載制御装置1は、上位(マスタ)となる第一の制御装置2および下位(スレーブ)となる第二の制御装置3を含む複数の制御装置を車両に搭載している。車載制御装置1は、それら第一・第二の制御装置2・3を互いに通信線4で接続して仕様情報データの通信を行う。
この車載制御装置1は、複数の制御装置2・3間で仕様情報データを持ち合う。この実施例においては、第一の制御装置2をコンビネーションメータ内の制御装置(ECU1)とし、第二の制御装置3を空調装置用の制御装置(ECU2)として説明する。
これらの第一・第二の制御装置2・3は、それぞれ制御対象に対する制御量を演算する中央処理手段であるマイクロコンピュータ5・6を備え、制御対象を制御するためのプログラムを記憶する読み出し専用の記憶手段として、車両の起動・停止に関わらず記憶する不揮発性メモリのROM7・8を備え、マイクロコンピュータ5・6が演算を行うための演算情報を保存する書き換え可能な記憶手段として、車両の起動・停止に応じて記憶・消去する揮発性メモリのRAM9・10を備えている。
また、これらの第一・第二の制御装置2・3は、それぞれ車両の仕様情報データD1・D2を記憶する書き換え可能な記憶手段として、電気的に書き込み・消去が可能な不揮発性メモリのEEPROM11・12を有している。EEPROM11・12は、書き込みツール13により仕様情報データD1・D2を書き込まれ、書き込みが正しく完了すれば、通常、消えることはない。書き込みモードの時には、車両の仕様情報データD1・D2を、通常運転中に扱うデータを格納するメモリ(ROM7・8、RAM9・10)とは異なるメモリ(EEPROM11・12)に格納することが可能であり、メモリの特徴にあわせて使い分けしている。
1 to 6 show an embodiment. FIG. 1 is a system configuration diagram of the in-vehicle control device, FIG. 2 is a flowchart of overall processing of the in-vehicle control device, FIG. 3 is a flowchart of initial processing of the in-vehicle control device, and FIG. FIG. 5 is a flowchart of a mode for writing specification information data. FIG. 5 is a flowchart of a mode for writing the specification information data of the first control device and the specification information data of the second control device to the second control device. It is a flowchart of the mode which writes the specification information data of a 1st control apparatus to a control apparatus.
In FIG. 1, 1 is a vehicle-mounted control device, 2 is a first control device, 3 is a second control device, and 4 is a communication line. The vehicle-mounted control device 1 is equipped with a plurality of control devices including a first control device 2 that is an upper (master) and a second control device 3 that is a lower (slave). The in-vehicle control device 1 connects the first and second control devices 2 and 3 with each other via a communication line 4 to communicate specification information data.
This in-vehicle control device 1 has specification information data among a plurality of control devices 2 and 3. In this embodiment, the first control device 2 will be described as a control device (ECU1) in the combination meter, and the second control device 3 will be described as a control device for an air conditioner (ECU2).
These first and second control devices 2 and 3 are equipped with microcomputers 5 and 6 which are central processing units for calculating control amounts for the controlled objects, respectively, and are read-only storing programs for controlling the controlled objects. Non-volatile memory ROMs 7 and 8 are stored as storage means regardless of whether the vehicle is started or stopped, and rewritable storage means for storing computation information for the microcomputers 5 and 6 to perform computations. It has RAMs 9 and 10 which are volatile memories that store and erase in response to activation and deactivation.
These first and second control devices 2 and 3 are electrically rewritable and non-volatile EEPROM 11 as rewritable storage means for storing vehicle specification information data D1 and D2, respectively.・ Has 12 The EEPROMs 11 and 12 normally do not disappear if the specification information data D1 and D2 are written by the writing tool 13 and the writing is completed correctly. In the writing mode, the vehicle specification information data D1 and D2 can be stored in a memory (EEPROM11 and 12) different from the memory (ROM7 and 8 and RAM9 and 10) that stores data handled during normal driving. Yes, depending on the characteristics of the memory.

前記第一の制御装置2のEEPROM11には、第一の制御装置2の仕様情報データD1および第二の制御装置3の仕様情報データD2を格納可能とするとともに、前記第二の制御装置3のEEPROM12には、第二の制御装置3の仕様情報データD2および第一の制御装置2の仕様情報データ第1を格納可能としている。
前記第一の制御装置2は、車載制御装置1の起動時に、第一・第二の制御装置2・3のそれぞれのEEPROM11・12に格納された個々の仕様情報データD1・D2の有無を所定の順序で順次確認する機能と、この確認の過程で、いずれか一方(EEPROM11あるいはEEPROM12)に第二の制御装置3の仕様情報データD2がない場合は、いずれか他方(EEPROM12あるいはEEPROM11)から第二の制御装置3の仕様情報データD2を書き込むように制御する機能と、かつ第一の制御装置2のEEPROM11に第一の制御装置2の仕様情報データD1がない場合は、その確認の過程では第一の制御装置2に仕様情報データD1を書き込まないように制御する機能とを有する。
また、前記第一の制御装置2は、仕様情報データD1・D2の有無の確認動作終了後、第二の制御装置3から送られる第一の制御装置2の仕様情報データD1の書き込み要求信号を受け取り、予め設定した制限回数に合致する間のみ書き込みを許可して書き込み動作を行う一方、制限回数を超える場合は書き込みを許可せず書き込み動作を行わないように動作する。
The EEPROM 11 of the first control device 2 can store the specification information data D1 of the first control device 2 and the specification information data D2 of the second control device 3, and the second control device 3 The EEPROM 12 can store the specification information data D2 of the second control device 3 and the specification information data first of the first control device 2.
The first control device 2 determines whether or not individual specification information data D1 and D2 are stored in the EEPROMs 11 and 12 of the first and second control devices 2 and 3 when the on-vehicle control device 1 is started. If the specification information data D2 of the second control device 3 does not exist in either one (EEPROM 11 or EEPROM 12) during the confirmation process, the second is checked from the other (EEPROM 12 or EEPROM 11). If the specification information data D1 of the first control device 2 is not in the EEPROM 11 of the first control device 2 and the function of controlling the specification information data D2 of the second control device 3 to be written, A function of controlling the specification information data D1 not to be written in the first control device 2;
In addition, the first control device 2 receives a write request signal for the specification information data D1 of the first control device 2 sent from the second control device 3 after the confirmation operation for the presence or absence of the specification information data D1 and D2. The write operation is performed while permitting writing only while the number of times is received and the preset limit number is met, while when the limit number is exceeded, the write operation is not permitted and the write operation is not performed.

即ち、この車載制御装置1は、マスタである第一の制御装置2とスレーブである第二の制御装置3が互いの仕様情報データD1・D2を持ち合い、起動時に仕様情報データD1・D2の有無を確認する。車載制御装置1は、確認中に、第一・第二の制御装置2・3のいずれか一方にスレーブである第二の制御装置3の仕様情報データD2がない場合は、いずれか他方から書き込むものである。車載制御装置1は、確認中に、マスタである第一の制御装置2に仕様情報データD1がない場合、マスタである第一の制御装置2には書き込みを行わない。
また、車載制御装置1は、仕様情報データD1・D2の有無の確認後、スレーブである第二の制御装置3が持つマスタである第一の制御装置2の仕様情報データD1を、制限を越えない範囲でマスタである第一の制御装置2に書き込むものである。
That is, in the in-vehicle control device 1, the first control device 2 that is a master and the second control device 3 that is a slave have each other's specification information data D 1 and D 2, and whether or not the specification information data D 1 and D 2 are present at startup Confirm. The in-vehicle control device 1 writes data from either one of the first and second control devices 2 and 3 when the specification information data D2 of the second control device 3 that is a slave is not present during the confirmation. Is. If the specification information data D1 is not in the first control device 2 that is the master during the confirmation, the in-vehicle control device 1 does not write to the first control device 2 that is the master.
In addition, after confirming the presence or absence of the specification information data D1 and D2, the vehicle-mounted control device 1 exceeds the specification information data D1 of the first control device 2 that is the master of the second control device 3 that is the slave. The data is written in the first control device 2 which is a master within a range.

この車載制御装置1は、二つの第一・第二の制御装置2・3が互いの仕様情報データD1・D2を持ち合うので、自乗した4つの仕様情報データが存在する。車載制御装置1は、これら仕様情報データの有無を個々に確認するため、図3のイニシャル処理では完了するまでに4つのステップが必要となる。そのステップの順序は、第一の制御装置2の仕様情報データD1を個々の第一・第二の制御装置2・3に対して夫々確認し、次いで、第二の制御装置3の仕様情報データD2を個々の第一・第二の制御装置2・3に対して夫々確認する、という手順をとっている。この車載制御装置1は、同一の仕様情報データD1・D2を保有するように揃えることを重視している。
仕様情報データを互いに持ち合う制御装置の組に括られる制御装置の選定は、いずれも客室内にあること、あるいは、互いに車両上の離れた位置にあること、互いの動作時期が関連していないこと、仕様が仕向地によって変わらないものを一つ以上含めること等を考慮して決める。それにより、同時に交換する可能性の低い制御装置どうしで組むことになり、もとから残り新規交換されたものではない方の制御装置には、必ず仕様情報データが残ることになる。
In the in-vehicle control device 1, since the two first and second control devices 2 and 3 have the specification information data D1 and D2 of each other, there are four specification information data squared. Since the in-vehicle control device 1 individually checks the presence / absence of the specification information data, the initial process in FIG. 3 requires four steps to complete. The order of the steps is to confirm the specification information data D1 of the first control device 2 with respect to each of the first and second control devices 2 and 3, respectively, and then to the specification information data of the second control device 3. The procedure of confirming D2 with respect to each of the first and second control devices 2 and 3 is taken. The in-vehicle control device 1 places importance on aligning the specification information data D1 and D2 so as to hold the same.
The selection of control devices that can be combined into a set of control devices that hold specification information data with each other is either in the cabin or at a distance from the vehicle, and their operation timing is not related. In addition, it is decided in consideration of including one or more specifications whose specifications do not change depending on the destination. As a result, the control devices that are unlikely to be replaced at the same time are assembled with each other, and the specification information data always remains in the remaining control device that has not been newly replaced.

マスタとなる第一の制御装置2(コンビネーションメータ)は、イニシャル処理のフロー(図3〜図5)を有し、
(i)自己の記憶手段であるEEPROM11内における自己(第一の制御装置2)の仕様情報データD1及び第二の制御装置3の仕様情報データD2の有無を自己判断する機能、
(ii)第二の制御装置3(空調装置)に仕様情報データD2を要求する機能(自己のEEPROM11内に第二の制御装置3の仕様情報データD2が無い場合)、
(iii)第二の制御装置3から送られてきた第二の制御装置3の仕様情報データD2を受信する機能、
(iv)自己のEEPROM11に第二の制御装置3の仕様情報データD2の書き込みを行う機能、
を有している。
また、第一の制御装置2(コンビネーションメータ)は、イニシャル処理において、自己のEEPROM11内に自己の仕様情報データD1が無い場合、自己の仕様情報データD1の受信や書き込みを行わずにイニシャル処理を終了する。
さらに、第一の制御装置2(コンビネーションメータ)は、イニシャル処理の終了後、特別な書込み処理のフロー(図6)を有し、
(i)第二の制御装置3から送られてきた第一の制御装置2の仕様情報データD1を受信する機能(予め設定された制限回数により許可される場合)、
(ii)第一の制御装置2に第二の制御装置3から送られてきた仕様情報データD1の書き込みを行う機能、
を有している。
これに対して、スレーブとなる第二の制御装置3(空調装置)への仕様情報データD1・D2の書き込みは、イニシャル処理において、第一の制御装置2(コンビネーションメータ)が第二の制御装置3(空調装置)のEEPROM12内における、第一の制御装置2の仕様情報データD1及び第二の制御装置3の仕様情報データD2の有無を判断する際に、無いことが判断される都度、行われる。
The first control device 2 (combination meter) serving as a master has an initial processing flow (FIGS. 3 to 5).
(I) a function of self-determining the presence / absence of the specification information data D1 of the self (first control device 2) and the specification information data D2 of the second control device 3 in the EEPROM 11 as its own storage means;
(Ii) a function for requesting the specification information data D2 from the second control device 3 (air conditioner) (when there is no specification information data D2 of the second control device 3 in its own EEPROM 11);
(Iii) a function of receiving the specification information data D2 of the second control device 3 sent from the second control device 3,
(Iv) a function of writing the specification information data D2 of the second control device 3 into its own EEPROM 11;
have.
Also, the first control device 2 (combination meter) performs the initial process without receiving or writing its own specification information data D1 when its own specification information data D1 does not exist in its own EEPROM 11 in the initial process. finish.
Further, the first control device 2 (combination meter) has a special writing process flow (FIG. 6) after the end of the initial process.
(I) A function of receiving the specification information data D1 of the first control device 2 sent from the second control device 3 (when permitted by a preset limit number),
(Ii) a function of writing the specification information data D1 sent from the second control device 3 to the first control device 2;
have.
On the other hand, writing of the specification information data D1 and D2 to the second control device 3 (air conditioner) serving as the slave is performed by the first control device 2 (combination meter) in the initial control process. When it is determined that there is no specification information data D1 of the first control device 2 and specification information data D2 of the second control device 3 in the EEPROM 12 of the air conditioner 3 (air conditioner), Is called.

次に作用を説明する。
車載制御装置1は、図2〜図6に示すように、制御を実行する。なお、図においては、第一の制御装置2をECU1、第二の制御装置3をECU2、第一の制御装置2の仕様情報データD1をECU1仕様情報、第二の制御装置3の仕様情報データD2をECU2仕様情報、と記載して説明する。
車載制御装置1は、図2に示すように、車両のイグニッションスイッチをON(IG−ON)して起動すると(101)、イニシャル処理を実行し(102)、第一の制御装置2への仕様情報データD1の書き込みモードを実行し(103)、通常制御を実行し(104)、イグニッションスイッチのOFF(IG−OFF)で停止する(105)。
Next, the operation will be described.
The vehicle-mounted control apparatus 1 performs control as shown in FIGS. In the figure, the first control device 2 is ECU1, the second control device 3 is ECU2, the specification information data D1 of the first control device 2 is ECU1 specification information, and the specification information data of the second control device 3 is used. D2 will be described as ECU2 specification information.
As shown in FIG. 2, when the vehicle-mounted control device 1 is started by turning on the ignition switch of the vehicle (IG-ON) (101), the in-vehicle control device 1 executes an initial process (102), and the specification to the first control device 2 is performed. The writing mode of the information data D1 is executed (103), the normal control is executed (104), and it is stopped when the ignition switch is turned off (IG-OFF) (105).

車載制御装置1は、図2のイニシャル処理(102)において、図3に示すように、マスタである第一の制御装置2がイニシャル処理を行う。イニシャル処理は、イグニッションスイッチをOFFからONしてその後にONからOFFしたことを1サイクルとするイグニッションサイクルにおいて、イグニッションスイッチがONになった時に行う。
図3において、イグニッションスイッチがON(IG−ON)でイニシャル処理を開始すると(201)、第一の制御装置2は仕様情報データD1を持っているかを判断する(202)。この判断(202)がYESの場合は、スレーブである第二の制御装置3は第一の制御装置2の仕様情報データD1を持っているかを判断する(203)。
この判断(203)がYESの場合は、第一の制御装置2は第二の制御装置3の仕様情報データD2を持っているかを判断する(204)。この判断(203)がNOの場合は、第二の制御装置3の書き込みモードに移行し(205)、第二の制御装置3の書き込みモード終了後に前記判断(204)に移行する。
前記判断(204)がYESの場合は、第二の制御装置3は第二の制御装置3の仕様情報データD2を持っているかを判断する(206)。この判断(206)がYESの場合は、イニシャル処理を終了する(207)。この判断(206)がNOの場合は、第二の制御装置3の書き込みモードに移行し(208)、第二の制御装置3の書き込みモード終了後にイニシャル処理を終了する(207)。
前記判断(204)がNOの場合は、第二の制御装置3は第二の制御装置3の仕様情報データD2を持っているかを判断する(209)。この判断(209)がYESの場合は、第一の制御装置2の書き込みモードに移行し(210)、第一の制御装置2の書き込みモード終了後にイニシャル処理を終了する(207)。この判断(209)がNOの場合は、イニシャル処理を終了する(207)。
前記第一の制御装置2は仕様情報データD1を持っているかの判断(202)がNOの場合は、第二の制御装置3は第一の制御装置2の仕様情報データD1を持っているかを判断する(211)。この判断(211)がYESの場合は、前記判断(204)に移行する。この判断(211)がNOの場合は、第一の制御装置2は第二の制御装置3の仕様情報データD2を持っているかを判断する(212)。
この判断(212)がYESの場合は、第二の制御装置3は第二の制御装置3の仕様情報データD2を持っているかを判断する(213)。この判断(213)がYESの場合は、イニシャル処理を終了する(207)。この判断(213)がNOの場合は、第二の制御装置3の書き込みモードに移行し(214)、第二の制御装置3の書き込みモード終了後にイニシャル処理を終了する(207)。
前記第一の制御装置2は第二の制御装置3の仕様情報データD2を持っているかの判断(212)がNOの場合は、第二の制御装置3は第二の制御装置3の仕様情報データD2を持っているかを判断する(215)。この判断(215)がYESの場合は、第一の制御装置2の書き込みモードに移行し(216)、第一の制御装置2の書き込みモード終了後にイニシャル処理を終了する(207)。この判断(215)がNOの場合は、イニシャル処理を終了する(207)。
In the in-vehicle control device 1, in the initial process (102) of FIG. 2, as shown in FIG. 3, the first control device 2 that is a master performs the initial process. The initial process is performed when the ignition switch is turned on in an ignition cycle in which the ignition switch is turned on from OFF and then turned off from ON.
In FIG. 3, when the ignition switch is turned on (IG-ON) and the initial process is started (201), the first control device 2 determines whether or not it has the specification information data D1 (202). If this determination (202) is YES, the second control device 3 as a slave determines whether it has the specification information data D1 of the first control device 2 (203).
If this determination (203) is YES, the first control device 2 determines whether it has the specification information data D2 of the second control device 3 (204). When this determination (203) is NO, the process shifts to the write mode of the second control apparatus 3 (205), and shifts to the determination (204) after the write mode of the second control apparatus 3 ends.
If the determination (204) is YES, the second control device 3 determines whether it has the specification information data D2 of the second control device 3 (206). If this determination (206) is YES, the initial process is terminated (207). If this determination (206) is NO, the mode shifts to the write mode of the second control device 3 (208), and the initial process is terminated after the write mode of the second control device 3 is completed (207).
If the determination (204) is NO, the second control device 3 determines whether it has the specification information data D2 of the second control device 3 (209). When this determination (209) is YES, the process shifts to the write mode of the first control apparatus 2 (210), and the initial process is ended after the write mode of the first control apparatus 2 is ended (207). If this determination (209) is NO, the initial process is terminated (207).
If the determination (202) whether the first control device 2 has the specification information data D1 is NO, the second control device 3 determines whether the first control device 2 has the specification information data D1. Judgment is made (211). If the determination (211) is YES, the process proceeds to the determination (204). If this determination (211) is NO, the first control device 2 determines whether it has the specification information data D2 of the second control device 3 (212).
If this determination (212) is YES, the second control device 3 determines whether it has the specification information data D2 of the second control device 3 (213). If this determination (213) is YES, the initial process is terminated (207). When this determination (213) is NO, the mode shifts to the write mode of the second control device 3 (214), and the initial process ends after the write mode of the second control device 3 ends (207).
If the determination (212) of whether the first control device 2 has the specification information data D2 of the second control device 3 is NO, the second control device 3 uses the specification information of the second control device 3. It is determined whether the data D2 is present (215). If this determination (215) is YES, the process shifts to the write mode of the first control apparatus 2 (216), and the initial process is terminated after the write mode of the first control apparatus 2 ends (207). If this determination (215) is NO, the initial process is terminated (207).

この車載制御装置1は、前記第一の制御装置2の書き込みモード(210・216)において、図4に示すように、第二の制御装置3から第一の制御装置2へ、第二の制御装置3の仕様情報データD2を書き込む。図4において、第一の制御装置2の書き込みモードを開始すると(301)、第一の制御装置2から第二の制御装置3へ仕様情報データD2の送信を要求し(302)、第二の制御装置3から受信した仕様情報データD2を第一の制御装置2に書き込み(303)、第一の制御装置2の書き込みモードを終了する(304)。書き込みモードの終了(304)後は、図3のフローチャートに戻る。
また、車載制御装置1は、前記第二の制御装置3の書き込みモード(205・208・214)において、図5に示すように、第一の制御装置2から第二の制御装置3へ、第一の制御装置2の仕様情報データD1・持第二の制御装置3の仕様情報データD2を書き込む。図5において、第二の制御装置3の書込みモードを開始すると(401)、第一の制御装置2から第二の制御装置3へ仕様情報データD1・D2の書き込みを要求し(402)、第二の制御装置3から書き込み結果を受信し(403)、第二の制御装置2の書き込みモードを終了する(404)。第二の制御装置2の書き込みモードの終了(404)後は、図3のフローチャートに戻る。
As shown in FIG. 4, the in-vehicle control device 1 performs second control from the second control device 3 to the first control device 2 in the write mode (210 · 216) of the first control device 2. The specification information data D2 of the device 3 is written. 4, when the writing mode of the first control device 2 is started (301), the first control device 2 requests the second control device 3 to transmit the specification information data D2 (302), and the second control device 2 The specification information data D2 received from the control device 3 is written to the first control device 2 (303), and the write mode of the first control device 2 is ended (304). After the end of the write mode (304), the process returns to the flowchart of FIG.
Further, the in-vehicle control device 1 moves the first control device 2 from the first control device 2 to the second control device 3 in the writing mode (205, 208, 214) of the second control device 3, as shown in FIG. The specification information data D1 of the first control device 2 and the specification information data D2 of the second control device 3 are written. In FIG. 5, when the writing mode of the second control device 3 is started (401), the first control device 2 requests the second control device 3 to write the specification information data D1 and D2 (402). The write result is received from the second control device 3 (403), and the write mode of the second control device 2 is terminated (404). After the end of the write mode (404) of the second control device 2, the process returns to the flowchart of FIG.

このように、この車載制御装置1は、第一の制御装置2のEEPROM11には第一の制御装置2の仕様情報データD1および第二の制御装置3の仕様情報データD2を格納可能とするとともに、第二の制御装置3のEEPROM12には第二の制御装置3の仕様情報データD2および第一の制御装置2の仕様情報データD1を格納可能としている。
前記第一の制御装置2は、車載制御装置1の起動時に、第一・第二の制御装置2・3のそれぞれのEEPROM11・12に格納された個々の仕様情報データD1・D2の有無を所定の順序で順次確認する機能と、この確認の過程で、いずれか一方(EEPROM11あるいはEEPROM12)に第二の制御装置3の仕様情報データD2がない場合は、いずれか他方(EEPROM12あるいはEEPROM11)から第二の制御装置3の仕様情報データD2を書き込むよう制御する機能と、かつ第一の制御装置2のEEPROM11に第一の制御装置2の仕様情報データD1がない場合は、その確認の過程では第一の制御装置2に仕様情報データD1を書き込まないよう制御する機能とを有する。
これにより、この車載制御装置1は、第一の制御装置2あるいは第二の制御装置3の交換時に、交換する第一の制御装置2あるいは第二の制御装置3の取り付け後、取り付けられた第一の制御装置2あるいは第二の制御装置3に、通信により仕様情報データD2の書き込みができるので、もとの状態をほぼ自動的に再現できる。それにより、この車載制御装置1は、交換用の制御装置に、予め仕様情報データを書き込む必要性を低減できる。
また、この車載制御装置1は、完成工場において、予め仕様情報データを書き込んだ制御装置を、管理品番を付けたり、その品番を付けた制御装置を管理したりといった、管理工数を削減できる。一方、この車載制御装置1は、市場の修理工場において、書き込みツールを用意する負担、およびツールを使用する際の負担を軽滅できる。
さらに、この車載制御装置1は、車両に搭載した第二の制御装置2を、仕様情報データD1・D2を書き込んでいない新しい第二の制御装置2に交換した際に、第一の制御装置2・第二の制御装置3間の通信によって自動的に新しい第二の制御装置3に仕様情報データD1・D2を書き込むことができる。
さらにまた、この車載制御装置1は、イニシャライズとして診断を行う第一の制御装置2が、仕様情報データD1・D2の有無を確認する過程で、自己が書き込みモードに移ることを無くすことができる。
As described above, the in-vehicle control device 1 can store the specification information data D1 of the first control device 2 and the specification information data D2 of the second control device 3 in the EEPROM 11 of the first control device 2. The EEPROM 12 of the second control device 3 can store the specification information data D2 of the second control device 3 and the specification information data D1 of the first control device 2.
The first control device 2 determines whether or not individual specification information data D1 and D2 are stored in the EEPROMs 11 and 12 of the first and second control devices 2 and 3 when the on-vehicle control device 1 is started. If the specification information data D2 of the second control device 3 does not exist in either one (EEPROM 11 or EEPROM 12) during the confirmation process, the second is checked from the other (EEPROM 12 or EEPROM 11). If the specification information data D1 of the first control device 2 is not in the EEPROM 11 of the first control device 2 and the function of controlling the specification information data D2 of the second control device 3 to be written, And a function of controlling the specification information data D1 not to be written in the single control device 2.
Thereby, this vehicle-mounted control device 1 is attached after the first control device 2 or the second control device 3 to be replaced is attached when the first control device 2 or the second control device 3 is replaced. Since the specification information data D2 can be written to the one control device 2 or the second control device 3 by communication, the original state can be reproduced almost automatically. Thereby, this vehicle-mounted control apparatus 1 can reduce the necessity to write specification information data in the replacement control apparatus in advance.
In addition, the in-vehicle control device 1 can reduce the number of management man-hours such as assigning a management product number to a control device to which specification information data has been written in advance or managing a control device to which the product number is assigned in a completed factory. On the other hand, the vehicle-mounted control device 1 can lighten the burden of preparing a writing tool and the burden of using the tool at a repair shop in the market.
Furthermore, when this on-vehicle control device 1 replaces the second control device 2 mounted on the vehicle with a new second control device 2 in which the specification information data D1 and D2 are not written, the first control device 2 The specification information data D1 and D2 can be automatically written to the new second control device 3 by communication between the second control devices 3.
Furthermore, the in-vehicle control device 1 can prevent the first control device 2 that performs diagnosis as initialization from shifting to the write mode in the process of checking the presence / absence of the specification information data D1 and D2.

また、この車載制御装置1は、図2の第一の制御装置2への仕様情報データD1の書き込みモード(103)において、図6に示すように、書き込みを行う。第一の制御装置2への仕様情報データD1の書き込みは、図3のイニシャル処理の完了後に行う。
車載制御装置1は、図6に示すように、第一の制御装置2の仕様情報データD1の書き込みモードを開始(イニシャル処理の完了後)し(501)、第一の制御装置2がイニシャル処理終了信号を送信し(502)、第一の制御装置2が第二の制御装置3から第一の制御装置2の仕様情報データD1の書き込み要求信号を受信すると(503)、第一の制御装置2内のEEPROM11への仕様情報データD1の書き込みは予め設定した制限回数の1回目であるかを判断する(504)。
イニシャル処理は、イグニッションスイッチをOFFからONしてその後にONからOFFしたことを1サイクルとするイグニッションサイクルにおいて、イグニッションスイッチがONになった時に行われる。1回目のイグニッションサイクルにおいて、イニシャル処理終了信号を受信し、仕様情報データD1の書き込み要求信号を受信すると、初めての仕様情報データD1の書き込みモードなので、EEPROM11への仕様情報データD1の書き込みが1回目であると判断する(504:YES)。2回目のイグニッションサイクルにおいて、イニシャル処理終了信号を受信し、仕様情報データD1の書き込み要求信号を受信すると、2回目の仕様情報データD1の書き込みモードなので、EEPROM11への仕様情報データD1の書き込みが1回目でないと判断する(504:NO)。
判断(504)がYESの場合は、第一の制御装置2内のEEPROM11への仕様情報データD1の書き込みを行い(505)、第一の制御装置2への仕様情報データD1の書き込みモードを終了する(506)。判断(504)がNOの場合は、第一の制御装置2内のEEPROM11への仕様情報データD1の書き込みを行わず、第一の制御装置2への仕様情報データD1の書き込みモードを終了する(506)。
Further, the in-vehicle control device 1 performs writing as shown in FIG. 6 in the writing mode (103) of the specification information data D1 to the first control device 2 of FIG. The specification information data D1 is written to the first control device 2 after the initial processing in FIG. 3 is completed.
As shown in FIG. 6, the in-vehicle control device 1 starts the writing mode of the specification information data D1 of the first control device 2 (after completion of the initial processing) (501), and the first control device 2 performs the initial processing. When the end signal is transmitted (502) and the first control device 2 receives the write request signal of the specification information data D1 of the first control device 2 from the second control device 3 (503), the first control device Whether the specification information data D1 is written to the EEPROM 11 in No. 2 is the first preset number of times (504).
The initial process is performed when the ignition switch is turned on in an ignition cycle in which the ignition switch is turned on from OFF and then turned off from ON. When the initial process end signal is received and the specification request data D1 write request signal is received in the first ignition cycle, the specification information data D1 is written for the first time, so the specification information data D1 is written to the EEPROM 11 for the first time. (504: YES). In the second ignition cycle, when the initial process end signal is received and the write request signal for the specification information data D1 is received, the specification information data D1 is written in the EEPROM 11 because the second specification information data D1 is written. It is determined that it is not the first time (504: NO).
If the determination (504) is YES, the specification information data D1 is written to the EEPROM 11 in the first control device 2 (505), and the writing mode of the specification information data D1 to the first control device 2 is ended. (506). If the determination (504) is NO, the specification information data D1 is not written to the EEPROM 11 in the first control device 2, and the writing mode of the specification information data D1 to the first control device 2 is terminated ( 506).

この第一の制御装置2への仕様情報データD1の書き込みモードは、マスタである第一の制御装置2が自己の仕様情報データD1を持っていない場合の処理である。第一の制御装置2は、スレーブの第二の制御装置3からイニシャル処理が行われる毎に情報を受け取ることになるが、第一の制御装置2内部のマイクロコンピュータ5の判断によって、書き込みを実行する回数を1回に制限している。
これにより、車載制御装置1は、第二の制御装置3の制御プログラムをイニシャル処理において毎回同じ動作をして、少ない判断を行うように簡略化しつつ、第一の制御装置2の自己の仕様情報データD1の書き込み回数を制限でき、データ保持の信頼性を確保できる。また、第一の制御装置2が、イニシャル処理の開始後間もなく、自己の仕様情報データD1の書き込みモードに入ることを避けることができる。さらに、イニシャル処理の終了直前のステップとして、第一の制御装置2の仕様情報データD1の書き込みモードに入るようにすることができる。なお、この第一の制御装置2への仕様情報データD1の書き込みモードは、第二の制御装置3から送られる書き込み要求信号をトリガとしたが、第一・第二の制御装置2・3が互いからの信号をトリガに書き込み動作をするように設定することもできる。
The writing mode of the specification information data D1 to the first control device 2 is processing when the first control device 2 as the master does not have its own specification information data D1. The first control device 2 receives information from the slave second control device 3 every time initial processing is performed, but performs writing according to the judgment of the microcomputer 5 in the first control device 2. The number of times is limited to one.
As a result, the in-vehicle control device 1 simplifies the control program of the second control device 3 in the initial process so that it performs the same operation every time and makes a small judgment, while the specification information of the first control device 2 is self. The number of data D1 writes can be limited, and the reliability of data retention can be ensured. Further, it is possible to avoid the first control device 2 entering the writing mode of its own specification information data D1 soon after the start of the initial process. Furthermore, as a step immediately before the end of the initial process, the specification information data D1 writing mode of the first control device 2 can be entered. The writing mode of the specification information data D1 to the first control device 2 is triggered by a write request signal sent from the second control device 3, but the first and second control devices 2 and 3 It is also possible to set to perform a write operation using signals from each other as a trigger.

このように、車載制御装置1の第一の制御装置2は、仕様情報データD1・D2の有無の確認動作終了後、第二の制御装置3から送られる第一の制御装置2の仕様情報データD1の書き込み要求信号を受け取り、予め設定した制限回数に合致する間のみ書き込みを許可して書き込み動作を行う一方、制限回数を超える場合は書き込みを許可せず書き込み動作を行わないように動作する。
これにより、この車載制御装置1は、第二の制御装置2が、イニシャライズ処理による仕様情報データD1の有無の確認や、その過程での書き込み要否の判断などを行わず、その終了後も書き込み要否の判断を行わないので、第二の制御装置3の制御プログラムを簡略化できる。また、この車載制御装置2は、第二の制御装置3の判断機能を必要とせずに、第一の制御装置2に第一の制御装置1の仕様情報データD1を書き込むことができる。
As described above, the first control device 2 of the in-vehicle control device 1 receives the specification information data of the first control device 2 sent from the second control device 3 after the confirmation operation of the presence or absence of the specification information data D1 and D2. The write request signal of D1 is received, and the write operation is performed only while the number of times matches the preset limit number. On the other hand, when the limit number is exceeded, the write operation is not permitted and the write operation is not performed.
As a result, the in-vehicle control device 1 does not check the presence / absence of the specification information data D1 by the initialization process and does not determine whether or not the writing is necessary in the process, and writes the data after the end. Since the necessity determination is not performed, the control program of the second control device 3 can be simplified. Further, the in-vehicle control device 2 can write the specification information data D1 of the first control device 1 in the first control device 2 without requiring the determination function of the second control device 3.

なお、この実施例においては、第一の制御装置2をコンビネーションメータとしているが、走行距離データの書き込みは別処理としている。走行距離データを同時に書き込む場合には、別途、改ざん防止処理を必要とするが、盛り込むことは可能である。
この実施例においては、制御装置の数を二つ(第一・第二の制御装置2・3)として、互いに仕様情報データD1・D2を持ち合うようにしたが、制御装置の数をより多くすることも可能である。その場合には、通信管理の都合から、スレーブの動作を行う制御装置を増やすことが望ましい。各々の制御装置は、互いに持ち合う仕様情報データの数を、それぞれ全数を持つことは可能である(制御装置の数n:トータルn×n)が、そこまでの必要はなく、最低、他の制御装置1つ分の仕様情報データを持つ(トータルn×2)ようにすれば良い。イニシャル処理を完了する時間の短縮といった処理上の都合や必要なバックアップデータ数とコストのバランスなどの点で好ましい。
また、この車載制御装置を利用して、書き込み頻度が多く、例えばイグニッションスイッチのON毎に記憶手段の不揮発性メモリ(EEPROM11)に仕様情報データを書き込み実行とするならば、仕様情報書き込みデータの消失といった課題に対しても、フォールトトレラント性(耐障害性:システムの一部に問題が生じても全体が機能停止することなく動作し続けるようにすること)を確保できる。しかし、この実施例では、記憶手段ヘの耐久負荷とフォールトトレラント性をバランスさせて、初期に一回のみ不揮発性メモリに書き込むようにすることで、より高い信頼性を確保している。
In this embodiment, the first control device 2 is a combination meter, but writing of mileage data is a separate process. When the travel distance data is written at the same time, a tampering prevention process is required separately, but it can be included.
In this embodiment, the number of control devices is two (first and second control devices 2 and 3) and the specification information data D1 and D2 are held with each other, but the number of control devices is increased. It is also possible to do. In this case, it is desirable to increase the number of control devices that perform slave operations for the convenience of communication management. Each control device can have the total number of specification information data held by each other (the number of control devices n: total n × n), but it is not necessary to reach that number. It is only necessary to have specification information data for one control device (total n × 2). This is preferable in terms of processing convenience such as shortening the time for completing the initial processing and the balance between the number of necessary backup data and cost.
Further, if the on-board control device is used and the writing frequency is high, for example, if the specification information data is written to the nonvolatile memory (EEPROM 11) of the storage means every time the ignition switch is turned on, the specification information writing data is lost. It is possible to ensure fault-tolerantness (failure tolerance: even if a problem occurs in a part of the system so that the entire system continues to operate without stopping). However, in this embodiment, a higher reliability is ensured by balancing the endurance load on the storage means and the fault tolerant property, and writing to the nonvolatile memory only once in the initial stage.

この発明の車載制御装置は、交換用の制御装置に、予め仕様情報データを書き込む必要性を低減できるものであり、複数の制御装置を搭載した車載制御装置に適用することができる。   The in-vehicle control device of the present invention can reduce the necessity to write specification information data in advance in a replacement control device, and can be applied to an in-vehicle control device equipped with a plurality of control devices.

実施例を示す車載制御装置のシステム構成図である。It is a system block diagram of the vehicle-mounted control apparatus which shows an Example. 実施例を示す車載制御装置の全体処理のフローチャートである。It is a flowchart of the whole process of the vehicle-mounted control apparatus which shows an Example. 実施例を示す車載制御装置のイニシャル処理のフローチャートである。It is a flowchart of the initial process of the vehicle-mounted control apparatus which shows an Example. 実施例を示す第一の制御装置へ第二の制御装置の仕様情報データを書き込むモードのフローチャートである。It is a flowchart of the mode which writes the specification information data of a 2nd control apparatus in the 1st control apparatus which shows an Example. 実施例を示す第二の制御装置へ第一の制御装置の仕様情報データと第二の制御装置の仕様情報データとを書き込むモードのフローチャートである。It is a flowchart of the mode which writes the specification information data of a 1st control apparatus, and the specification information data of a 2nd control apparatus to the 2nd control apparatus which shows an Example. 実施例を示す第一の制御装置へ第一の制御装置の仕様情報データを書き込むモードのフローチャートである。It is a flowchart of the mode which writes the specification information data of a 1st control apparatus in the 1st control apparatus which shows an Example.

符号の説明Explanation of symbols

1 車載制御装置
2 第一の制御装置
3 第2の制御装置
4 通信線
5 第一の制御装置のマイクロコンピュータ
6 第二の制御装置のマイクロコンピュータ
7 第一の制御装置のROM
8 第二の制御装置のROM
9 第一の制御装置のRAM
10 第二の制御装置のRAM
11 第一の制御装置のEEPROM
12 第二の制御装置のEEPROM
13 書き込みツール
DESCRIPTION OF SYMBOLS 1 In-vehicle control apparatus 2 1st control apparatus 3 2nd control apparatus 4 Communication line 5 Microcomputer of 1st control apparatus 6 Microcomputer of 2nd control apparatus 7 ROM of 1st control apparatus
8 ROM of the second control device
9 RAM of the first control device
10 RAM of second control device
11 EEPROM of the first controller
12 EEPROM of second control device
13 Writing tools

Claims (2)

第一の制御装置および第二の制御装置を含む複数の制御装置を車両に搭載し、それら制御装置を互いに通信線で接続して仕様情報データの通信を行うとともに、これらの制御装置がそれぞれ車両の仕様情報データを記憶する記憶手段を有する車載制御装置において、前記第一の制御装置の記憶手段には第一の制御装置の仕様情報データおよび第二の制御装置の仕様情報データを格納可能とするとともに、前記第二の制御装置の記憶手段には第二の制御装置の仕様情報データおよび第一の制御装置の仕様情報データを格納可能とし、前記第一の制御装置は、起動時に、それぞれの記憶手段に格納された個々の仕様情報データの有無を所定の順序で順次確認する機能と、この確認の過程で、いずれか一方の記憶手段に第二の制御装置の仕様情報データがない場合は、いずれか他方の記憶手段から第二の制御装置の仕様情報データを書き込むように制御する機能と、かつ第一の制御装置の記憶手段に第一の制御装置の仕様情報データがない場合は、その確認の過程では第一の制御装置に書き込まないように制御する機能とを有することを特徴とする車載制御装置。   A plurality of control devices including a first control device and a second control device are mounted on a vehicle, and the control devices are connected to each other via a communication line to communicate specification information data. In the in-vehicle control device having storage means for storing the specification information data, the storage means of the first control device can store the specification information data of the first control device and the specification information data of the second control device. In addition, the storage means of the second control device can store the specification information data of the second control device and the specification information data of the first control device, and the first control device can A function for sequentially confirming the presence or absence of individual specification information data stored in the storage means in a predetermined order, and in the process of this confirmation, the specification information data of the second controller is stored in either storage means. If there is no data, the function of controlling to write the specification information data of the second control device from one of the other storage means, and the specification information data of the first control device to the storage means of the first control device If there is no, there is a function of controlling so as not to write to the first control device in the confirmation process. 前記第一の制御装置は、確認動作終了後、第二の制御装置から送られる第一の制御装置の仕様情報データの書き込み要求信号を受け取り、予め設定した制限回数に合致する間のみ書き込みを許可して書き込み動作を行う一方、制限回数を超える場合は書き込みを許可せず書き込み動作を行わないように動作することを特徴とする請求項1に記載の車載制御装置。   After the confirmation operation is completed, the first control device receives a write request signal for the specification information data of the first control device sent from the second control device, and permits writing only when it matches the preset number of times. The vehicle-mounted control device according to claim 1, wherein the on-vehicle control device operates so as not to allow the writing and not to perform the writing operation when the number of times exceeds the limit number.
JP2007278344A 2007-10-26 2007-10-26 In-vehicle control device Active JP5034866B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007278344A JP5034866B2 (en) 2007-10-26 2007-10-26 In-vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007278344A JP5034866B2 (en) 2007-10-26 2007-10-26 In-vehicle control device

Publications (2)

Publication Number Publication Date
JP2009107358A JP2009107358A (en) 2009-05-21
JP5034866B2 true JP5034866B2 (en) 2012-09-26

Family

ID=40776374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007278344A Active JP5034866B2 (en) 2007-10-26 2007-10-26 In-vehicle control device

Country Status (1)

Country Link
JP (1) JP5034866B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105774696A (en) * 2014-12-23 2016-07-20 中国端子电业股份有限公司 Vehicle control system and vehicle control method
JP6072869B1 (en) * 2015-09-11 2017-02-01 ニチユ三菱フォークリフト株式会社 Control device, vehicle, control method, and control program
JP6072871B1 (en) * 2015-09-11 2017-02-01 ニチユ三菱フォークリフト株式会社 Error output control device, vehicle, error output control method, and error output control program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3979202B2 (en) * 2002-07-05 2007-09-19 株式会社デンソー In-vehicle communication system
JP2007015643A (en) * 2005-07-11 2007-01-25 Hitachi Ltd Electronic control device for vehicle

Also Published As

Publication number Publication date
JP2009107358A (en) 2009-05-21

Similar Documents

Publication Publication Date Title
US11671498B2 (en) Vehicle master device, update data verification method and computer program product
US11999360B2 (en) Vehicle master device, control method for executing rollback, computer program product for executing rollback and data structure of specification data
CN106257420B (en) Method for updating ECU using differential update package
US11928459B2 (en) Electronic control unit, retry point specifying method and computer program product for specifying retry point
US8539472B2 (en) Method and system of updating shared memory
JP6147792B2 (en) Program rewriting device and program rewriting method
US11656771B2 (en) Electronic control unit, vehicle electronic control system, activation execution control method and computer program product
JP2019200789A (en) Electronic controller and session establishing program
US12381949B2 (en) Vehicle master device, update data verification method and computer program product
CN102043680A (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
WO2013114543A1 (en) Train-information management device and method for selecting control software therefor
US20240069905A1 (en) Vehicular electronic control device, vehicular electronic control system, and updated configuration information determination program
JP6913621B2 (en) Electronic control device for automobiles
JP5034866B2 (en) In-vehicle control device
KR102705918B1 (en) Ota master, center, system, update method, non-transitory storage medium, and vehicle
TWI726388B (en) Memory system and control system
JP6147790B2 (en) Program rewriting device and program rewriting method
JP2008168649A (en) Vehicle control system
WO2016117212A1 (en) Control means, in-vehicle program rewriting device equipped with same, and in-vehicle program rewriting method
JP5630485B2 (en) In-vehicle communication system
US20060218340A1 (en) Data validity determining method for flash EEPROM and electronic control system
JP2009087107A (en) Vehicle control system
JP6459851B2 (en) Electronic control device for vehicle
JPH11280536A (en) Electronic control device and electronic control system
JP2004040649A (en) In-vehicle communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120517

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

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

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5034866

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150713

Year of fee payment: 3