JP3174354B2 - Vehicle control system - Google Patents

Vehicle control system

Info

Publication number
JP3174354B2
JP3174354B2 JP13801691A JP13801691A JP3174354B2 JP 3174354 B2 JP3174354 B2 JP 3174354B2 JP 13801691 A JP13801691 A JP 13801691A JP 13801691 A JP13801691 A JP 13801691A JP 3174354 B2 JP3174354 B2 JP 3174354B2
Authority
JP
Japan
Prior art keywords
microcomputer
control
data
checksum
rom
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP13801691A
Other languages
Japanese (ja)
Other versions
JPH04362437A (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.)
Subaru Corp
Original Assignee
Fuji Jukogyo KK
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 Fuji Jukogyo KK filed Critical Fuji Jukogyo KK
Priority to JP13801691A priority Critical patent/JP3174354B2/en
Publication of JPH04362437A publication Critical patent/JPH04362437A/en
Application granted granted Critical
Publication of JP3174354B2 publication Critical patent/JP3174354B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Retry When Errors Occur (AREA)
  • Stored Programmes (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数のマイクロコンピ
ュータによる車輌の制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle control system using a plurality of microcomputers.

【0002】[0002]

【従来の技術】近年、自動車などの車輌においては、複
数のコンピュータを搭載して制御を行うものが多く、例
えば、特開昭61−49154号公報には、第1,第2
のマイクロコンピュータを備え、複数種類の制御項目を
分担処理させる技術が開示されている。
2. Description of the Related Art In recent years, in many vehicles such as automobiles, a plurality of computers are mounted and controlled, and for example, Japanese Patent Application Laid-Open No. 61-49154 discloses first and second computers.
A technology is disclosed that includes a microcomputer of the type described above and performs a sharing process on a plurality of types of control items.

【0003】ところで、自動車に搭載されるマイクロコ
ンピュータは、CPU、ROM、RAM、周辺I/O
などの数個のチップにより構成される汎用のマイクロコ
ンピュータに対し、一般に、各素子が1つのLSI内に
集積されたワンチップマイクロコンピュータが多く、こ
の場合、内蔵されるROMには、通常、マスクROMが
採用されている。
A microcomputer mounted on an automobile includes a CPU, a ROM, a RAM, and peripheral I / O.
In general, there are many one-chip microcomputers in which each element is integrated in one LSI, compared to a general-purpose microcomputer constituted by several chips such as a single chip. In this case, a built-in ROM usually includes a mask. ROM is adopted.

【0004】このマスクROMは、ワンチップマイクロ
コンピュータのLSIのウェハー製造段階でプログラム
やデータが書込まれるため、大量生産に適し、信頼性が
高い反面、少量生産ではコストメリットが小さく、シス
テムの仕様を決定してから製品が出来上がるまでのリー
ドタイムに数ヵ月を要し、開発期間中の仕様変更に対す
る自由度が少ない。これに対しワンタイムプログラムR
OMは大量生産時のコストメリットはやや小さくなる反
面、製品が出来上がるまでのリードタイムは短い。
[0004] The mask ROM, since the program and data are written in the wafer manufacturing stage of the LSI of the one-chip microcomputer, suitable for mass production, although reliable, low cost advantage in small production, system specifications It takes several months for the lead time from the decision of the product to the completion of the product, and there is little freedom for specification changes during the development period. On the other hand, one-time program R
OM has a slightly lower cost advantage in mass production
On the other hand, the lead time until the product is completed is short.

【0005】これに対処するに、特開昭61−6455
6号公報には、電子制御装置に、汎用制御プログラムを
示す情報が常駐する内部ROMと、所定の制御を実行す
るための制御シーケンスを中間言語形式で表現した情報
を格納する外部ROMとを設けることにより、仕様変更
の追従性を向上させる技術が開示されている。
To cope with this, Japanese Patent Laid-Open Publication No. 61-6455
In Japanese Patent Application Publication No. 6-205, an electronic control unit is provided with an internal ROM in which information indicating a general-purpose control program resides, and an external ROM in which information representing a control sequence for executing predetermined control is expressed in an intermediate language format. Accordingly, a technique for improving the followability of a specification change has been disclosed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、通常、
ワンチップマイクロコンピュータの仕様決定の中で、最
後に決定される仕様は制御データであり、制御プログラ
ムの仕様が固まってデバッグが終了しても、制御データ
を決定しないと、ワンチップマイクロコンピュータの製
造にかかれず、開発から製品化までの期間が長期化す
る。
However, usually,
In the specification of the one-chip microcomputer, the last one to be determined is the control data. Even if the control program specification is fixed and debugging is completed, if the control data is not determined, the manufacturing of the one-chip microcomputer Regardless, the period from development to commercialization is prolonged.

【0007】本発明は上記事情に鑑みてなされたもの
で、車輌の制御仕様決定から製品化までのマスクROM
の製造に要するリードタイムの影響を軽減し、開発期間
を短縮化することのできる車輌の制御システムを提供す
ることを目的としている。
[0007] The present invention has been made in view of the above circumstances, and a mask ROM from determination of control specifications of a vehicle to commercialization.
It is an object of the present invention to provide a vehicle control system capable of reducing the influence of a lead time required for manufacturing a vehicle and shortening a development period.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の発明は、車輌に搭載される制御装置
に、第1のマイクロコンピュータと、第2のマイクロコ
ンピュータとを備え、両マイクロコンピュータ間でデー
タ転送を実行する車輌の制御システムにおいて、上記第
1のマイクロコンピュータにマスクROMを、上記第2
のマイクロコンピュータにワンタイムプログラマブルR
OMをそれぞれ備え、第1のマイクロコンピュータの上
記マスクROMに制御プログラムに代表される固定デー
タを格納すると共に、第2のマイクロコンピュータの上
記ワンタイムプログラマブルROMに各車種固有の制御
データを書込み、上記第2のマイクロコンピュータは、
起動時に上記ワンタイムプログラマブルROMに書込ま
れている制御データを第1のマイクロコンピュータに転
送し、上記第1のマイクロコンピュータは、制御データ
の受信が完了した後、通常制御に移行することを特徴と
する。
Means for Solving the Problems To achieve the above object,
Therefore, the invention according to claim 1 is a control device mounted on a vehicle.
In addition, a first microcomputer and a second microcomputer
And a computer, and the data between the two microcomputers.
In the control system of a vehicle that executes data transfer,
The mask ROM in the microcomputer 1
Microcomputer with one-time programmable R
OM respectively, above the first microcomputer
The fixed data represented by the control program is stored in the mask ROM.
Data on the second microcomputer
One-time programmable ROM controls specific to each model
Writes the data, and the second microcomputer
Write to the above one-time programmable ROM at startup
Control data transferred to the first microcomputer.
The first microcomputer sends control data
Is transferred to normal control after the completion of reception .

【0009】請求項2記載の発明は、請求項1記載の発
明において、上記第2のマイクロコンピュータは、上記
第1のマイクロコンピュータへの制御データの送信が終
了した時、送信したデータのサムチェック数を計算し
て、該サムチェック数と第1のマイクロコンピュータか
ら送信されてくるチェックサムとを比較し、サムチェッ
ク数とチェックサムとが一致しない場合、再度制御デー
タを送信し直し、サムチェック数とチェックサムとが一
致する場合、第1のマイクロコンピュータに制御開始コ
マンドを送信し、上記第2のマイクロコンピュータは、
受信データのサムチェックを計算して第1のマイクロコ
ンピュータに送信し、第1のマイクロコンピュータから
の上記制御開始コマンドを受信した後、通常制御に移行
することを特徴とする。
[0009] The invention according to claim 2 provides the invention according to claim 1.
In the description, the second microcomputer is
Transmission of control data to the first microcomputer is completed.
When completed, calculate the sum check number of the transmitted data
The sum check number and the first microcomputer
Compare the checksum sent from the
If the number of checksums and the checksum do not match, the control data
The checksum and the checksum are
If it does, the control start command is sent to the first microcomputer.
And the second microcomputer sends a command
Calculate the sum check of the received data, and
To the computer and from the first microcomputer
To the normal control after receiving the above control start command
Characterized in that it.

【0010】[0010]

【作用】請求項1記載の発明は、製造段階で制御プログ
ラムに代表される固定データを第1のマイクロコンピュ
ータのマスクROMに格納し、各車種固有の制御データ
を第1のマイクロコンピュータの製品完成時期に合わせ
て第2のマイクロコンピュータのワンタイムプログラマ
ブルROMに書込む。そして、第2のマイクロコンピュ
ータは、起動時にワンタイムプログラマブルROMに書
込まれている制御データを第1のマイクロコンピュータ
に転送し、第1のマイクロコンピュータは、制御データ
の受信が完了した後、通常制御に移行する。
According to the first aspect of the present invention, a control program is provided at a manufacturing stage.
The fixed data represented by the RAM
Data stored in the mask ROM of the
The time of completion of the first microcomputer
One-time programmer for the second microcomputer
Write to the ROM. And the second microcomputer
Data is written to the one-time programmable ROM at startup.
Control data stored in a first microcomputer
And the first microcomputer transmits the control data
After the reception of is completed, the process shifts to the normal control.

【0011】また、請求項2記載の発明では、第2のマ
イクロコンピュータは、第1のマイクロコンピュータへ
の制御データの送信が終了した時、送信したデータのサ
ムチェック数と第1のマイクロコンピュータから送信さ
れてくるチェックサムとを比較し、これらが一致しない
場合に、再度制御データを第2のコンピュータへ送信し
直し、サムチェック数とチェックサムとが一致する場
合、第1のマイクロコンピュータに制御開始コマンドを
送信する。そして、第2のマイクロコンピュータは、受
信データのサムチェックを計算して第1のマイクロコン
ピュータに送信し、第1のマイクロコンピュータからの
制御開始コマンドを受信した後、通常制御に移行する。
According to the invention described in claim 2, the second mask is provided.
Microcomputer goes to the first microcomputer
When the transmission of the control data of
Check number and the number sent from the first microcomputer.
Compare with the incoming checksum and they do not match
In such a case, the control data is transmitted to the second computer again.
If the number of checksums matches the checksum
Control start command to the first microcomputer
Send. Then, the second microcomputer receives the
The first microcontroller calculates the sum check of the
To the computer and from the first microcomputer.
After receiving the control start command, the control shifts to the normal control.

【0012】[0012]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図面は本発明の一実施例を示し、図1はサブCP
U側の起動時処理手順を示すフローチャート、図2はメ
インCPU側の起動時処理手順を示すフローチャート、
図3は制御装置の回路構成図である。
Embodiments of the present invention will be described below with reference to the drawings. The drawings show one embodiment of the present invention, and FIG.
FIG. 2 is a flowchart showing a startup processing procedure on the U side, FIG. 2 is a flowchart showing a startup processing procedure on the main CPU side,
FIG. 3 is a circuit configuration diagram of the control device.

【0013】図3において、符号1は、自動車などの車
輌に搭載される電子制御装置(ECU)であり、このE
CU1は、2つのワンチップマイクロコンピュータ、す
なわち、例えばエンジンの空燃比制御(燃料噴射制
御)、点火時期制御などを行なう第1のマイクロコンピ
ュータ2と、例えばノック検出処理を行なう第2のマイ
クロコンピュータ3とを中枢として構成され、その他、
図示しない各種センサ類、スイッチ類などからの入力信
号を処理する入力処理回路、センサ類からのアナログ入
力信号をデジタル信号に変換するA/Dコンバータ、各
種アクチュエータ類を駆動する出力処理回路、及び、電
源回路などが付加されている。
In FIG. 3, reference numeral 1 denotes an electronic control unit (ECU) mounted on a vehicle such as an automobile.
The CU 1 includes two one-chip microcomputers, that is, a first microcomputer 2 that performs, for example, engine air-fuel ratio control (fuel injection control), ignition timing control, and the like, and a second microcomputer 3 that performs, for example, knock detection processing. And the center,
An input processing circuit that processes input signals from various sensors and switches (not shown), an A / D converter that converts analog input signals from the sensors into digital signals, an output processing circuit that drives various actuators, and A power supply circuit and the like are added.

【0014】上記第1のマイクロコンピュータ2は、メ
インCPU4、マスクROM5、RAM6、タイマ7、
入出力(I/O )インターフェース8、及び、シリア
ルインターフェース(SCI)9などを1つのチップ内
に集積しており、これらの各要素がバスライン10によ
り互いに接続されている。
The first microcomputer 2 comprises a main CPU 4, a mask ROM 5, a RAM 6, a timer 7,
An input / output (I / O) interface 8 and a serial interface (SCI) 9 are integrated in one chip, and these elements are connected to each other by a bus line 10.

【0015】また、上記第2のマイクロコンピュータ3
は、サブCPU11、ワンタイムプログラマブルROM
(OTPROM)12、RAM13、タイマ14、I/
Oインターフェース15、及び、SCI16などを1つ
のチップ内に集積し、これらの各要素がバスライン17
により互いに接続されており、上記ワンタイムプログラ
マブルROM12には、例えば、UVEPROM、EE
PROMなどが採用されている。
Further, the second microcomputer 3
Is a sub CPU 11, one-time programmable ROM
(OTPROM) 12, RAM 13, timer 14, I / O
The O interface 15 and the SCI 16 are integrated in one chip, and these elements are connected to a bus line 17.
The one-time programmable ROM 12 includes, for example, UVEPROM, EE
A PROM or the like is employed.

【0016】上記第1のマイクロコンピュータ2と上記
第2のマイクロコンピュータ3とは、SCI9,16を
介して、クロック信号CLOCK 、送信信号TX、及び、受信
信号RXを送受信するシリアル回線で互いに接続され、上
記第1のマイクロコンピュータ2から供給されるクロッ
ク信号CLK に同期して、上記第1のマイクロコンピュー
タ2と第2のマイクロコンピュータ3との間でクロック
同期式の双方向通信が行われる。
The first microcomputer 2 and the second microcomputer 3 are connected to each other via a serial line for transmitting and receiving a clock signal CLOCK, a transmission signal TX, and a reception signal RX via SCIs 9 and 16. In synchronization with the clock signal CLK supplied from the first microcomputer 2, a clock synchronous bidirectional communication is performed between the first microcomputer 2 and the second microcomputer 3.

【0017】上記第1のマイクロコンピュータ2は、製
造段階で、燃料噴射制御、点火時期制御などの制御プロ
グラムなどの固定データがマスクROM5に格納され、
一方、上記第2のマイクロコンピュータ3は、例えば、
基本燃料噴射量マップ、点火時期マップ、制御定数など
の各車種固有の制御データが、上記第1のマイクロコン
ピュータ2の製品完成時期に合わせてOTPROM12
に書込まれる。
In the first microcomputer 2, fixed data such as control programs such as fuel injection control and ignition timing control are stored in a mask ROM 5 in a manufacturing stage.
On the other hand, the second microcomputer 3 is, for example,
Vehicle-specific control data such as a basic fuel injection amount map, an ignition timing map, and control constants are stored in the OTPROM 12 in accordance with the product completion time of the first microcomputer 2.
Is written to.

【0018】マスクROM5を有する上記第1のマイク
ロコンピュータ2は、製造期間に数カ月を要する一方、
OTPROM12を有する上記第2のマイクロコンピュ
ータ3は、上記第1のマイクロコンピュータ2の数分の
一の期間で製造することができる。
The first microcomputer 2 having the mask ROM 5 requires several months for the manufacturing period,
The second microcomputer 3 having the OTPROM 12 can be manufactured in a fraction of the period of the first microcomputer 2.

【0019】従って、制御プログラムの仕様決定及びデ
バッグ終了後、上記第1のマイクロコンピュータ2は直
ちに製造にかかることができ、この第1のマイクロコン
ピュータ2の製造期間中に、上記第2のマイクロコンピ
ュータ3のOTPROM12に書込む制御データを、実
験などにより決定することができる。
Therefore, after the specification of the control program is determined and the debugging is completed, the first microcomputer 2 can be immediately manufactured. During the manufacturing of the first microcomputer 2, the second microcomputer 2 is manufactured. The control data to be written into the OTPROM 12 of No. 3 can be determined by experiments or the like.

【0020】これにより、全体の開発期間が短縮され、
また、トータル工数の低減によりコストを大幅に低減す
ることが可能となるのである。
This shortens the overall development period,
In addition, the cost can be significantly reduced by reducing the total man-hours.

【0021】次に、このような構成によるECU1で
は、起動時に、第2のマイクロコンピュータ3から第1
のマイクロコンピュータ2に制御データが転送され、そ
の後、通常制御へと移行する。以下、この起動時処理に
ついて説明する。
Next, in the ECU 1 having such a configuration, the second microcomputer 3 sends the first
The control data is transferred to the microcomputer 2, and then the control is shifted to the normal control. Hereinafter, the startup process will be described.

【0022】図1に示すフローチャートは、第2のマイ
クロコンピュータ3のサブCPU11により実行される
起動時処理であり、まず、ステップS101で、OTPRO
M12内の制御データをSCI16を介して第1のマイ
クロコンピュータ2側に送信する。
The flowchart shown in FIG. 1 is a startup process executed by the sub CPU 11 of the second microcomputer 3. First, in step S101, the OTPRO is executed.
The control data in M12 is transmitted to the first microcomputer 2 via the SCI16.

【0023】次いで、ステップS102へ進み、すべての制
御データの送信が終了したか否かをチェックし、送信が
終了していない場合には、ステップS101へ戻って制御デ
ータの送信を続け、送信が終了した場合には、ステップ
S103へ進む。
Next, the process proceeds to step S102, where it is checked whether or not the transmission of all control data has been completed. If the transmission has not been completed, the process returns to step S101 to continue the transmission of the control data. If finished, step
Proceed to S103.

【0024】ステップS103では、送信したデータのチェ
ックサムを計算し、ステップS104で、第1のマイクロコ
ンピュータ2のメインCPU4側から送信されてくるチ
ェックサムを受信する。
In step S103, the checksum of the transmitted data is calculated, and in step S104, the checksum transmitted from the main CPU 4 of the first microcomputer 2 is received.

【0025】そして、ステップS105でメインCPU側の
チェックサムと送信データのチェックサムとを比較し、
これらのチェックサムが一致するか否かを調べ、一致し
ない場合には、上述のステップS101へ戻って、再度、O
TPROM11内の制御データを送信し直す。
In step S105, the checksum of the main CPU is compared with the checksum of the transmission data.
It is checked whether or not these checksums match, and if they do not match, the process returns to step S101, where O
The control data in the TPROM 11 is transmitted again.

【0026】また、上記ステップS105で、メインCPU
側のチェックサムと送信データのチェックサムとが一致
した場合には、ステップS106へ進み、制御開始コマンド
をメインCPU4側に送信して通常制御に移行する。
In step S105, the main CPU
When the checksum of the transmission data and the checksum of the transmission data match, the process proceeds to step S106, where a control start command is transmitted to the main CPU 4 and the process shifts to normal control.

【0027】一方、第1のマイクロコンピュータ2側で
は、図2に示す起動時処理がメインCPU4により実行
され、ステップS201で、SCI9を介してサブCPU1
1側からの制御データを受信し、RAM6へ格納する。
On the other hand, on the first microcomputer 2 side, the processing at the time of startup shown in FIG. 2 is executed by the main CPU 4, and in step S 201, the sub CPU 1
The control data from the first side is received and stored in the RAM 6.

【0028】次に、ステップS202で、すべての制御デー
タの受信が終了したか否かをチェックし、受信が終了し
ていない場合には、ステップS201へ戻って制御データの
受信を続け、受信が終了した場合には、ステップS203へ
進む。
Next, in step S202, it is checked whether or not all the control data has been received. If the reception has not been completed, the flow returns to step S201 to continue receiving the control data. If the processing has been completed, the process proceeds to step S203.

【0029】ステップS203では、受信データのチェック
サムを計算し、ステップS204で、この計算したチェック
サムをサブCPU11側に送信すると、ステップS205
で、サブCPU11側から送信されてくる制御開始コマ
ンドの受信を待ち、この制御開始コマンドを受信した
後、通常制御へ移行する。
In step S203, the checksum of the received data is calculated. In step S204, the calculated checksum is transmitted to the sub CPU 11, and then, in step S205
Then, the control waits for a control start command transmitted from the sub CPU 11, and after receiving the control start command, shifts to the normal control.

【0030】尚、本発明は実施例に限定されるものでは
なく、第1のマイクロコンピュータ2と第2のマイクロ
コンピュータ3とを別々のECUとしても良く、それぞ
れのマイクロコンピュータでの制御は、互いに独立した
ものであっても良い。
It should be noted that the present invention is not limited to the embodiment, and the first microcomputer 2 and the second microcomputer 3 may be separate ECUs. It may be independent.

【0031】[0031]

【発明の効果】以上説明したように、請求項1記載の発
明によれば、第1のマイクロコンピュータにマスクRO
Mを、第2のマイクロコンピュータにワンタイムプログ
ラマブルROMをそれぞれ備えるので、製造段階で制御
プログラムに代表される固定データを第1のマイクロコ
ンピュータのマスクROMに格納し、各車種固有の制御
データを第1のマイクロコンピュータの製品完成時期に
合わせて第2のマイクロコンピュータのワンタイムプロ
グラマブルROMに書込むことができる。すなわち、
1のマイクロコンピュータに備えたマスクROMに制御
プログラムに代表される固定データを格納するので、
造期間を要する第1のマイクロコンピュータは、制御プ
ログラムの使用決定及びデバックの終了後、直ちに製造
にかかることができる。そして、第2のマイクロコンピ
ュータに備えたワンタイムプログラマブルROMに各車
種固有の制御データを書込むので、第1のマイクロコン
ピュータの製造期間中に第2のマイクロコンピュータの
ワンタイムプログラマブルROMに書込む制御データを
実験等により決定することができる。従って、車輌の制
御仕様決定から製品化までのマスクROMの製造に要す
るリードタイムの影響を軽減して、全体の開発期間を短
縮することができ、トータル工数の低減によりコストを
大幅に低減できる。そして、第2のマイクロコンピュー
タは、起動時にワンタイムプログラマブルROMに書込
まれている制御データを第1のマイクロコンピュータに
転送し、第1のマイクロコンピュータは、制御データの
受信が完了した後、通常制御に移行するので、制御プロ
グラムに代表される固定データと各車種固有の制御デー
タとを、それぞれ第1のマイクロコンピュータと第2の
マイクロコンピュータとに個別に格納しても、支障なく
確実に制御を実行することができる。請求項2記載の発
明によれば、第2のマイクロコンピュータは、第1のマ
イクロコンピュータへの制御データの送信が終了した
時、送信したデータのサムチェック数と第1のマイクロ
コンピュータから送信されてくるチェックサムとを比較
し、これらが一致しない場合に、再度制御データを第2
のコンピュータへ送信し直し、サムチェック数とチェッ
クサムとが一致する場合、第1のマイクロコンピュータ
に制御開始コマンドを送信する。そして、第2のマイク
ロコンピュータは、受信データのサムチェックを計算し
て第1のマイクロコンピュータに送信し、第1のマイク
ロコンピュータからの制御開始コマンドを受信した後、
通常制御に移行するので、上記請求項1記載の発明の効
果に加え、第1のマイクロコンピュータにより制御を実
行するに際し、必要不可欠な制御データが第2のマイク
ロコンピュータから第1のマイクロコンピュータに確実
に取込まれた上で制御を開始することができ、制御の信
頼性を著しく向上することできる効果を有する。
As described above, according to the first aspect of the present invention, the mask RO is provided in the first microcomputer.
M is provided with a one-time programmable ROM in the second microcomputer, so that the fixed data represented by the control program is stored in the mask ROM of the first microcomputer at the manufacturing stage, and the control data unique to each vehicle model is stored in the first microcomputer. The data can be written to the one-time programmable ROM of the second microcomputer at the time of completion of the product of the first microcomputer. In other words, the
Control by mask ROM provided in one microcomputer
Since storing fixed data represented in the program, a first microcomputer requiring production period is after the end of the usage decision and debugging of the control program, Ru can immediately take the production. And the second microcompilation
One-time programmable ROM for each car
Since the type-specific control data is written, the control data to be written to the one-time programmable ROM of the second microcomputer during the manufacturing period of the first microcomputer can be determined by experiments or the like. Therefore, the influence of the lead time required for manufacturing the mask ROM from the determination of the control specifications of the vehicle to the commercialization can be reduced, the entire development period can be shortened, and the cost can be significantly reduced by reducing the total man-hour. Then, the second microcomputer transfers the control data written in the one-time programmable ROM to the first microcomputer at the time of startup, and the first microcomputer normally executes control data reception after completing the reception of the control data. Since the control is shifted to the control, even if the fixed data represented by the control program and the control data specific to each vehicle type are individually stored in the first microcomputer and the second microcomputer respectively, the control can be reliably performed without any trouble. Can be performed. According to the second aspect of the present invention, when the transmission of the control data to the first microcomputer is completed, the second microcomputer receives the sum check number of the transmitted data and the number of transmitted checksums from the first microcomputer. The checksum is compared with the incoming checksum, and if they do not match, the control data is
When the number of checksums matches the checksum, a control start command is transmitted to the first microcomputer. Then, the second microcomputer calculates the sum check of the received data, transmits the sum check to the first microcomputer, and receives the control start command from the first microcomputer,
Since the control is shifted to the normal control, in addition to the effect of the first aspect of the invention, when the control is executed by the first microcomputer, essential control data is surely transferred from the second microcomputer to the first microcomputer. The control can be started after being incorporated in the control, and the reliability of the control can be significantly improved.

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

【図1】サブCPU側の起動時処理手順を示すフローチ
ャート
FIG. 1 is a flowchart showing a startup procedure of a sub CPU.

【図2】メインCPU側の起動時処理手順を示すフロー
チャート
FIG. 2 is a flowchart showing a startup processing procedure on the main CPU side;

【図3】制御装置の回路構成図FIG. 3 is a circuit configuration diagram of a control device.

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

2 第1のマイクロコンピュータ 3 第2のマイクロコンピュータ 5 マスクROM 12 ワンタイムプログラマブルROM 2 First microcomputer 3 Second microcomputer 5 Mask ROM 12 One-time programmable ROM

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】車輌に搭載される制御装置に、第1のマイ
クロコンピュータと、第2のマイクロコンピュータとを
備え、両マイクロコンピュータ間でデータ転送を実行す
る車輌の制御システムにおいて、 上記第1のマイクロコンピュータにマスクROMを、上
記第2のマイクロコンピュータにワンタイムプログラマ
ブルROMをそれぞれ備え、 第1のマイクロコンピュータの上記マスクROMに制御
プログラムに代表される固定データを格納すると共に、
第2のマイクロコンピュータの上記ワンタイムプログラ
マブルROMに各車種固有の制御データを書込み、 上記第2のマイクロコンピュータは、起動時に上記ワン
タイムプログラマブルROMに書込まれている制御デー
タを第1のマイクロコンピュータに転送し、上記第1の
マイクロコンピュータは、制御データの受信が完了した
後、通常制御に移行 することを特徴とする車輌の制御
ステム
A first microcomputer is provided to a control device mounted on a vehicle.
A microcomputer and a second microcomputer
To transfer data between both microcomputers.
In a vehicle control system, a mask ROM is stored in the first microcomputer.
One-time programmer for the second microcomputer
Each of which is equipped with a controllable ROM, and is controlled by the mask ROM of the first microcomputer.
In addition to storing fixed data represented by programs,
The one-time program of the second microcomputer
The control data unique to each vehicle type is written into the mable ROM, and the second microcomputer starts up the
The control data written in the time programmable ROM
Data to the first microcomputer and the first microcomputer
The microcomputer has completed receiving the control data
After control of the vehicle, characterized in that the transition to the normal controls
Stem .
【請求項2】上記第2のマイクロコンピュータは、上記
第1のマイクロコンピュータへの制御データの送信が終
了した時、送信したデータのサムチェック数を計算し
て、該サムチェック数と第1のマイクロコンピュータか
ら送信されてくるチェックサムとを比較し、サムチェッ
ク数とチェックサムとが一致しない場合、再度制御デー
タを送信し直し、サムチェック数とチェックサムとが一
致する場合、第1のマイクロコンピュータに制御開始コ
マンドを送信し、 上記第2のマイクロコンピュータは、受信データのサム
チェックを計算して第1のマイクロコンピュータに送信
し、第1のマイクロコンピュータからの上記制御開始コ
マンドを受信した後、通常制御に移行する ことを特徴と
する請求項1記載の車輌の制御システム
2. The second microcomputer according to claim 1 , wherein
Transmission of control data to the first microcomputer is completed.
When completed, calculate the sum check number of the transmitted data
The sum check number and the first microcomputer
Compare the checksum sent from the
If the number of checksums and the checksum do not match, the control data
The checksum and the checksum are
If it does, the control start command is sent to the first microcomputer.
And the second microcomputer transmits a sum of the received data.
Calculate check and send to first microcomputer
And the control start command from the first microcomputer.
2. The vehicle control system according to claim 1 , wherein, after receiving the command, the control shifts to normal control .
JP13801691A 1991-06-10 1991-06-10 Vehicle control system Expired - Fee Related JP3174354B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13801691A JP3174354B2 (en) 1991-06-10 1991-06-10 Vehicle control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13801691A JP3174354B2 (en) 1991-06-10 1991-06-10 Vehicle control system

Publications (2)

Publication Number Publication Date
JPH04362437A JPH04362437A (en) 1992-12-15
JP3174354B2 true JP3174354B2 (en) 2001-06-11

Family

ID=15212091

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13801691A Expired - Fee Related JP3174354B2 (en) 1991-06-10 1991-06-10 Vehicle control system

Country Status (1)

Country Link
JP (1) JP3174354B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4253979B2 (en) * 2000-01-21 2009-04-15 株式会社デンソー Inspection method for in-vehicle control unit
JP2007092621A (en) * 2005-09-28 2007-04-12 Aisin Seiki Co Ltd Electronic control unit
JP2010188796A (en) * 2009-02-17 2010-09-02 Nsk Ltd Electric power steering device

Also Published As

Publication number Publication date
JPH04362437A (en) 1992-12-15

Similar Documents

Publication Publication Date Title
CN110321149B (en) Vehicle-mounted program writing device
JP5550232B2 (en) Control device having computing device and peripheral components connected to each other via serial multi-wire bus
JPH0510201A (en) Car controlling method
JPS60211504A (en) Controller for automobile
JP3925062B2 (en) In-vehicle electronic control unit
US20190056923A1 (en) Information processing device, information processing method, and computer readable medium
US6636989B1 (en) Electronic control apparatus and method for on-board rewriting of non-volatile memories
JP3174354B2 (en) Vehicle control system
JP3346079B2 (en) Data input / output processing device of multi CPU system
US6944649B1 (en) Electronic control unit having single non-volatile memory for multiple central processing units and data retrieval method
JP2003336539A (en) On-vehicle electronic control device
JPH08177608A (en) Control system for vehicle
JPS5835295B2 (en) Data transfer method in master-slave system
US7539610B2 (en) Microcomputer logic development
US20070260900A1 (en) High-performance microprocessor with lower-performance microcontroller in a vehicle network
JP4737049B2 (en) Communication system and electronic control device
JP4006871B2 (en) Serial communication device
JP3249710B2 (en) Analog / digital converter
JPH05155295A (en) Method for controlling electronic control system for vehicle
JP3768544B2 (en) Electronic control unit for engine control
JP2003167756A (en) Logic development device for microcomputer
US20030151490A1 (en) Method for monitoring the functioning of a control unit
JPH08319880A (en) Vehicle control method
CN117215977B (en) I3C concentrator and interrupt arbitration digital implementation method
JPH07210215A (en) Data check method for eeprom

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080330

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090330

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090330

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100330

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100330

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110330

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees