JP3539199B2 - Method and apparatus for generating correction data for control device - Google Patents

Method and apparatus for generating correction data for control device Download PDF

Info

Publication number
JP3539199B2
JP3539199B2 JP10282398A JP10282398A JP3539199B2 JP 3539199 B2 JP3539199 B2 JP 3539199B2 JP 10282398 A JP10282398 A JP 10282398A JP 10282398 A JP10282398 A JP 10282398A JP 3539199 B2 JP3539199 B2 JP 3539199B2
Authority
JP
Japan
Prior art keywords
correction data
control
converter
target
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.)
Expired - Fee Related
Application number
JP10282398A
Other languages
Japanese (ja)
Other versions
JPH11298327A (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.)
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 JP10282398A priority Critical patent/JP3539199B2/en
Publication of JPH11298327A publication Critical patent/JPH11298327A/en
Application granted granted Critical
Publication of JP3539199B2 publication Critical patent/JP3539199B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Analogue/Digital Conversion (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、制御対象の動作状態を表すアナログの検出信号をA/D変換したデジタルデータを用いて制御対象の制御量をデジタル演算し制御対象を制御する制御装置において、制御対象の制御精度を向上するのに好適な補正データの生成方法及び装置に関する。
【0002】
【従来の技術】
従来より、制御対象の動作状態をセンサ等を用いて検出し、その検出した動作状態と目標状態との偏差に基づき、制御対象を目標状態に制御するための制御量を算出し、この算出した制御量に従い制御対象を駆動制御する制御装置が知られている。また、この種の制御装置の内、制御量を、マイクロコンピュータ等を用いてデジタル演算するようにした装置では、センサからの検出信号(アナログ信号)をA/D変換器を用いてデジタルデータに変換するようにされている。
【0003】
ところで、このようにA/D変換器を用いて検出信号をA/D変換する制御装置では、A/D変換器による検出信号のA/D変換精度が制御精度に大きな影響を与えることから、A/D変換器にはできるだけ分解能の高い(換言すればビット数の大きい)A/D変換器を用いることが望ましい。しかし、A/D変換器の分解能を上げると、その分、制御装置の製造コストが高くなってしまう。
【0004】
また、このようにA/D変換器を用いて検出信号をA/D変換する制御装置では、A/D変換後のデジタルデータが、A/D変換器自体のばらつきや、検出信号を発生する検出装置からA/D変換器に至る信号入力系のばらつき等によって、設計時のデータ値からずれることがあるため、A/D変換器による検出信号のA/D変換精度を高めるだけでは、制御精度が低下することもある。
【0005】
そこで、従来では、例えば、特開平3−153980号公報に開示されているように、分解能の低いA/D変換器を用いて、制御精度を向上するために、A/D変換すべき検出信号の電圧範囲に応じて、A/D変換器のダイナミックレンジを切り替えるようにするとか、或いは、特開平9−172745号公報に開示されているように、制御装置の出荷時に、A/D変換器を実際に動作させて所定の検出信号をA/D変換したデジタルデータを取り込み、これを補正用のデータとして、EEP−ROM等のメモリに記憶しておく、といったことが提案されている。
【0006】
即ち、特開平3−153980号にて提案された装置では、一つのA/D変換器を用いて複数の入力信号をA/D変換するようにし、各入力信号の電圧変動幅に応じて、A/D変換器側の基準電圧を切り替えることにより、A/D変換器にてA/D変換可能な入力信号の電圧範囲(ダイナミックレンジ)を切り替える。この結果、各入力信号に応じて、A/D変換により得られるデジタルデータ1ビット当たりの電圧変化量を切り替えることができ、A/D変換器を全ての入力信号をA/D変換できるように一定の基準電圧で動作させた場合に比べて、電圧変動幅の小さい入力信号のA/D変換精度を、分解能の高いA/D変換器を用いてA/D変換した場合と同等の精度にすることが可能になる。
【0007】
一方、特開平9−172745号にて提案された装置では、出荷時に、制御対象を予め設定された動作状態で動作させた際に得られる検出信号をA/D変換器を用いて実際にA/D変換させ、このA/D変換にて得られたデジタルデータを制御対象の動作状態と関連づけてメモリに記憶しておくことで、出荷後に実際に制御対象を制御する際には、このメモリに記憶された補正データを用いて、A/D変換器を介して得られたデジタルデータを制御対象の実際の動作状態に対応したデータ値(設計理論値)に補正し、その補正後のデジタルデータを用いて制御量を算出することで、センサからの検出信号をA/D変換して取り込むA/D変換部分のばらつきに影響されることなく、制御対象を高精度に制御できるようにしている。
【0008】
【発明が解決しようとする課題】
しかしながら、上記前者の装置では、A/D変換器にてA/D変換する入力信号を切り替える度に、A/D変換器の基準電圧を切り替えることから、そのための回路が必要であり、装置構成が複雑になるという問題がある。また、複数の入力信号を時分割でA/D変換することから、制御のために各入力信号のA/D変換値(デジタルデータ)を同時若しくは短時間で取り込む必要がある制御装置には、適用できないという問題がある。また更に、A/D変換精度を上げることができるのは、A/D変換器のダイナミックレンジを最大にしたときの入力信号の電圧範囲よりも小さい電圧変動幅で変動する入力信号だけであり、電圧変動幅の大きな入力信号のA/D変換精度を高めることはできないという問題もある。
【0009】
一方、上記後者の装置では、出荷時にメモリに記憶した補正データを用いて、検出信号のA/D変換部分の特性のばらつきに伴う制御精度の低下を防止することはできるが、その補正データの精度は、制御装置に設けられたA/D変換器の精度によって一義的に定まることから、制御精度を高めるには、A/D変換器に分解能の高い高価なA/D変換器を用いなければならないという問題がある。
【0010】
本発明は、こうした問題に鑑みなされたものであり、検出信号をA/D変換したデジタルデータを用いて制御対象の制御量をデジタル演算することにより制御対象をフィードバック制御する制御装置において、検出信号のA/D変換に実際に使用するA/D変換器よりも高分解能のA/D変換器を用いて検出信号をA/D変換した場合と同じ制御精度を実現し得るようにすることを目的とする。
【0018】
かかる目的を達成するためになされた請求項1に記載の発明は、前述の特開平9−172745号公報に開示された装置のように、検出信号をA/D変換器を介して取り込むA/D変換部分の特性のばらつきによる制御精度の低下を防止するために予め補正データ記憶手段に補正データを記憶しておき、実際に制御を行う際には、その補正データを用いてA/D変換器により得られたデジタルデータ又は制御目標を表す目標データを補正するようにした制御装置において、補正データ記憶手段に格納する補正データを生成する方法に関するものである。
【0019】
即ち、まず本発明方法が適用される制御装置には、A/D変換器により得られるデジタルデータと制御対象の実際の動作状態との関係を表す補正データが予め記憶された補正データ記憶手段が備えられ、データ補正手段が、制御量算出手段が制御量を算出するのに使用するデジタルデータ及び目標データのいずれかを、補正データ記憶手段に記憶された補正データに基づき補正し、各データ間で生じる制御対象の実際の動作状態に対するずれを相殺する。
【0020】
つまり、制御量算出手段は、A/D変換器にて得られたデジタルデータは制御対象の動作状態を正確に表しているものとして制御量を算出するが、制御量算出手段に取り込まれるデジタルデータは、A/D変換器自体のばらつきや検出手段からA/D変換器に至る検出信号の入力経路のばらつきの影響を受けて、設計理論値からずれることがある。
【0021】
そこで、この制御装置では、A/D変換器により得られるデジタルデータの設計理論値からのずれによる制御精度の低下を防止するために、A/D変換器により得られるデジタルデータと制御対象の実際の動作状態との関係を表す補正データを補正データ記憶手段に記憶しておき、制御対象を実際に制御する際には、データ補正手段により、制御量算出手段が制御量の演算に用いるデジタルデータ及び目標データのいずれかを、補正データ記憶素段に記憶した補正データを用いて補正することにより、デジタルデータと目標データとの間で生じる制御対象の実際の動作状態に対するずれを相殺するのである。
【0022】
そして、このような制御装置では、補正データ記憶手段に、A/D変換器を用いて実際にA/D変換したデジタルデータを、そのときの制御対象の動作状態に関連づけて記憶させる必要があるが、この場合、A/D変換器によるA/D変換結果をそのまま補正データ記憶手段に格納するようにすると、補正データの精度が、A/D変換器の精度によって一義的に定まり、制御対象の制御精度は、使用するA/D変換器の分解能にて固定されてしまう。
【0023】
そこで、本発明方法では、補正データ記憶手段に格納する補正データを生成するに当たって、まず、制御対象を予め設定された特定動作状態で動作させた際の検出信号を前記検出手段から出力させると共に、A/D変換器を少なくとも2m 回以上繰り返し動作させる。そして、このA/D変換器の動作によって得られる2m 個のデジタルデータの総和を、制御対象の特定動作状態に対応した補正データとして算出し、その算出結果を補正データ記憶手段に格納するのである。
【0024】
この結果、本発明方法によれば、制御装置の補正データ記憶手段に格納される補正データの精度を、検出信号を実際にA/D変換するA/D変換器の精度よりも高くすることができ、制御装置が実際に制御対象を制御した際には、制御量算出手段が制御量の演算に用いるデジタルデータ若しくは目標データを高精度に補正することが可能になる。よって、本発明方法によれば、制御装置のA/D変換部分の特性のばらつきにより、A/D変換器により得られたデジタルデータが設計理論値からずれていても、制御量を演算する際に用いられるデジタルデータと目標データとの間の制御対象の実際の動作状態に対するずれを高精度に相殺させることが可能になり、前述の特開平9−172745号公報に開示された従来装置に比べ、制御対象の制御精度を向上することができる。
【0025】
尚、本発明方法により補正データを生成するには、検出手段から、制御対象を予め設定された特定動作状態で動作させた際の検出信号を出力させる必要があるが、このためには、制御対象を実際に特定動作状態で動作させて、その動作状態を検出手段に検出させるようにしてもよく、或いは、検出手段を擬似的に動作させて、検出手段から、制御対象を特定動作状態で動作させたときと同等の検出信号を擬似的に出力させるようにしてもよい。
また、補正データ記憶手段に格納する補正データとしては、請求項2に記載のように、制御対象を予め設定された二つの特定動作状態で動作させた際の検出信号を前記検出手段からそれぞれ出力させることにより、制御対象の二つの特定動作状態に対応した二つのデータを算出するようにすればよい。
また、請求項3に記載のように、制御装置による制御対象がソレノイドであり、制御装置がソレノイドに流れる電流を目標電流に制御するよう構成されている場合には、前記ソレノイドに予め設定された基準電流を流した場合の検出信号を前記検出手段から出力させると同時に、前記A/D変換器を少なくとも2 m 回以上繰り返し動作させ、該A/D変換器の動作によって得られる2 m 個のデジタルデータの総和を、前記ソレノイドに前記基準電流を流した場合に対応した補正データとして算出するようにすればよい。
【0026】
次に、請求項4に記載の発明は、請求項1〜請求項3何れかに記載の補正データ生成方法を実現するために、上述の制御装置に設けられる補正データ生成装置に関するものである。そして、この補正データ生成装置においては、外部から制御対象の特定動作状態に対応した補正データの生成指令が入力されると、A/D変換制御手段が、A/D変換器を少なくとも2m 回以上繰り返し動作させ、総和算出手段が、A/D変換器の動作によって得られる2m 個のデジタルデータの総和を算出し、補正データ格納手段が、その算出された2m 個のデジタルデータの総和を、制御対象の特定動作状態に対応した補正データとして補正データ記憶手段に格納する。
【0027】
このため、請求項4に記載の補正データ生成装置によれば、制御対象を実際に動作させるか、或いは検出手段を擬似的に動作させることにより、検出手段から制御対象を予め設定された特定動作状態で動作させた際の検出信号を出力させた状態で、A/D変換制御手段に対して、補正データの生成指令を入力するようにすれば、本発明の補正データ生成方法に従い、補正データが自動で生成されて、制御装置の補正データ記憶手段に格納されることになり、制御装置の制御精度を向上することが可能になる。
【0028】
そして、A/D変換装置が設けられる制御装置が、制御量の演算のためにマイクロコンピュータを備えている場合には、当該補正データ生成装置を構成するA/D変換制御手段,総和算出手段,及び補正データ格納手段についても、このマイクロコンピュータが実行するプログラムにて簡単に実現することができることから、制御装置に極めて簡単に組み込むことができることになり、制御精度を向上するために、制御装置の構成が複雑になってコストアップを招く、といったこともない。
【0029】
【発明の実施の形態】
以下に、本発明の実施例を図面と共に説明する。
図1は、本発明が適用された自動車用電子制御装置(以下ECUという)2の概略構成を表す構成図である。
【0030】
ECU2は、自動車に搭載された自動変速機の変速段やロックアップ等を制御する自動変速機制御(AT制御)用の制御装置であり、AT制御のための各種演算処理を実行する制御回路10として、CPU,ROM,RAM等からなるマイクロコンピュータを備えている。この制御回路10には、図示しない車速センサ,シフト位置センサ等の各種センサからの検出信号やエンジン制御装置からのエンジン状態信号(回転数,スロットル開度等を表す信号)等が入力される。そして、制御回路10は、予めROMに記憶された制御プログラムに従い、これら入力信号に基づきAT制御のための各種演算処理を実行し、その演算結果に基づき自動変速機に設けられたソレノイド等の各種アクチュエータをフィードバック制御する。
【0031】
そこで、本実施例では、制御回路10が実行するフィードバック制御の一例として、自動変速機のライン圧(油圧)制御のために、ライン圧制御用ソレノイド(以下単にソレノイドという)12に流れるソレノイド電流Icをフィードバック制御する場合について説明する。
【0032】
図1に示す如く、制御対象であるソレノイド12の一端には、バッテリ電圧VBTが印加されており、ECU2には、ソレノイド12の他端をグランドラインに接地するか否かを切り換えるスイッチング用のトランジスタ14が設けられ、更に、トランジスタ14からグランドラインに至る電流経路には、検出手段として、ソレノイド電流Icを電圧値として検出するための検出抵抗R0が設けられている。
【0033】
そして、この検出抵抗R0の両端は、夫々、抵抗R1,R2を介して、オペアンプ16の非反転入力端子(+)及び反転入力端子(−)に接続されている。オペアンプ16は、非反転入力端子(+)と出力端子とを抵抗R3を介して接続することにより、差動増幅器として動作するよう構成されており、検出抵抗R0の両端電圧(つまりソレノイド電流Icの検出信号)は、オペアンプ16にて増幅される。そして、オペアンプ16で増幅された検出信号は、抵抗R4と一端がグランドラインに接地されたコンデンサC4とからなる平滑回路(換言すれば積分回路)18にて平滑された後、抵抗R5を介して、制御回路10に入力される。
【0034】
尚、トランジスタ14は、コレクタがソレノイド12に接続され、エミッタが検出抵抗R0を介してグランドラインに接地されたNPNトランジスタにて構成されている。また、実際には、トランジスタ14及び検出抵抗R0が設けられるソレノイド12の通電経路には、トランジスタ14がターンオフした際にソレノイド12に蓄積されたエネルギにより発生する高電圧をバッテリ側に戻し、ソレノイド12に電流を流し続けるためのダイオードや、このときソレノイド12に流れる電流を検出してオペアンプ16に入力するための電流検出用抵抗等も設けられるが、こうした駆動系の構成は従来より周知であり、また本発明の主要部でもないので、本実施例では、説明を簡単にするために、駆動系の構成は図1に示す如くなっているものとする。
【0035】
一方、制御回路10は、抵抗R5を介して入力される検出信号(アナログ電圧信号)をA/D変換するA/D変換器20を内蔵しており、A/D変換器20を介して入力されたデジタルデータ(以下単に検出電圧という)Vmからソレノイド電流Icを検知して、このソレノイド電流Icがライン圧制御に必要な目標電流Itgとなるように、トランジスタ14をオン・オフさせる。
【0036】
即ち、制御回路10には、トランジスタ14を、デューティ比を制御したパルス幅変調信号(PWM信号)にて周期的にオン・オフさせることにより、ソレノイド電流Icを制御するために、PWM信号出力回路22が設けられている。そして、制御回路10は、図2に示す如く、PWM信号出力回路22から出力されるPWM信号のデューティ比(換言すればパルス幅)を、ソレノイド電流Icを表す検出電圧Vmと、自動変速機のライン圧を目標油圧に制御するのに必要な目標電流Itgから設定した目標電圧Vtgとの偏差に応じて増・減させることにより、ソレノイド電流Icを目標電流Itgに制御する。
【0037】
また、ECU2には、制御回路10が目標電流Itgから目標電圧Vtgを設定する際に、この目標電圧Vtgとソレノイド電流Icとの対応関係が、A/D変換器20を介して得られる検出電圧Vmとソレノイド電流Icとの対応関係と一致し、検出電圧Vmと目標電圧Vtgとの偏差(本実施例ではその大小関係)から、PWM信号のデューティ比(換言すればソレノイド電流Ic)を正確に制御できるようにするための電圧データが予め格納されたEEP−ROM24が設けられている。尚、このEEP−ROM24は、特許請求の範囲に記載の補正データ記憶手段に相当し、内部に格納された電圧データは、本発明の補正データに相当する。
【0038】
以下、このようにソレノイド電流Icを制御するために制御回路10において実行される制御量演算処理を説明する。
この制御量演算処理は、例えば、PWM信号出力回路22がPWM信号を出力する周期に同期して、一定時間毎に実行される処理であり、図3に示す如く、この処理が開始されると、まずS110(Sはステップを表す)にて、図示しないセンサから入力された自動車の運転状態に基づき、自動変速機のライン圧の目標油圧Ptgを算出する。そして、続くS120では、この目標油圧Ptgから、図4に例示する目標電流算出用マップを用いて、ソレノイド12に流す目標電流Itgを算出し、続くS130にて、この算出した目標電流Itgから、A/D変換器20を介して得られる検出電圧Vmに対応した目標電圧Vtgを算出する。
【0039】
目標電圧Vtgの算出には、EEP−ROM24に格納された電圧データが使用されるが、ソレノイド電流Icと検出電圧Vmとは比例し、目標電流Itgから目標電圧Vtgを設定する際にも、目標電流Itgに比例するように目標電圧Vtgを設定すればよいため、EEP−ROM34には、電圧データとして、図5に示す如く、検出抵抗R0に第1基準電流Ist1 を流したときにA/D変換器20を介して得られたデジタルデータ(第1基準電圧VST1 )と、検出抵抗R0に第2基準電流Ist2 を流したときにA/D変換器20を介して得られたデジタルデータ(第2基準電圧VST2 )との、2種類の基準電圧Vst1 ,VST2 が格納されている。
【0040】
そして、S130では、この第1及び第2基準電圧Vst1 ,VST2 と第1及び第2基準電流Ist1 ,IST2 とから得られるソレノイド電流Icと検出電圧Vmとの相対関係から、目標電流Itgに対応した目標電圧Vtgを求める。具体的には、図5に示す各検出点P1,P2を結ぶ直線を表す一次関数を演算式(Vtg=a×Itg+b)として設定し、この演算式に目標電流Itgを代入することにより、目標電圧Vtgを算出するとか、或いは、図5に示す各検出点P1,P2から目標電流Itgに対応する点を補間計算することにより、目標電流Itgに対応する目標電圧Vtgを算出する、といった手順で、目標電圧Vtgを求める。尚、本実施例では、このS130の処理が、特許請求の範囲に記載のデータ補正手段に相当する。
【0041】
次に、このように目標電圧Vtgが算出されると、今度は、S140に移行して、A/D変換器20を介して読み込んだ検出電圧Vmが目標電圧Vtgよりも大きいか否かを判断し、検出電圧Vmが目標電圧Vtgよりも大きい場合には、ソレノイド電流Icを減少させるべく、S150に移行して、PWM信号出力回路22から出力されるPWM信号のパルス幅(換言すればデューティ比)を予め設定された所定時間幅△tだけ減少させて、当該処理を一旦終了する。
【0042】
一方、S140にて、検出電圧Vmは目標電圧Vtgよりも大きくないと判断されると、S160に移行して、今度は、検出電圧Vmが目標電圧Vtgよりも小さいか否かを判断する。そして、検出電圧Vmが目標電圧Vtgよりも小さい場合には、ソレノイド電流Icを増加させるべく、S170に移行して、PWM信号出力回路22から出力されるPWM信号のパルス幅を予め設定された所定時間幅△tだけ増加させて、当該処理を一旦終了する。
【0043】
また、逆に、S160にて、検出電圧Vmは目標電圧Vtgよりも小さくないと判断された場合(つまり、検出電圧Vmと目標電圧Vtgとが一致している場合)には、ソレノイド電流Icを増・減する必要はないので、S180にて、PWM信号出力回路22から出力されるPWM信号のパルス幅を現在のパルス幅に保持させ、当該処理を一旦終了する。尚、本実施例では、S140〜S180の処理が、特許請求の範囲に記載の制御量算出手段に相当する。
【0044】
このように、本実施例では、ソレノイド12に流す目標電流Itgから目標電圧Vtgを設定する際に、予めEEP−ROM24内に格納された電圧データを使用することから、検出抵抗R0からA/D変換器20に至る電流検出系の回路素子のばらつきにより、ソレノイド電流Icと検出電圧Vmとの関係が、図6に一点鎖線で示す制御系設計時のIc−Vm理論特性からずれたとしても、目標電圧Vtgを、図6に実線で示す実際のIc−Vm特性に対応して設定できるようになり、目標電圧VtgをIc−Vm理論特性に従い設定するようにした場合に比べて、ソレノイド電流Icを目標電流Itgに精度よく制御することが可能になる。
【0045】
つまり、Ic−Vm特性の理論特性からのずれのうち、傾きのずれに関しては、電流検出を行う検出抵抗R0、及び、検出信号を増幅する際のゲインを決定する抵抗R1,R2,R3のばらつき(設計値に対する誤差)によるものが大きく、オフセットのずれに関しては、オペアンプ16のオフセット電圧の誤差によるものが大きい。従って、Ic−Vm特性の理論特性からのずれは、電流検出系の製造上のばらつきによる初期特性誤差によるものが殆どであり、温度特性や経年変化によるものは、初期特性誤差に比べるとほとんど無視できるレベルである。このため、ECU2の製造直後に、実際のIc−Vm特性を測定して、これを電圧データ(換言すれば補正データ)としてEEP−ROM24に格納しておき、ソレノイド電流Icを実際にフィードバック制御する際には、本実施例のように、EEP−ROM24に記憶された電圧データを用いて目標電圧Vtgを設定するようにすれば、ソレノイド電流Icを常に精度よく制御することが可能になる。
【0046】
ところで、EEP−ROM24にIc−Vm特性を表すデータとして格納する電圧データとしては、前述したように、検出抵抗R0に、ソレノイド電流Icとして第1基準電流Ist1 及び第2基準電流Ist2 を流し、そのときA/D変換器20を介して得られる2種類の検出電圧Vmを測定し、各電圧値を、第1基準電圧Vst1 及び第2基準電圧Vst2 として、EEP−ROM24に格納すればよいのであるが、これら各基準電圧Vst1 及びVst2 をA/D変換器20を介して取り込む際のA/D変換精度が低いと、その後、制御の際に設定される目標電圧Vtgが、アナログ信号状態でのIc−Vm特性からずれてしまい、制御誤差が生じることになる。
【0047】
つまり、A/D変換器20により得られるデジタルデータ(検出電圧Vm)は、A/D変換器20に実際に入力された検出信号(アナログ電圧信号)に対し、最小ビット(LSB)単位で階段状に変化する。例えば、A/D変換器20のビット数が10ビットで、A/D変換可能な電圧範囲が0〜5Vである場合、検出電圧Vmは、図7(a)に示すように、約4.88mVの幅で階段状に変化し、実際に入力された検出信号に対して約4.88mVの幅をもつ。
【0048】
そして、この幅が検出電圧VmのA/D変換誤差となるため、上記のように検出抵抗R0に基準電流Ist1 ,Ist2 を流し、そのときA/D変換器20に入力された検出信号Vst1a,Vst2aをA/D変換して得られる検出電圧Vmを基準電圧Vst1(10) ,Vst2(10) としてEEP−ROM24に格納するようにしても、EEP−ROM24に格納された基準電圧Vst1(10) ,Vst2(10) から得られるIc−Vm特性は、上記A/D変換誤差によって、アナログ信号状態での実際のIc−Vm特性からずれることになり、目標電圧Vtgを実際のIc−Vm特性に対応して設定することができなくなってしまう。
【0049】
一方、この問題は、A/D変換器20のビット数を増やし、A/D変換精度を上げれば解決できる。例えば、A/D変換器20を、10ビットA/D変換器から12ビットA/D変換器に変更した場合、図7(b)に示すように、A/D変換可能な電圧範囲が上記と同じ0〜5Vであれば、検出電圧Vmは、約1.22mVの幅で変化することになるため、A/D変換誤差は1/4になる。従って、12ビットA/D変換器を用いて基準電圧Vst1(12) ,Vst2(12) を測定するようにすれば、図8に示すように、10ビットA/D変換器を用いた場合に比べて、目標電圧Vtgの設定誤差を、△V(10)から△V(12)へとを充分小さくすることができる。
【0050】
しかし、A/D変換精度を向上するためにA/D変換器20のビット数を増やすと、ECU2のコストアップを招くことから、現実には高精度なA/D変換器を使うことはできない。
そこで本実施例では、A/D変換器20に10ビットA/D変換器を使いつつ、EEP−ROM24に電圧データとして格納する基準電圧Vst1 ,Vst2 については、15ビットA/D変換器を用いた場合と同等の精度に設定するようにしている。
【0051】
以下、このように各基準電圧Vst1 ,Vst2 を設定してEEP−ROM24に格納するために制御回路10にて実行される電圧データ演算処理について、図9に示すフローチャートに沿って説明する。
この電圧データ演算処理は、ECU2の出荷前の調整段階で、ECU2を電圧設定用の治具に装着して、制御回路10を電圧設定モードで動作させることにより実行される処理である。尚、電圧設定用の治具は、ECU2に設けられたソレノイド接続端子にソレノイド12に代えて定電流源を接続し、外部操作によって、この定電流源から基準電流Ist1 及びIst2 を選択的に供給し、且つ、その電流供給を表す指令信号を制御回路10に入力できるように構成されている。
【0052】
そして、この電圧データ演算処理が開始されると、S210にて、上記治具から第1基準電流Ist1 の供給中を表す指令信号が入力されているか否かによって、第1基準電流Ist1 での検出電圧取込条件が成立したか否かを判断し、第1基準電流Ist1 での検出電圧取込条件が成立している場合には、S220に移行する。
【0053】
次に、S220では、トランジスタ14をオンして、検出抵抗R0に定電流源から供給された第1基準電流Ist1 を流し、その状態でA/D変換器20を介して得られる検出電圧Vmをi回(例えば32回)サンプリングする。そして、続くS230では、S220でサンプリングしたi個の検出電圧Vmの総和を、第1基準電圧Vst1 として算出し、S240にて、その算出した第1基準電圧Vst1 をEEP−ROM24に格納し、当該処理を一旦終了する。
【0054】
一方、S210にて第1基準電流Ist1 での検出電圧取込条件が成立していないと判断された場合には、S250に移行して、上記治具から第2基準電流Ist2 の供給中を表す指令信号が入力されているか否かによって、第2基準電流Ist2 での検出電圧取込条件が成立したか否かを判断する。そして、第2基準電流Ist2 での検出電圧取込条件が成立していなければ、当該処理を一旦終了し、逆に第2基準電流Ist2 での検出電圧取込条件が成立していれば、S260に移行する。
【0055】
S260では、上記S220と同様、トランジスタ14をオンして、検出抵抗R0に定電流源から供給された第2基準電流Ist2 を流し、その状態でA/D変換器20を介して得られる検出電圧Vmをi回(例えば32回)サンプリングする。そして、続くS270では、S260でサンプリングしたi個の検出電圧Vmの総和を、第2基準電圧Vst2 として算出し、S280にて、その算出した第2基準電圧Vst2 をEEP−ROM24に格納し、当該処理を一旦終了する。
【0056】
尚、本実施例においては、上記S220,S260の処理が、本発明のA/D変換制御手段に相当し、S230,S270の処理が、本発明の総和算出手段に相当し、S240,S280の処理が、本発明の補正データ格納手段に相当する。
【0057】
このように、本実施例では、EEP−ROM24に電圧データとして格納する第1及び第2基準電圧Vst1 ,Vst2 を生成する際には、検出抵抗R0に第1及び第2基準電流Ist1 ,Ist2 を夫々流し、そのときA/D変換器20を介して得られるデジタルデータ(検出電圧Vm)を32回サンプリングし、そのサンプリングした32個の検出電圧Vmの総和を、第1及び第2基準電圧Vst1 ,Vst2 として設定するようにしている。
【0058】
このため、10ビットA/D変換器20を用いて検出電圧Vmをサンプリングしているにもかかわらず、EEP−ROM24に格納される第1及び第2基準電圧Vst1 ,Vst2 は、15ビットA/D変換器を用いて検出電圧Vmを測定した場合と略同等の精度となり、各基準電圧Vst1 ,Vst2 設定時のA/D変換誤差に伴う制御精度の低下を抑制することが可能になる。
【0059】
以下、この理由について説明する。
まず、S220,S260による検出電圧Vmのサンプリング時には、検出抵抗R0に、定電流源から供給される第1基準電流Ist1 又は第2基準電流Ist2 が流れるが、これら各電流Ist1 ,Ist2 は、定電流源側での電流制御動作によって微少ではあるが脈動する。このため、A/D変換器20に入力される検出信号(アナログ電圧信号)も、数mV程度の幅で脈動する。
【0060】
このため、S220,S260でサンプリングされる検出電圧Vmも、一定とはならず、少なくとも最下位ビットで変動する。従って、S230,S270で算出される25 (=32)個の検出電圧Vmの総和は、A/D変換器20に入力された検出信号の平均電圧に対応した(10+5)ビットのデジタルデータとなり、S240,S280でEEP−ROM24に格納される各基準電圧Vst1 ,Vst2 は、15ビットのA/D変換器を用いて検出信号をA/D変換した検出電圧と略同等になるのである。
【0061】
つまり、例えば、A/D変換可能な電圧範囲が0〜5Vの10ビットA/D変換器(LSB=4.88mV)において、1.0V入力時のA/D変換結果は、
(1.0/5)×1024=204.8=0CC(16進数)
となり、このA/D変換結果「0CC(16進数)」を逆算して電圧に戻すと、
0CC(16進数)/1024×5=0.99609V
となり、「−3.91mV」の誤差が生じる。
【0062】
しかし、同じ10ビットA/D変換器を用いた1.0V入力時の2回のA/D変換結果が、「0CC(16進数)」と「0CD(16進数)」であった場合、これらの和「199(16進数)」を11ビットのA/D変換結果(LSB=2.44mV)とみなせば、A/D変換誤差は、「−1.47mV」となる。つまり、11ビットのA/D変換結果としてみなした「199(16進数)」を、逆算により電圧に戻すと、
199(16進数)/2048×5=0.99853V
となるため、この場合のA/D変換誤差は「−1.47mV」となる。
【0063】
従って、本実施例のように、A/D変換可能な電圧範囲が0〜5Vの10ビットA/D変換器20を用いて、検出信号をi回A/D変換し、そのA/D変換結果Vm(1) ,Vm(2) …Vm(i) の総和を、検出信号のA/D変換値として算出するようにすれば、下記の表1に示すように、A/D変換結果のサンプリング数iを増やせば増やす程、得られるA/D変換値(総和)の誤差(LSB)を小さくして、A/D変換精度を向上することができるようになるのである。
【0064】
【表1】

Figure 0003539199
【0065】
このため、本実施例によれば、A/D変換器20のA/D変換精度が低くても、EEP−ROM24に格納される目標電圧Vtg設定用の電圧データ(基準電圧Vst1 ,Vst2 )を、そのA/D変換精度に影響されることなく、高精度に設定することが可能になり、延いては、ソレノイド電流Icの制御精度を向上することができる。
【0066】
以上、本発明の一実施例について説明したが、本発明は上記実施例に限定されるものではなく、種々の態様を採ることができる。
例えば、上記実施例では、EEP−ROM24に格納する基準電圧Vst1 ,Vst2 を設定する際、10ビットA/D変換器20によるA/D変換を32回行い、その結果得られた32個の検出電圧Vmを足し合わせることで、15ビットのA/D変換結果を得るようにしたが、これと同様に15ビットのA/D変換結果を得る場合であっても、例えば、検出電圧Vmのサンプリングは64(26 )回行い、これにより得られた64個の検出電圧Vmの総和を、2(=21 =6 −25 )で除算するようにしてもよい。そしてこのようにすれば、検出電圧Vmのサンプリング回数が多い分、得られるA/D変換結果(15ビット)の精度を向上できる。
【0067】
また、上記実施例では、EEP−ROM24に格納する目標電圧Vtg設定用の電圧データを生成する際に、本発明のA/D変換方法を利用するものとして説明したが、A/D変換器20によるA/D変換時間が制御量の演算周期に比べて充分短く、制御量を1回演算する間にA/D変換を何度も行える場合には、A/D変換器20を介して検出信号を取り込む際に、A/D変換値を多数サンプリングして、その総和をソレノイド電流Icを表す検出電圧とするようにしてもよい。そして、このようにすれば、ソレノイド電流Icの制御精度をより向上できるのはいうまでもない。
【0068】
また、上記実施例では、本発明を、自動変速機のライン圧制御用のソレノイド12を通電制御する装置に適用した場合について説明したが、本発明は、ソレノイド等の誘導性負荷を通電制御する装置に限らず、A/D変換器を利用して検出信号を取り込み、制御量をデジタル演算する装置であれば、上記実施例と同様に適用して、同様の効果を得ることができる。
【図面の簡単な説明】
【図1】実施例のECUの概略構成を表す構成図である。
【図2】実施例の制御回路にて実行されるフィードバック制御の動作を説明するタイムチャートである。
【図3】制御回路にて実行される制御量演算処理を表すフローチャートである。
【図4】制御量演算処理の実行時に用いられる目標電流算出用マップの特性を表す説明図である。
【図5】制御量演算処理の実行時に用いられるEEP−ROMに格納された電圧データを説明する説明図である。
【図6】ソレノイド電流とその検出電圧(デジタルデータ)との相対関係を表す理論特性及び実際の特性を説明する説明図である。
【図7】A/D変換の精度によって変化する電圧データの誤差を説明する説明図である。
【図8】電圧データ生成時のA/D変換の精度によって生じる目標電圧Vtgの設定誤差を説明する説明図である。
【図9】制御回路にて電圧データを生成する際に実行される電圧データ演算処理を表すフローチャートである。
【符号の説明】
2…ECU、10…制御回路、12…ソレノイド、14…トランジスタ、16…オペアンプ、18…平滑回路、20…A/D変換器、22…PWM信号出力回路、24…EEP−ROM、R0…検出抵抗。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention provides a control apparatus for controlling a control target by digitally calculating a control amount of the control target using digital data obtained by A / D conversion of an analog detection signal representing an operation state of the control target, and controlling the control accuracy of the control target. Suitable to improveSuppleThe present invention relates to a method and apparatus for generating positive data.
[0002]
[Prior art]
Conventionally, an operation state of a control target is detected using a sensor or the like, and a control amount for controlling the control target to a target state is calculated based on a deviation between the detected operation state and the target state. A control device that drives and controls a control target according to a control amount is known. In this type of control device, in a device in which a control amount is digitally calculated using a microcomputer or the like, a detection signal (analog signal) from a sensor is converted into digital data using an A / D converter. The conversion has been made.
[0003]
By the way, in such a control device that A / D converts a detection signal using an A / D converter, since the A / D conversion accuracy of the detection signal by the A / D converter greatly affects the control accuracy, It is desirable to use an A / D converter with the highest possible resolution (in other words, a large number of bits) for the A / D converter. However, when the resolution of the A / D converter is increased, the manufacturing cost of the control device increases accordingly.
[0004]
Further, in the control device that performs the A / D conversion of the detection signal using the A / D converter, the digital data after the A / D conversion generates variations in the A / D converter itself and a detection signal. Since the data value may deviate from the value at the time of design due to a variation in the signal input system from the detection device to the A / D converter, it is necessary to increase the A / D conversion accuracy of the detection signal by the A / D converter. Accuracy may be reduced.
[0005]
Therefore, conventionally, as disclosed in Japanese Patent Application Laid-Open No. 3-153980, for example, a detection signal to be A / D converted is used to improve control accuracy by using an A / D converter having a low resolution. The dynamic range of the A / D converter may be switched in accordance with the voltage range of the A / D converter, or as disclosed in Japanese Patent Application Laid-Open No. 9-172745, the A / D converter is shipped at the time of shipment of the control device. It is proposed that digital data obtained by A / D-converting a predetermined detection signal by actually operating is stored in a memory such as an EEP-ROM as correction data.
[0006]
That is, in the device proposed in Japanese Patent Application Laid-Open No. 3-153980, a plurality of input signals are A / D-converted by using one A / D converter. By switching the reference voltage on the A / D converter side, the voltage range (dynamic range) of the input signal that can be A / D converted by the A / D converter is switched. As a result, the amount of voltage change per bit of digital data obtained by A / D conversion can be switched according to each input signal, and the A / D converter can perform A / D conversion on all input signals. The A / D conversion accuracy of an input signal having a small voltage fluctuation width is equivalent to that obtained by A / D conversion using an A / D converter having a high resolution, as compared with the case of operating at a constant reference voltage. It becomes possible to do.
[0007]
On the other hand, in the device proposed in JP-A-9-172745, at the time of shipment, a detection signal obtained when the control target is operated in a preset operation state is actually converted to an A / D converter using an A / D converter. / D conversion, and by storing the digital data obtained by the A / D conversion in a memory in association with the operation state of the control target, when the control target is actually controlled after shipment, this memory is used. The digital data obtained through the A / D converter is corrected to a data value (design theoretical value) corresponding to the actual operation state of the control object using the correction data stored in the By calculating the control amount using the data, the control target can be controlled with high accuracy without being affected by the variation of the A / D conversion portion that A / D converts the detection signal from the sensor. I have.
[0008]
[Problems to be solved by the invention]
However, in the former device, the reference voltage of the A / D converter is switched every time the input signal to be A / D converted by the A / D converter is switched. Therefore, a circuit for the switching is necessary. Is complicated. Further, since a plurality of input signals are A / D-converted in a time-division manner, a control device which needs to capture A / D conversion values (digital data) of each input signal simultaneously or in a short time for control includes: There is a problem that it cannot be applied. Further, the A / D conversion accuracy can be improved only by an input signal that fluctuates with a voltage fluctuation width smaller than the voltage range of the input signal when the dynamic range of the A / D converter is maximized. There is also a problem that the A / D conversion accuracy of an input signal having a large voltage fluctuation width cannot be improved.
[0009]
On the other hand, in the latter device, although the correction data stored in the memory at the time of shipment can be used to prevent a decrease in control accuracy due to a variation in the characteristic of the A / D conversion portion of the detection signal, the correction data of the correction data can be prevented. Since the accuracy is uniquely determined by the accuracy of the A / D converter provided in the control device, an expensive A / D converter with high resolution must be used for the A / D converter in order to increase the control accuracy. There is a problem that must be.
[0010]
SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and a control device that performs a feedback control of a control target by digitally calculating a control amount of the control target using digital data obtained by A / D conversion of the detection signal is provided. To realize the same control accuracy as in the case where the detection signal is A / D converted using an A / D converter having a higher resolution than the A / D converter actually used for the A / D conversion. Aim.
[0018]
The invention according to claim 1 made to achieve such an object,As in the device disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 9-172745, in order to prevent a decrease in control accuracy due to a variation in characteristics of an A / D conversion portion that takes in a detection signal via an A / D converter, Correction data is stored in a correction data storage means, and when control is actually performed, digital data obtained by an A / D converter or target data representing a control target is corrected using the correction data. Control unithand,The present invention relates to a method for generating correction data to be stored in a correction data storage unit.
[0019]
That is, first, a control device to which the method of the present invention is applied includes a correction data storage unit in which correction data indicating a relationship between digital data obtained by an A / D converter and an actual operation state of a control target is stored in advance. Data correction means for correcting any of the digital data and the target data used by the control amount calculation means for calculating the control amount based on the correction data stored in the correction data storage means. Offset of the controlled object from the actual operation state caused by the above.
[0020]
That is, the control amount calculating means calculates the control amount on the assumption that the digital data obtained by the A / D converter accurately represents the operation state of the controlled object. May deviate from the design theoretical value due to the influence of variations in the A / D converter itself and variations in the input path of the detection signal from the detection means to the A / D converter.
[0021]
Therefore, in this control device, the digital data obtained by the A / D converter and the actual data of the control target are prevented in order to prevent a decrease in control accuracy due to a deviation of the digital data obtained by the A / D converter from the design theoretical value. The correction data representing the relationship with the operation state is stored in the correction data storage means, and when the control target is actually controlled, the data correction means uses the digital data used by the control amount calculation means to calculate the control amount. By correcting any one of the target data and the correction data using the correction data stored in the correction data storage element, the deviation between the digital data and the target data from the actual operation state of the control target is offset. .
[0022]
In such a control device, it is necessary to store in the correction data storage means digital data actually A / D converted using an A / D converter in association with the operation state of the control target at that time. However, in this case, if the result of the A / D conversion by the A / D converter is directly stored in the correction data storage means, the accuracy of the correction data is uniquely determined by the accuracy of the A / D converter, and the control target Is fixed by the resolution of the A / D converter used.
[0023]
Therefore, in the method of the present invention, when generating correction data to be stored in the correction data storage unit, first, a detection signal when the control target is operated in a specific operation state set in advance is output from the detection unit, A / D converter at least 2mOperate at least twice. Then, 2 obtained by the operation of the A / D convertermThe sum of the digital data is calculated as correction data corresponding to the specific operation state of the control target, and the calculation result is stored in the correction data storage unit.
[0024]
As a result, according to the method of the present invention, the accuracy of the correction data stored in the correction data storage means of the control device can be made higher than the accuracy of the A / D converter that actually performs the A / D conversion of the detection signal. That is, when the control device actually controls the control target, it becomes possible to highly accurately correct digital data or target data used by the control amount calculation means for calculating the control amount. Therefore, according to the method of the present invention, even when the digital data obtained by the A / D converter deviates from the design theoretical value due to the variation in the characteristics of the A / D conversion part of the control device, the control amount is calculated. It is possible to accurately offset the deviation of the controlled object from the actual operation state between the digital data used for the target and the target data, compared with the conventional device disclosed in the above-mentioned Japanese Patent Application Laid-Open No. 9-172745. Thus, the control accuracy of the control target can be improved.
[0025]
In order to generate the correction data by the method of the present invention, it is necessary to output a detection signal when the control target is operated in a predetermined specific operation state from the detection means. The target may be actually operated in the specific operation state, and the operation state may be detected by the detection unit. Alternatively, the detection unit may be simulated, and the control target may be operated in the specific operation state by the detection unit. A detection signal equivalent to that at the time of operation may be pseudo-outputted.
In addition, as the correction data stored in the correction data storage unit, a detection signal when the control target is operated in two predetermined operation states set in advance is output from the detection unit. By doing so, two data corresponding to the two specific operation states of the control target may be calculated.
Further, when the control target of the control device is a solenoid and the control device is configured to control the current flowing through the solenoid to a target current, the control device may be set in advance to the solenoid. At the same time that the detection means outputs a detection signal when the reference current flows, the A / D converter is switched at least two times. m 2 or more times, and 2 obtained by the operation of the A / D converter. m The sum of the digital data may be calculated as correction data corresponding to the case where the reference current is supplied to the solenoid.
[0026]
next,The invention described in claim 4 is any one of claims 1 to 3The present invention relates to a correction data generation device provided in the above-described control device in order to realize the correction data generation method described in (1). In this correction data generation device, when a correction data generation command corresponding to the specific operation state of the control target is input from the outside, the A / D conversion control means sets the A / D converter to at least two.mOperation is repeated two or more times, and the sum calculating means obtains 2 obtained by the operation of the A / D converter.mThe sum of the digital data is calculated, and the correction data storage means stores the calculated 2mThe sum of the digital data is stored in the correction data storage unit as correction data corresponding to the specific operation state of the control target.
[0027]
For this reason, according to the correction data generation device of the fourth aspect, the control target is actually operated or the detection unit is pseudo-operated, so that the detection target controls the control target in a specific operation. In the state where the detection signal when the operation is performed in the state is output, the generation command of the correction data is sent to the A / D conversion control means.If you enterAccording to the correction data generation method, the correction data is automatically generated and stored in the correction data storage means of the control device, so that the control accuracy of the control device can be improved.
[0028]
When the control device provided with the A / D conversion device includes a microcomputer for calculating the control amount, A / D conversion control means, sum total calculation means, Also, the correction data storage means can be easily realized by the program executed by the microcomputer, so that it can be easily incorporated into the control device. It does not mean that the configuration is complicated and the cost is increased.
[0029]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram illustrating a schematic configuration of an electronic control unit for a vehicle (hereinafter referred to as an ECU) 2 to which the present invention is applied.
[0030]
The ECU 2 is a control device for automatic transmission control (AT control) for controlling the gear position, lock-up, and the like of the automatic transmission mounted on the vehicle, and a control circuit 10 for executing various arithmetic processing for AT control. A microcomputer including a CPU, a ROM, a RAM, and the like. The control circuit 10 receives detection signals from various sensors (not shown) such as a vehicle speed sensor and a shift position sensor, and an engine state signal (a signal indicating a rotation speed, a throttle opening, and the like) from an engine control device. The control circuit 10 executes various arithmetic processes for AT control based on these input signals according to a control program stored in the ROM in advance, and based on the calculation results, various types of solenoids and the like provided in the automatic transmission. Feedback control the actuator.
[0031]
Therefore, in the present embodiment, as an example of the feedback control executed by the control circuit 10, a solenoid current Ic flowing through a line pressure control solenoid (hereinafter simply referred to as a solenoid) 12 for controlling a line pressure (oil pressure) of the automatic transmission is described. Will be described.
[0032]
As shown in FIG. 1, a battery voltage VBT is applied to one end of a solenoid 12 to be controlled, and a switching transistor for switching whether or not the other end of the solenoid 12 is grounded to a ground line is provided to the ECU 2. Further, a detection resistor R0 for detecting the solenoid current Ic as a voltage value is provided in a current path from the transistor 14 to the ground line.
[0033]
Both ends of the detection resistor R0 are connected to the non-inverting input terminal (+) and the inverting input terminal (-) of the operational amplifier 16 via the resistors R1 and R2, respectively. The operational amplifier 16 is configured to operate as a differential amplifier by connecting a non-inverting input terminal (+) and an output terminal via a resistor R3, and operates at a voltage across the detection resistor R0 (that is, the voltage of the solenoid current Ic). The detection signal is amplified by the operational amplifier 16. The detection signal amplified by the operational amplifier 16 is smoothed by a smoothing circuit (in other words, an integrating circuit) 18 including a resistor R4 and a capacitor C4 having one end grounded to the ground line, and then is passed through a resistor R5. , Are input to the control circuit 10.
[0034]
The transistor 14 is formed of an NPN transistor whose collector is connected to the solenoid 12 and whose emitter is grounded to the ground line via the detection resistor R0. Further, in practice, a high voltage generated by energy accumulated in the solenoid 12 when the transistor 14 is turned off is returned to the battery side in an energizing path of the solenoid 12 provided with the transistor 14 and the detection resistor R0. And a current detecting resistor for detecting the current flowing through the solenoid 12 and inputting the current to the operational amplifier 16 are provided. The configuration of such a driving system is conventionally known. In addition, since it is not a main part of the present invention, in this embodiment, the configuration of the drive system is as shown in FIG.
[0035]
On the other hand, the control circuit 10 has a built-in A / D converter 20 for A / D-converting a detection signal (analog voltage signal) input via the resistor R5, and receives the input via the A / D converter 20. The solenoid current Ic is detected from the digital data (hereinafter simply referred to as detection voltage) Vm, and the transistor 14 is turned on and off so that the solenoid current Ic becomes a target current Itg necessary for line pressure control.
[0036]
That is, a PWM signal output circuit is provided in the control circuit 10 to control the solenoid current Ic by periodically turning on / off the transistor 14 with a pulse width modulation signal (PWM signal) having a controlled duty ratio. 22 are provided. Then, as shown in FIG. 2, the control circuit 10 changes the duty ratio (in other words, the pulse width) of the PWM signal output from the PWM signal output circuit 22 to the detection voltage Vm representing the solenoid current Ic, and the automatic transmission. The solenoid current Ic is controlled to the target current Itg by increasing or decreasing the target voltage Itg necessary for controlling the line pressure to the target hydraulic pressure in accordance with a deviation from the set target voltage Vtg.
[0037]
Further, when the control circuit 10 sets the target voltage Vtg from the target current Itg, the correspondence between the target voltage Vtg and the solenoid current Ic is detected by the ECU 2 via the A / D converter 20. The duty ratio of the PWM signal (in other words, the solenoid current Ic) is accurately determined from the deviation between the detected voltage Vm and the target voltage Vtg (the magnitude relationship in the present embodiment). An EEP-ROM 24 in which voltage data for enabling control is stored in advance is provided. This EEP-ROM 24 isCorrection data storage means described in claimsAnd the voltage data stored inside isOf the present inventionThis corresponds to correction data.
[0038]
Hereinafter, a control amount calculation process executed in the control circuit 10 to control the solenoid current Ic will be described.
This control amount calculation process is, for example, a process that is executed at regular intervals in synchronization with a cycle in which the PWM signal output circuit 22 outputs a PWM signal. When this process is started as shown in FIG. First, in S110 (S represents a step), a target oil pressure Ptg of the line pressure of the automatic transmission is calculated based on the operating state of the vehicle input from a sensor (not shown). Then, in the subsequent S120, a target current Itg flowing through the solenoid 12 is calculated from the target oil pressure Ptg using a target current calculation map illustrated in FIG. 4, and in the next S130, the target current Itg is calculated from the calculated target current Itg. A target voltage Vtg corresponding to the detection voltage Vm obtained via the A / D converter 20 is calculated.
[0039]
The voltage data stored in the EEP-ROM 24 is used to calculate the target voltage Vtg. However, the solenoid current Ic and the detection voltage Vm are proportional, and the target voltage Vtg is set based on the target current Itg. Since the target voltage Vtg may be set to be proportional to the current Itg, the A / D is supplied to the EEP-ROM 34 when the first reference current Ist1 flows through the detection resistor R0 as shown in FIG. The digital data (the first reference voltage VST1) obtained through the converter 20 and the digital data (the first reference voltage VST1) obtained through the A / D converter 20 when the second reference current Ist2 flows through the detection resistor R0. 2 reference voltages Vst1 and VST2 are stored.
[0040]
Then, in S130, the target current Itg is corresponded from the relative relationship between the solenoid current Ic obtained from the first and second reference voltages Vst1, VST2 and the first and second reference currents Ist1, IST2 and the detection voltage Vm. The target voltage Vtg is obtained. Specifically, a linear function representing a straight line connecting the detection points P1 and P2 shown in FIG. 5 is set as an arithmetic expression (Vtg = a × Itg + b), and the target current Itg is substituted into the arithmetic expression to obtain a target current Itg. The voltage Vtg is calculated, or a target voltage Vtg corresponding to the target current Itg is calculated by interpolating a point corresponding to the target current Itg from each of the detection points P1 and P2 shown in FIG. , The target voltage Vtg is obtained. In the present embodiment, the process of S130 isClaimsCorresponds to the data correction means described in (1).
[0041]
Next, when the target voltage Vtg is calculated in this manner, the process proceeds to S140 to determine whether the detection voltage Vm read via the A / D converter 20 is higher than the target voltage Vtg. If the detection voltage Vm is higher than the target voltage Vtg, the process proceeds to S150 in order to decrease the solenoid current Ic, and the pulse width of the PWM signal output from the PWM signal output circuit 22 (in other words, the duty ratio ) Is reduced by a predetermined time width Δt, and the process is temporarily terminated.
[0042]
On the other hand, if it is determined in S140 that the detected voltage Vm is not higher than the target voltage Vtg, the process proceeds to S160, and it is determined whether the detected voltage Vm is lower than the target voltage Vtg. If the detection voltage Vm is smaller than the target voltage Vtg, the process proceeds to S170 to increase the solenoid current Ic, and the pulse width of the PWM signal output from the PWM signal output circuit 22 is set to a predetermined value. The time width Δt is increased and the process is temporarily terminated.
[0043]
Conversely, if it is determined in S160 that the detection voltage Vm is not smaller than the target voltage Vtg (that is, if the detection voltage Vm and the target voltage Vtg match), the solenoid current Ic is reduced. Since it is not necessary to increase or decrease the pulse width, the pulse width of the PWM signal output from the PWM signal output circuit 22 is held at the current pulse width in S180, and the process is temporarily terminated. In this embodiment, the processing of S140 to S180 isIn the claimsIt corresponds to a control amount calculating means.
[0044]
As described above, in this embodiment, when setting the target voltage Vtg from the target current Itg flowing through the solenoid 12, the voltage data stored in the EEP-ROM 24 in advance is used. Even if the relationship between the solenoid current Ic and the detected voltage Vm deviates from the theoretical characteristic of Ic-Vm at the time of designing the control system shown by the dashed line in FIG. 6 due to the variation of the circuit elements of the current detection system reaching the converter 20, The target voltage Vtg can be set in accordance with the actual Ic-Vm characteristic shown by the solid line in FIG. 6, and the solenoid current Ic is set as compared with the case where the target voltage Vtg is set according to the Ic-Vm theoretical characteristic. Can be accurately controlled to the target current Itg.
[0045]
That is, among the deviations of the Ic-Vm characteristic from the theoretical characteristics, the deviation of the slope is caused by the variation of the detection resistor R0 for detecting the current and the resistances R1, R2, and R3 for determining the gain when amplifying the detection signal. This is largely due to (error with respect to the design value), and the offset deviation is largely due to the error in the offset voltage of the operational amplifier 16. Therefore, most of the deviation of the Ic-Vm characteristic from the theoretical characteristic is caused by an initial characteristic error due to a manufacturing variation of the current detection system, and a deviation due to the temperature characteristic or aging is almost ignored as compared with the initial characteristic error. It is a level that can be done. Therefore, immediately after the ECU 2 is manufactured, the actual Ic-Vm characteristic is measured and stored in the EEP-ROM 24 as voltage data (in other words, correction data), and the solenoid current Ic is actually feedback-controlled. In this case, if the target voltage Vtg is set using the voltage data stored in the EEP-ROM 24 as in the present embodiment, the solenoid current Ic can always be controlled with high accuracy.
[0046]
By the way, as the voltage data to be stored in the EEP-ROM 24 as the data representing the Ic-Vm characteristic, as described above, the first reference current Ist1 and the second reference current Ist2 flow as the solenoid current Ic to the detection resistor R0. At this time, two types of detection voltages Vm obtained through the A / D converter 20 are measured, and the respective voltage values may be stored in the EEP-ROM 24 as the first reference voltage Vst1 and the second reference voltage Vst2. However, if the A / D conversion accuracy when taking in each of these reference voltages Vst1 and Vst2 via the A / D converter 20 is low, then the target voltage Vtg set at the time of the control becomes the analog signal state. It deviates from the Ic-Vm characteristic, causing a control error.
[0047]
That is, the digital data (detection voltage Vm) obtained by the A / D converter 20 is different from the detection signal (analog voltage signal) actually input to the A / D converter 20 in steps of the minimum bit (LSB). Change in shape. For example, when the number of bits of the A / D converter 20 is 10 bits and the voltage range in which the A / D conversion can be performed is 0 to 5 V, the detection voltage Vm is about 4.0 as shown in FIG. It changes stepwise with a width of 88 mV, and has a width of about 4.88 mV with respect to the actually input detection signal.
[0048]
Since this width becomes an A / D conversion error of the detection voltage Vm, the reference currents Ist1 and Ist2 flow through the detection resistor R0 as described above, and the detection signal Vst1a, which is input to the A / D converter 20 at that time, Even if the detected voltage Vm obtained by A / D conversion of Vst2a is stored in the EEP-ROM 24 as the reference voltages Vst1 (10) and Vst2 (10), the reference voltage Vst1 (10) stored in the EEP-ROM 24 may be used. , Vst2 (10) deviates from the actual Ic-Vm characteristic in an analog signal state due to the A / D conversion error, and the target voltage Vtg is changed to the actual Ic-Vm characteristic. It cannot be set correspondingly.
[0049]
On the other hand, this problem can be solved by increasing the number of bits of the A / D converter 20 and increasing the A / D conversion accuracy. For example, when the A / D converter 20 is changed from a 10-bit A / D converter to a 12-bit A / D converter, as shown in FIG. If it is the same 0 to 5 V, the detection voltage Vm changes with a width of about 1.22 mV, so that the A / D conversion error becomes 1/4. Therefore, if the reference voltages Vst1 (12) and Vst2 (12) are measured using a 12-bit A / D converter, as shown in FIG. 8, when the 10-bit A / D converter is used. In comparison, the setting error of the target voltage Vtg can be reduced sufficiently from ΔV (10) to ΔV (12).
[0050]
However, if the number of bits of the A / D converter 20 is increased in order to improve the A / D conversion accuracy, the cost of the ECU 2 is increased, so that a highly accurate A / D converter cannot actually be used. .
Therefore, in this embodiment, a 15-bit A / D converter is used for the reference voltages Vst1 and Vst2 stored as voltage data in the EEP-ROM 24 while using a 10-bit A / D converter for the A / D converter 20. It is set to the same precision as when
[0051]
Hereinafter, the voltage data calculation process executed by the control circuit 10 to set the respective reference voltages Vst1 and Vst2 and store the reference voltages in the EEP-ROM 24 will be described with reference to the flowchart shown in FIG.
This voltage data calculation process is a process executed by mounting the ECU 2 on a voltage setting jig and operating the control circuit 10 in the voltage setting mode in an adjustment stage before shipment of the ECU 2. The voltage setting jig connects a constant current source to the solenoid connection terminal provided in the ECU 2 instead of the solenoid 12, and selectively supplies the reference currents Ist1 and Ist2 from the constant current source by an external operation. In addition, a command signal indicating the current supply is input to the control circuit 10.
[0052]
Then, when this voltage data calculation process is started, in S210, the detection with the first reference current Ist1 is performed based on whether or not a command signal indicating that the first reference current Ist1 is being supplied is input from the jig. It is determined whether or not the voltage capturing condition is satisfied. If the detected voltage capturing condition at the first reference current Ist1 is satisfied, the process proceeds to S220.
[0053]
Next, in S220, the transistor 14 is turned on, the first reference current Ist1 supplied from the constant current source flows through the detection resistor R0, and the detection voltage Vm obtained through the A / D converter 20 in this state is changed. Sampling is performed i times (for example, 32 times). Then, in S230, the sum of the i detected voltages Vm sampled in S220 is calculated as a first reference voltage Vst1, and in S240, the calculated first reference voltage Vst1 is stored in the EEP-ROM 24. The process ends once.
[0054]
On the other hand, if it is determined in S210 that the detection voltage capturing condition at the first reference current Ist1 is not satisfied, the process proceeds to S250 to indicate that the second jig is supplying the second reference current Ist2. It is determined whether or not the condition for taking in the detected voltage at the second reference current Ist2 is satisfied, based on whether or not the command signal is input. If the condition for taking in the detected voltage with the second reference current Ist2 is not satisfied, the process is temporarily terminated. Conversely, if the condition for taking in the detected voltage with the second reference current Ist2 is satisfied, S260 Move to
[0055]
In S260, as in S220, the transistor 14 is turned on, the second reference current Ist2 supplied from the constant current source flows through the detection resistor R0, and the detection voltage obtained through the A / D converter 20 in that state is obtained. Vm is sampled i times (for example, 32 times). Then, in S270, the sum of the i detected voltages Vm sampled in S260 is calculated as a second reference voltage Vst2, and in S280, the calculated second reference voltage Vst2 is stored in the EEP-ROM 24. The process ends once.
[0056]
In the present embodiment, the processing of S220 and S260 isOf the present inventionThe processing of S230 and S270 corresponds to A / D conversion control means.The present inventionThe processing of S240 and S280 is equivalent toThe present inventionOf the correction data storage means.
[0057]
As described above, in this embodiment, when the first and second reference voltages Vst1 and Vst2 to be stored as voltage data in the EEP-ROM 24 are generated, the first and second reference currents Ist1 and Ist2 are applied to the detection resistor R0. The digital data (detection voltage Vm) obtained through the A / D converter 20 at that time is sampled 32 times, and the sum of the sampled 32 detection voltages Vm is used as the first and second reference voltages Vst1. , Vst2.
[0058]
Therefore, even though the detection voltage Vm is sampled using the 10-bit A / D converter 20, the first and second reference voltages Vst1 and Vst2 stored in the EEP-ROM 24 are 15-bit A / D converters. The accuracy is substantially the same as when the detection voltage Vm is measured using a D converter, and it is possible to suppress a decrease in control accuracy due to an A / D conversion error when setting each of the reference voltages Vst1 and Vst2.
[0059]
Hereinafter, the reason will be described.
First, at the time of sampling the detection voltage Vm in S220 and S260, the first reference current Ist1 or the second reference current Ist2 supplied from the constant current source flows through the detection resistor R0. The pulsation is slight, due to the current control operation on the source side. Therefore, the detection signal (analog voltage signal) input to the A / D converter 20 also pulsates with a width of about several mV.
[0060]
Therefore, the detection voltage Vm sampled in S220 and S260 is not constant, and fluctuates at least in the least significant bit. Therefore, 2 calculated in S230 and S270FiveThe sum of the (= 32) detection voltages Vm becomes (10 + 5) -bit digital data corresponding to the average voltage of the detection signals input to the A / D converter 20, and is stored in the EEP-ROM 24 in S240 and S280. Each of the reference voltages Vst1 and Vst2 is substantially equivalent to a detection voltage obtained by A / D converting a detection signal using a 15-bit A / D converter.
[0061]
That is, for example, in a 10-bit A / D converter (LSB = 4.88 mV) in which the voltage range in which A / D conversion can be performed is 0 to 5 V, the A / D conversion result at the time of 1.0 V input is:
(1.0 / 5) × 1024 = 204.8 = 0CC (hexadecimal)
When the A / D conversion result “0CC (hexadecimal)” is back calculated and returned to the voltage,
0CC (Hexadecimal) /1024×5=0.96909V
And an error of “−3.91 mV” occurs.
[0062]
However, when two A / D conversion results at the time of 1.0 V input using the same 10-bit A / D converter are “0CC (hexadecimal)” and “0CD (hexadecimal)”, If the sum “199 (hexadecimal)” is regarded as an 11-bit A / D conversion result (LSB = 2.44 mV), the A / D conversion error is “−1.47 mV”. In other words, when "199 (hexadecimal)" regarded as an 11-bit A / D conversion result is returned to a voltage by back calculation,
199 (hexadecimal) /2048×5=0.99853V
Therefore, the A / D conversion error in this case is “−1.47 mV”.
[0063]
Therefore, as in the present embodiment, the detection signal is A / D-converted i times using the 10-bit A / D converter 20 whose A / D-convertable voltage range is 0 to 5 V, and the A / D conversion is performed. If the sum of the results Vm (1), Vm (2)... Vm (i) is calculated as the A / D conversion value of the detection signal, the A / D conversion result is obtained as shown in Table 1 below. As the sampling number i is increased, the error (LSB) of the obtained A / D conversion value (sum) can be reduced, and the A / D conversion accuracy can be improved.
[0064]
[Table 1]
Figure 0003539199
[0065]
Therefore, according to the present embodiment, even if the A / D conversion accuracy of the A / D converter 20 is low, the voltage data for setting the target voltage Vtg (the reference voltages Vst1 and Vst2) stored in the EEP-ROM 24 is not changed. , And can be set with high accuracy without being affected by the A / D conversion accuracy, and the control accuracy of the solenoid current Ic can be improved.
[0066]
As mentioned above, although one Example of this invention was described, this invention is not limited to the said Example, You can take various aspects.
For example, in the above embodiment, when setting the reference voltages Vst1 and Vst2 to be stored in the EEP-ROM 24, A / D conversion by the 10-bit A / D converter 20 is performed 32 times, and the resulting 32 detections are performed. The 15-bit A / D conversion result is obtained by adding the voltages Vm. Similarly, even when the 15-bit A / D conversion result is obtained, for example, the sampling of the detection voltage Vm is performed. Is 64 (26) Times, and the sum of the 64 detected voltages Vm obtained by this is calculated as 2 (= 21 =26-2Five). By doing so, the accuracy of the obtained A / D conversion result (15 bits) can be improved because the number of times of sampling the detection voltage Vm is large.
[0067]
In the above embodiment, the A / D conversion method of the present invention is used when generating the voltage data for setting the target voltage Vtg to be stored in the EEP-ROM 24. If the A / D conversion time is sufficiently shorter than the control amount calculation cycle and A / D conversion can be performed many times while the control amount is calculated once, the A / D conversion is detected via the A / D converter 20. At the time of capturing the signal, a large number of A / D converted values may be sampled, and the sum thereof may be used as a detection voltage representing the solenoid current Ic. In this case, it goes without saying that the control accuracy of the solenoid current Ic can be further improved.
[0068]
Further, in the above embodiment, the case where the present invention is applied to the device for controlling the energization of the solenoid 12 for controlling the line pressure of the automatic transmission has been described. However, the present invention controls the energization of an inductive load such as a solenoid. Not limited to the device, any device that captures a detection signal using an A / D converter and digitally calculates a control amount can be applied in the same manner as in the above-described embodiment to obtain the same effect.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating a schematic configuration of an ECU according to an embodiment.
FIG. 2 is a time chart illustrating an operation of feedback control performed by a control circuit according to an embodiment.
FIG. 3 is a flowchart illustrating a control amount calculation process executed by a control circuit.
FIG. 4 is an explanatory diagram showing characteristics of a target current calculation map used when executing a control amount calculation process.
FIG. 5 is an explanatory diagram illustrating voltage data stored in an EEP-ROM used when executing a control amount calculation process.
FIG. 6 is an explanatory diagram illustrating theoretical characteristics and actual characteristics representing a relative relationship between a solenoid current and a detection voltage (digital data) thereof.
FIG. 7 is an explanatory diagram illustrating an error in voltage data that changes depending on the accuracy of A / D conversion.
FIG. 8 is an explanatory diagram for explaining a setting error of a target voltage Vtg caused by the accuracy of A / D conversion when generating voltage data.
FIG. 9 is a flowchart illustrating voltage data calculation processing executed when voltage data is generated by a control circuit.
[Explanation of symbols]
2 ECU, 10 control circuit, 12 solenoid, 14 transistor, 16 operational amplifier, 18 smoothing circuit, 20 A / D converter, 22 PWM signal output circuit, 24 EEP-ROM, R0 detection resistance.

Claims (4)

制御対象の動作状態に対応したアナログの検出信号を発生する検出手段と、
該検出手段から出力された検出信号をデジタルデータに変換するnビットのA/D変換器と、
該A/D変換器にて得られたデジタルデータと前記制御対象の目標状態を表す目標データとの偏差に基づき、前記制御対象を目標状態に制御するための制御量をデジタル演算する制御量算出手段と、
前記A/D変換器により得られる前記デジタルデータと前記制御対象の実際の動作状態との関係を表す補正データが予め記憶された補正データ記憶手段と、
前記制御量算出手段が前記制御量を算出するのに使用する前記デジタルデータ及び前記目標データのいずれかを、前記補正データ記憶手段に記憶された補正データに基づき補正し、各データ間で生じる前記制御対象の実際の動作状態に対するずれを相殺するデータ補正手段と、
を備えた制御装置において、前記補正データを生成するための補正データ生成方法であって、
前記制御対象を予め設定された特定動作状態で動作させた際の検出信号を前記検出手段から出力させると同時に、前記A/D変換器を少なくとも2m 回以上繰り返し動作させ、該A/D変換器の動作によって得られる2m 個のデジタルデータの総和を、前記制御対象の上記特定動作状態に対応した補正データとして算出し、該算出結果を前記補正データ記憶手段に格納するものであり、
前記補正データの生成には、前記A/D変換器を少なくとも2 m 回以上繰り返し動作させることによって得られる2 m 個のデジタルデータの総和を用い、前記制御対象の制御には、前記A/D変換器の動作によって得られるデジタルデータをそのまま用いることを特徴とする制御装置の補正データ生成方法。
Detecting means for generating an analog detection signal corresponding to the operation state of the control target;
An n-bit A / D converter for converting a detection signal output from the detection means into digital data;
A control amount calculation for digitally calculating a control amount for controlling the control target to the target state based on a deviation between the digital data obtained by the A / D converter and target data representing the target state of the control target. Means,
Correction data storage means in which correction data indicating a relationship between the digital data obtained by the A / D converter and an actual operation state of the control target is stored in advance;
Either the digital data or the target data used by the control amount calculation means to calculate the control amount is corrected based on the correction data stored in the correction data storage means, and the data generated between the data is corrected. Data correction means for offsetting the deviation of the controlled object from the actual operating state,
In a control device comprising: a correction data generating method for generating the correction data,
The detection means outputs a detection signal when the control target is operated in a predetermined specific operation state, and at the same time, the A / D converter is repeatedly operated at least 2 m times or more, and the A / D conversion is performed. Sum of 2 m digital data obtained by the operation of the device is calculated as correction data corresponding to the specific operation state of the control target, and the calculation result is stored in the correction data storage means .
The correction data is generated using the sum of 2 m digital data obtained by repeatedly operating the A / D converter at least 2 m times , and the control of the control target is performed using the A / D converter. A method of generating correction data for a control device, wherein digital data obtained by operation of a converter is used as it is .
前記制御対象を予め設定された二つの特定動作状態で動作させた際の検出信号を前記検出手段からそれぞれ出力させることにより、前記補正データ記憶手段に格納する補正データとして、前記制御対象の二つの特定動作状態に対応した二つのデータを算出し、前記補正データ記憶手段には該二つのデータを格納することを特徴とする請求項1記載の制御装置の補正データ生成方法。By outputting a detection signal when the control target is operated in two predetermined specific operation states from the detection unit, as the correction data to be stored in the correction data storage unit, two of the control target are 2. The method according to claim 1, wherein two data corresponding to a specific operation state are calculated, and the two data are stored in the correction data storage unit. 前記制御装置において、前記検出手段は前記制御対象としてのソレノイドに流れる電流に対応したアナログの検出信号を発生し、前記制御量算出手段は、前記A/D変換器にて得られたデジタルデータと前記ソレノイドに流す目標電流を表す目標データとの偏差に基づき、前記ソレノイドに流れる電流を前記目標電流に制御するための制御量をデジタル演算し、前記補正データ記憶手段には、前記A/D変換器により得られる前記デジタルデータと前記ソレノイドに流れる電流との関係を表す補正データが予め記憶され、前記データ補正手段は、前記制御量算出手段が前記制御量を算出するのに使用する前記デジタルデータ及び前記目標データのいずれかを、前記補正データ記憶手段に記憶された補正データに基づき補正することで、該各データ間で生じる前記ソレノイドに流れる電流に対するずれを相殺するよう構成され、
当該補正データ生成方法にて前記補正データを生成する際には、前記ソレノイドに予め設定された基準電流を流した場合の検出信号を前記検出手段から出力させると同時に、前記A/D変換器を少なくとも2m 回以上繰り返し動作させ、該A/D変換器の動作によって得られる2m 個のデジタルデータの総和を、前記ソレノイドに前記基準電流を流した場合に対応した補正データとして算出することを特徴とする請求項1又は請求項2記載の制御装置の補正データ生成方法。
In the control device, the detection unit generates an analog detection signal corresponding to a current flowing through a solenoid serving as the control target, and the control amount calculation unit uses digital data obtained by the A / D converter and A control amount for controlling a current flowing through the solenoid to the target current is digitally calculated based on a deviation from target data representing a target current flowing through the solenoid, and the A / D conversion is performed in the correction data storage means. Correction data representing the relationship between the digital data obtained by the detector and the current flowing through the solenoid is stored in advance, and the data correction means includes a digital data used by the control amount calculation means to calculate the control amount. And correcting any one of the target data based on the correction data stored in the correction data storage means. Is configured to cancel the deviation from the current flowing through the solenoid occurring between data,
When the correction data is generated by the correction data generation method, a detection signal when a preset reference current is supplied to the solenoid is output from the detection unit, and at the same time, the A / D converter is activated. Operating at least 2 m times or more, and calculating the sum of 2 m digital data obtained by the operation of the A / D converter as correction data corresponding to the case where the reference current is passed through the solenoid. 3. The method according to claim 1, wherein the correction data is generated by the control device.
請求項1〜請求項3何れか記載の補正データ生成方法を実現するために前記制御装置に設けられる補正データ生成装置であって、
外部から前記制御対象の特定動作状態に対応した補正データの生成指令が入力されると、前記A/D変換器を少なくとも2m 回以上繰り返し動作させるA/D変換制御手段と、
該A/D変換制御手段が前記A/D変換器を動作させることにより得られる2m 個のデジタルデータの総和を算出する総和算出手段と、
該総和算出手段にて算出された2m 個のデジタルデータの総和を、前記制御対象の特定動作状態に対応した補正データとして、前記補正データ記憶手段に格納する補正データ格納手段と、
を備えたことを特徴とする制御装置の補正データ生成装置。
A correction data generation device provided in the control device to implement the correction data generation method according to any one of claims 1 to 3.
A / D conversion control means for repeatedly operating the A / D converter at least 2 m times or more when an instruction to generate correction data corresponding to the specific operation state of the control target is input from outside;
Total sum calculating means for calculating the total sum of 2 m digital data obtained by operating the A / D converter by the A / D conversion control means;
Correction data storage means for storing the sum of 2 m digital data calculated by the sum calculation means in the correction data storage means as correction data corresponding to the specific operation state of the control object;
A correction data generation device for a control device, comprising:
JP10282398A 1998-04-14 1998-04-14 Method and apparatus for generating correction data for control device Expired - Fee Related JP3539199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10282398A JP3539199B2 (en) 1998-04-14 1998-04-14 Method and apparatus for generating correction data for control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10282398A JP3539199B2 (en) 1998-04-14 1998-04-14 Method and apparatus for generating correction data for control device

Publications (2)

Publication Number Publication Date
JPH11298327A JPH11298327A (en) 1999-10-29
JP3539199B2 true JP3539199B2 (en) 2004-07-07

Family

ID=14337753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10282398A Expired - Fee Related JP3539199B2 (en) 1998-04-14 1998-04-14 Method and apparatus for generating correction data for control device

Country Status (1)

Country Link
JP (1) JP3539199B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001182596A (en) * 1999-12-28 2001-07-06 Mikuni Corp Intake pressure detecting device for internal combustion engine
JP4375331B2 (en) 2005-12-26 2009-12-02 株式会社デンソー Knock sensor signal processing device
JP4274252B2 (en) 2007-01-24 2009-06-03 株式会社デンソー PWM output type sensor circuit
JP6471649B2 (en) * 2015-08-25 2019-02-20 株式会社デンソー Electronic control unit
JP6888905B2 (en) * 2015-12-10 2021-06-18 株式会社東芝 Thickness gauge device that reduces the noise of the A / D converter in the detection signal

Also Published As

Publication number Publication date
JPH11298327A (en) 1999-10-29

Similar Documents

Publication Publication Date Title
US20200158536A1 (en) Rotation detecting device
US6347544B1 (en) Control method for gas concentration sensor
US7033071B2 (en) Method and apparatus for correcting sensor signal in temperature
US8421441B2 (en) Current-controlled semiconductor device and control unit using the same
US7149609B2 (en) Vehicular electronic control unit
US20040159489A1 (en) Control unit for electric power steering
JP3539199B2 (en) Method and apparatus for generating correction data for control device
JPH01147138A (en) Heater controller for air-fuel ratio sensor
JP4274252B2 (en) PWM output type sensor circuit
JP4091163B2 (en) Signal input device, control device, and current control device for inductive load
US6212447B1 (en) Control device for automobiles
US6647958B2 (en) Throttle control apparatus for internal combustion engine
JPH0755588A (en) Temperature detector
JP4075257B2 (en) Inductive load drive
JP4559805B2 (en) Physical quantity sensor
JP2000013227A (en) A/d converter
JP3736430B2 (en) Oxygen concentration detector
JPS63222516A (en) A/d conversion value correction method for a/d conversion circuit
US5272919A (en) Method of measuring level of filling
KR100305001B1 (en) Control device for automobiles
JPH06109506A (en) Heating element type air flowmeter
JP4439314B2 (en) Throttle opening control device and throttle opening control method
JP3227084B2 (en) Air flow measurement device
JP3038255B2 (en) Camera aperture control device
JP3250705B2 (en) Positioning device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040315

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100402

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110402

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120402

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140402

Year of fee payment: 10

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