JP2008121580A - Vehicular control device - Google Patents
Vehicular control device Download PDFInfo
- Publication number
- JP2008121580A JP2008121580A JP2006306929A JP2006306929A JP2008121580A JP 2008121580 A JP2008121580 A JP 2008121580A JP 2006306929 A JP2006306929 A JP 2006306929A JP 2006306929 A JP2006306929 A JP 2006306929A JP 2008121580 A JP2008121580 A JP 2008121580A
- Authority
- JP
- Japan
- Prior art keywords
- sub
- board
- ground
- voltage
- control device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、メイン基板とサブ基板を有し、少なくともサブ基板の取り付け/取り外しが可能な車両用制御装置に関する。 The present invention relates to a vehicle control device that includes a main board and a sub board and is capable of mounting / removing at least the sub board.
従来、電圧制御電源から電源電圧の供給を受けて動作するプロセッサコアを備える電子機器が知られている(例えば、特許文献1参照)。この電子機器は、プロセッサコアの処理負荷に応じて、電源電圧を調整する手段を備えるものである。
しかしながら、アース(グランド)をメイン基板と共用するサブ基板を取り付け又は取り外し可能な構成にする場合、サブ基板を流れた電流がグランドに流れることによるメイン基板のグランド浮きが発生するため、上述の従来技術では、メイン基板に実装されるプロセッサが計測した計測値がサブ基板を取り付け又は取り外しする前後で変動するおそれがある。 However, when the sub-board that shares the earth (ground) with the main board can be attached or detached, the main board is grounded due to the current flowing through the sub-board flowing to the ground. In the technology, there is a possibility that the measured value measured by the processor mounted on the main board may fluctuate before and after the sub board is attached or removed.
そこで、本発明は、アースをメイン基板と共用するサブ基板の数が増減しても、メイン基板に実装されるプロセッサによって計測された計測値を補正することができる、車両用制御装置の提供を目的とする。 Therefore, the present invention provides a vehicle control device that can correct a measured value measured by a processor mounted on a main board even if the number of sub-boards sharing the ground with the main board increases or decreases. Objective.
上記目的を達成するため、本発明の車両用制御装置は、
電気負荷の印加電圧を計測するプロセッサが実装されるメイン基板と、
アースを前記プロセッサと共用し、前記アースとの取り付け/取り外しが可能なサブ基板と、を有する車両用制御装置であって、
前記アースの浮き電圧を検出する浮き電圧検出手段を備え、
前記プロセッサは、前記サブ基板が前記アースに取り付けられたときに前記浮き電圧検出手段によって検出された前記アースの浮き電圧に基づいて、前記印加電圧の計測値を補正することを特徴とする。
In order to achieve the above object, a vehicle control device of the present invention includes:
A main board on which a processor for measuring an applied voltage of an electric load is mounted;
A vehicular control device comprising: a sub-board that shares a ground with the processor and is attachable / detachable to / from the ground;
Floating voltage detection means for detecting the floating voltage of the ground,
The processor corrects the measured value of the applied voltage based on the floating voltage of the ground detected by the floating voltage detection means when the sub-board is attached to the ground.
ここで、前記浮き電圧検出手段は、前記サブ基板が前記アースに取り付けられる位置より下流側に直列に挿入された抵抗の両端電圧を検出することによって、前記アースの浮き電圧を検出すると好ましい。また、前記浮き電圧検出手段は、例えば、前記プロセッサに内蔵のA/Dコンバータである。 Here, it is preferable that the floating voltage detecting means detects the floating voltage of the ground by detecting the voltage across the resistor inserted in series downstream from the position where the sub-board is attached to the ground. The floating voltage detecting means is, for example, an A / D converter built in the processor.
また、前記印加電圧の計測値の補正量は、前記サブ基板が前記アースに取り付けられる前後で前記浮き電圧検出手段によって検出される前記アースの浮き電圧の差であると好適である。例えば、前記サブ基板が前記アースに取り付けられたときの前記印加電圧の計測値に前記補正量を反映することによって、前記印加電圧の計測値を補正することが可能となる。 Further, it is preferable that the correction amount of the measured value of the applied voltage is a difference between the floating voltage of the ground detected by the floating voltage detecting means before and after the sub-board is attached to the ground. For example, the measured value of the applied voltage can be corrected by reflecting the correction amount on the measured value of the applied voltage when the sub-board is attached to the ground.
さらに、前記サブ基板には前記プロセッサと通信可能な通信回路が実装され、
前記プロセッサは、前記通信回路と通信することによって前記サブ基板と前記アースとの取り付け/取り外しの状態を判断すると好適である。
Further, a communication circuit capable of communicating with the processor is mounted on the sub-board,
It is preferable that the processor determines whether the sub-board and the ground are attached / removed by communicating with the communication circuit.
また、前記プロセッサは、前記サブ基板の制御状態に応じて前記計測値を補正するとよい。サブ基板から前記アースに流れる電流はサブ基板の制御状態によって変動し、その変動により前記計測値も異なってくるからである。 The processor may correct the measurement value according to a control state of the sub-board. This is because the current flowing from the sub-board to the ground varies depending on the control state of the sub-board, and the measured value varies depending on the fluctuation.
ここで、前記電気負荷を燃料噴射用インジェクタとして適用すると効果的である。燃料噴射用インジェクタは印加電圧によってその特性が変化するので、印加電圧の計測値には精度が要求されるからである。また、前記プロセッサは、エンジンの回転数の違いに応じて前記計測値を補正するとよい。前記アースに流れる電流はエンジン回転数によって変動し、その変動により前記計測値も異なってくるからである。 Here, it is effective to apply the electric load as a fuel injection injector. This is because the characteristics of the fuel injection injector change depending on the applied voltage, and the measured value of the applied voltage requires accuracy. The processor may correct the measurement value according to a difference in engine speed. This is because the current flowing through the ground varies depending on the engine speed, and the measured value varies depending on the variation.
本発明によれば、アースをメイン基板と共用するサブ基板の数が増減しても、メイン基板に実装されるプロセッサによって計測された計測値を補正することができる。 According to the present invention, even if the number of sub-boards sharing the ground with the main board increases or decreases, the measurement value measured by the processor mounted on the main board can be corrected.
以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。図1は、本発明に係る車両用制御装置の一実施形態である。本実施形態の車両用制御装置は、エンジンに燃料を噴射するためのインジェクタX,Y,Zへの通電を制御する電子制御装置である(以下、「ECU100」という)。ECU100の筐体内には、所定の回路がそれぞれ実装される複数の基板(例えば、プリント基板やセラミック基板やシリコン単結晶板)がその内部に取り付け可能なように形成されている。
The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is an embodiment of a vehicle control apparatus according to the present invention. The vehicle control device of the present embodiment is an electronic control device that controls energization to injectors X, Y, and Z for injecting fuel into the engine (hereinafter referred to as “
ECU100の筐体内に取り付けられたメイン基板10には、インジェクタXを駆動する回路が実装されている。インジェクタXの駆動回路は、メインCPU11,トランジスタ12及び保護抵抗13を備えている。
A circuit for driving the injector X is mounted on the
メインCPU11は、演算や制御を行うCPU(中央演算処理装置)と、データの記憶を行うメモリと、外部との入出力を行うI/O部とを備えるマイクロコンピュータ(プロセッサ)である。トランジスタ12は、インジェクタXを駆動する駆動素子(例えば、IGBTやMOSFET)である。メインCPU11の出力ポートP1から出力される出力信号がトランジスタ12に入力される。その出力信号のHiレベル電圧とLoレベル電圧に従いトランジスタ12はオン/オフする。出力ポートP1がHiレベルであればトランジスタ12はオンし、出力ポートP1がLoレベルであればトランジスタ12はオフする。トランジスタ12がオンしているときに、バッテリ200のプラス端子から電源ハーネス51を介してインジェクタXに電流が流れる。なお、抵抗13は、過電流に対する保護抵抗であり、無くてもよい。
The
ECU100は、インジェクタXの通電時間を精度良く制御するために、インジェクタXの適合を行う。エンジンに対する燃料噴射量を左右するインジェクタの開弁時間はインジェクタに流す電流の通電時間によって決まるため、インジェクタを制御するECUはインジェクタに接続されるバッテリ等の電源電圧(+B電圧)に応じてインジェクタの通電時間を変えている。しかしながら、インジェクタ自体のばらつき、並びに配線抵抗(例えば、インジェクタと電源のプラス側との間のハーネスの抵抗分、インジェクタと電源のマイナス側との間のハーネスの抵抗分)及び接触抵抗などによって、バッテリ等の電源電圧は同じでもインジェクタに実際に印加される電圧は変化する。そこで、ECU100は、インジェクタの通電時間を精度良く制御するためには、インジェクタXに実際に印加される電圧を精度良く計測する必要がある。
The ECU 100 adapts the injector X in order to accurately control the energization time of the injector X. Since the valve opening time of the injector that determines the fuel injection amount to the engine is determined by the energization time of the current flowing through the injector, the ECU that controls the injector responds to the power supply voltage (+ B voltage) of the battery or the like connected to the injector. The energization time is changed. However, due to variations in the injector itself, wiring resistance (for example, the resistance of the harness between the injector and the positive side of the power supply, the resistance of the harness between the injector and the negative side of the power supply) and the contact resistance Even if the power supply voltage is the same, the voltage actually applied to the injector changes. Therefore, the
インジェクタXに実際に印加される電圧を精度良く計測するために、インジェクタXにできるだけ近い電源ハーネス51上の点AとECU100の端子Bがハーネス52を介して結線されている。点AをインジェクタXにできるだけ近い位置にすることによって、バッテリ200と点Aとの間の電源ハーネス51の抵抗分による電圧ドロップを、ECU100が計測したインジェクタXの印加電圧の計測値から排除することができる。点Aの電圧値は、ハーネス52と端子Bを介してメインCPU11のA/D入力ポートAD1に入力され、メインCPU11に内蔵のA/Dコンバータによってデジタル値に変換される。入力ポートAD1側はハイインピーダンスなことによりハーネス52にはほとんど電流が流れないため、ハーネス52の抵抗分による電圧ドロップは無視することができる。メインCPU11のA/Dコンバータ用のGND(グランド)端子は、ECU100の内部のグランド線を介してECU100のアース端子である端子E01に直接接続されている。端子E01はグランドハーネス50によってバッテリ200のマイナス端子や車体金属部に接続されている。したがって、メインCPU11は、バッテリ200と点Aとの間の電源ハーネス51の抵抗分やバッテリ200と端子E01との間のグランドハーネス50の抵抗分等に影響されずに、端子E01基準で点Aの電圧(インジェクタXの印加電圧)を精度良く計測していることになる。
In order to accurately measure the voltage actually applied to the injector X, the point A on the
ところで、車両の開発段階においては、開発効率等を考慮するため、その後の市販段階では複数の異機能を複数の異なるECUで実現する場合であっても、それらの異機能を実現する単一の試作ECUを使用して開発や評価が行われる場合がある。また、例えば工場出荷後に機能拡張可能なように、その拡張機能を実現する回路が実装されたサブ基板が予めECUに内蔵されていたり、そのようなサブ基板をECUに追加取り付け可能なように構成されていたりする場合がある。このような機能の増減に対応するため、ECU100は、サブ基板20とサブ基板30を取り付け/取り外し可能なように構成されている。 By the way, in the vehicle development stage, in order to consider development efficiency and the like, even in the case where a plurality of different functions are realized by a plurality of different ECUs in the subsequent commercial stage, a single function that realizes those different functions is provided. Development and evaluation may be performed using a prototype ECU. Further, for example, a sub-board on which a circuit that realizes the extended function is mounted is built in the ECU in advance so that the function can be expanded after factory shipment, or such a sub-board can be additionally attached to the ECU. It may be done. In order to cope with such an increase / decrease in functions, the ECU 100 is configured so that the sub-board 20 and the sub-board 30 can be attached / removed.
ECU100の筐体内に取り付けられたサブ基板20には、インジェクタYを駆動する回路が実装されている。インジェクタYの駆動回路は、サブCPU1、トランジスタ22及び保護抵抗23を構成している。サブCPU1は、メインCPU11と同様のマイクロコンピュータである。トランジスタ22は、インジェクタYを駆動する駆動素子であって、上述と同様に、サブCPU1の出力ポートP3から出力信号の電圧レベルによって駆動する。トランジスタ22がオンしているときに、インジェクタXと同一電源であるバッテリ200から電源ハーネス51を介してインジェクタYに電流が流れる。なお、抵抗23は、過電流に対する保護抵抗であり、無くてもよい。
A circuit for driving the injector Y is mounted on the sub-board 20 attached in the casing of the ECU 100. The drive circuit for the injector Y constitutes a sub CPU 1, a
同様に、ECU100の筐体に取り付けられたサブ基板30には、インジェクタZを駆動する回路が実装されている。インジェクタZの駆動回路は、サブCPU2、トランジスタ32及び保護抵抗33を構成している。サブCPU2は、メインCPU11と同様のマイクロコンピュータである。トランジスタ32は、インジェクタZを駆動する駆動素子であって、上述と同様に、サブCPU2の出力ポートP4から出力信号の電圧レベルによって駆動する。トランジスタ32がオンしているときに、インジェクタXと同一電源であるバッテリ200から電源ハーネス51を介してインジェクタZに電流が流れる。なお、抵抗33は、過電流に対する保護抵抗であり、無くてもよい。
Similarly, a circuit for driving the injector Z is mounted on the sub-board 30 attached to the casing of the
メインCPU11とサブCPU1とサブCPU2は、互いに通信可能なように通信ライン60を介して各CPUの通信ポートで結ばれる。通信ライン60は、例えば、CANバスである。通信ライン60を介して接続されることによって、メインCPU11は、どのサブ基板がECU100に取り付けられているのかを判断することができる。
The
ところが、低抵抗のインジェクタYを駆動するサブ基板20や低抵抗のインジェクタZを駆動するサブ基板30を追加する場合、各基板のアースを端子E01に接続することによりアースを共用化すると、各インジェクタを流れた大電流はすべて端子E01を介してグランドハーネス50を流れる構成となる。この場合、各インジェクタの大電流が端子E01を介して流れることによって、グランドハーネス50の抵抗分や接触抵抗による電圧が発生し、バッテリ200のマイナス端子基準の端子E01の電圧が変動する。その結果、メイン基板10上のCPU11が端子E01基準で計測した点Aの電圧計測値が変動することになり、サブ基板の追加又は削減前後でその計測値は異なってしまう。つまり、ECU100は、バッテリ200のマイナス端子基準の点Aの電圧が何ら変動していなくても、バッテリ200のマイナス端子基準の端子E01の電圧が変動することによって、端子E01基準の点Aの電圧の計測値がずれてしまい、インジェクタXの通電時間を精度良く制御できないおそれがある。
However, when the sub-board 20 for driving the low-resistance injector Y and the sub-board 30 for driving the low-resistance injector Z are added, the ground is shared by connecting the ground of each board to the terminal E01. The large current that flows through the
そこで、本実施形態のECU100は、シャント抵抗14とボルテージフォロア15によって、各基板の共用アースであるグランドE01の浮き電圧を検出する。シャント抵抗14は、各インジェクタを流れた電流がグランドE01に流れ込む電流を電圧に変換するための低抵抗値の抵抗素子である。シャント抵抗14は、グランドE01に直列に挿入される。シャント抵抗14の抵抗値は、インジェクタXの印加電圧の計測値の精度に影響を与えないように、インジェクタX,Y,Zの抵抗値や保護抵抗13,23,33の抵抗値に比べ、極めて小さい値とする。サブ基板20がグランドE01に取り付けられた場合にはシャント抵抗14の上流側の点Fに接続され、サブ基板30がグランドE01に取り付けられた場合にはシャント抵抗14の上流側の点Gに接続される。インジェクタXを流れた電流は、ECU100の端子V1からトランジスタ12によって吸い込まれ、シャント抵抗14を介して、端子E01から吐き出される。サブ基板20をECU100に取り付けた場合にインジェクタYに流れた電流は、ECU100の端子V2からトランジスタ22によって吸い込まれ、シャント抵抗14を介して、端子E01から吐き出される。サブ基板20をECU100に取り付けた場合にインジェクタZに流れた電流は、ECU100の端子V3からトランジスタ32によって吸い込まれ、シャント抵抗14を介して、端子E01から吐き出される。
Therefore, the
トランジスタ12,22,32とシャント抵抗14との間の点Eの電圧値は、ボルテージフォロア15を介してメインCPU11のA/D入力ポートAD2に入力され、メインCPU11に内蔵のA/Dコンバータによってデジタル値に変換される。これによって、メインCPU11は、シャント抵抗14の両端電圧、すなわち、グランドE01の浮き電圧を計測可能となる。なお、シャント抵抗14の下流側の点Hは、点Hと端子E01との間に生ずる電圧の影響をできるだけ排除するために、できるだけ端子E01に近いほうがよい。
The voltage value at the point E between the
図2は、メインCPU11が実行する、サブ基板有無の確認処理フローである。イグニッションスイッチの状態が確認され(ステップ100)、オン状態である場合にはステップ110に移行し、オフ状態である場合には本フローは終了する。ステップ110において、CAN通信の受信有無によってサブ基板(サブCPU)の接続有無が確認される。CAN通信に含まれる基板IDに基づいてサブCPU1が接続されているか否かが判断され(ステップ120)、サブCPU1に係る基板IDが含まれている場合にはサブCPU1が接続されているとして、サブCPU1の接続状態を示すフラグであるF_SUBCPU1をオンとし(ステップ130)、サブCPU1に係る基板IDが含まれていない場合にはサブCPU1が接続されていないとして、F_SUBCPU1をオフとする(ステップ135)。ステップ140において、サブCPU1からのCAN通信による通信データが取得される。
FIG. 2 is a flowchart of processing for confirming the presence / absence of a sub-board executed by the
また、CAN通信に含まれる基板IDに基づいてサブCPU2が接続されているか否かが判断され(ステップ150)、サブCPU2に係る基板IDが含まれている場合にはサブCPU2が接続されているとして、サブCPU2の接続状態を示すフラグであるF_SUBCPU2をオンとし(ステップ160)、サブCPU2に係る基板IDが含まれていない場合にはサブCPU2が接続されていないとして、F_SUBCPU2をオフとする(ステップ165)。ステップ170において、サブCPU2からのCAN通信による通信データが取得される。ステップ170の終了後にステップ100に戻る。
Further, it is determined whether or not the sub CPU 2 is connected based on the board ID included in the CAN communication (step 150). If the board ID related to the sub CPU 2 is included, the sub CPU 2 is connected. F_SUBCPU2 that is a flag indicating the connection state of the sub CPU 2 is turned on (step 160), and if the board ID related to the sub CPU 2 is not included, the sub CPU 2 is not connected and the F_SUBCPU 2 is turned off ( Step 165). In
なお、ステップ140及びステップ170において各サブCPUから取得される通信データには、各サブCPUの制御状態が含まれている。その制御状態として、例えば、各基板を区別するための符号である基板ID、各サブCPUの動作モード(例えば、通常使用状態を示す標準モードか故障解析等のためのテストモードかの区別)、ダイアグ情報(異常検出有無の区別)、走行状態(例えば、加速中や減速中などの非定常モードか定速走行中などの定常モードかの区別)が挙げられる。
Note that the communication data acquired from each sub CPU in
図3は、メインCPU11が実行する、サブCPUの正常動作の確認処理フローである。イグニッションスイッチの状態が確認され(ステップ200)、オン状態である場合にはステップ210に移行し、オフ状態である場合には本フローは終了する。ステップ210においてF_SUBCPU1がオンであるか否かが確認されるとともに、ステップ220において図2のステップ140で取得された通信データに基づいてサブCPU1の状態が確認される。F_SUBCPU1がオンであり、且つ、サブCPU1が標準モード且つ正常(異常検出無し)且つ定常モードである場合にはサブCPU1が正常動作しているとして、サブCPU1の動作状態を示すフラグであるF_CPU1をオンとし(ステップ230)、F_SUBCPU1がオフ又はサブCPU1が標準モード等ではない場合にはサブCPU1が正常動作していないとして、F_CPU1をオフとする(ステップ235)。
FIG. 3 is a flowchart for confirming the normal operation of the sub CPU executed by the
一方、ステップ240においてF_SUBCPU2がオンであるか否かが確認されるとともに、ステップ250において図2のステップ170で取得された通信データに基づいてサブCPU2の状態が確認される。F_SUBCPU2がオンであり、且つ、サブCPU2が標準モード且つ正常(異常検出無し)且つ定常モードである場合にはサブCPU2が正常動作しているとして、サブCPU2の動作状態を示すフラグであるF_CPU2をオンとし(ステップ260)、F_SUBCPU2がオフ又はサブCPU2が標準モード等ではない場合にはサブCPU2が正常動作していないとして、F_CPU2をオフとする(ステップ265)。
On the other hand, in
図4は、メインCPU11が実行する、接続されているサブ基板を特定する処理フローである。イグニッションスイッチの状態が確認され(ステップ300)、オン状態である場合にはステップ310に移行し、オフ状態である場合には本フローは終了する。ステップ310において、F_SUBCPU1がオンであるか否かが確認される。F_SUBCPU1がオンである場合にはサブCPU1が接続されているとして、ステップ320に移行する。F_SUBCPU1がオフである場合にはサブCPU1が接続されていないとして、ステップ420に移行する。ステップ320において、F_SUBCPU2がオンであるか否かが確認される。F_SUBCPU2がオンである場合にはサブCPU2が接続されているとして、ステップ330に移行する。F_SUBCPU2がオフである場合にはサブCPU2が接続されていないとして、ステップ335に移行する。一方、ステップ420において、F_SUBCPU2がオンであるか否かが確認される。F_SUBCPU2がオンである場合にはサブCPU2が接続されているとして、ステップ430に移行する。F_SUBCPU2がオフである場合にはサブCPU2が接続されていないとして、ステップ435に移行する。
FIG. 4 is a process flow executed by the
したがって、F_SUBCPU1がオン且つF_SUBCPU2がオンの場合には、サブ基板20及び30が接続されているとして、どのサブ基板が接続しているのかを示すフラグであるF_KIBANを「11」とする。F_SUBCPU1がオン且つF_SUBCPU2がオフの場合には、サブ基板20のみが接続されているとして、F_KIBANを「10」とする。F_SUBCPU1がオフ且つF_SUBCPU2がオンの場合には、サブ基板30のみが接続されているとして、F_KIBANを「01」とする。F_SUBCPU1がオフ且つF_SUBCPU2がオフの場合には、サブ基板は接続されていないとして、F_KIBANを「00」とする。 Therefore, when F_SUBCPU1 is on and F_SUBCPU2 is on, it is assumed that sub-boards 20 and 30 are connected, and F_KIBAN that is a flag indicating which sub-board is connected is set to “11”. When F_SUBCPU1 is on and F_SUBCPU2 is off, it is assumed that only the sub-board 20 is connected, and F_KIBAN is set to “10”. When F_SUBCPU1 is off and F_SUBCPU2 is on, it is assumed that only the sub-board 30 is connected, and F_KIBAN is set to “01”. When F_SUBCPU1 is off and F_SUBCPU2 is off, the sub-board is not connected and F_KIBAN is set to “00”.
図5は、メインCPU11が実行する、インジェクタXの印加電圧として計測される+B電圧の補正方法を定めるためのフラグを決定する処理フローを示す。イグニッションスイッチの状態が確認され(ステップ500)、オン状態である場合にはステップ510に移行し、オフ状態である場合には本フローは終了する。ステップ510において、F_KIBANの値が確認される。F_KIBAN=11である場合にはステップ520に移行し、F_KIBAN=10である場合にはステップ620に移行し、F_KIBAN=01である場合にはステップ720に移行し、F_KIBAN=00である場合にはステップ735に移行する。
FIG. 5 shows a processing flow executed by the
ステップ520において、F_CPU1がオン且つF_CPU2がオンの場合には、+B電圧の補正方法を定めるためのフラグであるF_HOSEIを「11」とする(ステップ530)。F_CPU1とF_CPU2の少なくとも一方がオンではない場合には、F_HOSEIを「00」とする(ステップ535)。
If F_CPU1 is on and F_CPU2 is on in
ステップ620において、F_CPU1がオンの場合には、F_HOSEIを「10」とする(ステップ630)。F_CPU1がオンではない場合には、F_HOSEIを「00」とする(ステップ635)。
In
ステップ720において、F_CPU2がオンの場合には、F_HOSEIを「01」とする(ステップ730)。F_CPU2がオンではない場合には、F_HOSEIを「00」とする(ステップ735)。
In
図6は、メインCPU11が実行する、+B電圧の補正処理フローである。イグニッションスイッチの状態が確認され(ステップ800)、オン状態である場合にはステップ810に移行し、オフ状態である場合には本フローは終了する。本フローは、所定の周期で繰り返される。
FIG. 6 is a + B voltage correction process flow executed by the
ステップ810において、ポートAD1を介してインジェクタXの印加電圧として計測される+B電圧値AD1が取得されるとともに、ポートAD2を介してグランドE01の浮き電圧値AD2が取得される。さらにまた、メインCPU11のキャプチャ入力P2を介して、エンジン回転センサなどからエンジン回転数NE(I)が取得される。
In step 810, the + B voltage value AD1 measured as the applied voltage of the injector X is acquired via the port AD1, and the floating voltage value AD2 of the ground E01 is acquired via the port AD2. Furthermore, the engine speed NE (I) is acquired from an engine speed sensor or the like via the capture input P2 of the
ステップ820において、F_HOSEIの値が確認される。F_HOSEIの値に応じて、+B電圧の補正方法を異ならせる。
In
ステップ820においてF_HOSEI=00(OTHER)の場合には、サブ基板20及び30が取り付けられていないとして、又は、サブ基板20又は30が取り付けられていたとしてもサブCPU1又はサブCPU2が正常動作していないとして、+B電圧の補正を実施しない。
If F_HOSEI = 00 (OTHER) in
したがって、ECU100は、サブ基板20及び30が取り付けられていない場合(すなわち、メイン基板10のみ取り付けられている場合)、又は、サブ基板20又は30が取り付けられていたとしてもサブCPU1又はサブCPU2が正常動作していない場合、ステップ810において計測された+B電圧値AD1及びエンジン回転数NE(I)に応じて(+B電圧の補正をせずにそのまま)、+B電圧値AD1及びエンジン回転数NE(I)とインジェクタXの通電時間との関係を定めるマップや演算式に従って、インジェクタXの通電時間を変化させる。
Therefore, the
ステップ820においてF_HOSEI=11の場合には、サブ基板20及び30が共に取り付けられているとともにサブCPU1及びサブCPU2が共に正常動作しているとして、『AD2H11=AD2−AD200』が演算される(ステップ830)。ここで、AD200は、サブ基板20及び30が取り付けられていない場合にポートAD2を介して検出されたグランドE01の浮き電圧値AD2である。AD200は、サブ基板20及び30が取り付けられていない状態で予め検出され、メモリ等に記憶されている。したがって、AD2とAD200の差分であるAD2H11は、サブ基板20及び30が接続された場合に発生するグランドE01の浮き電圧の変動量に相当する。ステップ830によって演算されたAD2H11は、ステップ810においてAD1及びAD2が取得された時のNE(I)とともに、NE(I)毎にメモリに格納される(ステップ830)。すなわち、サブ基板20及び30が取付けられている場合にNE(I)に相当する回転数において発生するグランドE01の浮き電圧の変動量AD2H11がメモリに格納される。
If F_HOSEI = 11 in
ここで、ステップ810において計測された+B電圧値AD1から変動量AD2H11を引くことによって、サブ基板20及び30がグランドE01に取り付けられたことにより変動量AD2H11増加した+B電圧値AD1を精度よく補正することができる。したがって、ECU100は、サブ基板20及び30が取り付けられるとともにサブCPU1及びサブCPU2が共に正常動作している場合、ステップ810において計測された+B電圧値AD1(ステップ830において演算されたAD2H11の反映値)及びエンジン回転数NE(I)に応じて、上記の+B電圧の補正をしない場合と同じマップや演算式に従って、インジェクタXの通電時間を変化させる。
Here, by subtracting the fluctuation amount AD2H11 from the + B voltage value AD1 measured in step 810, the + B voltage value AD1 increased by the fluctuation amount AD2H11 due to the sub boards 20 and 30 being attached to the ground E01 is accurately corrected. be able to. Therefore, when the sub boards 20 and 30 are attached and the sub CPU 1 and the sub CPU 2 are both operating normally, the
ステップ820においてF_HOSEI=10の場合には、サブ基板20のみが取り付けられているとともにサブCPU1は正常動作しているとして、『AD2H10=AD2−AD200』が演算される(ステップ930)。したがって、AD2とAD200の差分であるAD2H10は、サブ基板20のみが接続された場合に発生するグランドE01の浮き電圧の変動量に相当する。ステップ930によって演算されたAD2H10は、ステップ810においてAD1及びAD2が取得された時のNE(I)とともに、NE(I)毎にメモリに格納される(ステップ930)。すなわち、サブ基板20のみが取付けられている場合にNE(I)に相当する回転数において発生するグランド浮き電圧の変動量AD2H10がメモリに格納される。
If F_HOSEI = 10 in
ここで、ステップ810において計測された+B電圧値AD1から変動量AD2H10を引くことによって、サブ基板20がグランドE01に取り付けられたことにより変動量AD2H10増加した+B電圧値AD1を精度よく補正することができる。したがって、ECU100は、サブ基板20のみが取り付けられているとともにサブCPU1が正常動作している場合、ステップ810において計測された+B電圧値AD1(ステップ930において演算されたAD2H10の反映値)及びエンジン回転数NE(I)に応じて、上記の+B電圧の補正をしない場合と同じマップや演算式に従って、インジェクタXの通電時間を変化させる。
Here, by subtracting the fluctuation amount AD2H10 from the + B voltage value AD1 measured in step 810, the + B voltage value AD1 increased by the fluctuation amount AD2H10 due to the sub-board 20 being attached to the ground E01 can be accurately corrected. it can. Therefore, when only the sub board 20 is attached and the sub CPU 1 is operating normally, the
ステップ820においてF_HOSEI=01の場合には、サブ基板30のみが取り付けられているとともにサブCPU2は正常動作しているとして、『AD2H01=AD2−AD200』が演算される(ステップ1030)。したがって、AD2とAD200の差分であるAD2H01は、サブ基板30のみが接続された場合に発生するグランドE01の浮き電圧の変動量に相当する。ステップ1030によって演算されたAD2H01は、ステップ810においてAD1及びAD2が取得された時のNE(I)とともに、NE(I)毎にメモリに格納される(ステップ1030)。すなわち、追加基板30のみが取付けられている場合にNE(I)に相当する回転数において発生するグランド浮き電圧の変動量AD2H01がメモリに格納される。
If F_HOSEI = 01 in
ここで、ステップ810において計測された+B電圧値AD1から変動量AD2H01を引くことによって、サブ基板30がグランドE01に取り付けられたことにより変動量AD2H01増加した+B電圧値AD1を精度よく補正することができる。したがって、ECU100は、サブ基板30のみが取り付けられているとともにサブCPU2が正常動作している場合、ステップ810において計測された+B電圧値AD1(ステップ1030において演算されたAD2H01の反映値)及びエンジン回転数NE(I)に応じて、上記の+B電圧の補正をしない場合と同じマップや演算式に従って、インジェクタXの通電時間を変化させる。
Here, by subtracting the fluctuation amount AD2H01 from the + B voltage value AD1 measured in step 810, the + B voltage value AD1 increased by the fluctuation amount AD2H01 due to the sub-board 30 being attached to the ground E01 can be accurately corrected. it can. Therefore, when only the sub board 30 is attached and the sub CPU 2 is operating normally, the
なお、メインCPU11は、通信ライン60を介してNE(I)毎のグランドE01の浮き電圧の変動量(あるいは、その変動量を反映した+B電圧値AD1)をサブCPU1及びサブCPU2に送信する。サブCPU1及びサブCPU2は、その送信情報に基づいて、上記同様のマップや演算式に従って、インジェクタY及びインジェクタZの通電時間を精度良く制御することができる。
Note that the
したがって、上述の実施例によれば、メインCPU11は、各サブ基板の取り付け有無状態に応じたエンジン回転毎のグランド浮き電圧の変動値を取得している。そのため、サブ基板の増減によってグランドに流れる電流が増減してグランド浮きが発生したとしても、精度良く+B電圧値AD1の計測値の補正をすることができる。また、エンジン回転数の変動に応じてグランドE01の浮き電圧の変動量が変化しても、精度良く+B電圧値AD1の計測値の補正をすることができる。その結果、サブ基板の増減によって、共用グランドE01に流れる電流が変動しても、自動的にその増減を検出し+B電圧値の補正を自動的に実行することができるとともに、インジェクタの適合も自動的に継続実行することができる。
Therefore, according to the above-described embodiment, the
また、上述の実施例によれば、電源ハーネス51等の配線の長さが変化しても、自動的に+B電圧の補正を行うことができる。
Further, according to the above-described embodiment, the + B voltage can be automatically corrected even if the length of the wiring such as the
以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。 The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.
例えば、上述の実施例では、本発明に係る電気負荷としてエンジンに燃料を噴射するためのインジェクタを具体例に挙げたが、インジェクタ以外の電気負荷でもよい。本発明は、電気負荷の印加電圧を計測するシステムであってアースの共用化によりグランド浮きが生じるものに適用すると効果的である。 For example, in the above-described embodiment, an injector for injecting fuel into the engine as an electric load according to the present invention is given as a specific example, but an electric load other than the injector may be used. The present invention is effective when applied to a system that measures an applied voltage of an electric load and causes ground floating due to common use of ground.
また、サブ基板の数は、上述の実施例に限らず、増減してもよい。 Further, the number of sub-boards is not limited to the above-described embodiment, and may be increased or decreased.
1,2 サブCPU
10 メイン基板
11 メインCPU
14 シャント抵抗
20,30 サブ基板
50 グランドハーネス
51 電源ハーネス
100 ECU
200 バッテリ
X,Y,Z インジェクタ
1, 2 Sub CPU
10
14 Shunt resistor 20, 30 Sub-board 50
200 battery X, Y, Z injector
Claims (8)
アースを前記プロセッサと共用し、前記アースとの取り付け/取り外しが可能なサブ基板と、を有する車両用制御装置であって、
前記アースの浮き電圧を検出する浮き電圧検出手段を備え、
前記プロセッサは、前記サブ基板が前記アースに取り付けられたときに前記浮き電圧検出手段によって検出された前記アースの浮き電圧に基づいて、前記印加電圧の計測値を補正することを特徴とする、車両用制御装置。 A main board on which a processor for measuring an applied voltage of an electric load is mounted;
A vehicular control device comprising: a sub-board that shares a ground with the processor and is attachable / detachable to / from the ground;
Floating voltage detection means for detecting the floating voltage of the ground,
The processor corrects the measured value of the applied voltage based on the floating voltage of the ground detected by the floating voltage detection means when the sub-board is attached to the ground. Control device.
前記プロセッサは、前記通信回路と通信することによって前記サブ基板と前記アースとの取り付け/取り外しの状態を判断する、請求項1から4のいずれかに記載の車両用制御装置。 A communication circuit capable of communicating with the processor is mounted on the sub-board,
5. The vehicle control device according to claim 1, wherein the processor determines an attachment / detachment state of the sub-board and the ground by communicating with the communication circuit. 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006306929A JP2008121580A (en) | 2006-11-13 | 2006-11-13 | Vehicular control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006306929A JP2008121580A (en) | 2006-11-13 | 2006-11-13 | Vehicular control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008121580A true JP2008121580A (en) | 2008-05-29 |
Family
ID=39506594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006306929A Pending JP2008121580A (en) | 2006-11-13 | 2006-11-13 | Vehicular control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008121580A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013036589A (en) * | 2011-08-10 | 2013-02-21 | Honda Motor Co Ltd | Automatic transmission controller |
-
2006
- 2006-11-13 JP JP2006306929A patent/JP2008121580A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013036589A (en) * | 2011-08-10 | 2013-02-21 | Honda Motor Co Ltd | Automatic transmission controller |
CN102954205A (en) * | 2011-08-10 | 2013-03-06 | 本田技研工业株式会社 | Control apparatus for automatic transmission |
US8977453B2 (en) | 2011-08-10 | 2015-03-10 | Honda Motor Co., Ltd | Control apparatus for automatic transmission |
CN102954205B (en) * | 2011-08-10 | 2015-04-29 | 本田技研工业株式会社 | Control apparatus for automatic transmission |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7281522B1 (en) | Acceleration sensor status detecting apparatus | |
JP6664322B2 (en) | Universal control and evaluation unit, especially for the operation of lambda sensors | |
JP3988609B2 (en) | Oxygen sensor abnormality detection device | |
JP2009504044A (en) | Method and apparatus for inspecting a first voltage value | |
JP5506641B2 (en) | Control device | |
JP4327720B2 (en) | Sensor, controller and method for monitoring at least one sensor | |
JPH09304481A (en) | Onboard screening apparatus | |
KR20070064851A (en) | Apparatus for detecting output signal of electric apparatus of car | |
JP2008121580A (en) | Vehicular control device | |
US20090153143A1 (en) | Sensor array for detecting the state of a battery | |
CN103869142B (en) | Method and apparatus for monitoring signal level | |
JP4517490B2 (en) | Sensor device | |
JP2011121545A (en) | On-vehicle control device | |
US6377180B1 (en) | Circuit for evaluating thermocouple measurement signals | |
JP2012153197A (en) | Ground fault countermeasure device of onboard electrical equipment system | |
JP2007069741A (en) | Car-mounted electronic control device | |
JP2008534344A (en) | Protection system | |
EP1365252B1 (en) | Current direction detection | |
US6690269B2 (en) | Control unit for internal combustion engine | |
JPH02165069A (en) | Abnormality detector for electric circuit | |
KR101003366B1 (en) | Chassis ground open sensing apparatus of automobile | |
JPH10332422A (en) | Device and method for electronic measurement | |
JP5391754B2 (en) | Air flow meter | |
CN115803699A (en) | Device for automatically detecting coupling between electronic devices | |
JP5445417B2 (en) | Signal processing device |