JP6148838B2 - Vehicle electronic control unit and data adjustment system thereof - Google Patents

Vehicle electronic control unit and data adjustment system thereof Download PDF

Info

Publication number
JP6148838B2
JP6148838B2 JP2012207743A JP2012207743A JP6148838B2 JP 6148838 B2 JP6148838 B2 JP 6148838B2 JP 2012207743 A JP2012207743 A JP 2012207743A JP 2012207743 A JP2012207743 A JP 2012207743A JP 6148838 B2 JP6148838 B2 JP 6148838B2
Authority
JP
Japan
Prior art keywords
adjustment
data
vehicle
control unit
control value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012207743A
Other languages
Japanese (ja)
Other versions
JP2014061775A (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.)
Keihin Corp
Original Assignee
Keihin 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 Keihin Corp filed Critical Keihin Corp
Priority to JP2012207743A priority Critical patent/JP6148838B2/en
Publication of JP2014061775A publication Critical patent/JP2014061775A/en
Application granted granted Critical
Publication of JP6148838B2 publication Critical patent/JP6148838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、車両の電子制御装置及びそのデータ調整システムに関する。   The present invention relates to an electronic control device for a vehicle and a data adjustment system thereof.

車両のエンジンには、電子制御ユニット(ECU)が搭載されており、電子制御ユニットを用いて燃料噴射弁や点火栓などの電装品を制御している。電子制御ユニットは、フラッシュROM(Read Only Memory)を有し、フラッシュROMに電装品を制御するためのパラメータやプログラムなどのデータが記憶されている。電子制御ユニットが使用するパラメータは、エンジンの種類などに応じて定められ、さらに車両の設計段階などで調整された値が用いられる。   An engine of a vehicle is equipped with an electronic control unit (ECU), and electrical components such as fuel injection valves and spark plugs are controlled using the electronic control unit. The electronic control unit has a flash ROM (Read Only Memory), and data such as parameters and programs for controlling electrical components is stored in the flash ROM. The parameters used by the electronic control unit are determined according to the type of engine and the like, and values adjusted at the vehicle design stage are used.

ここで、電装品を制御するパラメータを調整するときには、エンジンを運転させた状態でROMエミュレーションを実施し、フラッシュROM内のデータを書き換える。従来では、電子制御ユニットにROMデータをエミュレーション可能なRAM(Random Access Memory)を別に設け、フラッシュROMに記憶されているパラメータなどのデータの全てをRAMに展開させた状態で調整作業を行っていた。そして、調整結果に応じて、外部のコントローラからRAMのパラメータを調整し、最終的には調整後のパラメータをフラッシュROMに上書きしていた(例えば、特許文献1参照)。   Here, when adjusting the parameters for controlling the electrical components, ROM emulation is performed with the engine running, and the data in the flash ROM is rewritten. Conventionally, a RAM (Random Access Memory) capable of emulating ROM data is separately provided in the electronic control unit, and adjustment work is performed in a state where all data such as parameters stored in the flash ROM are expanded in the RAM. . Then, according to the adjustment result, the parameters of the RAM are adjusted from an external controller, and finally, the adjusted parameters are overwritten in the flash ROM (see, for example, Patent Document 1).

特開平9−44373号公報JP 9-44373 A

しかしながら、従来では、フラッシュROMに記憶されている全てのデータをRAMに展開する必要があるので、大容量のRAMが必要であり、電子制御ユニットのコストアップの原因になっていた。一方、小容量のRAMを使用すると、フラッシュROM内のデータを十分に展開させることができないので、書き換え作業が困難になる。特に、車両が自動二輪車である場合には、四輪車に比べて電子制御ユニットの小型化や低コスト化が必要なことからRAMの小容量化が望まれている。
本発明は、このような事情を鑑みてなされたものであり、小容量のRAMであっても車両の電子制御ユニットのデータの書き換え処理を確実に行えるようにすることを目的とする。
However, conventionally, since all the data stored in the flash ROM needs to be expanded in the RAM, a large-capacity RAM is required, which increases the cost of the electronic control unit. On the other hand, if a small-capacity RAM is used, the data in the flash ROM cannot be fully developed, so that the rewriting operation becomes difficult. In particular, when the vehicle is a motorcycle, it is necessary to reduce the capacity of the RAM because it is necessary to reduce the size and cost of the electronic control unit as compared to a four-wheeled vehicle.
The present invention has been made in view of such circumstances, and an object of the present invention is to ensure that data rewriting processing of an electronic control unit of a vehicle can be reliably performed even with a small-capacity RAM.

本発明によれば、不揮発性メモリに記憶させた制御値を車両の運転状況に応じて取得し、電装品を制御する電子制御ユニットにおいて、前記制御値調整するために用いられる調整用データを一時的に保持可能で、新しい前記調整用データが入力されるたびに書き換えられる揮発性メモリと、前記制御値の調整時には、前記揮発性メモリが保持している前記調整用データを乗算することで、前記不揮発性メモリから取得した前記制御値調整して出力し、前記制御値の調整終了後には、調整終了時に使用していた前記調整用データを反映し前記不揮発性メモリに新たに格納された制御値を車両の運転状況に応じて取得して出力する制御値出力部と、前記制御値出力部から出力された前記制御値を用いて前記電装品を駆動させる信号を出力する電装品制御部と、を含むことを特徴とする車両の電子制御ユニットが提供される。
また、前記制御値出力部は、前記制御値の調整終了後には、前記電子制御ユニットに接続された状態で前記不揮発性メモリと前記揮発性メモリのデータを書き換え可能な調整装置から前記不揮発性メモリに新たに格納された制御値を、車両の運転状況に応じて取得して出力することを特徴とする請求項1に記載の車両の電子制御ユニットが提供される。
さらに、前記車両は自動二輪車であることを特徴とする請求項1または請求項2に記載の車両の電子制御ユニットが提供される。
そして、前記電装品は、前記車両のエンジンの電装品であることを特徴とする請求項1〜請求項3のいずれか1つに記載の車両の電子制御ユニットが提供される。
According to the present invention, in the electronic control unit that acquires the control value stored in the nonvolatile memory in accordance with the driving state of the vehicle and controls the electrical component, the adjustment data used to adjust the control value is obtained. By multiplying the volatile memory that can be temporarily stored and rewritten each time new adjustment data is input, and the adjustment data held in the volatile memory when the control value is adjusted , , the non-volatile by adjusting the control value obtained from the memory Outputs, after completing the adjustment of the control value, reflects the adjustment data used at the adjustment end newly stored in the nonvolatile memory the control value, to output a control value output unit that outputs the acquired according to driving conditions of the vehicle, a signal for driving the electrical component by using the control value output from the control value output unit An electronic control unit of the vehicle, characterized in that it comprises a electrical component control unit, is provided.
In addition, the control value output unit may be configured such that, after the adjustment of the control value is completed, the nonvolatile memory from the adjustment device capable of rewriting data in the nonvolatile memory and the volatile memory while being connected to the electronic control unit. 2. The vehicle electronic control unit according to claim 1, wherein the control value newly stored in the vehicle is acquired and output according to the driving situation of the vehicle.
Furthermore, the said vehicle is a motorcycle, The electronic control unit of the vehicle of Claim 1 or Claim 2 characterized by the above-mentioned is provided.
The vehicle electrical control unit according to any one of claims 1 to 3, wherein the electrical component is an electrical component of an engine of the vehicle.

また、本発明の別の観点によれば、請求項1乃至請求項4のいずれか1つに記載の車両の電子制御ユニットと、前記電子制御ユニットに接続可能で、前記不揮発性メモリと前記揮発性メモリのデータを書き換え可能な調整装置とを含み、前記調整装置は、前記制御値の調整時に前記制御値の理想的な値と、前記不揮発性メモリに記憶された前記制御値と同一の値であって、車両の運転状況に応じて取得される基準値とから前記調整用データを算出し、前記調整用データを前記揮発性メモリに送信する調整量算出部を有することを特徴とする車両の電子制御ユニットのデータ調整システムが提供される。
Further, according to another aspect of the present invention, the electronic control unit for a vehicle according to any one of claims 1 to 4, connectable to the electronic control unit, with the non-volatile memory volatilization An adjustment device capable of rewriting data in the volatile memory, wherein the adjustment device is the same value as the control value stored in the nonvolatile memory and an ideal value of the control value when adjusting the control value. A vehicle having an adjustment amount calculation unit that calculates the adjustment data from a reference value acquired according to a driving situation of the vehicle, and transmits the adjustment data to the volatile memory. A data adjustment system for an electronic control unit is provided.

また、本発明の別の観点によれば、前記調整装置は、前記調整用データで調整した前記制御値を更新データとして蓄積する記憶部を有し、前記制御値の調整終了後には、前記記憶部内の前記更新データを前記不揮発性メモリに送信するように構成したことを特徴とする請求項に記載の車両の電子制御ユニットのデータ調整システムが提供される。
Further, according to another aspect of the present invention, the adjusting device has a storage unit for storing the previous SL control value adjusted by the adjustment data as the update data, the control value of the tone Seitsui After the completion the data adjusting system for electronic control unit for a vehicle according to claim 5, characterized by being configured the update data in the storage unit to be sent to the non-volatile memory is provided.

本発明によれば、調整用データを揮発性メモリに書き込み、調整用データを用いて制御値を調整することが可能になる。小量のデータで制御値を調整できるようになるので、揮発性メモリの容量を小さくできる。   According to the present invention, it is possible to write the adjustment data in the volatile memory and adjust the control value using the adjustment data. Since the control value can be adjusted with a small amount of data, the capacity of the volatile memory can be reduced.

図1は、本発明の実施の形態に係るデータ調整システムの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of a data adjustment system according to an embodiment of the present invention. 図2は、本発明の実施の形態に係るデータ調整システムの処理を説明するフローチャートである。FIG. 2 is a flowchart for explaining processing of the data adjustment system according to the embodiment of the present invention. 図3は、本発明の実施の形態で用いられる4点補間法を説明するための図である。FIG. 3 is a diagram for explaining the four-point interpolation method used in the embodiment of the present invention.

本発明を実施するための形態について以下に詳細に説明する。
データ調整システム1は、車両の電子制御ユニット2と、電子制御ユニット2に接続可能な調整装置3とを含んでいる。
電子制御ユニット2は、A/D(Analog/digital)変換器11と、CPU(Central Processing Unit)12と、RAM13と、フラッシュROM14と、駆動回路15とを含ん
で構成されている。
The form for implementing this invention is demonstrated in detail below.
The data adjustment system 1 includes an electronic control unit 2 of a vehicle and an adjustment device 3 that can be connected to the electronic control unit 2.
The electronic control unit 2 includes an A / D (Analog / digital) converter 11, a CPU (Central Processing Unit) 12, a RAM 13, a flash ROM 14, and a drive circuit 15.

A/D変換器11には、クランク角センサ21と、スロットル開度センサ22と、空燃比センサ23からのアナログ信号が入力され、それぞれがデジタル信号に変換される。クランク角センサ21は、不図示のエンジンのクランクシャフトの回転を検出し、クランク角信号を出力する。スロットル開度センサ22は、エンジンの吸気管に取り付けられたスロットルバルブの開度(スロットル開度Th)を示す信号を出力する。空燃比センサ23は、エンジンの排気管に取り付けられ、例えば排気ガスに含まれる酸素量の検出結果(空燃比λの情報)を出力する。   Analog signals from the crank angle sensor 21, the throttle opening sensor 22, and the air-fuel ratio sensor 23 are input to the A / D converter 11, and each is converted into a digital signal. The crank angle sensor 21 detects the rotation of a crankshaft of an engine (not shown) and outputs a crank angle signal. The throttle opening sensor 22 outputs a signal indicating the opening of the throttle valve (throttle opening Th) attached to the intake pipe of the engine. The air-fuel ratio sensor 23 is attached to the exhaust pipe of the engine and outputs, for example, a detection result (information on the air-fuel ratio λ) of the amount of oxygen contained in the exhaust gas.

CPU12は、A/D変換器11でデジタル信号に変換されたクランク角や、スロットル開度Th、空燃比λの情報が入力される。CPU12は、この実施の形態に特徴的な機能として、制御値出力部31と、電装品制御部32とに機能分割される。さらに、制御値出力部31には、データ反映部33が含まれる。CPU12からは、調整装置3のモニタ41にデータ出力が可能であると共に、駆動回路15に指令信号を出力することができる。また、CPU12の処理に使用するデータをRAM13とフラッシュROM14との間で受け渡し可能になっている。   The CPU 12 receives the crank angle converted into a digital signal by the A / D converter 11, information on the throttle opening degree Th, and the air-fuel ratio λ. The CPU 12 is functionally divided into a control value output unit 31 and an electrical component control unit 32 as functions characteristic of this embodiment. Further, the control value output unit 31 includes a data reflection unit 33. The CPU 12 can output data to the monitor 41 of the adjusting device 3 and can output a command signal to the drive circuit 15. In addition, data used for processing by the CPU 12 can be transferred between the RAM 13 and the flash ROM 14.

制御値出力部31は、クランク角や、スロットル開度Th、空燃比λの情報と、RAM13やフラッシュROM14のデータに基づいて電装品を制御するための制御値を算出し、電装品制御部32に出力するように構成されている。この実施の形態では制御対象機器が燃料噴射弁25であるので、制御値は燃料噴射量になる。
データ反映部33は、調整装置3からRAM13に書き込まれたデータを利用してフラッシュROM14の制御データを調整する処理を実行する。さらに、後述する調整作業の終了後に調整装置3から送信されるデータをフラッシュROM14に反映させる処理を担う。
電装品制御部32は、制御値から電装品の駆動回路15を駆動させる指令信号を算出し、駆動回路15を制御するように構成されている。
The control value output unit 31 calculates a control value for controlling the electrical component based on the information on the crank angle, the throttle opening Th, the air-fuel ratio λ, and the data in the RAM 13 and the flash ROM 14, and the electrical component control unit 32. It is configured to output to. In this embodiment, since the device to be controlled is the fuel injection valve 25, the control value is the fuel injection amount.
The data reflecting unit 33 executes a process of adjusting the control data of the flash ROM 14 using the data written from the adjusting device 3 to the RAM 13. Furthermore, it is responsible for the process of reflecting data transmitted from the adjustment device 3 on the flash ROM 14 after completion of the adjustment work described later.
The electrical component control unit 32 is configured to calculate a command signal for driving the electrical component drive circuit 15 from the control value and to control the drive circuit 15.

駆動回路15は、制御対象となる電装品、例えば、燃料噴射弁25を駆動させるための回路構成を有する。制御対象は、点火装置や、スロットル弁など、燃料噴射弁25以外でも良い。また、制御対象は、1つに限定されず、複数有しても良い。
RAM13は、調整装置3から送信される小容量のデータを一時的に記憶可能な容量を有する。このために、RAM13の容量は、フラッシュROM14の容量に比べて十分に小さい。なお、RAM13をCPU12と別体として設ける代わりに、CPU12内に設けられた小容量の揮発性メモリをRAM13として使用することも可能である。
フラッシュROM14は、CPU12で使用するプログラムやパラメータを記憶している。この実施の形態では、フラッシュROM14には、燃料噴射弁25に対応した第1のマップ、例えば現在の燃料噴射量マップ35が格納されている。フラッシュROM14に記憶されるデータは、調整装置3から書き込み可能になっている。
The drive circuit 15 has a circuit configuration for driving an electrical component to be controlled, for example, the fuel injection valve 25. The control target may be other than the fuel injection valve 25 such as an ignition device or a throttle valve. Further, the number of objects to be controlled is not limited to one and may be plural.
The RAM 13 has a capacity capable of temporarily storing a small amount of data transmitted from the adjustment device 3. For this reason, the capacity of the RAM 13 is sufficiently smaller than the capacity of the flash ROM 14. Instead of providing the RAM 13 separately from the CPU 12, a small-capacity volatile memory provided in the CPU 12 can be used as the RAM 13.
The flash ROM 14 stores programs and parameters used by the CPU 12. In this embodiment, the flash ROM 14 stores a first map corresponding to the fuel injection valve 25, for example, a current fuel injection amount map 35. Data stored in the flash ROM 14 can be written from the adjustment device 3.

ここで、調整装置3は、記録部42と、基準燃料噴射量取得部43と、モニタ41と、入力装置44と、調整量算出部である比率算出部45と、比率乗算部46とに機能分割できる。   Here, the adjustment device 3 functions as a recording unit 42, a reference fuel injection amount acquisition unit 43, a monitor 41, an input device 44, a ratio calculation unit 45 that is an adjustment amount calculation unit, and a ratio multiplication unit 46. Can be divided.

記録部42は、データを一時的に記録可能な構成を有する。この実施の形態で、記録部42には、燃料噴射弁25に対応した第2のマップとして、基準燃料噴射量マップ51が格納されている。基準燃料噴射量マップ51は、エンジン回転数Neと、スロットル開度Thをパラメータとし、燃料噴射量を検索可能にマッピングした構成を有する。
基準燃料噴射量取得部43は、電子制御ユニット2から取得したエンジン回転数Neと、スロットル開度Thで記録部42の基準燃料噴射量マップ51を検索し、基準燃料噴射量b(基準値)を取得するように構成されている。
The recording unit 42 has a configuration capable of temporarily recording data. In this embodiment, the recording unit 42 stores a reference fuel injection amount map 51 as a second map corresponding to the fuel injection valve 25. The reference fuel injection amount map 51 has a configuration in which the fuel injection amount is mapped so as to be searchable using the engine speed Ne and the throttle opening degree Th as parameters.
The reference fuel injection amount acquisition unit 43 searches the reference fuel injection amount map 51 of the recording unit 42 based on the engine speed Ne acquired from the electronic control unit 2 and the throttle opening degree Th, and the reference fuel injection amount b (reference value). Is configured to get.

また、モニタ41は、車両の電子制御ユニット2のCPU12に入力される空燃比λの値が表示可能になっている。
入力装置44は、作業者が空燃比λに応じた理想的な燃料噴射量である希望燃料噴射量b0を入力可能になっている。
比率算出部45は、調整用データとして比率Rを算出する。比率Rは、基準燃料噴射量取得部43が取得した基準燃料噴射量bと、入力装置44から入力された希望燃料噴射量b0との比であり、具体的にはR=b0/bになる。
比率乗算部46は、比率算出部45で算出した比率Rと、基準燃料噴射量bとを掛け算して、調整された燃料噴射量である調整値b´を算出し、記録部42に出力する。
Further, the monitor 41 can display the value of the air-fuel ratio λ input to the CPU 12 of the electronic control unit 2 of the vehicle.
The input device 44 allows the operator to input a desired fuel injection amount b0 that is an ideal fuel injection amount corresponding to the air-fuel ratio λ.
The ratio calculation unit 45 calculates the ratio R as the adjustment data. The ratio R is a ratio between the reference fuel injection amount b acquired by the reference fuel injection amount acquisition unit 43 and the desired fuel injection amount b0 input from the input device 44. Specifically, R = b0 / b. .
The ratio multiplying unit 46 multiplies the ratio R calculated by the ratio calculating unit 45 and the reference fuel injection amount b, calculates an adjustment value b ′ that is the adjusted fuel injection amount, and outputs it to the recording unit 42. .

次に、図2のフローチャートを主に参照してデータ調整システム1による調整方法について説明する。この処理は、電子制御ユニット2と調整装置3が通信可能に接続された状態で実行される。   Next, an adjustment method by the data adjustment system 1 will be described mainly with reference to the flowchart of FIG. This process is executed in a state in which the electronic control unit 2 and the adjustment device 3 are connected so as to communicate with each other.

ステップS101で、電子制御ユニット2がエンジンを始動させ、CPU12の制御値出力部31がクランク角センサ21、スロットル開度センサ22、及び空燃比センサ23からの信号に基づいて、それぞれエンジン回転数Ne、スロットル開度Th、及び空燃比λを取得する。続くステップS102では、調整装置3が電子制御ユニット2からエンジンの運転状態を読み込む。具体的には、基準燃料噴射量取得部43が、CPU12からエ
ンジン回転数Ne、スロットル開度Thを取得する。続くステップS103で、基準燃料噴射量取得部43が、記録部42の基準燃料噴射量マップ51をエンジン回転数Neとスロットル開度Thで検索し、基準燃料噴射量bを取得する。
In step S101, the electronic control unit 2 starts the engine, and the control value output unit 31 of the CPU 12 determines the engine speed Ne based on signals from the crank angle sensor 21, the throttle opening sensor 22, and the air-fuel ratio sensor 23, respectively. The throttle opening degree Th and the air-fuel ratio λ are acquired. In subsequent step S <b> 102, the adjustment device 3 reads the engine operating state from the electronic control unit 2. Specifically, the reference fuel injection amount acquisition unit 43 acquires the engine speed Ne and the throttle opening degree Th from the CPU 12. In subsequent step S103, the reference fuel injection amount acquisition unit 43 searches the reference fuel injection amount map 51 of the recording unit 42 by the engine speed Ne and the throttle opening degree Th, and acquires the reference fuel injection amount b.

さらに、ステップS104では、作業者がモニタ41に表示される空燃比λのデータを参照して入力装置44から希望燃料噴射量b0を入力する。続いて、ステップS105で、比率算出部45が希望燃料噴射量b0を基準燃料噴射量bで割り算して比率Rを算出する。比率Rは、ステップS106で電子制御ユニット2に送信され、RAM13に書き込まれる。   Further, in step S104, the operator inputs the desired fuel injection amount b0 from the input device 44 with reference to the air / fuel ratio λ data displayed on the monitor 41. Subsequently, in step S105, the ratio calculation unit 45 calculates the ratio R by dividing the desired fuel injection amount b0 by the reference fuel injection amount b. The ratio R is transmitted to the electronic control unit 2 in step S106 and written in the RAM 13.

次に、ステップS107で、CPU12の制御量出力部31が、エンジン回転数Neとスロットル開度ThでフラッシュROM14の現在の燃料噴射量マップ35を検索して、制御値として現在の燃料噴射量eを取得する。続いて、ステップS108で、制御値出力部31が、現在の燃料噴射量eに、RAM13に書き込まれた比率Rを掛け算して燃料噴射量の調整値e´(第1の調整値)を算出する。そして、ステップS109で、調整値e´に基づいて燃料噴射弁25を所定のタイミングで駆動するように指示が発せられる。より詳細には、当該指示によって制御値出力部31が算出した調整値e´に基づいて電装品制御部32が指令信号を出力し、駆動回路15が燃料噴射弁25を駆動させる。   Next, in step S107, the control amount output unit 31 of the CPU 12 searches the current fuel injection amount map 35 of the flash ROM 14 with the engine speed Ne and the throttle opening degree Th, and uses the current fuel injection amount e as a control value. To get. Subsequently, in step S108, the control value output unit 31 calculates a fuel injection amount adjustment value e ′ (first adjustment value) by multiplying the current fuel injection amount e by the ratio R written in the RAM 13. To do. In step S109, an instruction is issued to drive the fuel injection valve 25 at a predetermined timing based on the adjustment value e ′. More specifically, the electrical component control unit 32 outputs a command signal based on the adjustment value e ′ calculated by the control value output unit 31 according to the instruction, and the drive circuit 15 drives the fuel injection valve 25.

一方、調整装置3では、ステップS106において比率算出部45が算出した比率Rが比率乗算部46に送られる。ステップS110で、比率乗算部46が比率Rを基準燃料噴射量bに掛け算して燃料噴射量の調整値b´(第2の調整値)を算出する。さらに、ステップS111で調整値b´を用いて記録部42の基準燃料噴射量マップ51の基準燃料噴射量の値を書き換える。具体的には、エンジン回転数Ne及びスロットル開度Thで特定される基準燃料噴射量bを、同じエンジン回転数Ne及びスロットル開度Thにおいて計算された調整値b´に置き換える。   On the other hand, in the adjustment device 3, the ratio R calculated by the ratio calculation unit 45 in step S <b> 106 is sent to the ratio multiplication unit 46. In step S110, the ratio multiplication unit 46 multiplies the ratio R by the reference fuel injection amount b to calculate the fuel injection amount adjustment value b ′ (second adjustment value). Further, in step S111, the value of the reference fuel injection amount in the reference fuel injection amount map 51 of the recording unit 42 is rewritten using the adjustment value b ′. Specifically, the reference fuel injection amount b specified by the engine speed Ne and the throttle opening degree Th is replaced with an adjustment value b ′ calculated at the same engine speed Ne and the throttle opening degree Th.

次に、ステップS112で、作業者が調整作業の終了を判断する。ここまでの処理でエンジン(燃料噴射弁25)の調整作業が終了したと判断したときには、作業者は入力装置44で作業の終了を指示する。その一方で、作業者が手動でエンジンを停止させる。この場合には、ステップS113で、電子制御ユニット2がエンジンの停止が完了したか判断する。そして、エンジンの停止が完了したと判断されるまで、ステップS113の判断処理を繰り返す。   Next, in step S112, the operator determines the end of the adjustment work. When it is determined that the adjustment work of the engine (fuel injection valve 25) has been completed through the processes so far, the operator instructs the input device 44 to end the work. Meanwhile, the operator manually stops the engine. In this case, in step S113, the electronic control unit 2 determines whether the engine stop has been completed. The determination process in step S113 is repeated until it is determined that the engine stop has been completed.

これに対して、さらなるエンジンの調整作業が必要な場合には、ステップS112からステップS101に戻り、エンジンの調整作業が終了するまで、所定の時間間隔毎に、以上の処理を繰り返す。この場合には、ステップS105で新たに比率Rが算出されるたびに、RAM13のデータが書き換えられる。即ち、RAM13には常に最新の比率Rのみが格納される。なお、調整作業は、作業者の指示によって終了させても良いが、比率算出部45で算出される比率Rが1になったとき、即ち、空燃比λに対応する希望燃料噴射量b0と、基準燃料噴射量bとが等しくなったとき終了させても良い。   On the other hand, if further engine adjustment work is required, the process returns from step S112 to step S101, and the above processing is repeated at predetermined time intervals until the engine adjustment work is completed. In this case, each time the ratio R is newly calculated in step S105, the data in the RAM 13 is rewritten. That is, only the latest ratio R is always stored in the RAM 13. The adjustment work may be ended by an instruction from the operator, but when the ratio R calculated by the ratio calculation unit 45 becomes 1, that is, the desired fuel injection amount b0 corresponding to the air-fuel ratio λ, It may be terminated when the reference fuel injection amount b becomes equal.

ステップS113でエンジンの停止が完了したと判断した後、ステップS114で、調整装置3が、記録部42の基準燃料噴射量マップ51に書き込んだ調整値b´を更新データとして電子制御ユニット2のフラッシュROM14に送信する。そして、ステップS115で電子制御ユニット2のデータ反映部33が、調整装置3から送信された調整値b´を用いてフラッシュROM14の現在の燃料噴射量マップ35のデータを更新する。具体的には、エンジン回転数Ne及びスロットル開度Thで特定される現在の燃料噴射量eを、同じエンジン回転数Ne及びスロットル開度Thにおいて計算された調整値b´に置き換える。その後、ここでの処理を終了する。なお、ステップS114及びS115では、
調整値b´を送信する代わりに、基準燃料噴射量マップ51を更新データとして送信し、データ反映部33によってフラッシュROM14内の現在の燃料噴射量マップ35を基準燃料噴射量マップ51に書き換えても良い。
After determining that the engine stop has been completed in step S113, in step S114, the adjustment device 3 uses the adjustment value b ′ written in the reference fuel injection amount map 51 of the recording unit 42 as the update data to flash the electronic control unit 2. It transmits to ROM14. In step S115, the data reflection unit 33 of the electronic control unit 2 updates the data of the current fuel injection amount map 35 of the flash ROM 14 using the adjustment value b ′ transmitted from the adjustment device 3. Specifically, the current fuel injection amount e specified by the engine speed Ne and the throttle opening degree Th is replaced with the adjustment value b ′ calculated at the same engine speed Ne and the throttle opening degree Th. Then, the process here is terminated. In steps S114 and S115,
Instead of transmitting the adjustment value b ′, the reference fuel injection amount map 51 is transmitted as update data, and the current fuel injection amount map 35 in the flash ROM 14 is rewritten to the reference fuel injection amount map 51 by the data reflecting unit 33. good.

ここで、現在の燃料噴射量マップ35、基準燃料噴射量マップ51から基準燃料噴射量bや現在の燃料噴射量eを検索するときに、パラメータの値がマップ35,51のインデックスと一致しない場合がある。このために、この実施の形態では、インデックスから外れた場合でも燃料噴射量を検索できるように、4点補間法を用いて基準燃料噴射量bや現在の燃料噴射量eを求めている。図3に示すように、4点補間法では、最初に、エンジン回転数Neとスロットル開度Thの2つのパラメータで特定される燃料噴射量bを囲むように隣接する4点のインデックス値に相当する燃料噴射量b1,b2,b3,b4を取得する。図3の例では、目標燃料噴射量bの左下のインデックスにおける燃料噴射量をb1とし、右下のインデックスにおける燃料噴射量をb2とする。さらに、目標燃料噴射量bの左上と、右上のそれぞれのインデックスにおける燃料噴射量をb3、b4とする。   Here, when the reference fuel injection amount b and the current fuel injection amount e are searched from the current fuel injection amount map 35 and the reference fuel injection amount map 51, the parameter values do not match the indexes of the maps 35 and 51. There is. For this reason, in this embodiment, the reference fuel injection amount b and the current fuel injection amount e are obtained by using a four-point interpolation method so that the fuel injection amount can be searched even when it is out of the index. As shown in FIG. 3, in the four-point interpolation method, first, it corresponds to the index values of four adjacent points so as to surround the fuel injection amount b specified by two parameters of the engine speed Ne and the throttle opening degree Th. The fuel injection amounts b1, b2, b3, b4 to be acquired are acquired. In the example of FIG. 3, the fuel injection amount at the lower left index of the target fuel injection amount b is b1, and the fuel injection amount at the lower right index is b2. Furthermore, the fuel injection amounts at the upper left and upper right indexes of the target fuel injection amount b are defined as b3 and b4.

続いて、燃料噴射量b1と燃料噴射量b2を結ぶ仮想線を算出する。図3の例では、燃料噴射量b1と燃料噴射量b2を結ぶ仮想線はマップ35,51の格子線に一致する。そして、燃料噴射量b1,b2に相当するエンジン回転数Ne1,Ne2と、目標燃料噴射量bのエンジン回転数Neの比率から、燃料噴射量b1と燃料噴射量b2の間の格子線上に燃料噴射量bを投影したときの補間値b12を求める。同様にして、燃料噴射量b3と燃料噴射量b4の間の格子線上に燃料噴射量bを投影したとき補間値b34を求める。そして、これら補間値b12,b34のスロットル開度Th1,Th2と、目標燃料噴射量bのスロットル開度Thの比率から、目標燃料噴射量bを求める。   Subsequently, an imaginary line connecting the fuel injection amount b1 and the fuel injection amount b2 is calculated. In the example of FIG. 3, the imaginary line connecting the fuel injection amount b1 and the fuel injection amount b2 coincides with the grid lines of the maps 35 and 51. Then, fuel injection is performed on the grid line between the fuel injection amount b1 and the fuel injection amount b2 from the ratio of the engine speed Ne1, Ne2 corresponding to the fuel injection amount b1, b2 and the engine speed Ne of the target fuel injection amount b. An interpolation value b12 when the amount b is projected is obtained. Similarly, when the fuel injection amount b is projected onto the grid line between the fuel injection amount b3 and the fuel injection amount b4, the interpolation value b34 is obtained. Then, the target fuel injection amount b is obtained from the ratio between the throttle opening Th1 and Th2 of the interpolation values b12 and b34 and the throttle opening Th of the target fuel injection amount b.

以上、説明したように、この実施の形態では、車両の電装品の調整作業を実施するにあたり、調整用データとして、理想の値(=b0)と実際の値(=b)から比率Rを算出し、比率Rのみを調整装置3から電子制御ユニット2に送信するようにした。電子制御ユニット2は、比率RをRAM13で管理し、フラッシュROM14のデータを比率Rで調整することによって電装品を制御する。さらに、比率Rを算出するたびに、調整値b´で基準燃料噴射量マップ51を更新し、最終的に得られた基準燃料噴射量マップ51を、33を用いてフラッシュROM14に反映させるようにした。これらのことから、調整用に使用するRAM13の容量を大幅に縮小、例えば1バイト程度にすることができる。従って、電子制御ユニット2に大容量のRAMが不要になり、装置の小型化や低コスト化が図れる。電子制御ユニット2のRAM13を小容量化できるので、量産品を調整装置3で調整し、出荷することが可能になる。   As described above, in this embodiment, in performing the adjustment work of the electrical components of the vehicle, the ratio R is calculated from the ideal value (= b0) and the actual value (= b) as the adjustment data. Then, only the ratio R is transmitted from the adjustment device 3 to the electronic control unit 2. The electronic control unit 2 manages the ratio R with the RAM 13 and controls the electrical components by adjusting the data in the flash ROM 14 with the ratio R. Further, every time the ratio R is calculated, the reference fuel injection amount map 51 is updated with the adjustment value b ′, and the reference fuel injection amount map 51 finally obtained is reflected in the flash ROM 14 using 33. did. Accordingly, the capacity of the RAM 13 used for adjustment can be greatly reduced, for example, about 1 byte. Therefore, a large-capacity RAM is not required for the electronic control unit 2, and the apparatus can be reduced in size and cost. Since the RAM 13 of the electronic control unit 2 can be reduced in capacity, the mass-produced product can be adjusted by the adjusting device 3 and shipped.

ここで、データ調整システム1は、量産前の試作品の電子制御ユニット2を含んで構成しても良い。この場合には、試作品の電子制御ユニット2で調整した現在の燃料噴射量マップ35が量産品の電子制御ユニット2のフラッシュROM14に書き込まれる。   Here, the data adjustment system 1 may include a prototype electronic control unit 2 before mass production. In this case, the current fuel injection amount map 35 adjusted by the prototype electronic control unit 2 is written in the flash ROM 14 of the mass-produced electronic control unit 2.

なお、本発明は、実施の形態に限定されずに広く応用できる。
例えば、図2のフローチャートは、燃料噴射弁25の調整作業に関する工程が示されているが、他の電装品についても同様の処理によって調整作業が行える。例えば、燃料噴射弁25の調整作業の後に、点火装置の調整作業を行う場合には、ステップS115が終了した後、調整装置3の入力装置44から、点火装置の調整を開始する指令を入力する。比率算出部45は、点火装置の調整を開始する信号を電子制御ユニット2のRAM13に送信する。この信号に基づいて、データ反映部33がCPU12の処理を点火装置の調整作業に切り換える。
Note that the present invention can be widely applied without being limited to the embodiments.
For example, the flowchart of FIG. 2 shows the steps related to the adjustment operation of the fuel injection valve 25, but the adjustment operation can be performed by the same process for other electrical components. For example, when the adjustment operation of the ignition device is performed after the adjustment operation of the fuel injection valve 25, a command to start adjustment of the ignition device is input from the input device 44 of the adjustment device 3 after step S115 is completed. . The ratio calculation unit 45 transmits a signal for starting adjustment of the ignition device to the RAM 13 of the electronic control unit 2. Based on this signal, the data reflection unit 33 switches the processing of the CPU 12 to the adjustment operation of the ignition device.

続いて、ステップS101から前記と同様の処理を実行する。この場合には、点火タイ
ミングの比率が調整装置3から電子制御ユニット2のRAM13に送信され、調整作業が実施される。調整終了後は、エンジンを停止した後、記録部42内のデータで電子制御ユニット2のフラッシュROM14に書き込まれる。
また、調整装置3は、車両の出荷後に、当該車両のユーザ等が電子制御ユニット2のデータの調整を行うためのものであっても良い。
Subsequently, the same processing as described above is executed from step S101. In this case, the ratio of the ignition timing is transmitted from the adjustment device 3 to the RAM 13 of the electronic control unit 2, and adjustment work is performed. After the adjustment is completed, the engine is stopped, and the data in the recording unit 42 is written into the flash ROM 14 of the electronic control unit 2.
Further, the adjustment device 3 may be for a user of the vehicle to adjust the data of the electronic control unit 2 after the vehicle is shipped.

1 データ調整システム
2 電子制御ユニット
3 調整装置
12 CPU
13 RAM
14 フラッシュROM
31 制御値出力部
32 電装品制御部
35 現在の燃料噴射量マップ
42 記憶部
43 基準燃料噴射量取得部
45 比率算出部
51 基準燃料噴射量マップ
DESCRIPTION OF SYMBOLS 1 Data adjustment system 2 Electronic control unit 3 Adjustment apparatus 12 CPU
13 RAM
14 Flash ROM
Reference Signs List 31 control value output unit 32 electrical component control unit 35 current fuel injection amount map 42 storage unit 43 reference fuel injection amount acquisition unit 45 ratio calculation unit 51 reference fuel injection amount map

Claims (6)

不揮発性メモリに記憶させた制御値を車両の運転状況に応じて取得し、電装品を制御する電子制御ユニットにおいて、
前記制御値調整するために用いられる調整用データを一時的に保持可能で、新しい前記調整用データが入力されるたびに書き換えられる揮発性メモリと、
前記制御値の調整時には、前記揮発性メモリが保持している前記調整用データを乗算することで、前記不揮発性メモリから取得した前記制御値調整して出力し、前記制御値の調整終了後には、調整終了時に使用していた前記調整用データを反映し前記不揮発性メモリに新たに格納された制御値を車両の運転状況に応じて取得して出力する制御値出力部と、
前記制御値出力部から出力された前記制御値を用いて前記電装品を駆動させる信号を出力する電装品制御部と、を含むことを特徴とする車両の電子制御ユニット。
In the electronic control unit that acquires the control value stored in the nonvolatile memory according to the driving situation of the vehicle and controls the electrical component,
A volatile memory that can temporarily hold adjustment data used to adjust the control value and is rewritten each time new adjustment data is input ;
Wherein the time adjustment of the control value, the volatile memory by multiplying the adjustment data stored, the Outputs by adjusting the control value obtained from the non-volatile memory, the adjustment end of the control value Later, a control value output unit that acquires and outputs the control value newly stored in the nonvolatile memory reflecting the adjustment data used at the end of the adjustment , according to the driving situation of the vehicle,
An electronic control unit for a vehicle, comprising: an electrical component control unit that outputs a signal for driving the electrical component using the control value output from the control value output unit.
前記制御値出力部は、前記制御値の調整終了後には、前記電子制御ユニットに接続された状態で前記不揮発性メモリと前記揮発性メモリのデータを書き換え可能な調整装置から前記不揮発性メモリに新たに格納された制御値を、車両の運転状況に応じて取得して出力することを特徴とする請求項1に記載の車両の電子制御ユニット。After the adjustment of the control value is completed, the control value output unit newly transfers the data from the nonvolatile memory and the volatile memory to the nonvolatile memory while being connected to the electronic control unit. 2. The vehicle electronic control unit according to claim 1, wherein the control value stored in is acquired and output in accordance with a driving situation of the vehicle. 前記車両は自動二輪車であることを特徴とする請求項1または請求項2に記載の車両の電子制御ユニット。3. The vehicle electronic control unit according to claim 1, wherein the vehicle is a motorcycle. 前記電装品は、前記車両のエンジンの電装品であることを特徴とする請求項1〜請求項3のいずれか1つに記載の車両の電子制御ユニット。The vehicle electrical control unit according to any one of claims 1 to 3, wherein the electrical component is an electrical component of an engine of the vehicle. 請求項1乃至請求項4のいずれか1つに記載の車両の電子制御ユニットと、
前記電子制御ユニットに接続可能で、前記不揮発性メモリと前記揮発性メモリのデータを書き換え可能な調整装置とを含み、
前記調整装置は、前記制御値の調整時に前記制御値の理想的な値と、前記不揮発性メモリに記憶された前記制御値と同一の値であって、車両の運転状況に応じて取得される基準値とから前記調整用データを算出し、前記調整用データを前記揮発性メモリに送信する調整量算出部を有することを特徴とする車両の電子制御ユニットのデータ調整システム。
An electronic control unit for a vehicle according to any one of claims 1 to 4,
An adjustment device that can be connected to the electronic control unit and that can rewrite data in the nonvolatile memory and the volatile memory;
The adjusting device is an ideal value of the control value at the time of adjusting the control value and the same value as the control value stored in the non-volatile memory, and is acquired according to a driving situation of the vehicle. A data adjustment system for an electronic control unit of a vehicle, comprising: an adjustment amount calculation unit that calculates the adjustment data from a reference value and transmits the adjustment data to the volatile memory.
前記調整装置は、前記調整用データで調整した前記制御値を更新データとして蓄積する記憶部を有し、前記制御値の調整終了後には、前記記憶部内の前記更新データを前記不揮発性メモリに送信するように構成したことを特徴とする請求項に記載の車両の電子制御ユニットのデータ調整システム。
The adjusting device has a storage unit for storing the previous SL control value adjusted by the adjustment data as update data, the tone Seitsui After the completion of the control value, the said update data in said storage unit 6. The data adjustment system for an electronic control unit of a vehicle according to claim 5 , wherein the data adjustment system is configured to transmit to a non-volatile memory.
JP2012207743A 2012-09-21 2012-09-21 Vehicle electronic control unit and data adjustment system thereof Active JP6148838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012207743A JP6148838B2 (en) 2012-09-21 2012-09-21 Vehicle electronic control unit and data adjustment system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012207743A JP6148838B2 (en) 2012-09-21 2012-09-21 Vehicle electronic control unit and data adjustment system thereof

Publications (2)

Publication Number Publication Date
JP2014061775A JP2014061775A (en) 2014-04-10
JP6148838B2 true JP6148838B2 (en) 2017-06-14

Family

ID=50617463

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012207743A Active JP6148838B2 (en) 2012-09-21 2012-09-21 Vehicle electronic control unit and data adjustment system thereof

Country Status (1)

Country Link
JP (1) JP6148838B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2556562B2 (en) * 1988-10-04 1996-11-20 株式会社日立製作所 Engine controller
DE4332499A1 (en) * 1993-09-24 1995-03-30 Bosch Gmbh Robert Procedure for completely reprogramming an erasable, non-volatile memory
JP3631556B2 (en) * 1996-05-13 2005-03-23 株式会社ケーヒン Data update device for electronic control unit
JPH11132096A (en) * 1997-10-27 1999-05-18 Keihin Corp Engine control device
JP4265840B2 (en) * 1999-06-24 2009-05-20 ヤマハ発動機株式会社 Fuel control valve feedback control method
DE10153520A1 (en) * 2001-10-30 2003-05-22 Bosch Gmbh Robert Method and device for reading out data from a fuel metering system
JP2004005296A (en) * 2002-06-03 2004-01-08 Motorola Inc Electronic control device
AU2003293231A1 (en) * 2002-12-02 2004-06-23 Arkivio Inc. Data recovery techniques in storage systems
JP2006331185A (en) * 2005-05-27 2006-12-07 Fujitsu Ten Ltd Controller, and apparatus, method and program for rewriting
JP4771214B2 (en) * 2006-01-31 2011-09-14 日本精機株式会社 Vehicle display device
JP5081779B2 (en) * 2008-09-30 2012-11-28 株式会社ケーヒン Engine setting system and engine setting method

Also Published As

Publication number Publication date
JP2014061775A (en) 2014-04-10

Similar Documents

Publication Publication Date Title
US8155857B2 (en) Method and engine control unit for controlling an internal combustion engine
JP2005083373A (en) Torque control method of internal combustion engine
CN104100393B (en) Method for implementing at least one learning functionality in a motor vehicle and the device for realizing this method
JPH02538B2 (en)
JP2011027110A (en) Vehicle calibration using data collected during normal operation
CN112709657B (en) Engine ignition angle cylinder division control method and device and automobile
JP5273295B2 (en) Control device for internal combustion engine
JP6148838B2 (en) Vehicle electronic control unit and data adjustment system thereof
JP5427727B2 (en) Engine control system
CN113266483A (en) Smoke intensity control method and system after exhaust braking, storage medium and electronic equipment
JP2010111234A (en) Control device and control method
JP2007177723A (en) Ignition timing control device for internal combustion engine
JP2005337186A (en) Controller for internal combustion engine
JP2015001200A (en) Electronic control device for vehicle and electronic control method for vehicle
TWM513265U (en) Microcomputer injection control converting device of vehicle
JPS6321816B2 (en)
JP4679608B2 (en) Throttle valve control device for internal combustion engine
JP5511616B2 (en) Atmospheric pressure estimation device
JP2008045506A (en) Atmospheric pressure correction method in engine control and its control device
JP2002106403A (en) Operation methods of internal combustion engine and device
JP4049727B2 (en) Control device for internal combustion engine
JP6253698B2 (en) Atmospheric pressure estimation device
JP2018009504A (en) Control device of internal combustion engine
JP2008144655A (en) Device and method for controlling internal combustion engine
EP2169200A2 (en) Engine setting system and engine setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160317

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161221

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170522

R150 Certificate of patent or registration of utility model

Ref document number: 6148838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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