JPH06227328A - Electronic control unit for automobile - Google Patents

Electronic control unit for automobile

Info

Publication number
JPH06227328A
JPH06227328A JP1655993A JP1655993A JPH06227328A JP H06227328 A JPH06227328 A JP H06227328A JP 1655993 A JP1655993 A JP 1655993A JP 1655993 A JP1655993 A JP 1655993A JP H06227328 A JPH06227328 A JP H06227328A
Authority
JP
Japan
Prior art keywords
microcomputer
program
automobile
electronic control
control unit
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.)
Pending
Application number
JP1655993A
Other languages
Japanese (ja)
Inventor
Kazuya Imabayashi
和也 今林
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1655993A priority Critical patent/JPH06227328A/en
Publication of JPH06227328A publication Critical patent/JPH06227328A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform a program change or troubleshooting or the like without removing an electronic control unit by installing a detachable storage medium in a control means. CONSTITUTION:A program memory circuit 7 is provided with a built-in program memory 6 of a microcomputer 1. In addition, this circuit is connected to an address bus and a data bus 1a of the microcomputer 1, receiving those of addressing data out of the microcomputer 1, and it feeds this microcomputer 1 with a controlling program. This program memory circuit 7 is composed of an integrated circuit card or substrate or the like mounted with an integrated circuit memory as the program memory 6 in order to make it easily attachable or detachable to or from an automobile electronic control unit in terms of design. When there is a bug (defect) in the controlling program being stored in the program memory 6 as well as when performance improvements and suchlike are carried out by means of a program change (version amelioration), the program memory circuit 7 is changed in whole.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、燃料噴射量の調整等、
自動車を動かすための制御を行う自動車用電子制御装置
に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to adjustment of fuel injection amount, etc.
The present invention relates to a vehicle electronic control device that performs control for moving a vehicle.

【0002】[0002]

【従来の技術】図3は、従来の自動車用電子制御装置の
構成を示すブロック図で、101は自動車のデジタル情
報を取り込むデジタル入力回路、102はアナログ情報
を取り込むアナログ入力回路、103はパルス情報を取
り込むパルス入力回路である。104は自動車用電子制
御装置の各部を駆動するための電源回路、105は自動
車の各部ソレノイドを制御するON−OFF出力回路、
106は各部ソレノイドをデューティ制御するPWM出
力回路、107は自動車用電子制御装置が故障または異
常が発生したときに働くフェールセーフ出力回路であ
る。
2. Description of the Related Art FIG. 3 is a block diagram showing a configuration of a conventional electronic control unit for an automobile, 101 is a digital input circuit for taking in digital information of the automobile, 102 is an analog input circuit for taking in analog information, and 103 is pulse information. Is a pulse input circuit for taking in. Reference numeral 104 is a power supply circuit for driving each part of the electronic control unit for a vehicle, 105 is an ON-OFF output circuit for controlling each solenoid of the vehicle,
Reference numeral 106 is a PWM output circuit for duty-controlling the solenoids of respective parts, and 107 is a fail-safe output circuit that operates when a failure or abnormality occurs in the vehicle electronic control unit.

【0003】108は自動車各部のデジタル情報,アナ
ログ情報,パルス情報を取り込み、各部のON−OFF
出力回路105,PWM出力回路106,フェールセー
フ出力回路107を制御する例えばワンチップのマイク
ロコンピュータ、109はマイクロコンピュータ108
に内蔵され、制御用のプログラムを格納するプログラム
メモリ、110はマイクロコンピュータ108に内蔵さ
れ、制御用のプログラムを格納するプログラムの演算に
使用するデータメモリであり、上記した各部位から自動
車用電子制御装置111が構成されている。
Reference numeral 108 indicates ON-OFF of each part by taking in digital information, analog information and pulse information of each part of the automobile.
For example, a one-chip microcomputer that controls the output circuit 105, the PWM output circuit 106, and the fail-safe output circuit 107, and 109 is a microcomputer 108.
And 110 is a program memory that stores a control program, and 110 is a data memory that is included in the microcomputer 108 and that is used to calculate the program that stores the control program. The device 111 is configured.

【0004】まず、自動車のエンジンキーがONにされ
たとき、マイクロコンピュータ108は動作を開始す
る。そして、マイクロコンピュータ108は、プログラ
ムメモリ109に格納された制御用のプログラムを読み
出し実行する。制御中の演算結果や出力データをデータ
メモリ110に格納する。マイクロコンピュータ108
は、プログラムメモリ109に格納された制御用プログ
ラムの命令に従い、自動車の動作状態を確認するデジタ
ル入力回路101,アナログ入力回路102,パルス入
力回路103からのデータを取り込み、この取り込んだ
データを基に演算を行い自動車各部をどのように制御す
るか判断し、ON−OFF出力回路105,PWM出力
回路106,フェールセーフ出力回路107を制御す
る。
First, when the engine key of the automobile is turned on, the microcomputer 108 starts its operation. Then, the microcomputer 108 reads out and executes the control program stored in the program memory 109. The calculation result under control and the output data are stored in the data memory 110. Microcomputer 108
In accordance with an instruction of the control program stored in the program memory 109, is loaded with data from the digital input circuit 101, the analog input circuit 102, and the pulse input circuit 103 for checking the operating state of the vehicle, and based on the loaded data. A calculation is performed to determine how to control each part of the vehicle, and the ON-OFF output circuit 105, the PWM output circuit 106, and the fail-safe output circuit 107 are controlled.

【0005】そして、自動車各部は、ON−OFF出力
回路105,PWM出力回路106およびフェールセー
フ出力回路107により制御される。上述した自動車用
電子制御装置のように、マイクロコンピュータを搭載し
た装置における故障診断システムとして、従来より特開
昭59−16056号や特願昭62−087828号に
開示されているものがある。
Each part of the automobile is controlled by an ON-OFF output circuit 105, a PWM output circuit 106 and a fail-safe output circuit 107. As a failure diagnosis system in a device equipped with a microcomputer such as the above-mentioned electronic control device for automobiles, there are those disclosed in Japanese Patent Application Laid-Open No. 59-16056 and Japanese Patent Application No. 62-087828.

【0006】図4は従来の自動車用電子制御装置の故障
診断システムの構成を示すブロック図で、図3で説明し
た自動車用電子制御装置111のマイクロコンピュータ
108は、各種演算処理を行うCPU112と、プログ
ラムメモリ109,データメモリ110としてROM1
13,RAM114を備え、内部バス115によりこれ
らCPU112とROM113およびRAM114は接
続されている。
FIG. 4 is a block diagram showing a configuration of a conventional failure diagnosis system for an electronic control unit for a vehicle. The microcomputer 108 of the electronic control unit for an automobile 111 described in FIG. 3 has a CPU 112 for performing various arithmetic processes, ROM 1 as program memory 109 and data memory 110
13, the RAM 114, and the CPU 112, the ROM 113, and the RAM 114 are connected by an internal bus 115.

【0007】マイクロコンピュータ108には、CPU
112が内部のROM113の命令を実行するのか、外
部のROMを実行するのかを決める機能を有するEA端
子116が用意されており、このEA端子116は外部
の診断装置117に接続されている。この診断装置11
7は、診断プログラムを格納したメモリである診断用R
OM118を備えている。また、診断装置117は接続
ケーブル119にてマイクロコンピュータ108に接続
される。具体的な接続方法としては、LSI素子である
マイクロコンピュータ108の端子ピンにグリップ等を
利用して接続しても、コネクタを用いてもよい。
The microcomputer 108 includes a CPU
An EA terminal 116 having a function of determining whether the 112 executes an instruction of the internal ROM 113 or an external ROM is prepared, and the EA terminal 116 is connected to an external diagnostic device 117. This diagnostic device 11
Reference numeral 7 is a diagnostic R which is a memory storing a diagnostic program.
Equipped with OM118. Further, the diagnostic device 117 is connected to the microcomputer 108 by a connection cable 119. As a concrete connection method, a grip or the like may be used to connect to a terminal pin of the microcomputer 108, which is an LSI element, or a connector may be used.

【0008】上記構成の故障診断システムにおいては、
EA端子116にかかる電圧により、CPU112がR
OM113の命令を実行するか、診断装置117の診断
用ROM118の命令を実行するかが判断され、診断装
置117を接続する際にはEA端子116に所定の電圧
がかかるようにしておくことで、CPU112は診断用
ROM118に格納されている診断用のプログラムを実
行し、故障の診断を行う。
In the fault diagnosis system having the above structure,
The voltage applied to the EA terminal 116 causes the CPU 112 to
It is determined whether the command of the OM 113 is executed or the command of the diagnostic ROM 118 of the diagnostic device 117 is executed, and when the diagnostic device 117 is connected, a predetermined voltage is applied to the EA terminal 116, The CPU 112 executes a diagnostic program stored in the diagnostic ROM 118 to diagnose a failure.

【0009】なお、上述したように、自動車用電子制御
装置111の故障診断を行う場合は、自動車用電子制御
装置111を自動車から取り外し、マイクロコンピュー
タ108と診断装置117を接続して故障の診断を行っ
ていた。
As described above, when diagnosing the failure of the automobile electronic control unit 111, the automobile electronic control unit 111 is removed from the automobile and the microcomputer 108 and the diagnostic device 117 are connected to diagnose the fault. I was going.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述し
た従来の自動車用電子制御装置であると、一度自動車に
この自動車用電子制御装置を取り付けると、プログラム
メモリのみの交換は不可能であり、プログラムメモリを
交換するときは、プログラムメモリに格納されたプログ
ラムが変更されたマイクロコンピュータを製造し、この
プログラムメモリが変更されたマイクロコンピュータを
自動車用電子制御装置に組み込み、この自動車用電子制
御装置一式を交換することになる。このように、マイク
ロコンピュータに内蔵された制御用のプログラムを格納
したプログラムメモリの変更や、プログラムに欠陥(バ
グ)が存在した場合には、自動車用電子制御装置一式を
交換しなければならず、手間がかかるという問題があ
る。
However, in the above-mentioned conventional electronic control unit for automobiles, once the electronic control unit for automobiles is attached to the automobile, only the program memory cannot be replaced. When exchanging, a microcomputer in which the program stored in the program memory is changed is manufactured, the microcomputer in which the program memory is changed is incorporated into the electronic control unit for the automobile, and the complete electronic control unit for the automobile is exchanged. Will be done. As described above, if the program memory for storing the control program built in the microcomputer is changed or if there is a defect (bug) in the program, the complete electronic control unit for the vehicle must be replaced, There is a problem that it takes time.

【0011】また、プログラムメモリの交換が容易にで
きないので、製品開発後にプログラムの変更(バージョ
ンアップ)を行うことで、自動車の性能向上,燃費改善
を行うことができないという問題がある。さらに、上述
した従来の自動車用電子制御装置であると、診断装置と
の接続のために自動車用電子制御装置を自動車から自動
車用電子制御装置を取り外さなければならず、手間がか
かるという問題がある。
Further, since the program memory cannot be easily replaced, there is a problem that the performance of the automobile and the fuel consumption cannot be improved by changing the program (upgrading) after product development. Further, in the above-described conventional electronic control unit for a vehicle, it is necessary to remove the electronic control unit for a vehicle from the vehicle for connection with the diagnostic device, which is troublesome. .

【0012】また、自動車用電子制御装置の各種外部セ
ンサや外部出力ソレノイドが異常の時でも、自動車用電
子制御装置は正常に作動せず、異常を発見するためには
自動車用電子制御装置を自動車から取り外して、まず、
この自動車用電子制御装置に診断装置を接続して異常の
有無を調べ、さらに各外部センサや外部出力ソレノイド
の異常を別の診断装置を用いて調べなければならず、手
間がかかるという問題がある。
Further, even when various external sensors and external output solenoids of the vehicle electronic control device are abnormal, the vehicle electronic control device does not operate normally, and the vehicle electronic control device is used to detect the abnormality. First, remove it from
There is a problem that it takes time and effort to connect a diagnostic device to this electronic control unit for automobiles to check whether there is any abnormality, and further to check the abnormality of each external sensor or external output solenoid using another diagnostic device. .

【0013】本発明は、上述したプログラムメモリのみ
の変更が不可能であるので、マイクロコンピュータに内
蔵された制御用のプログラムを格納するプログラムメモ
リのプログラムに欠陥(バグ)が存在した場合には、自
動車用電子制御装置一式を交換しなければならないとい
う問題点、および製品開発後にプログラムの変更(バー
ジョンアップ)を行うことによる自動車の性能向上,燃
費改善を行うことができない問題点を解決するためにな
されたものである。
In the present invention, it is impossible to change only the above-mentioned program memory. Therefore, if there is a defect (bug) in the program of the program memory for storing the control program built in the microcomputer, To solve the problem that the complete electronic control unit for automobiles must be replaced, and the problem that the performance of automobiles and fuel consumption cannot be improved by changing the program (upgrading) after product development It was made.

【0014】すなわち、本発明は、プログラムメモリに
格納されたマイクロコンピュータ制御用のプログラムを
容易に変更可能とすることで、プログラムにバグが存在
した場合のプログラムの修正,バージョンアップのため
のプログラムの変更を自動車用電子制御装置そのものを
交換することなしに行える自動車用電子制御装置を提供
することを目的とする。
That is, the present invention makes it possible to easily change the microcomputer control program stored in the program memory, so that when a bug exists in the program, the program can be modified or upgraded. It is an object of the present invention to provide an electronic control unit for a vehicle, which can be changed without replacing the electronic control unit for the vehicle itself.

【0015】また、本発明は、自動車用電子制御装置の
故障を診断するために、自動車から自動車用電子制御装
置を取り外して外部の診断装置と接続し、故障の診断を
行わなければならないという問題点、および自動車用電
子制御装置の各種外部センサや外部出力ソレノイドが異
常のときでも、異常を発見するためには、自動車用電子
制御装置を取り外し、診断しなければならないという問
題を解決するためになされたものである。
Further, according to the present invention, in order to diagnose a failure of the electronic control unit for an automobile, the electronic control unit for the automobile must be removed from the automobile and connected to an external diagnostic device to diagnose the fault. In order to solve the problem that the vehicle electronic control unit must be removed and diagnosed in order to detect the abnormality even when the external sensors and external output solenoids of the vehicle electronic control unit are abnormal. It was made.

【0016】すなわち、本発明は、故障の診断に必要な
データを格納するメモリを自動車用電子制御装置に容易
に接続可能とすることで、故障の診断を自動車用電子制
御装置を自動車から取り外すことなく行える自動車用電
子制御装置を提供することを目的とする。
That is, according to the present invention, a memory for storing data necessary for diagnosing a failure can be easily connected to an electronic control unit for an automobile, so that the electronic control unit for an automobile can be removed from the automobile for diagnosing the fault. It is an object of the present invention to provide an electronic control device for an automobile, which can be carried out without the need.

【0017】[0017]

【課題を解決するための手段】この目的を達成するた
め、本発明は、自動車各部の状態を示すデータを受け、
この受けたデータを基に演算を行い自動車をどのように
制御するか判断して、自動車各部を制御するデータを出
力する制御手段を備えた自動車用電子制御装置におい
て、装置に対して着脱可能となるように、前記制御手段
に対して着脱可能な記憶媒体を備えたことを特徴とす
る。
In order to achieve this object, the present invention receives data indicating the state of each part of an automobile,
An electronic control unit for a vehicle equipped with a control means for calculating data based on the received data to determine how to control the vehicle and outputting data for controlling each part of the vehicle is detachable from the device. Therefore, a storage medium detachable from the control means is provided.

【0018】なお、前記記憶媒体は、ICカードとする
とよい。また、前記記憶媒体には、前記制御手段で所定
の演算を行うための制御用プログラムが格納されてい
る。なお、前記記憶媒体には、前記制御手段により異常
発生時に故障診断情報が格納されることとしてもよい。
The storage medium may be an IC card. Further, the storage medium stores a control program for the control means to perform a predetermined calculation. It should be noted that the storage medium may store failure diagnosis information by the control means when an abnormality occurs.

【0019】[0019]

【作用】上述した構成を有する本発明は、ワンチップの
マイクロコンピュータ等で構成される制御手段の制御用
のプログラムに欠陥(バグ)が存在した場合、あるいは
マイクロコンピュータの制御用のプログラムをバージョ
ンアップにより変更する場合は、制御用のプログラムが
マイクロコンピュータに対して着脱可能とした記憶媒
体、例えばICカードに格納されているので、ICカー
ドのみを交換することで、自動車用電子制御装置そのも
のを交換することなく、プログラムを所望のものに変更
することが可能となる。
According to the present invention having the above-described structure, when a defect (bug) is present in the control program of the control means composed of a one-chip microcomputer or the like, or the program for controlling the microcomputer is upgraded. In the case of the change, the control program is stored in a storage medium that can be attached to and detached from the microcomputer, for example, an IC card. Therefore, by exchanging only the IC card, the automobile electronic control device itself is exchanged. It is possible to change the program to a desired one without doing so.

【0020】また、本発明は、自動車用電子制御装置の
異常発生時に、故障診断情報がマイクロコンピュータに
対して着脱可能とした記憶媒体、例えばICカードに格
納されるので、自動車用電子制御装置を自動車から取り
外すことなく、ICカードを取り外すのみで故障診断情
報を解析可能となる。
Further, according to the present invention, when an abnormality occurs in the electronic control unit for an automobile, the failure diagnosis information is stored in a storage medium which can be attached to and detached from the microcomputer, for example, an IC card. The failure diagnosis information can be analyzed only by removing the IC card without removing it from the automobile.

【0021】[0021]

【実施例】以下、図面を参照して実施例を説明する。図
1は本発明の第1の実施例における自動車用電子制御装
置の構成を示すブロック図である。図において、1は装
置各部を制御する例えばワンチップのマイクロコンピュ
ータ、2はマイクロコンピュータ1のデジタル入力端子
に接続され、自動車のデジタル情報を取り込むデジタル
入力回路、3はマイクロコンピュータ1のアナログ入力
端子に接続され、自動車のアナログ情報を取り込むアナ
ログ入力回路、4はマイクロコンピュータ1のパルス入
力端子に接続され、自動車のパルス情報を取り込むパル
ス入力回路で、このデジタル入力回路2,アナログ入力
回路3およびパルス入力回路4を介して、マイクロコン
ピュータ1は、例えば燃料噴射量や車体の傾き等の自動
車各部の状態を示すデータを受け、この入力されたデー
タを基に演算を行い自動車をどのように制御するか判断
する。
Embodiments Embodiments will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an electronic control unit for an automobile according to a first embodiment of the present invention. In the figure, 1 is a one-chip microcomputer for controlling each part of the apparatus, 2 is a digital input circuit connected to a digital input terminal of the microcomputer 1, and 3 is an analog input terminal of the microcomputer 1 for taking in digital information of an automobile. Analog input circuits 4 connected to capture the analog information of the automobile are connected to the pulse input terminals of the microcomputer 1 to capture the pulse information of the automobile. The digital input circuit 2, the analog input circuit 3 and the pulse input circuit Through the circuit 4, the microcomputer 1 receives data indicating the state of each part of the vehicle, such as the fuel injection amount and the inclination of the vehicle body, and calculates how to control the vehicle based on the input data. to decide.

【0022】5はマイクロコンピュータ1の電源端子に
接続され、電源を供給する電源回路である。6はマイク
ロコンピュータ1の制御用のプログラムを格納するプロ
グラムメモリ、7はこのプログラムメモリ6を内蔵する
プログラムメモリ回路で、マイクロコンピュータ1のア
ドレスバス,データバス1aに接続され、マイクロコン
ピュータ1からのアドレス指定データを受け、指定され
た制御用プログラムをマイクロコンピュータ1に送り、
このプログラムを受け、上述した自動車各部の状態を示
すデータを基にマイクロコンピュータ1は所定の演算を
行い、自動車をどのように制御するか判断する。
A power supply circuit 5 is connected to the power supply terminal of the microcomputer 1 and supplies power. Reference numeral 6 denotes a program memory for storing a control program for the microcomputer 1, and 7 denotes a program memory circuit having the program memory 6 built therein, which is connected to the address bus and the data bus 1a of the microcomputer 1 and receives an address from the microcomputer 1. Receives designated data, sends the designated control program to the microcomputer 1,
Receiving this program, the microcomputer 1 performs a predetermined calculation based on the above-mentioned data indicating the states of the respective parts of the automobile to determine how to control the automobile.

【0023】このプログラムメモリ回路7は、自動車用
電子制御装置に対して容易に着脱可能となるように、プ
ログラムメモリ6としてICメモリを搭載したICカー
ド、あるいは、ICカードと同等の機能を有する物、例
えばプログラムメモリ6としてICメモリを搭載した基
板等から構成されている。そして、データバス,アドレ
スバス1aとは図示しないコネクタを介して電気的に接
続され、マイクロコンピュータ1に対して着脱自在とな
っている。
The program memory circuit 7 is an IC card equipped with an IC memory as the program memory 6 or an article having a function equivalent to that of the IC card so that the program memory circuit 7 can be easily attached to and detached from the vehicle electronic control unit. For example, the program memory 6 is composed of a substrate on which an IC memory is mounted. The data bus and the address bus 1a are electrically connected to each other via a connector (not shown) and are detachable from the microcomputer 1.

【0024】8はマイクロコンピュータ1のデジタル出
力端子に接続され、自動車の各部ソレノイドを制御する
ON−OFF出力回路、9はマイクロコンピュータ1の
PWM出力端子に接続され、各部ソレノイドをデューテ
ィ制御するPWM出力回路、10はマイクロコンピュー
タ1の出力端子に接続され、自動車用電子制御装置が故
障または異常が発生したときに働くフェールセーフ出力
回路である。
Reference numeral 8 is an ON-OFF output circuit which is connected to the digital output terminal of the microcomputer 1 and controls each solenoid of the automobile, and 9 is connected to the PWM output terminal of the microcomputer 1 and PWM output which duty-controls each solenoid. The circuit 10 is a fail-safe output circuit that is connected to the output terminal of the microcomputer 1 and that operates when a failure or abnormality occurs in the vehicle electronic control unit.

【0025】11は前記プログラムメモリ回路7から送
られてくる制御用のプログラム,デジタル入力回路2,
アナログ入力回路3およびパルス入力回路4から送られ
てくるデータを記憶して、プログラムによる演算に使用
するデータメモリで、マイクロコンピュータ1に内蔵さ
れており、上記した各部位から自動車用電子制御装置1
2が構成されている。
Reference numeral 11 denotes a control program sent from the program memory circuit 7, a digital input circuit 2,
A data memory that stores data sent from the analog input circuit 3 and the pulse input circuit 4 and is used for calculation by a program. The data memory is built in the microcomputer 1 and is connected to the electronic control unit 1 for an automobile from the above-mentioned parts.
2 are configured.

【0026】上記構成の自動車用電子制御装置12は、
まず、自動車のエンジンキーがONにされたとき、電源
回路5より電源がマイクロコンピュータ1に供給され、
該マイクロコンピュータ1が動作を開始する。マイクロ
コンピュータ1は、プログラムメモリ回路7のプログラ
ムメモリ6に格納されている制御用のプログラムを読み
取り、この制御用のプログラムの命令に従って順序正し
く動作する。
The vehicle electronic control unit 12 having the above-mentioned structure is
First, when the engine key of the automobile is turned on, power is supplied from the power supply circuit 5 to the microcomputer 1,
The microcomputer 1 starts operating. The microcomputer 1 reads the control program stored in the program memory 6 of the program memory circuit 7 and operates in order in accordance with the instructions of the control program.

【0027】デジタル情報を取り込むプログラムが実行
された時は、マイクロコンピュータ1は、デジタル入力
回路2からデジタル情報を取り込み、この取り込んだデ
ジタル情報をデータメモリ11に記憶する。アナログ情
報を取り込むプログラムが実行された時は、マイクロコ
ンピュータ1は、アナログ入力回路3からアナログ情報
を取り込み、この取り込んだアナログ情報をデータメモ
リ11に記憶する。
When the program for fetching digital information is executed, the microcomputer 1 fetches the digital information from the digital input circuit 2 and stores the fetched digital information in the data memory 11. When the program for fetching the analog information is executed, the microcomputer 1 fetches the analog information from the analog input circuit 3 and stores the fetched analog information in the data memory 11.

【0028】パルス情報を取り込むプログラムが実行さ
れた時は、マイクロコンピュータ1は、パルス入力回路
4からパルス情報を取り込み、この取り込んだパルス情
報をデータメモリ11に記憶する。そして、データメモ
リ11に記憶したデジタル情報,アナログ情報およびパ
ルス情報にしたがって、マイクロコンピュータ1は自動
車各部をどのように制御するか判断し、ON−OFF出
力回路8,PWM出力回路9を制御する。
When the program for fetching pulse information is executed, the microcomputer 1 fetches the pulse information from the pulse input circuit 4 and stores the fetched pulse information in the data memory 11. Then, according to the digital information, the analog information and the pulse information stored in the data memory 11, the microcomputer 1 determines how to control each part of the automobile, and controls the ON-OFF output circuit 8 and the PWM output circuit 9.

【0029】また、デジタル入力回路2の異常の発生、
異常デジタルデータの発生、アナログ入力回路3の異常
の発生、異常アナログデータの発生、あるいは、パルス
入力回路4の異常の発生、異常パルスデータの発生、さ
らには、ON−OFF出力回路8,PWM出力回路9の
異常の発生をマイクロコンピュータ1が判断すると、自
動車の安全性を確保するため、該マイクロコンピュータ
1はフェールセーフ出力回路10を制御する。
In addition, the occurrence of an abnormality in the digital input circuit 2,
Abnormal digital data generation, analog input circuit 3 abnormality generation, abnormal analog data generation, or pulse input circuit 4 abnormality generation, abnormal pulse data generation, and ON-OFF output circuit 8, PWM output When the microcomputer 1 determines that an abnormality has occurred in the circuit 9, the microcomputer 1 controls the fail-safe output circuit 10 in order to ensure the safety of the vehicle.

【0030】ここで、プログラムメモリ6に格納されて
いる制御用のプログラムに欠陥(バグ)が存在した時
や、製品開発後にプログラムメモリ6に格納されている
制御用のプログラムの変更(バージョンアップ)により
自動車の性能向上,燃費改善を行う時は、プログラムメ
モリ6を内蔵するプログラムメモリ回路7ごと交換す
る。
Here, when there is a defect (bug) in the control program stored in the program memory 6, or when the control program stored in the program memory 6 is modified (version up) after product development. Therefore, when the performance of the automobile is improved and the fuel consumption is improved, the entire program memory circuit 7 having the program memory 6 is replaced.

【0031】すなわち、プログラムメモリ回路7は自動
車用電子制御装置12に対して容易に着脱可能となるよ
うに、ICカードあるいはICカードと同等の機能を有
する物で構成されており、マイクロコンピュータ1に対
してコネクタ等を介して着脱可能としてあるので、プロ
グラムメモリ回路7は容易に交換可能であり、これによ
り、制御用のプログラムを格納するプログラムメモリ6
のプログラムの欠陥(バグ)を簡単かつ容易に修正する
ことが可能で、さらに、製品開発後にプログラムの変更
(バージョンアップ)による自動車の性能向上や燃費の
改善を簡単かつ容易に行うことができる。
That is, the program memory circuit 7 is composed of an IC card or a product having a function equivalent to that of the IC card so that the program memory circuit 7 can be easily attached to and detached from the vehicle electronic control unit 12. On the other hand, since the program memory circuit 7 can be easily replaced because it is detachable via a connector or the like, the program memory 6 for storing the control program can be easily replaced.
The defect (bug) of the program can be easily and easily corrected, and further, the performance of the automobile and the fuel consumption can be improved easily and easily by changing the program (upgrading) after product development.

【0032】図2は、本発明の第2の実施例における自
動車用電子制御装置の構成を示すブロック図である。図
において、13は装置各部を制御する例えばワンチップ
のマイクロコンピュータ、2はマイクロコンピュータ1
3のデジタル入力端子に接続され、自動車のデジタル情
報を取り込むデジタル入力回路、3はマイクロコンピュ
ータ13のアナログ入力端子に接続され、自動車のアナ
ログ情報を取り込むアナログ入力回路、4はマイクロコ
ンピュータ13のパルス入力端子に接続され、自動車の
パルス情報を取り込むパルス入力回路で、このデジタル
入力回路2,アナログ入力回路3およびパルス入力回路
4を介して、マイクロコンピュータ13は、例えば燃料
噴射量や車体の傾き等の自動車各部の状態を示すデータ
を受け、この入力されたデータを基に演算を行い自動車
をどのように制御するか判断する。
FIG. 2 is a block diagram showing the construction of an automobile electronic control unit according to the second embodiment of the present invention. In the figure, 13 is a one-chip microcomputer for controlling each part of the apparatus, 2 is a microcomputer 1
3 is a digital input circuit connected to the digital input terminal of the vehicle for capturing digital information of the vehicle, 3 is an analog input circuit connected to an analog input terminal of the microcomputer 13 for capturing the vehicle of analog information, 4 is a pulse input of the microcomputer 13. A pulse input circuit which is connected to a terminal and takes in the pulse information of the automobile. Through the digital input circuit 2, the analog input circuit 3 and the pulse input circuit 4, the microcomputer 13 detects, for example, the fuel injection amount and the inclination of the vehicle body. When data indicating the state of each part of the automobile is received, a calculation is performed based on the input data to determine how to control the automobile.

【0033】5はマイクロコンピュータ13の電源端子
に接続され、電源を供給する電源回路である。8はマイ
クロコンピュータ13のデジタル出力端子に接続され、
自動車の各部ソレノイドを制御するON−OFF出力回
路、9はマイクロコンピュータ13のPWM出力端子に
接続され、各部ソレノイドをデューティ制御するPWM
出力回路、10はマイクロコンピュータ13の出力端子
に接続され、自動車用電子制御装置が故障または異常が
発生したときに働くフェールセーフ出力回路である。
Reference numeral 5 is a power supply circuit which is connected to the power supply terminal of the microcomputer 13 and supplies power. 8 is connected to the digital output terminal of the microcomputer 13,
An ON-OFF output circuit for controlling each solenoid of the automobile, 9 is connected to the PWM output terminal of the microcomputer 13, and PWM for duty controlling each solenoid
The output circuit 10 is a fail-safe output circuit that is connected to the output terminal of the microcomputer 13 and is activated when the vehicle electronic control unit fails or malfunctions.

【0034】11は後述するプログラムメモリから送ら
れてくる制御用のプログラム,デジタル入力回路2,ア
ナログ入力回路3およびパルス入力回路4から送られて
くるデータを記憶して、プログラムによる演算に使用す
るデータメモリで、マイクロコンピュータ13に内蔵さ
れている。14はマイクロコンピュータ13に内蔵さ
れ、制御用のプログラムを格納するプログラムメモリで
ある。
Reference numeral 11 stores a control program sent from a program memory which will be described later, data sent from the digital input circuit 2, analog input circuit 3 and pulse input circuit 4, and is used for calculation by the program. A data memory, which is built in the microcomputer 13. Reference numeral 14 is a program memory which is built in the microcomputer 13 and stores a control program.

【0035】15はフェールセーフ情報や故障診断情報
が格納される外部データメモリ、16はこの外部データ
メモリ15としてICメモリを搭載したICカードで、
マイクロコンピュータ13のアドレスバス,データバス
13aに接続され、自動車用電子制御装置あるいは自動
車用電子制御装置に接続される図示しない各種外部セン
サ,外部出力ソレノイドの異常時において、マイクロコ
ンピュータ13から送られてくるフェールセーフ情報や
故障診断情報を格納する。
Reference numeral 15 is an external data memory for storing fail-safe information and failure diagnosis information, and 16 is an IC card equipped with an IC memory as the external data memory 15.
It is sent from the microcomputer 13 when an abnormality occurs in an external output sensor or an external sensor (not shown) connected to the address bus and the data bus 13a of the microcomputer 13 and connected to the electronic control unit for the vehicle or the electronic control unit for the vehicle. Stores fail-safe information and failure diagnosis information.

【0036】このICカード16はデータバス,アドレ
スバス13aとは図示しないコネクタを介して電気的に
接続され、マイクロコンピュータ13に対して着脱自在
となっており、自動車用電子制御装置に対して容易に着
脱可能となっている。なお、ICカード16を、外部デ
ータメモリ15としてICメモリを搭載した基板等で構
成することとしてもよい。
The IC card 16 is electrically connected to the data bus and the address bus 13a through a connector (not shown) and is detachably attached to the microcomputer 13 so that it can be easily mounted on the electronic control unit for automobiles. It is removable. It should be noted that the IC card 16 may be composed of a board or the like on which an IC memory is mounted as the external data memory 15.

【0037】上記構成の自動車用電子制御装置は、ま
ず、自動車のエンジンキーがONにされたとき、電源回
路5より電源がマイクロコンピュータ13に供給され、
該マイクロコンピュータ13が動作を開始する。マイク
ロコンピュータ13は、プログラムメモリ14に格納さ
れている制御用のプログラムを読み取り、この制御用の
プログラムの命令に従って順序正しく動作する。
In the automobile electronic control unit having the above-described structure, first, when the engine key of the automobile is turned on, power is supplied from the power supply circuit 5 to the microcomputer 13,
The microcomputer 13 starts operation. The microcomputer 13 reads the control program stored in the program memory 14 and operates in order in accordance with the instructions of the control program.

【0038】デジタル情報を取り込むプログラムが実行
された時は、マイクロコンピュータ13は、デジタル入
力回路2からデジタル情報を取り込み、この取り込んだ
デジタル情報をデータメモリ11に記憶する。アナログ
情報を取り込むプログラムが実行された時は、マイクロ
コンピュータ13は、アナログ入力回路3からアナログ
情報を取り込み、この取り込んだアナログ情報をデータ
メモリ11に記憶する。
When the program for fetching digital information is executed, the microcomputer 13 fetches the digital information from the digital input circuit 2 and stores the fetched digital information in the data memory 11. When the program for fetching analog information is executed, the microcomputer 13 fetches analog information from the analog input circuit 3 and stores the fetched analog information in the data memory 11.

【0039】パルス情報を取り込むプログラムが実行さ
れた時は、マイクロコンピュータ13は、パルス入力回
路4からパルス情報を取り込み、この取り込んだパルス
情報をデータメモリ11に記憶する。そして、データメ
モリ11に記憶したデジタル情報,アナログ情報および
パルス情報にしたがって、マイクロコンピュータ13は
自動車各部をどのように制御するか判断し、ON−OF
F出力回路8,PWM出力回路9を制御する。
When the program for fetching pulse information is executed, the microcomputer 13 fetches pulse information from the pulse input circuit 4 and stores the fetched pulse information in the data memory 11. Then, according to the digital information, the analog information and the pulse information stored in the data memory 11, the microcomputer 13 determines how to control each part of the vehicle, and the ON-OF
The F output circuit 8 and the PWM output circuit 9 are controlled.

【0040】また、デジタル入力回路2の異常の発生、
異常デジタルデータの発生、アナログ入力回路3の異常
の発生、異常アナログデータの発生、あるいは、パルス
入力回路4の異常の発生、異常パルスデータの発生、さ
らには、ON−OFF出力回路8,PWM出力回路9の
異常の発生をマイクロコンピュータ13が判断すると、
自動車の安全性を確保するため、該マイクロコンピュー
タ13はフェールセーフ出力回路10を制御する。さら
に、マイクロコンピュータ13は、ICカード16に内
蔵されている外部データメモリ15に、データバス,ア
ドレスバス13aを介してフェールセーフ情報や故障診
断情報を格納する。
Further, the occurrence of an abnormality in the digital input circuit 2,
Abnormal digital data generation, analog input circuit 3 abnormality generation, abnormal analog data generation, or pulse input circuit 4 abnormality generation, abnormal pulse data generation, and ON-OFF output circuit 8, PWM output When the microcomputer 13 determines that an abnormality has occurred in the circuit 9,
In order to ensure the safety of the automobile, the microcomputer 13 controls the fail safe output circuit 10. Further, the microcomputer 13 stores fail-safe information and failure diagnosis information in the external data memory 15 built in the IC card 16 via the data bus and the address bus 13a.

【0041】次に、フェールセーフ情報が発生したとき
や、故障診断を行うときには、ICカード16をマイク
ロコンピュータ13から取り外し、フェールセーフ情報
や故障診断情報の解析を行う。このように、ICカード
16をマイクロコンピュータ13から取り外し、フェー
ルセーフ情報や故障診断情報の解析を行うことができる
ので、故障診断時に自動車用電子制御装置を自動車から
取り外す必要はなくなる。
Next, when the fail-safe information is generated or when the failure diagnosis is performed, the IC card 16 is removed from the microcomputer 13 and the fail-safe information or the failure diagnosis information is analyzed. In this way, since the IC card 16 can be removed from the microcomputer 13 and the fail-safe information and the failure diagnosis information can be analyzed, it is not necessary to remove the vehicle electronic control unit from the vehicle at the time of failure diagnosis.

【0042】[0042]

【発明の効果】以上、説明したように、本発明は、自動
車用電子制御装置で必要な演算を行う制御手段、例えば
マイクロコンピュータの制御用のプログラムを格納した
プログラムメモリを、自動車用電子制御装置に対して着
脱可能となるように、このマイクロコンピュータに対し
て着脱可能な記憶媒体、例えばICカードとしたので、
マイクロコンピュータの制御用のプログラムに欠陥(バ
グ)が存在した場合、ICカードのみを交換することで
自動車用電子制御装置そのものを交換することなくプロ
グラムを変更できるので、プログラムのバグを簡単かつ
容易に修正することができるという効果を有する。
As described above, according to the present invention, the electronic control unit for an automobile is provided with a control means for performing a necessary arithmetic operation in the electronic control unit for an automobile, for example, a program memory storing a program for controlling a microcomputer. Since a removable storage medium, such as an IC card, is attached to and detached from this microcomputer,
If there is a defect (bug) in the control program of the microcomputer, the program can be changed by replacing only the IC card without replacing the electronic control unit for the vehicle itself, so that the program bug can be easily and easily made. It has the effect that it can be modified.

【0043】また、マイクロコンピュータの制御用のプ
ログラムをバージョンアップにより変更する場合も、I
Cカードのみを交換することで、自動車用電子制御装置
そのものを交換することなく、プログラムを所望のもの
に変更することが可能であるので、プログラムのバージ
ョンアップによる自動車の性能向上,燃費改善を簡単か
つ容易に行うことができるという効果を有する。
Also, when the program for controlling the microcomputer is changed by upgrading,
By changing only the C card, the program can be changed to a desired one without changing the electronic control unit for the vehicle itself. Therefore, it is easy to improve the performance of the vehicle and improve the fuel consumption by upgrading the program version. And it has the effect that it can be performed easily.

【0044】さらに、本発明は、異常発生時にフェール
セーフ情報や故障診断情報を格納するメモリとして、自
動車用電子制御装置に対して容易に着脱可能となるよう
に、マイクロコンピュータに対して着脱可能なICカー
ドを備えたので、ICカードを取り外してこのICカー
ドのメモリの内容を解析することで、自動車用電子制御
装置を自動車から取り外すことなしに、容易に自動車用
電子制御装置、さらにはこの自動車用電子制御装置に接
続されている各種外部センサや外部出力ソレノイドの故
障診断を行うことができるという効果を有する。
Further, according to the present invention, as a memory for storing fail-safe information and failure diagnosis information when an abnormality occurs, it can be attached to and detached from a microcomputer so as to be easily attached to and detached from an automobile electronic control unit. Since the IC card is provided, by removing the IC card and analyzing the contents of the memory of the IC card, the electronic control unit for the vehicle can be easily mounted without removing the electronic control unit for the vehicle from the automobile, and further, the electronic control unit for the automobile. This has the effect of enabling failure diagnosis of various external sensors and external output solenoids connected to the electronic control unit for use.

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

【図1】本発明の第1の実施例における自動車用電子制
御装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a vehicle electronic control unit according to a first embodiment of the present invention.

【図2】本発明の第2の実施例における自動車用電子制
御装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a vehicle electronic control unit according to a second embodiment of the present invention.

【図3】従来の自動車用電子制御装置の構成を示すブロ
ック図である。
FIG. 3 is a block diagram showing a configuration of a conventional electronic control device for an automobile.

【図4】従来の自動車用電子制御装置の故障診断システ
ムの構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a conventional failure diagnosis system for an electronic control unit for an automobile.

【符号の説明】[Explanation of symbols]

1 マイクロコンピュータ 6 プログラムメモリ 7 プログラムメモリ回路 13 マイクロコンピュータ 15 外部データメモリ 16 ICカード 1 Microcomputer 6 Program Memory 7 Program Memory Circuit 13 Microcomputer 15 External Data Memory 16 IC Card

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 自動車各部の状態を示すデータを受け、
この受けたデータを基に演算を行い自動車をどのように
制御するか判断して、自動車各部を制御するデータを出
力する制御手段を備えた自動車用電子制御装置におい
て、 装置に対して着脱可能となるように、前記制御手段に対
して着脱可能な記憶媒体を備えたことを特徴とする自動
車用電子制御装置。
1. Receiving data indicating the state of each part of an automobile,
In an electronic control unit for an automobile equipped with a control means for calculating data based on the received data and determining how to control the automobile, and outputting data for controlling each part of the automobile, it can be attached to and detached from the device. As described above, an electronic control unit for an automobile, comprising a storage medium detachable from the control means.
【請求項2】 前記記憶媒体は、ICカードであること
を特徴とする請求項1記載の自動車用電子制御装置。
2. The electronic control device for an automobile according to claim 1, wherein the storage medium is an IC card.
【請求項3】 前記記憶媒体には、前記制御手段で所定
の演算を行うための制御用プログラムが格納されている
ことを特徴とする請求項1記載の自動車用電子制御装
置。
3. The electronic control device for an automobile according to claim 1, wherein the storage medium stores a control program for performing a predetermined calculation by the control means.
【請求項4】 前記記憶媒体には、前記制御手段により
異常発生時に故障診断情報が格納されることを特徴とす
る請求項1記載の自動車用電子制御装置。
4. The electronic control unit for an automobile according to claim 1, wherein the storage medium stores failure diagnosis information by the control means when an abnormality occurs.
JP1655993A 1993-02-03 1993-02-03 Electronic control unit for automobile Pending JPH06227328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1655993A JPH06227328A (en) 1993-02-03 1993-02-03 Electronic control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1655993A JPH06227328A (en) 1993-02-03 1993-02-03 Electronic control unit for automobile

Publications (1)

Publication Number Publication Date
JPH06227328A true JPH06227328A (en) 1994-08-16

Family

ID=11919643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1655993A Pending JPH06227328A (en) 1993-02-03 1993-02-03 Electronic control unit for automobile

Country Status (1)

Country Link
JP (1) JPH06227328A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349430A (en) * 2005-06-14 2006-12-28 Toyota Motor Corp Vehicle diagnosing device
WO2013077831A1 (en) 2011-11-24 2013-05-30 Zheldak Liudmyla Dmytrivna Watersoluble linear copolymer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006349430A (en) * 2005-06-14 2006-12-28 Toyota Motor Corp Vehicle diagnosing device
JP4661382B2 (en) * 2005-06-14 2011-03-30 トヨタ自動車株式会社 Vehicle diagnostic device, vehicle diagnostic system, and vehicle diagnostic method
WO2013077831A1 (en) 2011-11-24 2013-05-30 Zheldak Liudmyla Dmytrivna Watersoluble linear copolymer

Similar Documents

Publication Publication Date Title
US5003477A (en) Diagnosis system for a motor vehicle
JP5527270B2 (en) In-vehicle electronic control unit
US10964135B2 (en) In-vehicle electronic control unit and method for abnormality response processing thereof
EP1717431B1 (en) Electric control unit
JP3255693B2 (en) Automotive multi-computer system
US6076172A (en) Monitoting system for electronic control unit
WO1997024670A1 (en) Monitoring control device
JP3817855B2 (en) Electronic control device
JP2010244311A (en) In-vehicle electronic controller
JPH06227328A (en) Electronic control unit for automobile
JPH081605B2 (en) Electronic control unit for vehicle
JP2002002419A (en) Electronic control unit for vehicle
JP4449225B2 (en) Program, electronic control device
JP3578845B2 (en) Inspection method and apparatus for products mounted on vehicle computer
KR19980019215A (en) Microcomputer with self-diagnostic unit
JPS62161038A (en) Electronic controller for vehicle
KR100217079B1 (en) Diagnosis method at driving position of electronic control device
JP3778035B2 (en) Inspection method of electronic unit
JPH1083355A (en) Memory checking mechanism for vehicle controller
JP2002123408A (en) Method and device for processing procedure step
JP3444033B2 (en) Adjustment device for electronic control unit and method of using the same
JP2003175834A (en) Power steering device
JP2002047998A (en) Controller for vehicle
KR0149308B1 (en) System self-test device and control method
JPH06148286A (en) Circuit board device