JP2002138895A - Internal combustion engine control device and data communication system using internal combustion engine control device - Google Patents

Internal combustion engine control device and data communication system using internal combustion engine control device

Info

Publication number
JP2002138895A
JP2002138895A JP2000335717A JP2000335717A JP2002138895A JP 2002138895 A JP2002138895 A JP 2002138895A JP 2000335717 A JP2000335717 A JP 2000335717A JP 2000335717 A JP2000335717 A JP 2000335717A JP 2002138895 A JP2002138895 A JP 2002138895A
Authority
JP
Japan
Prior art keywords
communication
internal combustion
combustion engine
control device
data
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
JP2000335717A
Other languages
Japanese (ja)
Other versions
JP4399696B2 (en
Inventor
Hisashi Shigekusa
久志 重草
Hiroshi Haraguchi
寛 原口
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
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2000335717A priority Critical patent/JP4399696B2/en
Priority to DE2001153625 priority patent/DE10153625A1/en
Publication of JP2002138895A publication Critical patent/JP2002138895A/en
Application granted granted Critical
Publication of JP4399696B2 publication Critical patent/JP4399696B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an ECU in which at least one part of a control program and a control data can be read out or write by a data communication without removing a recording means recording the control program or the control data of an engine. SOLUTION: The ECU 20 and a personal computer(PC) 100 can be connected by a cable 110 of a general-purpose communication interface such as RS232C and the like. The PC100 can be connected to a server computer 200 of a parts center by Internet 210. A control program and a control data of an engine 10 are recorded in a non-volatile flash memory which can be rewritten in the ECU 20. The server computer 200 at a remote place can read out the control program or the control data of the ECU 20 through the PC100 and the rewritten data of the control program or the control data can be transmitted from the server computer 200 to the ECU 20 through the PC100.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、内燃機関(以下、
「内燃機関」をエンジンという)を制御する制御プログ
ラムおよび制御データを書き換え可能な不揮発性の記録
手段に記録し、制御プログラムまたは制御データを通信
回路を通して読み出しおよび書き込み可能なエンジン制
御装置(以下、「エンジン制御装置」をECUという)
に関する。また、ECUに記録されている制御プログラ
ムまたは制御データを通信回線を介しクライアントコン
ピュータからサーバコンピュータが受信したり、サーバ
コンピュータからクライアントコンピュータが受信する
書き込みデータでECUが記録している制御プログラム
または制御データに書き込むためのECUを用いたデー
タ通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an internal combustion engine (hereinafter referred to as "internal combustion engine").
An engine control device (hereinafter, referred to as "the internal combustion engine"), which records a control program and control data for controlling the engine in a rewritable non-volatile recording device and reads and writes the control program or control data through a communication circuit. The engine control unit is called ECU)
About. Further, the control program or control data recorded in the ECU may be received by the server computer from the client computer via the communication line, or may be written by the client computer from the server computer. The present invention relates to a data communication system using an ECU for writing data into a memory.

【0002】[0002]

【従来の技術】例えば車両の修理工場等において、燃料
噴射装置であるインジェクタを交換する場合、新たに組
み付けるインジェクタの特性に合わせECUの書き換え
可能な不揮発性の記録手段、例えばEEPROM(Elec
trically Erasable Programmable Read Only Memory)
やフラッシュメモリ等に記録されたエンジンの制御プロ
グラムまたは制御データを更新しなければならないこと
がある。
2. Description of the Related Art For example, when replacing an injector as a fuel injection device at a vehicle repair shop or the like, a rewritable nonvolatile recording means of an ECU such as an EEPROM (Elec) is used in accordance with the characteristics of a newly installed injector.
trically Erasable Programmable Read Only Memory)
It may be necessary to update the control program or control data of the engine recorded in the flash memory or the like.

【0003】インジェクタを交換しない場合も制御プロ
グラムまたは制御データを改良するため、ECUの記録
手段に記録されている制御プログラムまたは制御データ
を更新する必要が生じることがある。また、記録手段に
記録されている制御プログラムタまたは制御データの適
正を確認するために、制御プログラムまたは制御データ
を読み出したいことがある。
[0003] Even when the injector is not replaced, it may be necessary to update the control program or control data recorded in the recording means of the ECU in order to improve the control program or control data. In some cases, the user may want to read out the control program or control data in order to confirm the appropriateness of the control programmer or control data recorded in the recording means.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、修理工
場によっては、例えば2次元コード等でインジェクタに
表示されている噴射量および応答性等の特性データの読
み出し装置、あるいは記録手段に記録されているデータ
の書き換え装置を所有していないことがある。また、新
たに組み付けるインジェクタの特性データと既存の制御
データに基づき制御プログラムまたは制御データを更新
するデータを作成することは、通常の修理工場では困難
な場合がある。
However, depending on the repair shop, for example, a device for reading characteristic data such as the injection amount and responsiveness displayed on the injector by a two-dimensional code or the like, or data recorded on recording means. May not own a rewriting device. In addition, it may be difficult for a normal repair shop to create data for updating a control program or control data based on characteristic data of an injector to be newly installed and existing control data.

【0005】インジェクタの製造会社や部品センタに部
品工場から新たに組み付けるインジェクタと制御データ
を記録した記録手段とを送り、記録データを更新した記
録手段を受け取ることは可能であるが、入手までに要す
る日数が長くなるという問題がある。
[0005] It is possible to send an injector to be newly assembled and a recording means for recording control data from a parts factory to a manufacturing company or a parts center of an injector and receive a recording means for updating the recorded data, but it is necessary to obtain it. There is a problem that the number of days is long.

【0006】本発明の目的は、エンジンの制御プログラ
ムまたは制御データを記録した記録手段を取り外すこと
なく、制御プログラムおよび制御データの少なくとも一
部をデータ通信により読み出しまたは書き込み可能なE
CUを提供することにある。本発明の他の目的は、EC
Uの第1記録手段に記録されているエンジンの制御プロ
グラムおよび制御データの少なくとも一部を、サーバコ
ンピュータが読み出し、あるいはサーバコンピュータか
ら制御プログラムまた制御データの書き込みデータを入
手可能なECUを用いたデータ通信システムを提供する
ことにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an E / E system capable of reading or writing at least a part of a control program and control data by data communication without removing a recording means for recording an engine control program or control data.
CU. Another object of the present invention is to provide an EC
Data using an ECU that allows the server computer to read at least a part of the engine control program and the control data recorded in the first recording means of U, or to obtain the control program and the control data write data from the server computer. A communication system is provided.

【0007】[0007]

【課題を解決するための手段】本発明の請求項1または
6記載のECUによると、電気的に書き換え可能な不揮
発性の第1記録手段に制御プログラムおよび制御データ
が記録されている。そして通信回路を通して行うデータ
通信を制御する通信プログラムをECUが有している。
したがって、ECUから第1記録手段を取りはずすこと
なく、第1記録手段に記録されている制御プログラムお
よび制御データの少なくとも一部を読み出しまたは書き
込むことができる。
According to the present invention, the control program and the control data are recorded in the first electrically rewritable nonvolatile recording means. The ECU has a communication program for controlling data communication performed through the communication circuit.
Therefore, at least a part of the control program and the control data recorded in the first recording unit can be read or written without removing the first recording unit from the ECU.

【0008】本発明の請求項2記載のECUによると、
通信回路を通し汎用通信インターフェイスでデータ通信
を行うので、RS232C等の汎用通信インターフェイ
スにより容易にデータ通信を行うことができる。本発明
の請求項3記載のECUによると、通信回路の端子部の
形状または大きさが汎用通信インターフェイスの端子部
と異なっており、通信回路の端子部と汎用通信インター
フェイスの端子部とを接続する接続部材を備えている。
ECUの通信回路の端子部を大きくし、接続部材との接
続力を大きくすることができる。
According to the ECU of the present invention,
Since data communication is performed by the general-purpose communication interface through the communication circuit, the data communication can be easily performed by the general-purpose communication interface such as RS232C. According to the third aspect of the present invention, the shape or size of the terminal of the communication circuit is different from that of the terminal of the general-purpose communication interface, and the terminal of the communication circuit is connected to the terminal of the general-purpose communication interface. A connection member is provided.
The terminal portion of the communication circuit of the ECU can be enlarged, and the connection force with the connection member can be increased.

【0009】本発明の請求項4記載のECUによると、
通信プログラムは電気的に書き換え不可な第2記録手段
に記録されている。通信プログラムは変更する必要がな
いので、例えば書き換え不可で安価なROM(Read Onl
y Memory)に記録することにより、製造コストが低下す
る。
According to the ECU described in claim 4 of the present invention,
The communication program is recorded in an electrically non-rewritable second recording means. Since there is no need to change the communication program, for example, a non-rewritable and inexpensive ROM (Read Onl
y Memory), the manufacturing cost is reduced.

【0010】本発明の請求項5記載のECUによると、
第1記録手段に記録されている制御プログラムまたは制
御データに対し、所定領域の読み出しまたは書き込みを
行う。第1記録手段に記録されている制御プログラムま
たは制御データ全体を読み出しまたは書き込まないの
で、データ通信に要する時間が短くなる。
According to the ECU described in claim 5 of the present invention,
A predetermined area is read or written with respect to a control program or control data recorded in the first recording means. Since the entire control program or control data recorded in the first recording means is not read or written, the time required for data communication is reduced.

【0011】本発明の請求項7または10記載のECU
によると、通信回路の入力端子の信号レベルと、通信回
路以外の入力端子の信号レベルとが所定時間以上同時に
オン状態になるとき、通信プログラムが起動する。ノイ
ズ等により一つの入力端子の信号レベルが所定時間以上
オン状態になっても、他の入力端子にノイズが発生しな
ければ、通信プログラムは起動しない。本発明の請求項
8記載のECUによると、通信回路から受信する指示に
エラーを検出すると、通信回路からエラー検出を送信す
る。不正なデータで制御プログラムまたは制御データを
更新することを防止できる。
An ECU according to claim 7 or 10 of the present invention.
According to this, when the signal level of the input terminal of the communication circuit and the signal level of the input terminal other than the communication circuit are simultaneously turned on for a predetermined time or more, the communication program is started. Even if the signal level of one input terminal is turned on for a predetermined time or longer due to noise or the like, the communication program does not start unless noise occurs at the other input terminals. According to the ECU of the present invention, when an error is detected in the instruction received from the communication circuit, an error detection is transmitted from the communication circuit. Updating of the control program or control data with illegal data can be prevented.

【0012】本発明の請求項9記載のECUによると、
通信回路の所定の入力端子の信号レベルが所定時間以上
オン状態を維持するとき信号出力を可能にする信号保持
回路を有している。信号保持回路として例えばFF(フ
リップフロップ)等を用いることにより、通信プログラ
ム実行中に入力端子の信号レベルをオン状態にしておく
必要がない。また、ECUがFFをリセットすることに
より、ECUが通信プログラムの実行を終了できる。
According to the ECU of the ninth aspect of the present invention,
The communication circuit includes a signal holding circuit that enables signal output when the signal level of a predetermined input terminal of the communication circuit is kept on for a predetermined time or more. By using, for example, an FF (flip-flop) as the signal holding circuit, it is not necessary to keep the signal level of the input terminal on during the execution of the communication program. Further, the ECU resets the FF, so that the ECU can end the execution of the communication program.

【0013】本発明の請求項11記載のECUによる
と、通信回路の端子の少なくとも一部を通信回路以外の
端子と共用している。通信回路の端子は通常のエンジン
運転状態では使用しないので、他の端子と共用すること
により端子数を減少することができる。
According to the ECU of the present invention, at least a part of the terminals of the communication circuit is shared with terminals other than the communication circuit. Since the terminals of the communication circuit are not used in a normal engine operating state, the number of terminals can be reduced by sharing the terminals with other terminals.

【0014】本発明の請求項12記載のECUを用いた
データ通信システムによると、修理工場にクライアント
コンピュータとしてPC(パーソナルコンピュータ)が
あれば、インターネット等の通信回線を通し、ECUの
制御プログラムまたは制御データを修理工場から部品セ
ンタ等のサーバコンピュータに容易に送信できる。ま
た、サーバコンピュータからクライアントコンピュータ
が書き込みデータを受信し、この書き込みデータにより
ECUの制御プログラムまたは制御データを容易に更新
することができる。したがって、遠隔地、例えば海外に
ある修理工場においても、部品センタにおいてエンジン
の制御プログラムまたは制御データの適正を短時間で確
認できる。さらに、適正な制御プログラムまたは制御デ
ータに短時間で更新できる。
According to a data communication system using an ECU according to a twelfth aspect of the present invention, if a PC (personal computer) is provided as a client computer at a repair shop, a control program or control program for the ECU is provided through a communication line such as the Internet. Data can be easily transmitted from a repair shop to a server computer such as a parts center. Further, the client computer receives the write data from the server computer, and the control program or control data of the ECU can be easily updated with the write data. Therefore, even in a remote place, for example, a repair shop overseas, the appropriateness of the engine control program or control data can be confirmed in a parts center in a short time. Further, it can be updated to an appropriate control program or control data in a short time.

【0015】本発明の請求項13記載のECUを用いた
データ通信システムによると、インジェクタを交換する
とき、新たに組み付けるインジェクタの特性データ、お
よびエンジンの制御データを修理工場のクライアントコ
ンピュータから部品センタ等のサーバコンピュータに送
信し、最適な制御プログラムまたは制御データの書き込
みデータをサーバコンピュータからクライアントコンピ
ュータが受信し、ECUの制御プログラムまたは制御デ
ータを更新できる。本発明の請求項14記載のECUを
用いたデータ通信システムによると、クライアントコン
ピュータは、ECUとのデータ通信を制御する通信プロ
グラムの最新版をサーバコンピュータから受け取ること
ができる。
According to the data communication system using the ECU according to the present invention, when replacing the injector, the characteristic data of the injector to be newly assembled and the control data of the engine are transmitted from the client computer in the repair shop to the parts center or the like. And the client computer receives the optimal control program or write data of the control data from the server computer, and can update the control program or control data of the ECU. According to the data communication system using the ECU described in claim 14 of the present invention, the client computer can receive the latest version of the communication program for controlling data communication with the ECU from the server computer.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を示す
実施例を図に基づいて説明する。本発明のECUとEC
Uを用いたデータ通信システムの一実施例を図1に示
す。エンジン10は4気筒エンジンであり、各気筒にイ
ンジェクタ11が組み付けられている。ECU20はエ
ンジン10の運転状態を検出する各種センサ信号を入力
し、エンジン運転状態に応じてエンジン10を制御す
る。クライアントコンピュータであるPC100はRS
232C等の汎用の通信インターフェイスによりケーブ
ル110でECU20と接続可能である。ECU20の
端子部20aは、汎用の通信インターフェイスの規格よ
りも大きい。接続部材としてのアダプタ111は汎用通
信インターフェイスのケーブル110と端子部20aと
を接続する。汎用インタフェイスの規格よりも大きい端
子部20aとアダプタ111とが接続することにより、
端子部20aとアダプタ111との接続が強固になる。
PC100は、通信回線であるインターネット210に
より部品センタのサーバコンピュータ200と接続可能
である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention. ECU and EC of the present invention
One embodiment of a data communication system using U is shown in FIG. The engine 10 is a four-cylinder engine, and an injector 11 is attached to each cylinder. The ECU 20 inputs various sensor signals for detecting the operation state of the engine 10 and controls the engine 10 according to the engine operation state. The PC 100 as the client computer has an RS
A general-purpose communication interface such as 232C can be connected to the ECU 20 via the cable 110. The terminal portion 20a of the ECU 20 is larger than the standard of the general-purpose communication interface. The adapter 111 as a connection member connects the cable 110 of the general-purpose communication interface to the terminal 20a. By connecting the terminal section 20a larger than the standard of the general-purpose interface to the adapter 111,
The connection between the terminal portion 20a and the adapter 111 is strengthened.
The PC 100 can be connected to the server computer 200 at the parts center via the Internet 210 as a communication line.

【0017】図2に示すように、ECU20は、CPU
(Central Processing Unit)21、センサ入力回路3
0、制御信号入力回路31、制御信号出力回路32、通
信回路40、電源回路33、RAM(Random Access Me
mory)35、ROM36およびF/M(Flash Memory)
37等を有している。
As shown in FIG. 2, the ECU 20 has a CPU
(Central Processing Unit) 21, sensor input circuit 3
0, control signal input circuit 31, control signal output circuit 32, communication circuit 40, power supply circuit 33, RAM (Random Access Me
mory) 35, ROM 36 and F / M (Flash Memory)
37 and the like.

【0018】処理手段としてのCPU21は、第2記録
手段としてのROM36に記録されている通信プログラ
ム、ならびに第1記録手段としての書き換え可能な不揮
発性のF/M37に記録されている制御プログラムを実
行する。F/M37にはエンジン10の制御プログラム
に加えエンジン10の制御データが記録されている。
The CPU 21 as a processing means executes a communication program recorded in a ROM 36 as a second recording means and a control program recorded in a rewritable nonvolatile F / M 37 as a first recording means. I do. In the F / M 37, control data of the engine 10 is recorded in addition to the control program of the engine 10.

【0019】センサ入力回路30は、エンジン10の運
転状態を検出する各種センサ信号を入力する。制御信号
入力回路31は、センサ信号以外にエンジン10の運転
状態を規定する制御信号を入力する。制御信号出力回路
32は、エンジン10の各部にエンジン運転状態を設定
する制御信号を送出する。電源回路33は、ECU20
の各素子に電力を供給する。RAM35は、ROM36
に記録されている通信プログラム、ならびにF/M37
に記録されている制御プログラムの作業領域を提供して
いる。
The sensor input circuit 30 inputs various sensor signals for detecting the operating state of the engine 10. The control signal input circuit 31 inputs a control signal that defines the operating state of the engine 10 in addition to the sensor signal. The control signal output circuit 32 sends a control signal for setting an engine operating state to each part of the engine 10. The power supply circuit 33 is connected to the ECU 20
Is supplied with power to each element. The RAM 35 is a ROM 36
Communication program recorded in F / M37
Provides a work area for the control program recorded in the.

【0020】図3に示すように、通信回路40は、積分
回路41、スライス回路42、微分回路43、信号保持
回路としての保持回路(FF)44、電源スイッチ回路
45およびトランシーバ回路46を有している。積分回
路41、スライス回路42、微分回路43およびFF4
4は起動手段を構成している。
As shown in FIG. 3, the communication circuit 40 has an integrating circuit 41, a slice circuit 42, a differentiating circuit 43, a holding circuit (FF) 44 as a signal holding circuit, a power switch circuit 45, and a transceiver circuit 46. ing. Integration circuit 41, slice circuit 42, differentiation circuit 43, and FF4
Reference numeral 4 constitutes a starting unit.

【0021】積分回路41、スライス回路42および微
分回路43は、PC100からECU20に送出される
切替信号A、Bが同時に所定時間以上同時にオン状態に
なったとき、微分回路43からパルス信号を出力する。
なお、ここでいう「オン状態」とは、PC100とEC
U20との間で通信が可能な「通信可」状態になったこ
とを示す。FF44は、微分回路43が出力するパルス
信号をラッチし、CPU21に通信可信号を送出する。
切替信号A、Bは、例えばディップスイッチによりオ
ン、オフが設定される。切替信号A、Bの一方にノイズ
によりオンになっても、他方の切替信号がオンにならな
ければ、微分回路43はパルス信号を出力せず、FF4
4から通信可信号は出力されない。
The integrating circuit 41, the slicing circuit 42 and the differentiating circuit 43 output pulse signals from the differentiating circuit 43 when the switching signals A and B sent from the PC 100 to the ECU 20 are simultaneously turned on for a predetermined time or more. .
The “ON state” here means that the PC 100 and the EC
This indicates that the state has become "communicable" in which communication with U20 is possible. The FF 44 latches the pulse signal output from the differentiating circuit 43 and sends a communication enable signal to the CPU 21.
The switching signals A and B are set on and off by, for example, a dip switch. Even if one of the switching signals A and B is turned on by noise, if the other switching signal is not turned on, the differentiating circuit 43 does not output a pulse signal, and the FF4
4 does not output a communication enable signal.

【0022】電源スイッチ回路45は、FF44が出力
する通信可信号がオンになると、トランシーバ回路46
の各素子への電力供給を可能にする。トランシーバ回路
46の各素子は、CPU21から送出されるイネーブル
信号により駆動される。FF44の通信可信号で電源ス
イッチ回路45を切替える代わりに、通信可信号でイネ
ーブル信号を制御してもよい。
When the communication enable signal output from the FF 44 is turned on, the power switch circuit 45 turns on the transceiver circuit 46.
Power supply to each element. Each element of the transceiver circuit 46 is driven by an enable signal sent from the CPU 21. Instead of switching the power switch circuit 45 by the communication enable signal of the FF 44, the enable signal may be controlled by the communication enable signal.

【0023】図3では、切替信号A、Bは専用信号であ
る。これに対し、図4に示すように、ECU20の入力
端子の制御入力信号をスイッチ回路50で切替えること
により、一つの入力端子を制御入力信号の入力端子、ま
たは切替信号Bの入力端子として共用することも可能で
ある。エンジン通常運転時は、共用解除信号により切替
信号B側をオフにしておく。なお、この共用解除信号と
して切替信号Aを使用してもよい。この場合、通信回路
40内において、切替信号Aを入力する端子から積分回
路41に到る系路とスイッチ回路50とを接続すれば、
端子数の低減が可能となる。
In FIG. 3, the switching signals A and B are dedicated signals. On the other hand, as shown in FIG. 4, by switching the control input signal of the input terminal of the ECU 20 by the switch circuit 50, one input terminal is shared as the input terminal of the control input signal or the input terminal of the switching signal B. It is also possible. During normal engine operation, the switching signal B side is turned off by the common release signal. Note that the switching signal A may be used as the sharing release signal. In this case, in the communication circuit 40, if the path from the terminal for inputting the switching signal A to the integration circuit 41 and the switch circuit 50 are connected,
The number of terminals can be reduced.

【0024】次に、インジェクタ11を交換するときの
データ通信手順を説明する。 (1) 例えば、修理工場等でエンジン10の第2シリンダ
に取り付けられているインジェクタ11を交換すると
き、新たに第2シリンダに組み付けるインジェクタ11
の特性データをデジタルカメラ90で撮影する。インジ
ェクタ11の特性データとは、インジェクタ1の噴射量
や応答性を示すデータである。特性データは、例えば公
知の2次元コードとしてインジェクタ11にマーキング
されている。
Next, a data communication procedure when replacing the injector 11 will be described. (1) For example, when replacing the injector 11 attached to the second cylinder of the engine 10 at a repair shop or the like, the injector 11 to be newly assembled to the second cylinder is
Is captured by the digital camera 90. The characteristic data of the injector 11 is data indicating the injection amount and the responsiveness of the injector 1. The characteristic data is marked on the injector 11 as a known two-dimensional code, for example.

【0025】(2) デジタルカメラ90で撮影した新たに
エンジン10に組み付けるインジェクタ11の特性デー
タ、インジェクタ11を組み付けるシリンダ番号等の情
報をPC100に入力する。 (3) 汎用通信インターフェイスの一つであるRS232
Cのケーブル110でECU20の通信回路40の端子
部20aとPC100の通信端子部とを接続する。
(2) Information such as characteristic data of the injector 11 to be newly assembled to the engine 10 photographed by the digital camera 90 and a cylinder number for assembling the injector 11 is input to the PC 100. (3) RS232, one of the general-purpose communication interfaces
The terminal part 20a of the communication circuit 40 of the ECU 20 and the communication terminal part of the PC 100 are connected by the C cable 110.

【0026】(4) PC100がECU20とデータ通信
を行う通信プログラムを持たない場合、部品センタのサ
ーバコンピュータ200から通信プログラムをPC10
0がダウンロードする。 (5) ECU20の切替信号A、Bに対応するディップス
イッチをオンにし、ECU200の電源をオンにする。
すると、図5に示すように、ステップ300において通
信可信号、つまりFF44の出力がオンであるかを判定
する。通信可、つまりFF44の出力がオンであればス
テップ301に移行し、通信プログラムを起動する。通
信不可、つまりFF44の出力がオフであればステップ
302に移行し、エンジン制御プログラムを起動する。
(4) If the PC 100 does not have a communication program for performing data communication with the ECU 20, the communication program is transmitted from the server computer 200 of the parts center to the PC 10.
0 downloads. (5) The dip switches corresponding to the switching signals A and B of the ECU 20 are turned on, and the power of the ECU 200 is turned on.
Then, as shown in FIG. 5, it is determined in step 300 whether the communication enable signal, that is, the output of the FF 44 is on. If communication is possible, that is, if the output of the FF 44 is on, the process proceeds to step 301 to start a communication program. If the communication is not possible, that is, if the output of the FF 44 is off, the process shifts to step 302 to start the engine control program.

【0027】(6) PC100はECU20から制御デー
タを読み出し、すでに得ているインジェクタ11の特性
データおよびシリンダ番号等の情報とともにサーバコン
ピュータ200に送信する。ECU20の通信プログラ
ムは、PC100と通信するとき、PC100からの指
示にエラーがあるかチェックする。例えば、指示フォー
マットの不正、データ書き込み領域の不正等である。P
C100の指示にエラーがある場合、ECU20はエラ
ーを検出したことをPC100に送信する。
(6) The PC 100 reads the control data from the ECU 20 and sends it to the server computer 200 together with the already obtained characteristic data of the injector 11 and information such as the cylinder number. When communicating with the PC 100, the communication program of the ECU 20 checks whether there is an error in the instruction from the PC 100. For example, the instruction format is invalid, the data write area is invalid, and the like. P
If there is an error in the instruction of C100, ECU 20 transmits to PC 100 that the error has been detected.

【0028】(7) サーバコンピュータ200は、PC1
00から受信したデータに基づき制御データの書き込み
データを作成し、さらに書き込みデータを2次元コード
に変換して作成する。 (8) サーバコンピュータ200は書き込みデータと2次
元データとをPC100に送信する。
(7) The server computer 200 is a PC 1
The write data of the control data is created based on the data received from 00, and the write data is further converted into a two-dimensional code and created. (8) The server computer 200 transmits the write data and the two-dimensional data to the PC 100.

【0029】(9) PC100は、受信した書き込みデー
タをケーブル110を介しECU20に送信する。ま
た、PC100は受信した2次元コードを印刷する。印
刷した2次元コードは修理データとして保管される。 (10)ECU20は受信した書き込みデータにより制御プ
ログラムまたは制御データを更新する。 (11)PC100とサーバコンピュータ200との接続を
切り、PC100とECU20との接続を切る。その
後、ECU20の切替信号A、Bに対応するディップス
イッチをオフにする。
(9) The PC 100 transmits the received write data to the ECU 20 via the cable 110. The PC 100 prints the received two-dimensional code. The printed two-dimensional code is stored as repair data. (10) The ECU 20 updates the control program or the control data with the received write data. (11) The connection between the PC 100 and the server computer 200 is cut off, and the connection between the PC 100 and the ECU 20 is cut off. Thereafter, the dip switches corresponding to the switching signals A and B of the ECU 20 are turned off.

【0030】以上説明した本発明の一実施例では、EC
U20がPC100とデータ通信を行う通信回路40お
よび通信プログラムを有し、エンジン制御プログラムま
たはエンジン制御データを書き換え可能な不揮発性のF
/M37に記録している。したがって、インジェクタ1
1を交換する際に、インジェクタ11の特性データおよ
びECU20の制御データをPC100からインターネ
ットを介して遠隔地にある部品センタのサーバコンピュ
ータ200に送信し、適正な書き込みデータをサーバコ
ンピュータ200からPC100に送信できる。これに
より、ECU20に記録されている制御データまたは制
御プログラムの書き込みが短時間で容易に実現できる。
In one embodiment of the present invention described above, the EC
U20 has a communication circuit 40 for performing data communication with PC 100 and a communication program, and has a non-volatile F which can rewrite an engine control program or engine control data.
/ M37. Therefore, the injector 1
When exchanging 1, the characteristic data of the injector 11 and the control data of the ECU 20 are transmitted from the PC 100 to the server computer 200 of the remote parts center via the Internet, and appropriate write data is transmitted from the server computer 200 to the PC 100. it can. Thereby, writing of the control data or the control program recorded in the ECU 20 can be easily realized in a short time.

【0031】本実施例では、図1に示すデータ通信シス
テムを用いてECU20の制御プログラムまたは制御デ
ータに書き込んだ。制御プログラムまたは制御データに
書き込む込以外に、ECU20の制御プログラムまたは
制御データをPC100が読み出してサーバコンピュー
タ200に送信し、サーバ側で制御プログラムまたは制
御データの適正を検討するだけでもよい。本実施例で
は、ECU20とPC100とのデータ通信を汎用通信
インターフェイスで行ったが、専用の通信インターフェ
イスで行ってもよい。
In this embodiment, the control program or control data of the ECU 20 is written using the data communication system shown in FIG. In addition to writing the control program or control data in the control program or control data, the PC 100 may read out the control program or control data of the ECU 20 and transmit the control program or control data to the server computer 200. In the present embodiment, the data communication between the ECU 20 and the PC 100 is performed by the general-purpose communication interface, but may be performed by a dedicated communication interface.

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

【図1】本発明のECUとECUを用いたデータ通信シ
ステムを示す模式的構成図である。
FIG. 1 is a schematic configuration diagram showing an ECU of the present invention and a data communication system using the ECU.

【図2】本実施例のECUを示すブロック図である。FIG. 2 is a block diagram showing an ECU of the embodiment.

【図3】本実施例の通信回路を示すブロック図である。FIG. 3 is a block diagram illustrating a communication circuit according to the present embodiment.

【図4】本実施例の入力端子共用回路を示すブロック図
である。
FIG. 4 is a block diagram illustrating an input terminal sharing circuit according to the present embodiment.

【図5】ECUの制御プログラムまたは通信プログラム
の起動を示すフローチャートである。
FIG. 5 is a flowchart showing activation of a control program or a communication program of the ECU.

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

10 エンジン(内燃機関) 11 インジェクタ(燃料噴射装置) 20 ECU(内燃機関制御装置) 20a 端子部 21 CPU(処理手段) 36 ROM(第2記録手段) 37 F/M(第1記録手段) 40 通信回路 41 積分回路(起動手段) 42 スライス回路(起動手段) 43 微分回路(起動手段) 44 FF(信号保持回路、起動手段) 100 PC(クライアントコンピュータ) 110 ケーブル 111 アダプタ(接続手段) 200 サーバコンピュータ 210 インターネット(通信回線) Reference Signs List 10 engine (internal combustion engine) 11 injector (fuel injection device) 20 ECU (internal combustion engine control device) 20a terminal unit 21 CPU (processing means) 36 ROM (second recording means) 37 F / M (first recording means) 40 communication Circuit 41 Integrating circuit (starting means) 42 Slice circuit (starting means) 43 Differentiating circuit (starting means) 44 FF (signal holding circuit, starting means) 100 PC (client computer) 110 Cable 111 Adapter (connecting means) 200 Server computer 210 Internet (communication line)

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // G05B 19/05 G05B 19/05 A Fターム(参考) 3G084 DA13 DA27 EB02 EB06 5B076 AC03 BB06 EB03 5H220 AA08 BB12 CC09 CX09 EE01 FF02 HH01 JJ12 JJ16 JJ29Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) // G05B 19/05 G05B 19/05 A F term (reference) 3G084 DA13 DA27 EB02 EB06 5B076 AC03 BB06 EB03 5H220 AA08 BB12 CC09 CX09 EE01 FF02 HH01 JJ12 JJ16 JJ29

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 内燃機関を制御する制御プログラムおよ
び制御データを記録し、前記制御プログラムおよび前記
制御データの少なくとも一部を電気的に書き換え可能な
不揮発性の第1記録手段と、 通信回路と、 前記通信回路を通して行うデータ通信を制御する通信プ
ログラムを記録している不揮発性の第2記録手段と、 前記制御プログラムおよび前記通信プログラムを実行す
る処理手段と、 を備えることを特徴とする内燃機関制御装置。
1. A non-volatile first recording means for recording a control program and control data for controlling an internal combustion engine and electrically rewriting at least a part of the control program and the control data, a communication circuit, An internal combustion engine control comprising: a nonvolatile second recording unit that records a communication program that controls data communication performed through the communication circuit; and a processing unit that executes the control program and the communication program. apparatus.
【請求項2】 前記通信回路を通し汎用通信インターフ
ェイスでデータ通信を行うことを特徴とする請求項1記
載の内燃機関制御装置。
2. The internal combustion engine control device according to claim 1, wherein data communication is performed by a general-purpose communication interface through said communication circuit.
【請求項3】 前記通信回路の端子部の形状または大き
さは前記汎用通信インターフェイスの端子部と異なって
おり、前記通信回路の端子部と前記汎用通信インターフ
ェイスの端子部とを接続する接続部材を備えることを特
徴とする請求項2記載の内燃機関制御装置。
3. The terminal part of the communication circuit is different in shape or size from the terminal part of the general-purpose communication interface, and a connecting member for connecting the terminal part of the communication circuit and the terminal part of the general-purpose communication interface is provided. The internal combustion engine control device according to claim 2, further comprising:
【請求項4】 前記第2記録手段は電気的に書き換え不
可であることを特徴とする請求項1、2または3記載の
内燃機関制御装置。
4. The internal combustion engine control device according to claim 1, wherein said second recording means is electrically non-rewritable.
【請求項5】 前記通信プログラムは、前記通信回路か
ら受信する指示により指定された所定領域において、前
記第1記録手段に記録されている前記制御プログラムま
たは前記制御データに対し、読み出しまたは書き込みを
行うことを特徴とする請求項1から4のいずれか一項記
載の内燃機関制御装置。
5. The communication program reads or writes the control program or the control data recorded in the first recording means in a predetermined area specified by an instruction received from the communication circuit. The internal combustion engine control device according to any one of claims 1 to 4, wherein:
【請求項6】 前記通信回路の所定の入力端子の信号レ
ベルが所定時間以上オン状態を維持するとき、前記通信
プログラムを起動する起動手段を備えることを特徴とす
る請求項1から5のいずれか一項記載の内燃機関制御装
置。
6. The communication device according to claim 1, further comprising: a start unit that starts the communication program when a signal level of a predetermined input terminal of the communication circuit is kept on for a predetermined time or more. An internal combustion engine control device according to claim 1.
【請求項7】 前記通信回路の所定の入力端子の信号レ
ベルと、前記通信回路以外の所定の入力端子の信号レベ
ルとが所定時間以上オン状態を維持するとき、前記起動
手段は前記通信プログラムを起動することを特徴とする
請求項6記載の内燃機関制御装置。
7. When the signal level of a predetermined input terminal of the communication circuit and the signal level of a predetermined input terminal other than the communication circuit maintain an ON state for a predetermined time or more, the activating means executes the communication program. The internal combustion engine control device according to claim 6, wherein the internal combustion engine control device is started.
【請求項8】 前記通信プログラムは、前記通信回路か
ら受信する指示のエラー検出を行い、エラーを検出する
と前記通信回路からエラー検出を送信することを特徴と
する請求項1から7のいずれか一項記載の内燃機関制御
装置。
8. The communication program according to claim 1, wherein the communication program detects an error of an instruction received from the communication circuit, and transmits an error detection from the communication circuit when detecting an error. An internal combustion engine control device according to any one of the preceding claims.
【請求項9】 前記通信回路は、前記通信回路の所定の
入力端子の信号レベルが所定時間以上オン状態を維持す
るとき、出力信号をオンにする信号保持回路を有するこ
とを特徴とする請求項1から8のいずれか一項記載の内
燃機関制御装置。
9. The communication circuit according to claim 1, further comprising a signal holding circuit for turning on an output signal when a signal level of a predetermined input terminal of the communication circuit is kept on for a predetermined time or more. An internal combustion engine control device according to any one of claims 1 to 8.
【請求項10】 前記信号保持回路は、前記通信回路の
所定の入力端子の信号レベルと、前記通信回路以外の所
定の入力端子の信号レベルとが所定時間以上オン状態を
維持するとき出力信号をオンにすることを特徴とする請
求項9記載の内燃機関制御装置。
10. The signal holding circuit outputs an output signal when a signal level of a predetermined input terminal of the communication circuit and a signal level of a predetermined input terminal other than the communication circuit maintain an ON state for a predetermined time or more. The internal combustion engine control device according to claim 9, wherein the control device is turned on.
【請求項11】 前記通信回路の端子の少なくとも一部
を、前記通信回路以外の端子と共用することを特徴とす
る請求項8または9記載の内燃機関制御装置。
11. The internal combustion engine control device according to claim 8, wherein at least a part of the terminals of the communication circuit are shared with terminals other than the communication circuit.
【請求項12】 請求項1から11のいずれか一項記載
の内燃機関制御装置と、 前記内燃機関制御装置と前記通信回路を介してデータ通
信を行うクライアントコンピュータと、 前記クライアントコンピュータと通信回線を通してデー
タ通信を行うサーバコンピュータと、 を備えることを特徴とする内燃機関制御装置を用いたデ
ータ通信システム。
12. The internal combustion engine control device according to claim 1, a client computer that performs data communication with the internal combustion engine control device via the communication circuit, and a communication line with the client computer. A data communication system using an internal combustion engine control device, comprising: a server computer that performs data communication.
【請求項13】 前記内燃機関の燃料噴射装置を交換す
るとき、内燃機関に組み付ける燃料噴射装置の特性デー
タと前記第1記録手段に記録されている前記制御データ
とに基づき、前記サーバコンピュータから前記クライア
ントコンピュータが書き込みデータを受け取り、前記ク
ライアントコンピュータの指示により、前記第1記録手
段に記録した制御プログラムおよび制御データの少なく
とも一部に前記書き込みデータを書き込むことを特徴と
する請求項12記載の内燃機関制御装置を用いたデータ
通信システム。
13. When the fuel injection device of the internal combustion engine is replaced, the server computer transmits the fuel injection device to the internal combustion engine based on the characteristic data of the fuel injection device and the control data recorded in the first recording means. 13. The internal combustion engine according to claim 12, wherein the client computer receives the write data, and writes the write data in at least a part of the control program and the control data recorded in the first recording unit according to an instruction of the client computer. A data communication system using a control device.
【請求項14】 前記クライアントコンピュータは、前
記内燃機関制御装置とデータ通信を行う通信プログラム
を前記サーバコンピュータから受け取ることを特徴とす
る請求項12または13記載の内燃機関制御装置を用い
たデータ通信システム。
14. The data communication system using an internal combustion engine control device according to claim 12, wherein the client computer receives a communication program for performing data communication with the internal combustion engine control device from the server computer. .
JP2000335717A 2000-11-02 2000-11-02 Internal combustion engine control device and data communication system using internal combustion engine control device Expired - Fee Related JP4399696B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2000335717A JP4399696B2 (en) 2000-11-02 2000-11-02 Internal combustion engine control device and data communication system using internal combustion engine control device
DE2001153625 DE10153625A1 (en) 2000-11-02 2001-10-31 Combustion engine controller has control program and data memory that can be electrically updated, communications circuit, memory device for communications program and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000335717A JP4399696B2 (en) 2000-11-02 2000-11-02 Internal combustion engine control device and data communication system using internal combustion engine control device

Publications (2)

Publication Number Publication Date
JP2002138895A true JP2002138895A (en) 2002-05-17
JP4399696B2 JP4399696B2 (en) 2010-01-20

Family

ID=18811414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000335717A Expired - Fee Related JP4399696B2 (en) 2000-11-02 2000-11-02 Internal combustion engine control device and data communication system using internal combustion engine control device

Country Status (1)

Country Link
JP (1) JP4399696B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1277936A1 (en) * 2001-07-17 2003-01-22 General Electric Company Remote tuning for gas turbines
US8106631B2 (en) 2007-02-14 2012-01-31 Denso Corporation Charge control device for batteries

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1277936A1 (en) * 2001-07-17 2003-01-22 General Electric Company Remote tuning for gas turbines
EP2282032A3 (en) * 2001-07-17 2014-01-08 General Electric Company Remote tuning for gas turbines
US8106631B2 (en) 2007-02-14 2012-01-31 Denso Corporation Charge control device for batteries

Also Published As

Publication number Publication date
JP4399696B2 (en) 2010-01-20

Similar Documents

Publication Publication Date Title
JP4722194B2 (en) Rewriting system for vehicles
JP4650566B2 (en) Control system and electronic control device
US20020133240A1 (en) Controllers, extension boards and communication units
JP4302113B2 (en) In-vehicle control device
US20200167307A1 (en) In-vehicle relay device, control program, and memory sharing method
JP2006202117A (en) Processor and its firmware download method
JP2002138895A (en) Internal combustion engine control device and data communication system using internal combustion engine control device
JP4258579B2 (en) Program rewriting device
JP2009265819A (en) Control unit and program for the same
JP2020004068A (en) In-vehicle electronic control device
JPH1051728A (en) Digital camera, digital camera controller, digital camera system, digital camera control method and medium
JP2003120413A (en) Data write system to electronic control device
CN115315692A (en) In-vehicle relay device, information processing method, and program
JP2019008693A (en) Vehicle-purpose electronic control unit
JP2002303203A (en) Vehicle control device, and method for assembling the same
JP3659399B2 (en) Programmable logic controller
JP3796837B2 (en) Memory writing device for electronic device
JP2001255911A (en) Method for setting parameter of programmable controller
KR102186040B1 (en) How to perform interface diagnosis of vehicle diagnostic information collection device
EP4332757A1 (en) Communication device and firmware update system
JP2003150397A (en) Method and device for rewriting program for electronic controller
JP4548107B2 (en) Display system and communication information setting method
EP2169200B1 (en) Engine setting system and engine setting method
JP2508612B2 (en) Time recorder
JP2005011214A (en) Method for writing application software at inspection process of electronic system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070419

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090401

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091001

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091014

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

Free format text: PAYMENT UNTIL: 20121106

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131106

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees