JPH03238541A - Controller for automobile - Google Patents

Controller for automobile

Info

Publication number
JPH03238541A
JPH03238541A JP2034969A JP3496990A JPH03238541A JP H03238541 A JPH03238541 A JP H03238541A JP 2034969 A JP2034969 A JP 2034969A JP 3496990 A JP3496990 A JP 3496990A JP H03238541 A JPH03238541 A JP H03238541A
Authority
JP
Japan
Prior art keywords
data
external
storage means
check data
eprom
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.)
Granted
Application number
JP2034969A
Other languages
Japanese (ja)
Other versions
JP2830302B2 (en
Inventor
Takaaki Baba
孝明 馬場
Kazunobu Morimoto
森本 和信
Hiroshi Shibata
浩 柴田
Masao Ito
雅夫 伊藤
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.)
Denso Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP2034969A priority Critical patent/JP2830302B2/en
Publication of JPH03238541A publication Critical patent/JPH03238541A/en
Application granted granted Critical
Publication of JP2830302B2 publication Critical patent/JP2830302B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To avoid a failure accompanied with the alteration of data in an external ROM by generating check data at a prescribed timing based on the data of an external storage means by a processor and comparing this check data with the check data in an internal storage means and setting the abnormality mode in the case of discordance. CONSTITUTION:At the time of shipping, an E<2>PROM 4 (internal storage means) where the total sum value (check data) of data bits of an external EPROM 7 (external storage means) is preliminarily stored is provided on the inside of a microcomputer 1 (processor). Every time the power source of the microcomputer 1 is turned on after shipping, the total sum value of data bits of the external EPROM 7 is obtained and is compared with the total sum value of data bits of the external EPROM 7 stored in the E<2>PROM 4, and a warning lamp 8 is lit in the case of the discordance. Further, a changeover switch 9 is switched to adjust the fuel quantity of an engine by a backup IC 11 independently of the microcomputer 1. Thus, the failure accompanied with the alteration of data in the external EPROM 7 is avoided.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、自動車用制御装置に関するものである。[Detailed description of the invention] [Industrial application field] The present invention relates to a control device for an automobile.

〔従来の技術〕[Conventional technology]

従来、自動車において、電子制御装置によりエンジンに
供給する燃料量を調整することが行われている。そして
、処理装置に対しROM (リードオンリメモリ)を外
付けし、このROMに各種データを記憶するようにして
いる。
Conventionally, in automobiles, the amount of fuel supplied to the engine has been adjusted by an electronic control device. A ROM (read only memory) is externally attached to the processing device, and various data are stored in this ROM.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、自動車製造メーカからの出荷後において、ユ
ーザが外付ROMの記憶内容(エンジンに供給する燃料
量、燃料カットの回転数等)を書き替えて、車両の制御
状態を変更する可能性がある。
However, after the vehicle is shipped from the vehicle manufacturer, there is a possibility that the user may rewrite the contents stored in the external ROM (amount of fuel supplied to the engine, number of rotations for fuel cut, etc.) and change the control state of the vehicle. .

この発明の目的は、外付ROMのデータの改ざんに伴う
不具合を回避できる自動車用制御装置を提供することに
ある。
An object of the present invention is to provide a control device for an automobile that can avoid problems caused by tampering with data in an external ROM.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は、処理装置とは別に、当該処理装置の制御の
ためのデータを記憶した外部記憶手段が接続され、前記
処理装置が前記記憶手段のデータに基ついて車載機器を
制御するようにした自動車用制御装置において、 前記処理装置の内部に、前記外部記憶手段のデータに基
づくチェックデータを予め記憶した内部記憶手段を設け
、処理装置が所定のタイミングで前記外部記憶手段のデ
ータに基づきチェックデータを作成し、このチェックデ
ータと前記内部記憶手段のチェックデータとを比較して
不一致のときには異常モートを設定するようにした自動
車用制御装置をその要旨とするものである。
The present invention provides an automobile in which an external storage means that stores data for controlling the processing device is connected to the processing device, and the processing device controls in-vehicle equipment based on the data in the storage device. In the control device, an internal storage means is provided in the processing device in which check data based on the data in the external storage device is stored in advance, and the processing device stores the check data based on the data in the external storage device at a predetermined timing. The gist of the present invention is to provide a control device for an automobile, which compares the check data with the check data stored in the internal storage means and sets an abnormal mode when there is a discrepancy.

〔作用〕[Effect]

処理装置は所定のタイミングで外部記憶手段のデータに
基づくチェックデータを作成し、このチェックデータと
内部記憶手段のチェックデータとを比較する。そして、
両チェックデータが不一致のときには外部記憶手段のデ
ータの改ざんが行われたとして異常モードを設定する。
The processing device creates check data based on the data in the external storage means at a predetermined timing, and compares this check data with the check data in the internal storage means. and,
If the two check data do not match, it is determined that the data in the external storage means has been tampered with and an abnormal mode is set.

つまり、例えば、警告を行ったり、外部記憶手段のデー
タによらずに車載機器の制御を行う。
That is, for example, it issues a warning or controls the in-vehicle equipment without depending on the data in the external storage means.

〔実施例〕 以下、この発明を具体化した一実施例を図面に従って説
明する。
[Embodiment] An embodiment embodying the present invention will be described below with reference to the drawings.

第1図には本実施例の自動車用制御装置の電気的構成を
示す。
FIG. 1 shows the electrical configuration of the automobile control device of this embodiment.

エンジン制御系の処理装置としてのマイコン■は、中央
処理装置(以下、CPUという)2と、ランダムアクセ
スメモリ(以下、RAMという)3と、内部記憶手段と
してのE2FROM4とから構成されている。CPU2
とRAM3とE2PROM4とは、1チツプ上に形成さ
れている。このマイコン1にはイグニッションスイッチ
5を介してバッテリー6が接続されている。又、マイコ
ン1には外部記憶手段としての外付EPROM7が接続
され、この外付EPROM7にはエンジンに供給する燃
料量や燃料カットの回転数が記憶されている。
The microcomputer (2) as a processing device for the engine control system is composed of a central processing unit (hereinafter referred to as CPU) 2, a random access memory (hereinafter referred to as RAM) 3, and an E2FROM 4 as an internal storage means. CPU2
, RAM3, and E2PROM4 are formed on one chip. A battery 6 is connected to the microcomputer 1 via an ignition switch 5. Further, an external EPROM 7 is connected to the microcomputer 1 as an external storage means, and this external EPROM 7 stores the amount of fuel to be supplied to the engine and the rotational speed at which the fuel is cut.

マイコンlのCPU2にはエンジン回転数信号やエンジ
ン冷却水温信号等が入力される。又、CPU2には警告
灯8が接続され、この警告灯8は外付EPROM7のデ
ータが改ざんされたときに点灯する。さらに、マイコン
lのCPU2には切換スイッチ9を介して車載機器とし
てのインジェクタIOが接続されている。そして、マイ
コン1のCPU2はエンジン回転数信号とエンジン冷却
水温信号等に基づいてインジェクタIOを駆動して所定
量の燃料をエンジンに供給するようになっている。
An engine rotation speed signal, an engine cooling water temperature signal, etc. are input to the CPU 2 of the microcomputer 1. Further, a warning light 8 is connected to the CPU 2, and this warning light 8 lights up when the data in the external EPROM 7 is tampered with. Further, an injector IO as an in-vehicle device is connected to the CPU 2 of the microcomputer 1 via a changeover switch 9. The CPU 2 of the microcomputer 1 drives the injector IO based on the engine rotational speed signal, the engine cooling water temperature signal, etc. to supply a predetermined amount of fuel to the engine.

又、マイコンlのCPTJ2にはバックアップ用ICI
Iが接続され、バックアップ用ICIIはCPU2から
の異常信号の入力により切換スイッチ9を切り換え制御
するとともに、エンジン回転数信号に基づいてインジェ
クタ10を制御するようになっている。又、CPU2に
は外付EPROM7のデータの改ざんをチエツクのため
のチエツクプログラム格納領域2aが用意され、この領
域2aのデータはユーザによっては改ざんできなくなっ
ている。
Also, the CPTJ2 of the microcontroller I has a backup ICI.
I is connected, and the backup ICII switches and controls the changeover switch 9 based on the input of the abnormality signal from the CPU 2, and also controls the injector 10 based on the engine rotation speed signal. Further, the CPU 2 is provided with a check program storage area 2a for checking whether the data in the external EPROM 7 has been tampered with, and the data in this area 2a cannot be tampered with by the user.

次に、このように構成した自動車用制御装置の作用を第
2図のフローチャートに従って説明する。
Next, the operation of the automobile control device configured as described above will be explained according to the flowchart shown in FIG.

自動車製造工場での車両検査の際にイグニッションスイ
ッチ5かオン操作され電源が投入されると、CPU2は
第2図の処理を開始する。
When the ignition switch 5 is turned on and the power is turned on during a vehicle inspection at an automobile manufacturing factory, the CPU 2 starts the process shown in FIG. 2.

まず、CPU2はステップ100で外付EPROM7の
データビットの総和値を算出し、ステップ101で最初
の電源投入(イグニッションスイッチ5のオン操作)か
否かを判断する。つまり、自動車製造工場での出荷の際
の検査のときに、電源が投入されたことを検出して、E
2PROM4に外付EPROM7のデータビットの総和
値を書き込む。
First, in step 100, the CPU 2 calculates the total value of the data bits in the external EPROM 7, and in step 101, determines whether or not the power is turned on for the first time (the ignition switch 5 is turned on). In other words, during an inspection at a car manufacturing factory before shipment, it is detected that the power has been turned on, and the
Write the total value of the data bits in the external EPROM 7 to the 2PROM4.

そして、CPU2は自動車製造工場での出荷の際のエン
ジン検査のために、ステップ103で燃料制御を行う。
Then, the CPU 2 performs fuel control in step 103 for engine inspection at the time of shipment at an automobile manufacturing factory.

又、自動車製造工場からの自動車の出荷後において、イ
グニッションスイッチ5のオン操作のときに、CPU2
はステップ100で外付EPR○M7のデータビットの
総和を計算し、ステップ101で最初の電源投入でない
と判断する。そして、CPU2はステップ104で外付
EPROM7のデータビットの総和値と、E2FROM
4に記憶した外付EPROM7のデータビットの総和値
とを比較し、一致すると外付EPROM7のデータの改
さんは行われず正常とみなして、ステップ103でイン
ジェクタIOによる燃料制御を行う。
Further, after the car is shipped from the car manufacturing factory, when the ignition switch 5 is turned on, the CPU 2
In step 100, the sum of data bits of the external EPR M7 is calculated, and in step 101, it is determined that the power is not turned on for the first time. Then, in step 104, the CPU 2 calculates the total value of the data bits of the external EPROM 7 and the E2FROM.
4 is compared with the total value of the data bits of the external EPROM 7 stored in step 103, and if they match, the data in the external EPROM 7 is deemed to be normal without being tampered with, and fuel control by the injector IO is performed in step 103.

一方、CPU2は前記ステップ104において外付E 
P ROM 7のデータビットの総和値と、E2FRO
M4に記憶した外付EPROM7のデータビットの総和
値とか一致しないと、ステップ105で外付EPROM
7のデータの改ざんが行われたとして警告灯8を点灯さ
せる。さらに、CPU2はバックアップ用ICIIに異
常信号を出力する。この異常信号によりバックアップ用
ICI■が切換スイッチ9を駆動して、第1図中、−点
鎖線で示すように切り換えバックアップ用IC11とイ
ンジェクタ10とを接続させる。以後、バックアップ用
IC11はエンジン回転数信号に基づいてインジェクタ
10を駆動制御して燃料量を調整する。
On the other hand, in step 104, the CPU 2
The total value of data bits of P ROM 7 and E2FRO
If the total value of the data bits of the external EPROM 7 stored in M4 do not match, in step 105 the data bits of the external EPROM 7
A warning light 8 is turned on to indicate that data 7 has been tampered with. Further, the CPU 2 outputs an abnormality signal to the backup ICII. In response to this abnormal signal, the backup IC 11 drives the changeover switch 9 to connect the changeover backup IC 11 and the injector 10 as shown by the dashed line in FIG. Thereafter, the backup IC 11 controls the drive of the injector 10 based on the engine rotational speed signal to adjust the amount of fuel.

このように本実施例は、自動車製造工場からの出荷時に
おいて、マイコン1 (処理装置)の内部に、外付EP
ROM7 (外部記憶手段)のデータヒツトの総和値(
チェックデータ)を予め記憶したE2FROM4 (内
部記憶手段)を設け、自動車製造工場から出荷後におい
て、マイコンlが電源の投入毎に外付EPROM7のデ
ータビットの総和値を求め、この総和値と、E2FRO
M4に記憶した外付EPROM7のデータビットの総和
値とを比較して不一致のときには警告灯8を点灯させる
とともに、切換スイッチ9を切り換えてマイコン1によ
らずバックアップ用IC11によりエンジンの燃料量を
調整するようにした。
In this way, in this embodiment, an external EP is installed inside the microcomputer 1 (processing device) at the time of shipment from the automobile manufacturing factory.
The total value of data hits in ROM7 (external storage means) (
An E2FROM 4 (internal storage means) is provided in which check data (check data) is stored in advance, and after the car is shipped from the automobile manufacturing factory, the microcontroller 1 calculates the total value of the data bits in the external EPROM 7 every time the power is turned on, and stores this total value and the E2FROM 4.
It compares the total value of the data bits of the external EPROM 7 stored in M4, and if there is a discrepancy, lights up the warning light 8, and also switches the changeover switch 9 to adjust the fuel amount of the engine by the backup IC 11 without depending on the microcomputer 1. I decided to do so.

その結果、ユーザが外付EPROM7の記憶内容、例え
ば、エンジンに供給する燃料量や燃料カットの回転数等
を書き替えて、車両の制御状態を変更しようとしても、
ステップ104でのチエツク処理により改ざんが発見さ
れエンジンがバックアップ用ICI 1にて制御される
。このようにして、外付ROM (外付EPROM7)
のデータの改ざんが行われたとしてもそのデータに基づ
くエンジン制御は行わせない。
As a result, even if the user tries to change the control state of the vehicle by rewriting the contents stored in the external EPROM 7, such as the amount of fuel supplied to the engine or the rotation speed for fuel cut,
Tampering is discovered through the check process in step 104, and the engine is controlled by the backup ICI 1. In this way, external ROM (external EPROM7)
Even if this data is tampered with, engine control based on that data will not be performed.

尚、この発明は上記実施例に限定されるものではなく、
例えば、改ざんチエツクのためのデータとしては、外付
EPROM7のデータビットの特定ビットの総和値、あ
るいは、外付EPROM7のデータビットにあるキーコ
ートを乗算したものの総和値としてもよい。
Note that this invention is not limited to the above embodiments,
For example, the data for the tampering check may be the sum of specific bits of the data bits of the external EPROM 7, or the sum of the data bits of the external EPROM 7 multiplied by a key code.

〔発明の効果〕〔Effect of the invention〕

以上詳述したようにこの発明によれば、外付ROMのデ
ータの改ざんに伴う不具合を回避することができる優れ
た効果を発揮する。
As described in detail above, the present invention provides an excellent effect of avoiding problems associated with tampering with data in an external ROM.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は実施例の自動車用制御装置の電気的構成を示す
図、第2図は作用を説明するためのフローチャートであ
る。 1は処理装置としてのマイコン、4は内部記憶手段とし
てのE2FROM、7は外部記憶手段としての外付EP
ROM、10は車載機器としてのインジェクタ。
FIG. 1 is a diagram showing the electrical configuration of the automobile control device according to the embodiment, and FIG. 2 is a flowchart for explaining the operation. 1 is a microcomputer as a processing device, 4 is an E2FROM as an internal storage means, and 7 is an external EP as an external storage means.
ROM, 10 is an injector as an in-vehicle device.

Claims (1)

【特許請求の範囲】 1、処理装置とは別に、当該処理装置の制御のためのデ
ータを記憶した外部記憶手段が接続され、前記処理装置
が前記記憶手段のデータに基づいて車載機器を制御する
ようにした自動車用制御装置において、 前記処理装置の内部に、前記外部記憶手段のデータに基
づくチェックデータを予め記憶した内部記憶手段を設け
、処理装置が所定のタイミングで前記外部記憶手段のデ
ータに基づきチェックデータを作成し、このチェックデ
ータと前記内部記憶手段のチェックデータとを比較して
不一致のときには異常モードを設定するようにしたこと
を特徴とする自動車用制御装置。
[Claims] 1. Separately from the processing device, an external storage means that stores data for controlling the processing device is connected, and the processing device controls the in-vehicle equipment based on the data in the storage means. In the automobile control device, an internal storage means is provided inside the processing device, in which check data based on the data in the external storage device is stored in advance, and the processing device reads the data in the external storage device at a predetermined timing. 1. A control device for an automobile, characterized in that check data is created based on the check data, the check data is compared with the check data in the internal storage means, and if there is a mismatch, an abnormality mode is set.
JP2034969A 1990-02-15 1990-02-15 Automotive control device Expired - Fee Related JP2830302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2034969A JP2830302B2 (en) 1990-02-15 1990-02-15 Automotive control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2034969A JP2830302B2 (en) 1990-02-15 1990-02-15 Automotive control device

Publications (2)

Publication Number Publication Date
JPH03238541A true JPH03238541A (en) 1991-10-24
JP2830302B2 JP2830302B2 (en) 1998-12-02

Family

ID=12428973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2034969A Expired - Fee Related JP2830302B2 (en) 1990-02-15 1990-02-15 Automotive control device

Country Status (1)

Country Link
JP (1) JP2830302B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325914A (en) * 1996-06-06 1997-12-16 Ryosaku Sakuraba Controller for game machine
JPH1027035A (en) * 1996-07-12 1998-01-27 Fujitsu Ltd Information processor
WO2000039688A1 (en) * 1998-12-28 2000-07-06 Sega Enterprises, Ltd. Backup memory managing device, backup memory managing method, game machine, and recorded medium
US6480928B2 (en) 2000-03-16 2002-11-12 Honda Giken Kogyo Kabushiki Kaisha Memory rewriting system for vehicle controller
US6876892B2 (en) 2000-04-13 2005-04-05 Honda Giken Kogyo Kabushiki Kaisha Rewriting system for vehicle controller
US6907495B2 (en) 2000-04-13 2005-06-14 Honda Giken Kogya Kabushiki Kaisha Rewriting system for rewriting a memory on a vehicle controller
US7068147B2 (en) 1999-12-07 2006-06-27 Denso Corporation Control information rewriting system
US7132923B2 (en) 2000-03-16 2006-11-07 Honda Giken Kogyo Kabushiki Kaisha Memory rewriting system for vehicle controller
JP2008112443A (en) * 1996-09-05 2008-05-15 Ericsson Inc Electronic memory alteration prevention system
JP2010102491A (en) * 2008-10-23 2010-05-06 Denso Corp Microcomputer chip
JP2015069403A (en) * 2013-09-30 2015-04-13 クラリオン株式会社 Program execution control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6180443A (en) * 1984-09-28 1986-04-24 Toshiba Corp Production and storage method of check data
JPS633126A (en) * 1986-06-24 1988-01-08 Toshiba Corp Control of combustion apparatus
JPH01222356A (en) * 1988-02-29 1989-09-05 Nec Corp Non-volatile memory device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6180443A (en) * 1984-09-28 1986-04-24 Toshiba Corp Production and storage method of check data
JPS633126A (en) * 1986-06-24 1988-01-08 Toshiba Corp Control of combustion apparatus
JPH01222356A (en) * 1988-02-29 1989-09-05 Nec Corp Non-volatile memory device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325914A (en) * 1996-06-06 1997-12-16 Ryosaku Sakuraba Controller for game machine
JPH1027035A (en) * 1996-07-12 1998-01-27 Fujitsu Ltd Information processor
JP2011238246A (en) * 1996-09-05 2011-11-24 Ericsson Inc System for preventing electronic memory tampering
JP2008112443A (en) * 1996-09-05 2008-05-15 Ericsson Inc Electronic memory alteration prevention system
WO2000039688A1 (en) * 1998-12-28 2000-07-06 Sega Enterprises, Ltd. Backup memory managing device, backup memory managing method, game machine, and recorded medium
US7572188B1 (en) 1998-12-28 2009-08-11 Kabushiki Kaisha Sega Enterprises Backup memory managing device backup memory managing method game machine and recorded medium
US7068147B2 (en) 1999-12-07 2006-06-27 Denso Corporation Control information rewriting system
US7132923B2 (en) 2000-03-16 2006-11-07 Honda Giken Kogyo Kabushiki Kaisha Memory rewriting system for vehicle controller
US6480928B2 (en) 2000-03-16 2002-11-12 Honda Giken Kogyo Kabushiki Kaisha Memory rewriting system for vehicle controller
US6907495B2 (en) 2000-04-13 2005-06-14 Honda Giken Kogya Kabushiki Kaisha Rewriting system for rewriting a memory on a vehicle controller
US6876892B2 (en) 2000-04-13 2005-04-05 Honda Giken Kogyo Kabushiki Kaisha Rewriting system for vehicle controller
JP2010102491A (en) * 2008-10-23 2010-05-06 Denso Corp Microcomputer chip
JP2015069403A (en) * 2013-09-30 2015-04-13 クラリオン株式会社 Program execution control system

Also Published As

Publication number Publication date
JP2830302B2 (en) 1998-12-02

Similar Documents

Publication Publication Date Title
US5034894A (en) Self-diagnosis system for a motor vehicle
JPH03238541A (en) Controller for automobile
US6401163B1 (en) Apparatus and method for rewriting data from volatile memory to nonvolatile memory
US7203581B2 (en) Electronic control unit for controlling updating of data in non-volatile memory
JP3970196B2 (en) Engine intake air amount control device and engine intake air amount control method
JPS61252852A (en) Communication device for state of trouble in automobile
JP3883842B2 (en) Electronic control device for vehicle
JP3968876B2 (en) Electronic control unit
JP2002323902A (en) Electronic controller
JPH05122801A (en) Controller for electric automobile
JP3296043B2 (en) Vehicle electronic control unit
JP2002227662A (en) Electronic control device
JPH06138000A (en) Electronic controller
US20030151490A1 (en) Method for monitoring the functioning of a control unit
JPH06249043A (en) Automotive control device
KR100196352B1 (en) Obstacle-check control method of car speed sensor installed in diesel engine vehicle
JPS623312A (en) Electronic controller for vehicle
US5928296A (en) Method of controlling engine starting of vehicle having powertrain control module
JP2001182607A (en) Vehicle controlling device
JPH09258853A (en) Reset device of calculation element
JP3546791B2 (en) Electronic control unit
JPH04284165A (en) Trouble diagnosing system for starter system
US6295589B1 (en) Apparatus and method prohibiting RAM diagnosis when other units may access RAM
JP2629958B2 (en) Automotive control device
JPH0436048A (en) Electronic controller for vehicle

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090925

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees