JP4357576B2 - Electronic control unit - Google Patents
Electronic control unit Download PDFInfo
- Publication number
- JP4357576B2 JP4357576B2 JP2008112537A JP2008112537A JP4357576B2 JP 4357576 B2 JP4357576 B2 JP 4357576B2 JP 2008112537 A JP2008112537 A JP 2008112537A JP 2008112537 A JP2008112537 A JP 2008112537A JP 4357576 B2 JP4357576 B2 JP 4357576B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- circuit
- microprocessor
- ignition switch
- turned
- 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
Links
Images
Landscapes
- Combined Controls Of Internal Combustion Engines (AREA)
Description
この発明は、例えば自動車の内燃機関の制御に使用される、データを保持する揮発性のメモリを備えた電子制御装置に関する。 The present invention relates to an electronic control device having a volatile memory for holding data, for example, used for controlling an internal combustion engine of an automobile.
内燃機関において、燃料噴射量や空気量、点火時期などのデータは、ばらつきや経年劣化により予め設定されているデータとの誤差が生じる。このような誤差は電子制御装置内のマイクロプロセッサによって演算され、演算結果を元に燃料噴射量や空気量等の誤差補正を行っている。そしてこのような誤差補正はマイクロプロセッサによって誤差補正データとして揮発性メモリとしての例えばRAMに記憶され、イグニッションスイッチがオフであってバッテリから主電源回路を介して給電されていない状態であっても、RAMはバッテリから副電源回路を介して常時給電されているため誤差補正データは保持される。 In an internal combustion engine, data such as the fuel injection amount, the air amount, and the ignition timing cause an error from preset data due to variations and aging deterioration. Such errors are calculated by a microprocessor in the electronic control unit, and errors such as the fuel injection amount and the air amount are corrected based on the calculation results. Such error correction is stored as error correction data by a microprocessor in, for example, a RAM as a volatile memory, and even when the ignition switch is off and power is not supplied from the battery via the main power supply circuit, Since the RAM is always supplied with power from the battery via the sub power supply circuit, the error correction data is held.
内燃機関に使用されているアクチュエータやセンサ等の故障状況はマイクロプロセッサにより監視し、故障と判断すると故障データをRAMに記憶する。 The failure status of the actuators and sensors used in the internal combustion engine is monitored by a microprocessor, and when it is determined that there is a failure, the failure data is stored in the RAM.
電子制御装置に給電するバッテリは劣化等の理由により交換される場合がある。また、RAMに記憶した故障データを初期化するためにバッテリを取り外すこともある。バッテリから副電源回路を介しての給電が停止された時、給電が停止されている時間によっては消去が不十分な状態となるためRAMに記憶された誤差補正データや故障データは不定値となる。不定値となった誤差補正データや故障データを用いて内燃機関の制御を実施すると、排気ガスの悪化や、ドライバビリティの悪化が発生する。従ってバッテリを再取り付け後に、イグニッションスイッチがオンされる時、マイクロプロセッサでRAMの初期化を行う必要がある。 The battery that supplies power to the electronic control device may be replaced for reasons such as deterioration. Also, the battery may be removed to initialize the failure data stored in the RAM. When power supply from the battery via the sub power supply circuit is stopped, the error correction data and failure data stored in the RAM become indefinite values because the erasure is insufficient depending on the time during which the power supply is stopped. . When control of the internal combustion engine is performed using error correction data and failure data that have become indefinite values, exhaust gas deterioration and drivability deterioration occur. Therefore, when the ignition switch is turned on after the battery is reinstalled, the RAM must be initialized by the microprocessor.
たとえば、特許文献1では、制御データと、制御データの反転したデータとを1組のデータとしてRAMに記憶し、バッテリからの副電源回路を介しての給電が停止された時、給電が停止されている時間によっては消去が不十分な状態となるため、RAMに記憶された誤差補正データは不定値となり、制御データと反転データの反転値が等しくならないことを用いてRAMを初期化する条件としている。
For example, in
上記のような電子制御装置のRAMの初期化判定条件を用いると、バッテリを取り外した際にRAMに記憶された一部のデータのみが不定値となった場合に、制御データと反転データの反転値が等しくなる可能性があり、RAMの初期化が行われず、排気ガスの悪化や、ドライバビリティの悪化するような制御データとなっている可能性があった。 When using the RAM initialization judgment condition as described above, when only a part of the data stored in the RAM becomes indefinite when the battery is removed, the control data and the inverted data are inverted. There is a possibility that the values are equal, and the RAM is not initialized, and there is a possibility that the control data may cause exhaust gas deterioration or drivability deterioration.
また、制御データとともに反転データも記憶する容量が必要となるため、RAMの必要な記憶容量が2倍になってしまっていた。 Further, since the capacity for storing the inverted data as well as the control data is required, the required storage capacity of the RAM has been doubled.
また、制御データと反転データの反転値を比較する処理はイグニッションスイッチをオンした後の内燃機関を始動する前に必要なので、RAMの全領域のデータを比較する必要がある場合もあり、内燃機関が始動可能な状態になるまでに時間を要する場合があった。 Further, since the process of comparing the inverted value of the control data and the inverted data is necessary before starting the internal combustion engine after turning on the ignition switch, it may be necessary to compare the data in the entire area of the RAM. In some cases, it took time for the to start.
この発明は、余分なメモリ容量や時間を必要とせず、速やかに揮発性メモリの初期化の要否を判定する電子制御装置を提供することを目的とする。特に、揮発性メモリへ給電が開始された後の最初のマイクロプロセッサの動作開始時にのみ揮発性メモリの初期化を行うようにしたり、また揮発性メモリへの給電状態に基づき揮発性メモリの初期化の要否を判定するようにした。 An object of the present invention is to provide an electronic control device that quickly determines whether or not a volatile memory needs to be initialized without requiring extra memory capacity or time. In particular, initialization of the volatile memory is performed only when the first microprocessor starts operating after the power supply to the volatile memory is started, or the initialization of the volatile memory is performed based on the power supply state to the volatile memory. Judgment was made on the necessity.
この発明は、バッテリからイグニッションスイッチによって応動する開閉素子と主電源回路を介して給電されて動作するマイクロプロセッサと、上記主電源回路を介して給電されると共に上記バッテリから副電源回路を介して常時給電され、主電源回路から給電されない状態であっても副電源回路からの給電によりデータが保持されて、更新されるデータを一時記憶する揮発性メモリと、を備えた電子制御装置であって、上記バッテリから上記副電源回路を介して上記揮発性メモリへ給電が行われた後の、上記イグニッションスイッチの1回目のオンであることを示す初回起動信号を発生する初回起動信号発生手段と、上記バッテリと上記副電源回路との接続点にバッテリ配線断線検出回路を有し、上記イグニッションスイッチがオンされて上記マイクロプロセッサに上記主電源回路から給電がある状態で、上記バッテリから上記副電源回路を介して上記揮発性メモリへ給電が行われていないことを上記バッテリ配線断線検出回路を通じ検出した場合に副電源給電異常信号を発生する副電源給電異常信号発生手段と、上記初回起動信号に従って、上記揮発性メモリへ給電が行われた後の上記イグニッションスイッチの1回目のオン時に上記揮発性メモリの初期化を行う第1の揮発性メモリ初期化手段と、上記イグニッションスイッチがオンされて上記マイクロプロセッサに上記主電源回路から給電が開始された時に、上記副電源給電異常信号が発生されていれば、上記初回起動信号の状態を無視して上記揮発性メモリの初期化を行う第2の揮発性メモリ初期化手段と、上記副電源給電異常信号に基づきユーザへ警告を発生する副電源給電異常警告手段と、を備え、上記初回起動信号発生手段は上記イグニッションスイッチがオフしている状態で、上記副電源の給電が一旦切られてから再接続され、その後に上記イグニッションスイッチが再びオンしたことを示す第1レベルにより1回目のオンであることを記憶し、その後この記憶に基づき上記マイクロプロセッサに上記初回起動信号となる信号を発生し、上記第1レベルを第2レベルとすることにより2回目以降と判断できるように動作するラッチ手段を有し、上記第1の揮発性メモリ初期化手段は上記初回起動信号に基づいて上記揮発性メモリの初期化を行い、上記イグニッションスイッチがオンしている状態で、上記マイクロプロセッサが上記副電源給電異常信号発生手段の発生する副電源給電異常信号に従い、上記副電源給電異常と判定した場合に、上記第2の揮発性メモリ初期化手段を動作させない初期化禁止手段をさらに備え、上記副電源給電異常警告手段が、上記初期化禁止手段により上記第2の揮発性メモリ初期化手段を動作させない場合にも、上記イグニッションスイッチがオンされている状態での上記副電源給電異常信号に基づき、ユーザへ警告を発生し、上記初回起動信号発生手段は上記ラッチ手段を構成するラッチ回路と判定回路とラッチセット回路によって構成され、上記ラッチ回路は上記イグニッションスイッチがオフしている状態で、上記バッテリの接続が一旦切られてから再接続され、その後に上記イグニッションスイッチが再びオンしたときに出力信号が上記第1レベルのリセット状態となる記憶回路であり、上記判定回路は上記記憶回路の出力信号の論理レベルを判定して上記マイクロプロセッサに上記初回起動信号となる判定信号を入力する回路であり、上記ラッチセット回路は上記マイクロプロセッサが発生したセット指令信号によって、上記ラッチ回路に対してセット信号を供給して上記第2レベルの出力信号にする回路であり、上記第1の揮発性メモリ初期化手段は上記ラッチ回路と判定回路を介して入力された上記初回起動信号に基づいて上記揮発性メモリの初期化を行ってから、上記ラッチセット回路を介して上記ラッチ回路をセットし、上記初期化禁止手段は、上記副電源給電異常信号発生手段が発生する副電源給電異常信号に従い、上記マイクロプロセッサが副電源給電異常信号と判定した時に、上記イグニッションスイッチがオンした直後の初回動作では上記第2の揮発性メモリ初期化手段が有効とし、上記イグニッションスイッチがオンしている状態で上記副電源給電異常信号が発生した場合には上記第2の揮発性メモリ初期化手段を動作させないことを特徴とする電子制御装置にある。
The present invention provides an open / close element that is actuated by an ignition switch from a battery, a microprocessor that is supplied with power through a main power supply circuit, and a power that is supplied through the main power supply circuit and is always supplied from the battery through a sub power supply circuit. An electronic control device comprising: a volatile memory that temporarily stores data that is supplied and supplied with power from the sub power supply circuit even when the power is supplied and not supplied from the main power supply circuit; An initial activation signal generating means for generating an initial activation signal indicating that the ignition switch is turned on for the first time after power is supplied from the battery to the volatile memory via the sub power supply circuit; A battery wire disconnection detection circuit is provided at the connection point between the battery and the sub power circuit, and the ignition switch is turned on. When the microprocessor is supplied with power from the main power supply circuit and the battery wiring disconnection detection circuit detects that power is not supplied from the battery to the volatile memory via the secondary power supply circuit. Sub-power supply abnormality signal generating means for generating a power supply abnormality signal, and initialization of the volatile memory when the ignition switch is turned on for the first time after power is supplied to the volatile memory in accordance with the initial activation signal. A first volatile memory initialization means for performing the above-described operation, and if the secondary power supply abnormality signal is generated when the ignition switch is turned on and the power supply to the microprocessor is started from the main power supply circuit, Second volatile memory initializing means for initializing the volatile memory ignoring the state of the initial activation signal, and the sub power supply Sub power supply abnormality warning means for generating a warning to the user based on the abnormality signal, and the initial activation signal generating means is in a state where the power supply of the sub power supply is once turned off in a state where the ignition switch is turned off. A first level indicating that the ignition switch is turned on again after the reconnection is stored. Then, the first on is memorized based on this memory, and then the first start signal is generated in the microprocessor based on this memorization. The first volatile memory initialization means has a latch means that operates so that it can be determined as the second or later time by setting the first level to the second level, and the first volatile memory initialization means is volatile based on the initial activation signal. When the memory is initialized and the ignition switch is on, the microprocessor generates the sub power supply abnormal signal. The sub-power supply abnormality warning means further includes an initialization prohibiting means that does not operate the second volatile memory initialization means when the sub-power supply abnormality is determined according to the sub-power supply abnormality signal generated by the means. However, even when the second volatile memory initialization unit is not operated by the initialization prohibition unit, a warning is generated to the user based on the sub power supply power supply abnormality signal with the ignition switch turned on. The initial activation signal generating means includes a latch circuit, a determination circuit, and a latch set circuit that constitute the latch means. The latch circuit temporarily disconnects the battery while the ignition switch is off. And then the output signal is reset to the first level when the ignition switch is turned on again. The determination circuit is a circuit for determining the logic level of the output signal of the storage circuit and inputting the determination signal to be the initial activation signal to the microprocessor, and the latch set circuit is A circuit for supplying a set signal to the latch circuit according to a set command signal generated by the microprocessor to generate an output signal of the second level, wherein the first volatile memory initialization means is the latch circuit; The initialization of the volatile memory is performed based on the initial activation signal input through the determination circuit, and then the latch circuit is set through the latch set circuit. In accordance with the sub power supply power supply abnormality signal generated by the sub power supply power supply abnormality signal generating means, when the microprocessor determines that it is a sub power supply power supply abnormality signal, In the initial operation immediately after the ignition switch is turned on, the second volatile memory initialization means is valid, and when the sub power supply power supply abnormality signal is generated with the ignition switch turned on, the second volatile memory initialization means is activated. The electronic control device is characterized in that the volatile memory initialization means is not operated .
この発明では、余分なメモリ容量や時間を必要とせずに、速やかに揮発性メモリの初期化の要否を判定する。特に、揮発性メモリへ給電が開始された後の最初のイグニッションスイッチがオンされてマイクロプロセッサが動作を開始した時にのみ、揮発性メモリの初期化を行うようにしたり、また揮発性メモリへの給電状態に基づき揮発性メモリの初期化の要否を判定したことにより、揮発性メモリの初期化の効率化が図られた。 In the present invention, the necessity of initializing the volatile memory is quickly determined without requiring extra memory capacity or time. In particular, the volatile memory may be initialized only when the first ignition switch after the power supply to the volatile memory is started and the microprocessor starts to operate, or the power supply to the volatile memory. By determining the necessity of initialization of the volatile memory based on the state, the initialization of the volatile memory was made more efficient.
実施の形態1.
図1はこの発明による電子制御装置を設けた内燃機関の制御系の概略構成図である。内燃機関1において、吸気管131を介して吸入される空気はエアークリーナ130により浄化され、スロットル132により空気量が調整される。この吸入される空気量は吸気管131内に設置された圧力センサ112によって検出される。また、スロットル132の開度を検出するスロットル開度センサ113と、内燃機関1の回転角を検出する内燃機関回転角検出センサ114と、圧力センサ112との検出信号が電子制御装置100に入力され、内燃機関1の状態を認識し、内燃機関1に供給する燃料噴射量を調整する燃料噴射用インジェクタ120や点火装置121が制御される。
FIG. 1 is a schematic configuration diagram of a control system of an internal combustion engine provided with an electronic control device according to the present invention. In the
電子制御装置100は内燃機関1の制御ばらつきを押さえるため、予め記憶しているデータを基に制御ばらつき量の補正データを記憶する機能を有する。また、電子制御装置100は内燃機関1の状態や、圧力センサ112やスロットル開度センサ113等のセンサの故障の判定も行なっており、その故障情報や内燃機関1の状態を警告装置127やサービス用テスタ128を介して外部のユーザ等に伝達する。補正データや故障情報は電子制御装置100内に保持される。さらに電子制御装置100は電源リレー103やイグニッションスイッチ104を介してバッテリ101より給電される。電子制御装置100の符号を付けた各端子は図2のものに対応する。
The
図2は電子制御装置100の構成の一例を示すものである。電子制御装置100にはバッテリ101が、このバッテリ101から常時給電される副電源端子102において接続され、副電源端子102は副電源回路124とダイオード125を介してマイクロプロセッサ200のRAM保持電源端子311に接続されている。
FIG. 2 shows an example of the configuration of the
電子制御装置100にはまた、バッテリ101がイグニッションスイッチ104を介して端子401において接続され、端子401は電流制限抵抗111とダイオード106とを介してトランジスタ109のベースに接続され、トランジスタ109のコレクタは端子105aを介して電源リレー103の電磁コイル103aの一端に接続されていて、電磁コイル103aの他端はバッテリ101に接続されている。トランジスタ109のエミッタは接地されている。イグニッションスイッチ104をオンすることによりトランジスタ109のベースに給電が行われると、電磁コイル103aからトランジスタ109のコレクタに電流が流れて、電源リレー103の開閉素子103bはオン(閉じる)する。開閉素子103bは一端がバッテリ101、他端が主電源端子105に接続され、主電源端子105は主電源回路122を介してマイクロプロセッサ200のVcc端子に接続され、開閉素子103bがオンすることでバッテリ101からマイクロプロセッサ200に給電されてマイクロプロセッサ200は動作を開始する。
The
また、マイクロプロセッサ200が正しく動作している時に端子312より発生するWD信号により、ウォッチドッグタイマ(WDT)回路107は”Hi(H)”レベルを出力し(OUTE信号)、電流制限抵抗110とダイオード108を介してトランジスタ109のベースに”Hi”レベル信号が供給される。従って電磁コイル103aからトランジスタ109のコレクタに電流が流れて、電源リレー103の開閉素子103bはオンする。従ってマイクロプロセッサ200が正しく動作していればイグニッションスイッチ104がオフされてもマイクロプロセッサ200への給電は維持される。そしてイグニッションスイッチ104がオフになったことを示すイグニッションスイッチ信号がデジタル入力I/F(インターフェイス)115を介してマイクロプロセッサ200の端子313に入力されると、マイクロプロセッサ200はイグニッションスイッチ104がオフになったことを認識する。そしてマイクロプロセッサ200のCPU200cは動作停止処理を行い、動作停止処理終了時にWD信号が停止されてウォッチドッグタイマ(WDT)回路107の出力が”Lo(L)”レベルになると、開閉素子103bはオフ(開放)して、主電源端子105を介しての給電は停止される。
Also, the watchdog timer (WDT)
電子制御装置100はバッテリ101とこれにより常時給電される副電源端子102でも接続されて、副電源回路124とダイオード125を介してマイクロプロセッサ200のRAM保持電源端子311に給電がされていれば、開閉素子103bの状態に関わらず、補正データや故障情報のような更新される回数の多いデータがマイクロプロセッサ200内の揮発性メモリとしての例えばRAM200bに一時記憶される。
The
主電源回路122からマイクロプロセッサ200のVcc端子に給電されている場合は、ダイオード123を介してRAM保持電源端子311にも給電される。尚、ダイオード123、125はトランジスタの論理回路などを用いて構成してもよい。また、マイクロプロセッサ200の内部に示されているRAM200bは、RAM保持電源端子311と同様の端子を有するRAM(破線で示す)をマイクロプロセッサ200の外部に接続するようにしてもよい。
When power is supplied from the main
ラッチ回路201(201a〜201d、300を含む)において、副電源端子102に接続された電流制限抵抗201aはトランジスタ201bのエミッタに接続され、トランジスタ201bのベースはトランジスタ201dのコレクタに接続され、トランジスタ201bのコレクタはトランジスタ201dのベースに接続され、トランジスタ201dのベースにはさらに電流制限抵抗201cが接続され、トランジスタ201dのエミッタは接地されている。そして電流制限抵抗201cに給電が行われれば、電流制限抵抗201cへの給電停止後も、トランジスタ201bと201dはオン状態となり、電流制限抵抗201aを介してトランジスタ201bのエミッタに流れる電流が遮断するまで、トランジスタ201bとトランジスタ201dのオン状態を維持し、ラッチポイント300が”Lo”レベルに保持される。
In the latch circuit 201 (including 201a to 201d and 300), the current limiting resistor 201a connected to the sub
ラッチセット回路203(203a〜203dを含む)において、マイクロプロセッサ200の端子314から出力A303が電流制限抵抗203dを介してトランジスタ203cのベースに接続され、トランジスタ203cのコレクタが電流制限抵抗203bを介してトランジスタ203aのベースに接続され、トランジスタ203cのエミッタは接地されている。トランジスタ203aのコレクタはラッチ回路201の電流制限抵抗201cに接続され、トランジスタ203aのエミッタは主電源回路122に接続されている。マイクロプロセッサ200の端子314からの出力A303が”Hi”レベルを示すとトランジスタ203cと203aは共にオンし、これにより主電源回路122からラッチ回路201の電流制限抵抗201cに給電を行う。
In the latch set circuit 203 (including 203a to 203d), the output A303 from the
ラッチ回路201のトランジスタ201bのエミッタであるラッチポイント300は、副電源端子102から給電されている時にラッチセット回路203により”Lo”レベルにされれば、副電源端子102から給電されている限り”Lo”レベルを維持する。
The
判定回路202(202a〜202dを含む)において、トランジスタ202cのベースには電流制限抵抗202aを介してラッチ回路201のラッチポイント300が接続され、またトランジスタ202cのベース−エミッタ間には電圧分圧抵抗202bが接続され、さらにトランジスタ202cのエミッタは接地されている。トランジスタ202cのコレクタは電位固定抵抗202dの一端およびマイクロプロセッサ200の入力A301の端子315に接続されている。また電位固定抵抗202dの他端は主電源回路122に接続されている。そして主電源回路122が給電状態でラッチポイント300が”Lo”であれば、マイクロプロセッサ200の入力A301は”Hi”レベルとなり、ラッチポイント300が”Hi”であればマイクロプロセッサ200の入力A301は”Lo”レベルとなる。
In the determination circuit 202 (including 202a to 202d), the
バッテリ配線断線検出回路204(204a〜204cを含む)において、バッテリ101が副電源端子102を介して電流制限抵抗204aの一端に接続され、電流制限抵抗204aの他端はトランジスタ204cのベースに接続され、トランジスタ204cのコレクタはマイクロプロセッサ200の入力B302が入力される端子316と電位固定抵抗204bの一端とに接続され、電位固定抵抗204bの他端は主電源回路122に接続される。イグニッションスイッチ104をオンして主電源回路122が給電をしている状態で、バッテリ101が副電源端子102を介して電流制限抵抗204aに給電している時は、マイクロプロセッサ200の入力B302は”Lo”となり、バッテリ101が副電源端子102を介して電流制限抵抗204aに給電していない時はマイクロプロセッサ200の入力B302は”Hi”となり、副電源供給異常が判定できるようになっている。尚、電流制限抵抗204aの接続元は副電源回路124とダイオード125の間でもかまわない。
In the battery wiring disconnection detection circuit 204 (including 204a to 204c), the
さらに外部のスロットル開度センサ113、圧力センサ112、内燃機関回転角検出センサ114が、電子制御装置100の端子402〜404、アナログ入力I/F116、117、デジタル入力I/F118を介してマイクロプロセッサ200の端子317〜319にそれぞれに接続され、スロットル開度センサ信号、圧力センサ信号、内燃機関回転角検出センサ信号を入力する(アナログ信号はマイクロプロセッサ200内でA/D変換されて使用される)。また、外部の燃料噴射用インジェクタ120、点火装置121、警告装置127を、マイクロプロセッサ200の端子320〜322からのインジェクション信号出力304、点火信号出力305、警告信号出力306によりそれぞれ、電流制限抵抗120a、121a、127a、トランジスタ120b、121b、127b、電子制御装置100の端子406〜408を介して制御する。また、マイクロプロセッサ200の端子323と電子制御装置100の端子409間の通信I/F128aを介してサービス用テスタ128と通信を行い、さらにマイクロプロセッサ200の端子324には書き換え可能なROM126が接続されている。
Further, an external
この発明は、バッテリ101からイグニッションスイッチ104によって応動する開閉素子103bと主電源回路122を介して給電されて動作するマイクロプロセッサ200と、バッテリ101から副電源回路124を介して常時給電され、更新される回数の多いデータを一時記憶する不揮発性のRAM200bとを備え、主電源回路122から給電されていない状態であっても副電源回路124からの給電によってRAM200bのデータが保持される電子制御装置100に関するものである。このような構成の装置の場合、バッテリ101が取り外されてしまうと、その間はRAM200bにおける消去が不十分な状態となることが起こり得る。このような不十分なデータの消去はデータを不確定なものにする。そこでこのような不確定なRAM200bのデータを制御に用いないようにするために、バッテリ101を副電源回路124に接続し、RAM200bに給電が行われた後のイグニッションスイッチ104の1回目のオンと2回目以降のオンとを判別するための初回起動信号(1回目のオンを示す)を発生するようにし、マイクロプロセッサ200の起動時に、RAMの初期化を行なうか否かの判定を行うためにこの初回起動信号を用いるようにした。そしてマイクロプロセッサ200は、RAM200bに給電が行われた後のイグニッションスイッチ104の1回目のオンであれば、RAMの初期化を行なうようにした。
In the present invention, the switching element 103b that is actuated by the
初回起動信号の発生に関し、バッテリ101が副電源端子102に接続されて副電源回路124から給電が行われるようになってからイグニッションスイッチ104の1回目のオンでは、マイクロプロセッサ200の入力A301は”Lo”レベルであり、イグニッションスイッチ104の1回目のオンの時にマイクロプロセッサ200によりラッチポイント300を”Lo”レベルにさせた後のイグニッションスイッチ104の2回目以降のオンでは、マイクロプロセッサ200の入力A301は”Hi”レベルになり、マイクロプロセッサ200が、副電源端子102からバッテリ101により給電が行われてからイグニッションスイッチ104の1回目のオンか2回目以降のオンかを、マイクロプロセッサ200への入力A301(初回起動信号)のレベルが異なることにより認識できるようにしたものである。1回目のオンを示す初回起動信号は、入力A301が”Lo”レベルの信号となる。
Regarding the generation of the initial activation signal, when the
またこの発明は、イグニッションスイッチ104がオンされてマイクロプロセッサ200に主電源回路122から給電がある状態で、バッテリ101から副電源回路124を介して給電されていない状態(副電源回路124にバッテリ101が接続されていない状態)を示す副電源給電異常信号を発生するようにし、これに従ってRAMの初期化を行なったり、警告の発生を行ったりする。
In the present invention, the
副電源給電異常信号の発生に関し、イグニッションスイッチ104がオンされて主電源回路122が給電をしている状態で、バッテリ101が副電源端子102を介して電流制限抵抗204aに給電している時(副電源回路124にバッテリ101が接続された状態)は、マイクロプロセッサ200の入力B302は”Lo”レベルとなり、バッテリ101が副電源端子102を介して電流制限抵抗204aに給電していない時(副電源回路124にバッテリ101が接続されていない状態)はマイクロプロセッサ200の入力B302は”Hi”レベルとなる。副電源回路124を介して給電されていない状態(副電源回路124にバッテリ101が接続されていない状態)を示す副電源給電異常信号は、入力B302が”Hi”レベルの信号となる。
Regarding the generation of the sub power supply abnormality signal, when the
また初回起動信号は、バッテリ101が副電源端子102に接続されたことを前提として、その後のイグニッションスイッチ104の1回目のオンと2回目以降のオンで異なるレベルの信号となるが、バッテリ101が副電源端子102に接続されていない状態では判定回路202のトランジスタ202cはオフとなり、マイクロプロセッサ200の入力A301は”Hi”レベルとなり、2回目以降のオンと判定してしまう。そこで上述の副電源給電異常信号により、バッテリ101が副電源端子102に接続されていないことがマイクロプロセッサ200の入力B302の状態により判定できるようにしたため、副電源給電異常と判定した場合は初回起動信号による判定は無効にしてRAMの初期化を行なうようにマイクロプロセッサ200が判断するようにする。
The initial activation signal is a signal at a different level depending on whether the
また副電源給電異常警告は、マイクロプロセッサ200の警告信号出力306と電流制限抵抗127aとトランジスタ127bにより行われ、マイクロプロセッサ200が副電源給電異常を判定したとき、電子制御装置100の外部に設置された警告装置127に信号を送り、ユーザに警告を促したり、また、マイクロプロセッサ200の端子324に接続された書き換え可能なROM(又は不揮発性RAMであってもよい)126に記憶して、通信I/F128aを介して外部のサービス用テスタ128に副電源給電異常であることが判るコードを転送する。ROM(又は不揮発性RAM)126は副電源端子102に給電されていない状態でもデータを記憶可能なメモリである。
The sub power supply power supply abnormality warning is issued by the warning signal output 306 of the
なお、初回起動信号発生手段がラッチ回路201と判定回路202とラッチセット回路203とマイクロプロセッサ200(CPU200c)で構成され、副電源給電異常信号発生手段がバッテリ配線断線検出回路204とマイクロプロセッサ200(CPU200c)とで構成され、揮発性メモリ初期化手段および第2の揮発性メモリ初期化手段がマイクロプロセッサ200(CPU200c)で構成され、副電源給電異常警告手段がマイクロプロセッサ200(CPU200c)と電流制限抵抗127aとトランジスタ127bと警告装置127で構成され、副電源給電異常記憶手段がマイクロプロセッサ200(CPU200c)とROM(又は不揮発性RAM)126で構成される。
Note that the initial activation signal generating means includes a
図3はこの発明における電子制御装置のマイクロプロセッサの処理を示すフローチャートであり、イグニッションスイッチ104がオフからオンになってマイクロプロセッサ200にバッテリ101から主電源回路122を介して給電があり、マイクロプロセッサ200が動作を開始した以降に実行される処理である。
FIG. 3 is a flowchart showing the processing of the microprocessor of the electronic control device according to the present invention. The
ステップS1においてマイクロプロセッサ200の動作開始又は継続動作が判定され、ステップS2でマイクロプロセッサ200の入力B302のレベルが”Hi”レベルと判定された場合には、ステップS3でバッテリ101から副電源端子102に給電されておらず副電源給電異常と判定して、ステップS4でRAM200bの初期化の処理を行う。尚、ステップS4の処理後にも、後述のステップS8の出力A303のレベルを”Hi”レベルにする処理を実施してもよい。
If it is determined in step S1 that the
ステップS2において、マイクロプロセッサ200の入力B302のレベルが”Lo”レベルと判定された場合には、バッテリ101から副電源端子102に給電されていると判定して、ステップS5に進み、ステップS5でマイクロプロセッサ200の入力A301の状態を確認する処理を行い、マイクロプロセッサ200の入力A301のレベルが”Lo”レベルの場合には、ステップS6でイグニッションスイッチ104の1回目のオンかつバッテリ101から副電源端子102に給電されていると判定し、マイクロプロセッサ200はステップS7のRAM200bの初期化の処理を行なってからステップS8に進み、出力A303のレベルを”Hi”レベルにする。また、ステップS5でマイクロプロセッサ200の入力A301のレベルが”Hi”レベルの場合には、ステップS9でイグニッションスイッチ104の2回目以降のオンかつバッテリ101から副電源端子102に給電されていると判定する。尚、ステップS9の処理後に、ステップS8の出力A303のレベルを”Hi”にする処理を実施してもよい。
If it is determined in step S2 that the level of the input B302 of the
そしてその後、マイクロプロセッサ200に主電源回路122から給電がある通常の制御時において、ステップS12でイグニッションスイッチ104のオン/オフ状態を判定して、オフであれば処理を終了する。ステップS10でマイクロプロセッサ200の入力B302のレベルが”Hi”レベルと判定され、バッテリ101から副電源端子102に給電されていないと判定された場合には、RAMの初期化は行わずに、ステップS11で副電源給電異常と判定して、警告や異常の記憶を行い、その後に例えば処理を終了する。動作終了後は、マイクロプロセッサは他の制御プログラムを実行し、所定時間後には再度ステップS1〜S11を実行する。
After that, during normal control in which power is supplied from the main
図4にはバッテリからの給電開始時からの電子制御装置の動作タイミングチャート、図5にはT4〜T5,T8〜T9,およびT10,T13時点でのそれぞれの各信号とマイクロプロセッサの動作の関係図を示す。図4において、給電前、副電源端子102および主電源端子105は”Lo”レベル(無給電状態)にあり、マイクロプロセッサ200は非動作状態、ラッチポイント300、マイクロプロセッサ200の入力A301、入力B302、出力A303はそれぞれ”Lo”レベルにある。時点T1は、バッテリ101の接続による副電源端子102への給電(電圧供給)が開始された状態を示す。これにより副電源端子102は”Hi”レベル(給電状態)になり、これに接続されたラッチポイント300も”Hi”レベルになる。
FIG. 4 is an operation timing chart of the electronic control device from the start of power supply from the battery, and FIG. 5 is a relationship between each signal and the operation of the microprocessor at time T4 to T5, T8 to T9, and T10 and T13. The figure is shown. In FIG. 4, before power feeding, the
時点T2は、イグニッションスイッチ104がオンされることにより、トランジスタ109がオン状態になり電源リレー103の開閉素子103bが閉じ、主電源端子105への給電が開始された状態を示す。これにより主電源端子105は”Hi”レベル(給電状態)になる。時点T3は、主電源回路122を介してマイクロプロセッサ200に給電が行われ、マイクロプロセッサ200が動作を開始した状態を示す。時点T4は、マイクロプロセッサ200の入力A301、入力B302が共に”Lo”レベルであることから、マイクロプロセッサ200が副電源端子102への給電開始後のイグニッションスイッチ104の1回目のオンと判定した状態を示す。副電源端子102からの”Hi”レベル信号によりトランジスタ202c、204cが共にオン状態になるため入力A301、入力B302は共に”Lo”レベルのままとなる。
Time T2 indicates a state in which, by turning on the
時点T5は、マイクロプロセッサ200のRAM200bを初期化し、マイクロプロセッサ200の出力A303が”Hi”レベルに設定され、ラッチポイント300を”Lo”レベルにすることにより、マイクロプロセッサ200の入力A301が”Hi”レベルにされる状態を示す。ここでは、マイクロプロセッサ200は図3のフローチャートのステップS2、S5〜S8に従い、入力B302、入力A301が共に”Lo”レベルなので、RAM200bの初期化、出力A303の”Hi”レベルへの設定を行う。これによりトランジスタ203c、203a、201d、201bかオン状態になり、ラッチポイント300が”Lo”レベルにされる。そしてラッチポイント300が”Lo”レベルにされたことによりトランジスタ202cはオフ状態になり入力A301が”Hi”レベルにされる。なおトランジスタ201b、201dによりラッチポイント300の”Lo”レベルは副電源端子102への給電がなくなるまで保持される。
At time T5, the
時点T6は、イグニッションスイッチ104がオフされたことにより開閉素子103bが開放され主電源端子105への給電が停止された状態を示す。ここでは、イグニッションスイッチ104がオフされたことにより、このことを示すイグニッションスイッチ信号がデジタル入力I/F(インターフェイス)115を介してマイクロプロセッサ200の端子313に入力され、マイクロプロセッサ200がイグニッションスイッチ104がオフになったことを認識するとCPU200cは動作停止処理を行い、動作停止処理終了時にWD信号が停止されてWDT回路107の出力が”Lo”レベルになるとトランジスタ109がオフ状態になり電磁コイル103aの電流が停止され、開閉素子103bは開放されて主電源端子105を介しての給電は停止される。これにより主電源端子105は”Lo”レベル(無給電状態)、マイクロプロセッサ200は非動作状態、主電源端子105に接続された入力A301は”Lo”レベルとなり、出力A303も”Lo”レベルに戻される(図3のステップS12参照)。
Time T6 indicates a state in which the opening / closing element 103b is opened and power supply to the main
時点T7は、イグニッションスイッチ104が再度オンにされ開閉素子103bが閉じて主電源端子105への給電が開始された状態を示す。これにより主電源端子105は”Hi”レベル(給電状態)になり、ラッチポイント300が”Lo”レベルなのでトランジスタ202cはオフ状態にあるため、主電源回路122を介して主電源端子105に接続された入力A301は”Hi”レベルにされる。時点T8は、主電源回路122を介してマイクロプロセッサ200が給電されているため、マイクロプロセッサ200が動作を開始した状態を示す。時点T9は、マイクロプロセッサ200の入力A301が”Hi”レベル、入力B302が”Lo”レベルにあることから、マイクロプロセッサ200が副電源端子102への給電開始後のイグニッションスイッチ104の2回目以降のオンと判定した状態を示す。マイクロプロセッサ200は図3のフローチャートのステップS2、S5、S9に従い、入力A301が”Hi”レベル、入力B302が”Lo”レベルなのでRAM200bの初期化等は行わない。
Time T7 shows a state in which the
時点T10は、通常の制御中にバッテリ配線の断線等の理由により副電源端子102への給電が停止してしまった状態を示す。これにより、副電源端子102は”Lo”レベル(無給電状態)になりトランジスタ204cがオフ状態になったことにより、入力A301、入力B302が共に”Hi”レベルになり、マイクロプロセッサ200は副電源給電異常と判定する。但しこの時は、RAM初期化判定の後なのでRAMの初期化は行わずに、上述の電子制御装置100の外部に設置された警告装置127に警告信号出力306を送り、ユーザに警告を促したり、また、マイクロプロセッサ200の端子324に接続された書き換え可能なROM(又は不揮発性RAM)126に副電源給電異常のデータを記憶して、例えば通信I/F128aを介して外部のサービス用テスタ128に副電源給電異常であることが判るコードを転送する(図3のステップS10〜S11参照)。そして時点T11は、イグニッションスイッチ104がオフされ開閉素子103bが開放され主電源端子105への給電が停止した状態を示す。これにより副電源端子102及び主電源端子105が共に”Lo”レベル(無給電状態)になり、マイクロプロセッサ200は非動作状態となり、入力A301、入力B302及び出力A303が全て”Lo”レベルとなる。
Time T10 indicates a state in which power supply to the sub
時点T12は、イグニッションスイッチ104が再びオンされて開閉素子103bが閉じて主電源端子105への給電が開始される状態を示す。副電源端子102への給電がなくトランジスタ202c、204cが共にオフ状態なので入力A301及び入力B302は共に”Hi”レベルとなる。そして時点T13は、イグニッションスイッチ104がオンされてマイクロプロセッサ200が動作開始したマイクロプロセッサ200のRAM初期化判定時なので、マイクロプロセッサ200が判定を行い、入力A301及び入力B302が共に”Hi”レベルであるので、副電源給電異常と判定しさらにRAMを初期化する状態を示す(図3のステップS3〜S4参照)。
Time T12 indicates a state in which the
なお図3のステップS3においてRAMの初期化と同時に、図3のステップS11と同様に、上述の副電源給電異常に関する警告信号出力306を送り、ユーザに警告を促したり、また、ROM(又は不揮発性RAM)126に副電源給電異常のデータを記憶して、外部のサービス用テスタ128に副電源給電異常であることが判るコードを転送するようにしてもよい。また、副電源給電異常と判定し、RAMの初期化を行ったことを、警告信号出力306として送り、ユーザに警告を促したり、また、ROM(又は不揮発性RAM)126に副電源給電異常のデータとして記憶して、外部のサービス用テスタ128に副電源給電異常であることが判るコードを転送するようにしてもよい。
At the same time as the initialization of the RAM in step S3 in FIG. 3, as in step S11 in FIG. 3, the warning signal output 306 regarding the above-described sub power supply power supply abnormality is sent to alert the user, or the ROM (or nonvolatile memory) The auxiliary power supply abnormality data may be stored in the
このように構成することにより、バッテリ101を接続した後のイグニッションスイッチ104が1回目のオンと2回目以降のオンを速やかに判定して、必要な時にRAMを初期化することができる。また、主電源端子105への給電がある時に、副電源端子102に給電されているか否かを確実に検出することができる。さらに、イグニッションスイッチ104をオンした後に副電源端子102に給電されていないときは、イグニッションスイッチ104が1回目のオンであるか否かの判定を無効にしてRAMの初期化を行うことで、不定値となったRAMの制御データを使用せずに内燃機関を制御できる。
By configuring in this way, the
また、副電源端子102に給電されていないことを検知した場合に、副電源端子102に給電されていないことによる不確定な誤差補正データや故障データを記憶しているRAMがイグニッションスイッチ104をオンする度に初期化されることを異常としてユーザに警告することができる。
In addition, when it is detected that power is not supplied to the sub
また、副電源端子102に給電されていないことを検知した場合に、副電源端子102に給電されていないことを、給電されていない状態でもデータを記憶するROMや不揮発性RAMに記憶させることにより、サービス用テスタなどを介して外部に副電源給電異常を知らせることができる。
Further, when it is detected that power is not supplied to the sub
1 内燃機関、100 電子制御装置、101 バッテリ、102 副電源端子、103 電源リレー、103a 電磁コイル、103b 開閉素子、104 イグニッションスイッチ、105 主電源端子、106,108,123,125 ダイオード、107 ウォッチドッグタイマ回路、109,120b,121b,127b,201b,201d,202c,203a,203c,204c トランジスタ、110,111,120a,127a,201a,201c,202a,203b,203d,204a 電流制限抵抗、112 圧力センサ、113 スロットル開度センサ、114 内燃機関回転角検出センサ、115,118 デジタル入力I/F、116,117 アナログ入力I/F、120 燃料噴射用インジェクタ、121 点火装置、122 主電源回路、124 副電源回路、126 書換え可能なROM、127 警告装置、128 サービス用テスタ、128a 通信インターフェイス、130 エアークリーナ、131 吸気管、132 スロットル、200 マイクロプロセッサ、200a ROM、200b RAM、200c CPU、201 ラッチ回路、202 判定回路、202b 電圧分圧抵抗、202d,204b 電位固定抵抗、203 ラッチセット回路、204 バッテリ配線断線検出回路、300 ラッチポイント、301 入力A、302 入力B、303 出力A、304 インジェクション信号出力、305 点火信号出力、306 警告信号出力、311 RAM保持電源端子、312〜324,401〜409 端子。 DESCRIPTION OF SYMBOLS 1 Internal combustion engine, 100 Electronic controller, 101 Battery, 102 Sub power terminal, 103 Power relay, 103a Electromagnetic coil, 103b Open / close element, 104 Ignition switch, 105 Main power terminal, 106, 108, 123, 125 Diode, 107 Watchdog Timer circuit 109, 120b, 121b, 127b, 201b, 201d, 202c, 203a, 203c, 204c Transistor, 110, 111, 120a, 127a, 201a, 201c, 202a, 203b, 203d, 204a Current limiting resistor, 112 Pressure sensor , 113 Throttle opening sensor, 114 Internal combustion engine rotation angle detection sensor, 115, 118 Digital input I / F, 116, 117 Analog input I / F, 120 Fuel injector 1 DESCRIPTION OF SYMBOLS 1 Ignition device, 122 Main power supply circuit, 124 Sub power supply circuit, 126 Rewritable ROM, 127 Warning device, 128 Service tester, 128a Communication interface, 130 Air cleaner, 131 Intake pipe, 132 Throttle, 200 Microprocessor, 200a ROM , 200b RAM, 200c CPU, 201 latch circuit, 202 determination circuit, 202b voltage dividing resistor, 202d, 204b fixed potential resistor, 203 latch set circuit, 204 battery wire disconnection detection circuit, 300 latch point, 301 input A, 302 input B, 303 output A, 304 injection signal output, 305 ignition signal output, 306 warning signal output, 311 RAM holding power supply terminal, 312 to 324, 401 to 409 terminal.
Claims (2)
上記バッテリから上記副電源回路を介して上記揮発性メモリへ給電が行われた後の、上記イグニッションスイッチの1回目のオンであることを示す初回起動信号を発生する初回起動信号発生手段と、
上記バッテリと上記副電源回路との接続点にバッテリ配線断線検出回路を有し、上記イグニッションスイッチがオンされて上記マイクロプロセッサに上記主電源回路から給電がある状態で、上記バッテリから上記副電源回路を介して上記揮発性メモリへ給電が行われていないことを上記バッテリ配線断線検出回路を通じ検出した場合に副電源給電異常信号を発生する副電源給電異常信号発生手段と、
上記初回起動信号に従って、上記揮発性メモリへ給電が行われた後の上記イグニッションスイッチの1回目のオン時に上記揮発性メモリの初期化を行う第1の揮発性メモリ初期化手段と、
上記イグニッションスイッチがオンされて上記マイクロプロセッサに上記主電源回路から給電が開始された時に、上記副電源給電異常信号が発生されていれば、上記初回起動信号の状態を無視して上記揮発性メモリの初期化を行う第2の揮発性メモリ初期化手段と、
上記副電源給電異常信号に基づきユーザへ警告を発生する副電源給電異常警告手段と、
を備え、
上記初回起動信号発生手段は上記イグニッションスイッチがオフしている状態で、上記副電源の給電が一旦切られてから再接続され、その後に上記イグニッションスイッチが再びオンしたことを示す第1レベルにより1回目のオンであることを記憶し、その後この記憶に基づき上記マイクロプロセッサに上記初回起動信号となる信号を発生し、上記第1レベルを第2レベルとすることにより2回目以降と判断できるように動作するラッチ手段を有し、上記第1の揮発性メモリ初期化手段は上記初回起動信号に基づいて上記揮発性メモリの初期化を行い、
上記イグニッションスイッチがオンしている状態で、上記マイクロプロセッサが上記副電源給電異常信号発生手段の発生する副電源給電異常信号に従い、上記副電源給電異常と判定した場合に、上記第2の揮発性メモリ初期化手段を動作させない初期化禁止手段をさらに備え、
上記副電源給電異常警告手段が、上記初期化禁止手段により上記第2の揮発性メモリ初期化手段を動作させない場合にも、上記イグニッションスイッチがオンされている状態での上記副電源給電異常信号に基づき、ユーザへ警告を発生し、
上記初回起動信号発生手段は上記ラッチ手段を構成するラッチ回路と判定回路とラッチセット回路によって構成され、
上記ラッチ回路は上記イグニッションスイッチがオフしている状態で、上記バッテリの接続が一旦切られてから再接続され、その後に上記イグニッションスイッチが再びオンしたときに出力信号が上記第1レベルのリセット状態となる記憶回路であり、
上記判定回路は上記記憶回路の出力信号の論理レベルを判定して上記マイクロプロセッサに上記初回起動信号となる判定信号を入力する回路であり、
上記ラッチセット回路は上記マイクロプロセッサが発生したセット指令信号によって、上記ラッチ回路に対してセット信号を供給して上記第2レベルの出力信号にする回路であり、
上記第1の揮発性メモリ初期化手段は上記ラッチ回路と判定回路を介して入力された上記初回起動信号に基づいて上記揮発性メモリの初期化を行ってから、上記ラッチセット回路を介して上記ラッチ回路をセットし、
上記初期化禁止手段は、上記副電源給電異常信号発生手段が発生する副電源給電異常信号に従い、上記マイクロプロセッサが副電源給電異常信号と判定した時に、上記イグニッションスイッチがオンした直後の初回動作では上記第2の揮発性メモリ初期化手段が有効とし、上記イグニッションスイッチがオンしている状態で上記副電源給電異常信号が発生した場合には上記第2の揮発性メモリ初期化手段を動作させない
ことを特徴とする電子制御装置。 An open / close element that is actuated by an ignition switch from a battery and a microprocessor that is powered and operated via a main power supply circuit, and that is powered via the main power supply circuit and constantly powered from the battery via a secondary power supply circuit. An electronic control device comprising: a volatile memory that temporarily stores data to be updated by holding data by power supply from the sub power circuit even in a state where power is not supplied from the power circuit;
An initial activation signal generating means for generating an initial activation signal indicating that the ignition switch is turned on for the first time after power is supplied from the battery to the volatile memory via the sub power supply circuit;
A battery wiring disconnection detection circuit is provided at a connection point between the battery and the sub power circuit, and the ignition switch is turned on and power is supplied from the main power circuit to the microprocessor. Sub power supply power supply abnormality signal generating means for generating a sub power supply power supply abnormality signal when it is detected through the battery wiring disconnection detection circuit that power supply to the volatile memory is not performed via
First volatile memory initialization means for initializing the volatile memory when the ignition switch is turned on for the first time after power is supplied to the volatile memory in accordance with the initial activation signal;
When the ignition switch is turned on and the power supply to the microprocessor is started from the main power supply circuit, if the sub power supply power supply abnormality signal is generated, the state of the initial activation signal is ignored and the volatile memory is ignored. Second volatile memory initialization means for performing initialization of
Sub power supply power supply abnormality warning means for generating a warning to the user based on the sub power supply power supply abnormality signal,
With
The first activation signal generating means is 1 by a first level indicating that the power supply of the sub power source is once turned off and then reconnected in a state where the ignition switch is turned off, and then the ignition switch is turned on again. It is memorized that it is on for the first time, and after that, based on this memory, a signal to be the first activation signal is generated in the microprocessor, and the first level is set to the second level, so that it can be judged as the second time or later. Latch means for operating, the first volatile memory initialization means initializes the volatile memory based on the initial activation signal,
In a state where the ignition switch is on, when the microprocessor determines that the sub power supply power supply abnormality is in accordance with the sub power supply power supply abnormality signal generated by the sub power supply power supply abnormality signal generating means, the second volatile property is generated. Further comprising an initialization prohibiting means for not operating the memory initializing means,
Even when the sub power supply power supply abnormality warning means does not operate the second volatile memory initialization means by the initialization prohibiting means, the sub power supply power supply abnormality signal in the state where the ignition switch is turned on. To warn the user ,
The initial activation signal generating means includes a latch circuit, a determination circuit, and a latch set circuit that constitute the latch means,
The latch circuit is in a state where the ignition switch is turned off, the battery is once disconnected and then reconnected, and then the output signal is reset to the first level when the ignition switch is turned on again. Memory circuit
The determination circuit is a circuit for determining a logic level of an output signal of the memory circuit and inputting a determination signal to be the initial activation signal to the microprocessor.
The latch set circuit is a circuit that supplies a set signal to the latch circuit according to a set command signal generated by the microprocessor to generate the second level output signal.
The first volatile memory initialization means initializes the volatile memory based on the initial activation signal input via the latch circuit and the determination circuit, and then performs the above-described via the latch set circuit. Set the latch circuit,
In the initial operation immediately after the ignition switch is turned on when the microprocessor determines that the sub power supply power supply abnormality signal is generated according to the sub power supply power supply abnormality signal generated by the sub power supply power supply abnormality signal generation means. The second volatile memory initialization unit is not activated when the second volatile memory initialization unit is enabled and the sub power supply power supply abnormality signal is generated with the ignition switch turned on. An electronic control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008112537A JP4357576B2 (en) | 2008-04-23 | 2008-04-23 | Electronic control unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008112537A JP4357576B2 (en) | 2008-04-23 | 2008-04-23 | Electronic control unit |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004291291A Division JP4158918B2 (en) | 2004-10-04 | 2004-10-04 | Electronic control unit |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2008180234A JP2008180234A (en) | 2008-08-07 |
| JP2008180234A5 JP2008180234A5 (en) | 2008-11-20 |
| JP4357576B2 true JP4357576B2 (en) | 2009-11-04 |
Family
ID=39724294
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008112537A Expired - Fee Related JP4357576B2 (en) | 2008-04-23 | 2008-04-23 | Electronic control unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4357576B2 (en) |
-
2008
- 2008-04-23 JP JP2008112537A patent/JP4357576B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008180234A (en) | 2008-08-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103969543B (en) | State of insulation detection device | |
| JP6353648B2 (en) | Semiconductor abnormality detection circuit | |
| JP2009145077A (en) | Method for processing output signal of atmospheric sensor, and device for controlling vehicle behavior | |
| CN111799759A (en) | Overcurrent protection circuit of vehicle ECU output power supply and its control method | |
| US20240103080A1 (en) | Malfunction detection method and electronic control device capable of detecting malfunction | |
| JP4158918B2 (en) | Electronic control unit | |
| JP5099041B2 (en) | Fuel pump control device | |
| JP4357576B2 (en) | Electronic control unit | |
| JP6579042B2 (en) | Vehicle abnormality determination device | |
| WO2003067349A1 (en) | Load failure diagnosis method and apparatus and load failure processing method and apparatus | |
| JP5920244B2 (en) | Anomaly detection device | |
| KR101832278B1 (en) | Method for diagnosing engine off timer | |
| CN103287357B (en) | Controller of vehicle, vehicle control system and control method for vehicle | |
| KR102053991B1 (en) | Self-diagnosing watchdog monitoring system | |
| JP2004084655A (en) | Engine start control device | |
| JP4958924B2 (en) | Glow plug fault diagnosis device | |
| JP5959238B2 (en) | Vehicle control apparatus and vehicle control method | |
| JP5840532B2 (en) | Fuel injection control system | |
| KR100726595B1 (en) | Restart device and method of engine control unit | |
| KR100587923B1 (en) | Sensor power supply control circuit of electronic control unit | |
| JP5708334B2 (en) | Microcomputer-equipped device | |
| JP2005337735A (en) | Failure diagnosis method for electromagnetic relay | |
| JP4618617B2 (en) | Fault diagnosis device for power supply path of external power supply type controller | |
| KR101744985B1 (en) | ISG Control Method for Preventing Abnormal Engine Start | |
| KR20060108814A (en) | Self-diagnosis circuit of PTC heater |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080423 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090317 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090513 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090609 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090709 |
|
| 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: 20090804 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090804 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120814 Year of fee payment: 3 |
|
| 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: 20120814 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130814 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |