JP2008121580A - Vehicular control device - Google Patents

Vehicular control device Download PDF

Info

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
Application number
JP2006306929A
Other languages
Japanese (ja)
Inventor
Yoshito Nakaya
義人 中家
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2006306929A priority Critical patent/JP2008121580A/en
Publication of JP2008121580A publication Critical patent/JP2008121580A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a vehicular control device capable of correcting a measured value measured by a processor mounted on a main base board, even if the number of sub-base boards using the earth in common with the main base board is increased and decreased. <P>SOLUTION: This vehicular control device has the main base board 10 mounted with a main CPU 11 measuring impression voltage of an injector X, and the sub-base boards 20 and 30 using the earth E01 in common with the main CPU 11 and installable on and removable from the earth E01. The vehicular control device is characterized in that the main CPU 11 detects floating voltage of the earth E01 by a shunt resistance 14, and corrects the measured value of the impression voltage of the injector X based on the floating voltage of the earth E01 detected when the sub-base boards 20 and 30 are installed on the earth E01. <P>COPYRIGHT: (C)2008,JPO&INPIT

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参照)。この電子機器は、プロセッサコアの処理負荷に応じて、電源電圧を調整する手段を備えるものである。
特開2005−216136号公報
2. Description of the Related Art Conventionally, an electronic device including a processor core that operates by receiving supply of a power supply voltage from a voltage control power supply is known (for example, see Patent Document 1). This electronic device includes means for adjusting the power supply voltage according to the processing load of the processor core.
JP 2005-216136 A

しかしながら、アース(グランド)をメイン基板と共用するサブ基板を取り付け又は取り外し可能な構成にする場合、サブ基板を流れた電流がグランドに流れることによるメイン基板のグランド浮きが発生するため、上述の従来技術では、メイン基板に実装されるプロセッサが計測した計測値がサブ基板を取り付け又は取り外しする前後で変動するおそれがある。   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 “ECU 100”). In the casing of the ECU 100, a plurality of substrates (for example, a printed circuit board, a ceramic substrate, and a silicon single crystal plate) on which predetermined circuits are respectively mounted are formed so as to be attachable therein.

ECU100の筐体内に取り付けられたメイン基板10には、インジェクタXを駆動する回路が実装されている。インジェクタXの駆動回路は、メインCPU11,トランジスタ12及び保護抵抗13を備えている。   A circuit for driving the injector X is mounted on the main board 10 attached in the casing of the ECU 100. The drive circuit for the injector X includes a main CPU 11, a transistor 12, and a protective resistor 13.

メイン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 main CPU 11 is a microcomputer (processor) including a CPU (central processing unit) that performs calculation and control, a memory that stores data, and an I / O unit that performs input and output with the outside. The transistor 12 is a drive element (for example, IGBT or MOSFET) that drives the injector X. An output signal output from the output port P 1 of the main CPU 11 is input to the transistor 12. The transistor 12 is turned on / off according to the Hi level voltage and Lo level voltage of the output signal. The transistor 12 is turned on when the output port P1 is at the Hi level, and the transistor 12 is turned off when the output port P1 is at the Lo level. When the transistor 12 is on, a current flows from the positive terminal of the battery 200 to the injector X via the power supply harness 51. The resistor 13 is a protective resistor against overcurrent and may not be provided.

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 ECU 100 needs to accurately measure the voltage actually applied to the injector X in order to accurately control the energization time of the injector.

インジェクタ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 power supply harness 51 as close as possible to the injector X and the terminal B of the ECU 100 are connected via the harness 52. By making the point A as close as possible to the injector X, the voltage drop due to the resistance of the power harness 51 between the battery 200 and the point A is excluded from the measured value of the applied voltage of the injector X measured by the ECU 100. Can do. The voltage value at the point A is input to the A / D input port AD1 of the main CPU 11 via the harness 52 and the terminal B, and is converted into a digital value by an A / D converter built in the main CPU 11. Since the input port AD1 side has high impedance, almost no current flows through the harness 52, so that a voltage drop due to the resistance of the harness 52 can be ignored. A GND (ground) terminal for the A / D converter of the main CPU 11 is directly connected to a terminal E01 which is an earth terminal of the ECU 100 via a ground line inside the ECU 100. The terminal E01 is connected to the negative terminal of the battery 200 and the vehicle body metal part by the ground harness 50. Therefore, the main CPU 11 is not affected by the resistance of the power supply harness 51 between the battery 200 and the point A, the resistance of the ground harness 50 between the battery 200 and the terminal E01, and the like. (The voltage applied to the injector X) is accurately measured.

ところで、車両の開発段階においては、開発効率等を考慮するため、その後の市販段階では複数の異機能を複数の異なる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 transistor 22, and a protective resistor 23. The sub CPU 1 is a microcomputer similar to the main CPU 11. The transistor 22 is a drive element that drives the injector Y, and is driven by the voltage level of the output signal from the output port P3 of the sub CPU 1 in the same manner as described above. When the transistor 22 is on, a current flows from the battery 200 having the same power source as the injector X to the injector Y through the power harness 51. The resistor 23 is a protective resistor against overcurrent, and may not be provided.

同様に、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 ECU 100. The drive circuit for the injector Z constitutes a sub CPU 2, a transistor 32, and a protective resistor 33. The sub CPU 2 is a microcomputer similar to the main CPU 11. The transistor 32 is a drive element that drives the injector Z, and is driven by the voltage level of the output signal from the output port P4 of the sub CPU 2 as described above. When the transistor 32 is on, a current flows from the battery 200 having the same power source as the injector X to the injector Z through the power harness 51. The resistor 33 is a protective resistor against overcurrent, and may not be provided.

メインCPU11とサブCPU1とサブCPU2は、互いに通信可能なように通信ライン60を介して各CPUの通信ポートで結ばれる。通信ライン60は、例えば、CANバスである。通信ライン60を介して接続されることによって、メインCPU11は、どのサブ基板がECU100に取り付けられているのかを判断することができる。   The main CPU 11, sub CPU 1, and sub CPU 2 are connected to each other via a communication port 60 via a communication line 60 so that they can communicate with each other. The communication line 60 is, for example, a CAN bus. By connecting via the communication line 60, the main CPU 11 can determine which sub-board is attached to the ECU 100.

ところが、低抵抗のインジェクタ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 ground harness 50 is configured to flow through the ground harness 50 via the terminal E01. In this case, when a large current of each injector flows through the terminal E01, a voltage due to the resistance of the ground harness 50 or a contact resistance is generated, and the voltage at the terminal E01 on the negative terminal basis of the battery 200 varies. As a result, the voltage measurement value at the point A measured by the CPU 11 on the main board 10 on the basis of the terminal E01 varies, and the measurement value differs before and after the addition or reduction of the sub boards. That is, even if the voltage at the negative terminal reference point A of the battery 200 does not change at all, the ECU 100 changes the voltage at the negative terminal reference terminal E01 of the battery 200 to thereby change the voltage at the terminal E01 reference point A. The measured value may be deviated, and the energization time of the injector X may not be accurately controlled.

そこで、本実施形態の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 ECU 100 according to the present embodiment detects the floating voltage of the ground E01, which is a common ground for each substrate, by the shunt resistor 14 and the voltage follower 15. The shunt resistor 14 is a resistance element having a low resistance value for converting the current flowing through each injector into the ground E01 into a voltage. The shunt resistor 14 is inserted in series with the ground E01. The resistance value of the shunt resistor 14 is extremely higher than the resistance values of the injectors X, Y, Z and the resistance values of the protective resistors 13, 23, 33 so as not to affect the accuracy of the measured value of the applied voltage of the injector X. Set to a small value. When the sub board 20 is attached to the ground E01, it is connected to the point F on the upstream side of the shunt resistor 14, and when the sub board 30 is attached to the ground E01, it is connected to the point G on the upstream side of the shunt resistor 14. Is done. The current flowing through the injector X is sucked by the transistor 12 from the terminal V1 of the ECU 100, and discharged from the terminal E01 through the shunt resistor 14. When the sub board 20 is attached to the ECU 100, the current flowing through the injector Y is sucked by the transistor 22 from the terminal V2 of the ECU 100, and discharged from the terminal E01 via the shunt resistor 14. When the sub board 20 is attached to the ECU 100, the current flowing through the injector Z is sucked by the transistor 32 from the terminal V3 of the ECU 100, and discharged from the terminal E01 via the shunt resistor 14.

トランジスタ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 transistors 12, 22, 32 and the shunt resistor 14 is input to the A / D input port AD2 of the main CPU 11 via the voltage follower 15, and by an A / D converter built in the main CPU 11. Converted to a digital value. As a result, the main CPU 11 can measure the voltage across the shunt resistor 14, that is, the floating voltage of the ground E01. The point H on the downstream side of the shunt resistor 14 should be as close as possible to the terminal E01 in order to eliminate as much as possible the influence of the voltage generated between the point H and the terminal E01.

図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 main CPU 11. The state of the ignition switch is confirmed (step 100). If it is in the on state, the process proceeds to step 110. If it is in the off state, this flow ends. In step 110, whether or not a sub-board (sub CPU) is connected is confirmed based on whether or not CAN communication is received. It is determined whether or not the sub CPU 1 is connected based on the board ID included in the CAN communication (step 120). If the board ID related to the sub CPU 1 is included, the sub CPU 1 is connected. F_SUBCPU1, which is a flag indicating the connection state of the sub CPU 1, is turned on (step 130). If the board ID related to the sub CPU 1 is not included, the sub CPU 1 is not connected and the F_SUB CPU 1 is turned off (step 135). ). In step 140, communication data by CAN communication from the sub CPU 1 is acquired.

また、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 step 170, communication data by CAN communication from the sub CPU 2 is acquired. After completion of step 170, the process returns to step 100.

なお、ステップ140及びステップ170において各サブCPUから取得される通信データには、各サブCPUの制御状態が含まれている。その制御状態として、例えば、各基板を区別するための符号である基板ID、各サブCPUの動作モード(例えば、通常使用状態を示す標準モードか故障解析等のためのテストモードかの区別)、ダイアグ情報(異常検出有無の区別)、走行状態(例えば、加速中や減速中などの非定常モードか定速走行中などの定常モードかの区別)が挙げられる。   Note that the communication data acquired from each sub CPU in step 140 and step 170 includes the control state of each sub CPU. As the control state, for example, a substrate ID which is a code for distinguishing each substrate, an operation mode of each sub CPU (for example, distinction between a standard mode indicating a normal use state or a test mode for failure analysis), Diagnostic information (distinguishment of presence / absence of abnormality detection), traveling state (for example, distinction between unsteady mode such as during acceleration and deceleration or steady mode such as during constant speed traveling).

図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 main CPU 11. The state of the ignition switch is confirmed (step 200). If it is in the on state, the process proceeds to step 210. If it is in the off state, this flow ends. In step 210, it is confirmed whether or not F_SUBCPU1 is on, and in step 220, the state of the sub CPU 1 is confirmed based on the communication data acquired in step 140 of FIG. When F_SUBCPU1 is on and the sub CPU 1 is in the standard mode, normal (no abnormality detection), and steady mode, the sub CPU 1 is assumed to be operating normally, and F_CPU1, which is a flag indicating the operating state of the sub CPU 1, is set. When the F_SUBCPU1 is off or the sub CPU1 is not in the standard mode or the like, the F_CPU1 is turned off because the sub CPU1 is not operating normally (step 235).

一方、ステップ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 step 240, it is confirmed whether or not F_SUBCPU2 is on, and in step 250, the state of the sub CPU 2 is confirmed based on the communication data acquired in step 170 of FIG. When the F_SUBCPU2 is on, and the sub CPU2 is in the normal mode, normal (no abnormality detection), and steady mode, the sub CPU 2 is assumed to be operating normally, and F_CPU2, which is a flag indicating the operation state of the sub CPU 2, is set. If the F_SUBCPU2 is off or the sub CPU2 is not in the standard mode or the like, the F_CPU2 is turned off because the sub CPU2 is not operating normally (step 265).

図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 main CPU 11 to identify connected sub-boards. The state of the ignition switch is confirmed (step 300). If it is in the on state, the process proceeds to step 310, and if it is in the off state, this flow ends. In step 310, it is confirmed whether F_SUBCPU1 is on. If F_SUBCPU1 is on, it is determined that the sub CPU1 is connected and the process proceeds to step 320. If F_SUBCPU1 is off, the sub-CPU1 is not connected and the process proceeds to step 420. In step 320, it is confirmed whether F_SUBCPU2 is on. If F_SUBCPU2 is on, it is determined that the sub CPU2 is connected and the process proceeds to step 330. If F_SUBCPU2 is off, the sub CPU2 is not connected and the process proceeds to step 335. On the other hand, in step 420, it is confirmed whether or not F_SUBCPU2 is on. If F_SUBCPU2 is on, it is determined that the sub CPU2 is connected and the process proceeds to step 430. If F_SUBCPU2 is off, the sub CPU2 is not connected and the process proceeds to step 435.

したがって、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 main CPU 11 for determining a flag for determining a correction method for the + B voltage measured as the applied voltage of the injector X. The state of the ignition switch is confirmed (step 500). If it is in the on state, the process proceeds to step 510. If it is in the off state, this flow ends. In step 510, the value of F_KIBAN is confirmed. If F_KIBAN = 11, the process proceeds to step 520. If F_KIBAN = 10, the process proceeds to step 620. If F_KIBAN = 01, the process proceeds to step 720. If F_KIBAN = 00, the process proceeds to step 720. Control goes to step 735.

ステップ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 step 520, F_HOSEI, which is a flag for determining the + B voltage correction method, is set to “11” (step 530). If at least one of F_CPU1 and F_CPU2 is not on, F_HOSEI is set to “00” (step 535).

ステップ620において、F_CPU1がオンの場合には、F_HOSEIを「10」とする(ステップ630)。F_CPU1がオンではない場合には、F_HOSEIを「00」とする(ステップ635)。   In step 620, if F_CPU1 is on, F_HOSEI is set to “10” (step 630). If F_CPU1 is not on, F_HOSEI is set to “00” (step 635).

ステップ720において、F_CPU2がオンの場合には、F_HOSEIを「01」とする(ステップ730)。F_CPU2がオンではない場合には、F_HOSEIを「00」とする(ステップ735)。   In step 720, if F_CPU2 is on, F_HOSEI is set to “01” (step 730). If F_CPU2 is not on, F_HOSEI is set to “00” (step 735).

図6は、メインCPU11が実行する、+B電圧の補正処理フローである。イグニッションスイッチの状態が確認され(ステップ800)、オン状態である場合にはステップ810に移行し、オフ状態である場合には本フローは終了する。本フローは、所定の周期で繰り返される。   FIG. 6 is a + B voltage correction process flow executed by the main CPU 11. The state of the ignition switch is confirmed (step 800). If it is in the on state, the process proceeds to step 810. If it is in the off state, this flow ends. This flow is repeated at a predetermined cycle.

ステップ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 main CPU 11.

ステップ820において、F_HOSEIの値が確認される。F_HOSEIの値に応じて、+B電圧の補正方法を異ならせる。   In step 820, the value of F_HOSEI is confirmed. Depending on the value of F_HOSEI, the + B voltage correction method is varied.

ステップ820においてF_HOSEI=00(OTHER)の場合には、サブ基板20及び30が取り付けられていないとして、又は、サブ基板20又は30が取り付けられていたとしてもサブCPU1又はサブCPU2が正常動作していないとして、+B電圧の補正を実施しない。   If F_HOSEI = 00 (OTHER) in step 820, it is assumed that the sub boards 20 and 30 are not attached, or the sub CPU 1 or sub CPU 2 is operating normally even if the sub boards 20 or 30 are attached. If not, the + B voltage is not corrected.

したがって、ECU100は、サブ基板20及び30が取り付けられていない場合(すなわち、メイン基板10のみ取り付けられている場合)、又は、サブ基板20又は30が取り付けられていたとしてもサブCPU1又はサブCPU2が正常動作していない場合、ステップ810において計測された+B電圧値AD1及びエンジン回転数NE(I)に応じて(+B電圧の補正をせずにそのまま)、+B電圧値AD1及びエンジン回転数NE(I)とインジェクタXの通電時間との関係を定めるマップや演算式に従って、インジェクタXの通電時間を変化させる。   Therefore, the ECU 100 determines that the sub CPU 1 or the sub CPU 2 is not attached when the sub boards 20 and 30 are attached (that is, when only the main board 10 is attached), or even if the sub board 20 or 30 is attached. When not operating normally, according to the + B voltage value AD1 and the engine speed NE (I) measured in step 810 (without correcting the + B voltage), the + B voltage value AD1 and the engine speed NE ( The energization time of the injector X is changed in accordance with a map or an arithmetic expression that defines the relationship between I) and the energization time of the injector X.

ステップ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 step 820, “AD2H11 = AD2-AD200” is calculated on the assumption that both the sub-boards 20 and 30 are attached and the sub-CPU 1 and sub-CPU 2 are operating normally (step 2). 830). Here, AD200 is a floating voltage value AD2 of the ground E01 detected through the port AD2 when the sub-boards 20 and 30 are not attached. The AD 200 is detected in advance without the sub-boards 20 and 30 attached, and stored in a memory or the like. Therefore, AD2H11, which is the difference between AD2 and AD200, corresponds to the amount of change in the floating voltage of the ground E01 that occurs when the sub-boards 20 and 30 are connected. AD2H11 calculated in step 830 is stored in the memory for each NE (I) together with NE (I) when AD1 and AD2 are acquired in step 810 (step 830). That is, the fluctuation amount AD2H11 of the floating voltage of the ground E01 generated at the rotation speed corresponding to NE (I) when the sub-boards 20 and 30 are attached is stored in the memory.

ここで、ステップ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 ECU 100 detects the + B voltage value AD1 measured in step 810 (the reflected value of AD2H11 calculated in step 830). And according to the engine speed NE (I), the energization time of the injector X is changed according to the same map and calculation formula as those in the case where the correction of the + B voltage is not performed.

ステップ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 step 820, “AD2H10 = AD2-AD200” is calculated assuming that only the sub board 20 is attached and the sub CPU 1 is operating normally (step 930). Therefore, AD2H10, which is the difference between AD2 and AD200, corresponds to the amount of change in the floating voltage of the ground E01 that occurs when only the sub-board 20 is connected. AD2H10 calculated in step 930 is stored in the memory for each NE (I) together with NE (I) when AD1 and AD2 are acquired in step 810 (step 930). That is, the fluctuation amount AD2H10 of the ground floating voltage generated at the rotational speed corresponding to NE (I) when only the sub-board 20 is attached is stored in the memory.

ここで、ステップ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 ECU 100 detects the + B voltage value AD1 measured in step 810 (the reflected value of AD2H10 calculated in step 930) and the engine rotation. In accordance with the number NE (I), the energization time of the injector X is changed according to the same map and calculation formula as in the case where the correction of the + B voltage is not performed.

ステップ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 step 820, “AD2H01 = AD2-AD200” is calculated assuming that only the sub board 30 is attached and the sub CPU 2 is operating normally (step 1030). Therefore, AD2H01, which is the difference between AD2 and AD200, corresponds to the amount of change in the floating voltage of the ground E01 that occurs when only the sub-board 30 is connected. AD2H01 calculated in step 1030 is stored in the memory for each NE (I) together with NE (I) when AD1 and AD2 are acquired in step 810 (step 1030). That is, the fluctuation amount AD2H01 of the ground floating voltage generated at the rotation speed corresponding to NE (I) when only the additional substrate 30 is attached is stored in the memory.

ここで、ステップ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 ECU 100 detects the + B voltage value AD1 measured in step 810 (the reflected value of AD2H01 calculated in step 1030) and the engine rotation. In accordance with the number NE (I), the energization time of the injector X is changed according to the same map and calculation formula as in the case where the correction of the + B voltage is not performed.

なお、メインCPU11は、通信ライン60を介してNE(I)毎のグランドE01の浮き電圧の変動量(あるいは、その変動量を反映した+B電圧値AD1)をサブCPU1及びサブCPU2に送信する。サブCPU1及びサブCPU2は、その送信情報に基づいて、上記同様のマップや演算式に従って、インジェクタY及びインジェクタZの通電時間を精度良く制御することができる。   Note that the main CPU 11 transmits the fluctuation amount of the floating voltage of the ground E01 for each NE (I) (or + B voltage value AD1 reflecting the fluctuation amount) to the sub CPU 1 and the sub CPU 2 via the communication line 60. Based on the transmission information, the sub CPU 1 and the sub CPU 2 can accurately control the energization time of the injector Y and the injector Z according to the same map and arithmetic expression as described above.

したがって、上述の実施例によれば、メインCPU11は、各サブ基板の取り付け有無状態に応じたエンジン回転毎のグランド浮き電圧の変動値を取得している。そのため、サブ基板の増減によってグランドに流れる電流が増減してグランド浮きが発生したとしても、精度良く+B電圧値AD1の計測値の補正をすることができる。また、エンジン回転数の変動に応じてグランドE01の浮き電圧の変動量が変化しても、精度良く+B電圧値AD1の計測値の補正をすることができる。その結果、サブ基板の増減によって、共用グランドE01に流れる電流が変動しても、自動的にその増減を検出し+B電圧値の補正を自動的に実行することができるとともに、インジェクタの適合も自動的に継続実行することができる。   Therefore, according to the above-described embodiment, the main CPU 11 obtains the fluctuation value of the ground floating voltage for each engine rotation according to whether or not each sub-board is attached. Therefore, even if the current flowing to the ground increases or decreases due to the increase or decrease of the sub-board and the ground floating occurs, the measurement value of the + B voltage value AD1 can be corrected with high accuracy. Even if the amount of change in the floating voltage of the ground E01 changes according to the change in the engine speed, the measurement value of the + B voltage value AD1 can be corrected with high accuracy. As a result, even if the current flowing through the common ground E01 fluctuates due to the increase / decrease in the sub-board, the increase / decrease can be automatically detected and the + B voltage value can be automatically corrected, and the injector can be automatically adapted Can be executed continuously.

また、上述の実施例によれば、電源ハーネス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 power supply harness 51 is changed.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。   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.

本発明に係る車両用制御装置の一実施形態である。It is one Embodiment of the control apparatus for vehicles which concerns on this invention. メインCPU11が実行する、サブ基板有無の確認処理フローである。It is a confirmation processing flow for the presence or absence of a sub-board executed by the main CPU 11. メインCPU11が実行する、サブCPUの正常動作の確認処理フローである。It is a confirmation processing flow of the normal operation of the sub CPU executed by the main CPU 11. メインCPU11が実行する、接続されているサブ基板を特定する処理フローである。It is the processing flow which specifies the connected sub board | substrate which the main CPU11 performs. メインCPU11が実行する、インジェクタXの印加電圧として計測される+B電圧の補正方法を定めるためのフラグを決定する処理フローを示す。The processing flow which determines the flag for determining the correction method of + B voltage measured as the applied voltage of the injector X which the main CPU11 performs is shown. メインCPU11が実行する、+B電圧の補正処理フローである。It is a + B voltage correction processing flow executed by the main CPU 11.

符号の説明Explanation of symbols

1,2 サブCPU
10 メイン基板
11 メインCPU
14 シャント抵抗
20,30 サブ基板
50 グランドハーネス
51 電源ハーネス
100 ECU
200 バッテリ
X,Y,Z インジェクタ
1, 2 Sub CPU
10 Main board 11 Main CPU
14 Shunt resistor 20, 30 Sub-board 50 Ground harness 51 Power harness 100 ECU
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に記載の車両用制御装置。   2. The floating voltage detection unit detects the floating voltage of the ground by detecting a voltage between both ends of a resistor inserted in series downstream from a position where the sub-board is attached to the ground. Vehicle control device. 前記印加電圧の計測値の補正量は、前記サブ基板が前記アースに取り付けられる前後で前記浮き電圧検出手段によって検出される前記アースの浮き電圧の差である、請求項1又は2に記載の車両用制御装置。   The vehicle according to claim 1 or 2, wherein the correction amount of the measured value of the applied voltage is a difference in floating voltage of the ground detected by the floating voltage detection means before and after the sub-board is attached to the ground. Control device. 前記浮き電圧検出手段は、前記プロセッサに内蔵のA/Dコンバータである、請求項1から3のいずれかに記載の車両用制御装置。   The vehicle control device according to claim 1, wherein the floating voltage detection means is an A / D converter built in the processor. 前記サブ基板には前記プロセッサと通信可能な通信回路が実装され、
前記プロセッサは、前記通信回路と通信することによって前記サブ基板と前記アースとの取り付け/取り外しの状態を判断する、請求項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.
前記プロセッサは、前記サブ基板の制御状態に応じて前記計測値を補正する、請求項1から5のいずれかに記載の車両用制御装置。   The vehicle control device according to claim 1, wherein the processor corrects the measurement value according to a control state of the sub-board. 前記電気負荷は、燃料噴射用インジェクタである、請求項1から6のいずれかに記載の車両用制御装置。   The vehicle control device according to claim 1, wherein the electric load is a fuel injection injector. 前記プロセッサは、エンジンの回転数の違いに応じて前記計測値を補正する、請求項7に記載の車両用制御装置。   The vehicle control device according to claim 7, wherein the processor corrects the measurement value according to a difference in engine speed.
JP2006306929A 2006-11-13 2006-11-13 Vehicular control device Pending JP2008121580A (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013036589A (en) * 2011-08-10 2013-02-21 Honda Motor Co Ltd Automatic transmission controller

Cited By (4)

* Cited by examiner, † Cited by third party
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