JP2010176541A - Electronic control device for vehicle - Google Patents

Electronic control device for vehicle Download PDF

Info

Publication number
JP2010176541A
JP2010176541A JP2009020448A JP2009020448A JP2010176541A JP 2010176541 A JP2010176541 A JP 2010176541A JP 2009020448 A JP2009020448 A JP 2009020448A JP 2009020448 A JP2009020448 A JP 2009020448A JP 2010176541 A JP2010176541 A JP 2010176541A
Authority
JP
Japan
Prior art keywords
microcomputer
timer
signal
circuit
level
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.)
Withdrawn
Application number
JP2009020448A
Other languages
Japanese (ja)
Inventor
Satoshi Okubo
智 大久保
Makoto Kobayashi
誠 小林
Takahisa Watabiki
貴央 綿引
Kenji Hashimoto
健次 橋本
Akiyoshi Takita
晃良 滝田
Daisuke Furuya
大輔 古家
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2009020448A priority Critical patent/JP2010176541A/en
Publication of JP2010176541A publication Critical patent/JP2010176541A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To diagnose a failure of a timer circuit stably and with high reliability in an electronic control device for vehicle on which the timer circuit performing soak timer operation is mounted. <P>SOLUTION: During a self-shut down period since an ignition switch 9 is turned off until operation of a microcomputer 2 is stopped, output of a wake up signal output from a timer IC4 is checked, and validity of a timer IC internal timer is verified. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、マイクロコンピュータを備えた車両用電子制御装置に関し、特に、マイクロコンピュータの給電停止後の時間を計測して当該時間が設定値に達すると、所定の処理実行のためにマイクロコンピュータを再起動させるタイマ回路を実装された車両用電子制御装置の故障診断(故障検出)の技術に関する。   The present invention relates to an electronic control device for a vehicle equipped with a microcomputer, and in particular, measures the time after power supply stop of the microcomputer and when the time reaches a set value, the microcomputer is restarted for executing predetermined processing. The present invention relates to a technique for failure diagnosis (failure detection) of a vehicle electronic control device in which a timer circuit to be started is mounted.

自動車用エンジンを制御するマイクロコンピュータ(以下、マイコンと略称する)による車両用電子制御装置として、イグニッションスイッチがオフされた時点から所定時間が経過したときに、車両用電子制御装置がエバポガスリークチェック等の所定の処理を自動的に実行するために、イグニッションスイッチのオフによりマイコンへの給電が停止した時点からの経過時間を計時してマイコンを再起動させるソークタイマと云われるタイマ回路を実装されているものが知られている(例えば、特許文献1)。   As a vehicular electronic control device using a microcomputer (hereinafter abbreviated as a microcomputer) for controlling an automobile engine, the vehicular electronic control device checks for an evaporative gas leak when a predetermined time has elapsed since the ignition switch was turned off. In order to automatically execute the predetermined processing, a timer circuit called a soak timer is implemented that measures the elapsed time from when power supply to the microcomputer is stopped by turning off the ignition switch and restarts the microcomputer. The thing is known (for example, patent document 1).

このような車両用電子制御装置では、タイマ回路の機能障害を検出する故障診断を行うことが必要不可欠である。このことに鑑み、マイコンに電力供給を行う主給電手段を作動させるための起動用スイッチ信号(外部起動信号)がアクティブレベルになっている期間中に、タイマ回路の故障診断を行い、起動用スイッチ信号が非アクティブレベルになっている期間中にタイマ回路により主給電手段を作動させてマイコンを起動することができなくなる異常が生じること、起動用スイッチ信号が非アクティブレベルになっても主給電手段がマイコンに電源供給したままになる異常が生じることを、起動用スイッチ信号のアクティブレベル期間中に事前に検知する技術が提案されている(たとえば、特許文献2)。   In such an electronic control device for a vehicle, it is indispensable to perform a failure diagnosis for detecting a functional failure of the timer circuit. In view of this, during the period when the activation switch signal (external activation signal) for operating the main power supply means for supplying power to the microcomputer is at the active level, the timer circuit is diagnosed and the activation switch During the period when the signal is in the inactive level, the main power feeding means is operated by the timer circuit and an abnormality that makes it impossible to start the microcomputer occurs. Even if the start switch signal becomes inactive level, the main power feeding means Has been proposed to detect in advance during the active level period of the activation switch signal that an abnormality that keeps power supplied to the microcomputer occurs (for example, Patent Document 2).

特開2005−226488号公報JP 2005-226488 A 特開2006−307721号公報JP 2006-307721 A

しかしながら、前述した従来技術では、タイマ回路の機能故障検出を、起動用スイッチ信号がアクティブレベルになっている期間中の、どのタイミングで行うかによって機能故障検出の信頼性が大きく変わってしまう。例えば、起動用スイッチ信号がアクティブレベルになった直後に実施したときと、起動用スイッチ信号が非アクティブレベルになる直前で実施したときとで、信頼性に大きい差異が生じる。   However, in the above-described prior art, the reliability of functional failure detection varies greatly depending on the timing at which the functional failure of the timer circuit is detected during the period when the activation switch signal is at the active level. For example, there is a large difference in reliability between when it is performed immediately after the activation switch signal becomes active level and when it is performed immediately before the activation switch signal becomes inactive level.

また、前述した従来技術では、起動用スイッチ信号がアクティブレベルになっている期間中にタイマ回路の機能故障の検出を行っているため、起動用スイッチ信号のアクティブレベル期間が長くなる程、つまり車両の走行時間が長いほど、タイマ回路の機能故障検出の信頼性が低下してしまう。   In the above-described prior art, since the malfunction of the timer circuit is detected during the period when the activation switch signal is at the active level, the longer the activation level period of the activation switch signal, that is, the vehicle The longer the travel time, the lower the reliability of the malfunction detection of the timer circuit.

また、前述した従来技術では、主電源回路をオン・オフするメインリレーの駆動回路において起動用スイッチ信号がアクティブレベルになっている期間中にタイマ回路の機能故障検出を行っているため、常に起動用スイッチ信号が入力され、タイマ回路からメインリレー駆動回路への電源起動信号の有無に拘らず常にメインリレーが駆動許可されている状態で故障診断が行われるため、タイマ回路からの電源駆動信号によってメインリレーの駆動許可状態を確認することができない。   In addition, in the above-described prior art, the malfunction of the timer circuit is detected during the period when the activation switch signal is in the active level in the drive circuit of the main relay that turns on and off the main power supply circuit. Switch signal is input, and failure diagnosis is performed with the main relay always permitted to drive regardless of the presence or absence of the power activation signal from the timer circuit to the main relay drive circuit. The drive permission status of the main relay cannot be confirmed.

本発明は前記解決しようとする課題に鑑みてなされたものであって、その目的とするところは、安定した高い信頼性をもってタイマ回路の機能故障を検出することができ、さらにはメインリレー駆動回路の故障検出も行うことができる車両用電子制御装置を提供することにある。   The present invention has been made in view of the problems to be solved, and the object of the present invention is to detect a malfunction of a timer circuit with stable and high reliability, and further to a main relay drive circuit. Another object of the present invention is to provide a vehicular electronic control device that can also detect the failure of the vehicle.

前記目的を達成するために、本発明による車両用電子制御装置は、メインリレーの閉成によってマイコン動作電圧を出力すると共にタイマ動作電圧を常時出力する電源回路と、前記電源回路から出力されるマイコン動作電圧によって動作するマイクロコンピュータと、前記電源回路から常時出力されるタイマ動作電圧によって動作するタイマ回路と、外部から入力される外部起動信号あるいは前記タイマ回路が出力する内部起動信号のいずれかがアクティブレベルの場合に前記メインリレーを閉成させるメインリレー駆動回路とを備え、前記外部起動信号がアクティブレベルから非アクティブレベルに変化して前記電源回路から前記マイクロコンピュータにマイコン動作電圧が供給されなくなると、前記タイマ回路のカウンタが時間計測を開始し、指定された時間が経過した時点で前記タイマ回路が出力する前記内部起動信号をアクティブレベルにし、前記電源回路から前記マイクロコンピュータンにマイコン動作電圧を供給して前記マイクロコンピュータを起動させる車両用電子制御装置であって、前記マイクロコンピュータは、前記外部起動信号が非アクティブレベルになってから前記マイクロコンピュータの動作が停止するまでの遅延時間中に、前記タイマ回路の故障診断処理を行う故障診断部を有する。   In order to achieve the above object, an electronic control device for a vehicle according to the present invention includes a power supply circuit that outputs a microcomputer operating voltage and a timer operating voltage at all times by closing a main relay, and a microcomputer output from the power supply circuit. Either a microcomputer that operates with an operating voltage, a timer circuit that operates with a timer operating voltage that is constantly output from the power supply circuit, or an external start signal that is input from the outside or an internal start signal that is output from the timer circuit is active A main relay drive circuit that closes the main relay in the case of a level, and when the external activation signal changes from an active level to an inactive level, and no microcomputer operating voltage is supplied from the power supply circuit to the microcomputer The timer circuit counter starts time measurement. When the specified time elapses, the internal activation signal output from the timer circuit is set to an active level, and the microcomputer is supplied from the power supply circuit to the microcomputer to activate the microcomputer. An electronic control unit, wherein the microcomputer performs a failure diagnosis process for performing a failure diagnosis process of the timer circuit during a delay time from when the external activation signal becomes an inactive level until the operation of the microcomputer stops. Part.

本発明による車両用電子制御装置は、好ましくは、前記故障診断部が、前記マイクロコンピュータに内蔵されている内部カウンタのカウンタ値と、前記タイマ回路の前記カウンタのカウント値とを比較し、両カウント値が同一であるか否かを判定する。
これにより、タイマ回路のカウンタの故障診断が行われる。
In the vehicle electronic control device according to the present invention, preferably, the failure diagnosis unit compares a counter value of an internal counter built in the microcomputer with a count value of the counter of the timer circuit, It is determined whether or not the values are the same.
Thereby, failure diagnosis of the counter of the timer circuit is performed.

本発明による車両用電子制御装置は、好ましくは、前記タイマ回路が前記マイクロコンピュータに内蔵されている内部カウンタのカウンタ値と、前記タイマ回路の前記カウンタのカウント値とを比較する比較器を含み、前記故障診断部が、前記タイマ回路に任意の計測時間を設定して前記カウンタによる時間計測を開始し、任意設定の時間が経過した時点で、前記内部起動信号が非アクティブレベルからアクティブレベルに変化するか否かを判定する。
これにより、マイクロコンピュータに内蔵されている内部カウンタのカウンタ値と、タイマ回路のカウンタのカウント値とを比較するためにタイマ回路に設けられた比較器の故障診断が行われる。
The vehicle electronic control device according to the present invention preferably includes a comparator that compares the counter value of the internal counter in which the timer circuit is built in the microcomputer and the count value of the counter of the timer circuit, The failure diagnosis unit sets an arbitrary measurement time in the timer circuit and starts time measurement by the counter, and when the predetermined time elapses, the internal activation signal changes from an inactive level to an active level. It is determined whether or not to do.
As a result, failure diagnosis of the comparator provided in the timer circuit is performed in order to compare the counter value of the internal counter built in the microcomputer with the count value of the counter of the timer circuit.

本発明による車両用電子制御装置は、好ましくは、前記メインリレー駆動回路の出力ラインの状態を確認するモニタラインを備えており、前記故障診断部が、前記外部起動信号が非アクティブレベルである状態で、前記内部起動信号が非アクティブレベルからアクティブレベルに変化した場合に、前記メインリレー駆動回路の入力ラインのレベルが、非アクティブレベルからアクティブレベルに変化するか否かを判定する。
これにより、メインリレー駆動回路の故障診断が行われる。
The vehicle electronic control device according to the present invention preferably includes a monitor line for confirming the state of the output line of the main relay drive circuit, and the failure diagnosis unit is in a state where the external activation signal is at an inactive level. When the internal activation signal changes from the inactive level to the active level, it is determined whether or not the level of the input line of the main relay drive circuit changes from the inactive level to the active level.
Thereby, failure diagnosis of the main relay drive circuit is performed.

本発明による車両用電子制御装置は、好ましくは、前記故障診断部が、前記故障診断部は、前記内部起動信号がアクティブレベルの場合に、前記タイマ回路に対するタイマ動作電圧の供給を強制的に遮断し、前記内部起動信号がアクティブレベルから非アクティブレベルに変化するか否かを判定する。
これにより、タイマ回路に対するタイマ動作電圧の供給を強制的に遮断するスイッチ手段の故障診断が行われる。
In the vehicle electronic control device according to the present invention, preferably, the failure diagnosis unit forcibly cuts off supply of a timer operating voltage to the timer circuit when the internal activation signal is at an active level. Then, it is determined whether or not the internal activation signal changes from an active level to an inactive level.
Thereby, failure diagnosis of the switch means for forcibly cutting off the supply of the timer operating voltage to the timer circuit is performed.

本発明による車両用電子制御装置は、好ましくは、前記外部起動信号と前記内部起動信号の両方が非アクティブレベルになってから、前記故障診断部による診断結果をマイクロコンピュータの記憶部に記録し、故障判定時には前記タイマ回路へのタイマ動作電圧の供給を遮断する。
これにより、故障判定時にはタイマ回路への電源電圧を遮断し、マイクロコンピュータ動作停止後のカウント動作は行われなくなる。
The vehicle electronic control device according to the present invention preferably records a diagnosis result by the failure diagnosis unit in a storage unit of a microcomputer after both the external activation signal and the internal activation signal become inactive levels, When a failure is determined, the supply of the timer operating voltage to the timer circuit is cut off.
As a result, the power supply voltage to the timer circuit is cut off at the time of failure determination, and the count operation after the microcomputer operation stops is not performed.

本発明による車両用電子制御装置は、好ましくは、前記故障診断部によって前記タイマ回路の故障診断結果が異常と判定された場合には、前記マイクロコンピュータへの給電停止時間を計測し、その時間が設定値に達すると前記マイクロコンピュータを再起動させる動作は行わない処理を行う。
これにより、外部起動信号が非アクティブレベルの状態でのマイクロコンピュータの再起動が行われなくなる。
The vehicle electronic control device according to the present invention preferably measures a power supply stop time to the microcomputer when the failure diagnosis result of the timer circuit is determined to be abnormal by the failure diagnosis unit. When the set value is reached, a process for not restarting the microcomputer is performed.
As a result, the microcomputer is not restarted in a state where the external activation signal is at the inactive level.

本発明によれば、タイマ回路の故障診断を、外部起動信号が非アクティブレベルになってからマイクロコンピュータの動作が停止するまでの遅延時間中、つまり、セルフシャット期間中に行うことによって、通常制御は停止しており、また周辺回路は動作していないため、実際にタイマ回路が動作を開始するタイミングに近づけることができ、タイマ回路の故障診断における信頼性が、外部起動信号がアクティブレベルの期間に行う場合と比較し、高くなる。また、外部起動信号が非アクティブレベルであるため、メインリレー駆動回路の故障診断を行うこともできる。   According to the present invention, the normal control is performed by performing the fault diagnosis of the timer circuit during the delay time from when the external activation signal becomes inactive level until the microcomputer stops operating, that is, during the self-shut period. Is stopped, and the peripheral circuit is not operating. Therefore, it is possible to approach the timing at which the timer circuit actually starts to operate. Compared with the case where it is performed, it becomes higher. Further, since the external activation signal is at an inactive level, a failure diagnosis of the main relay drive circuit can be performed.

タイマ回路を実装した車両用電子制御装置の一つの実施形態を示すブロック図。The block diagram which shows one Embodiment of the electronic controller for vehicles which mounted the timer circuit. 本実施形態の車両用電子制御装置が実行する処理の全体を示すフローチャート。The flowchart which shows the whole process which the electronic controller for vehicles of this embodiment performs. 正常時の動作を示すタイムチャート。The time chart which shows the operation | movement at the time of normal. タイマICの異常発生時の動作を表すタイムチャート。The time chart showing operation at the time of abnormality occurrence of timer IC. タイマICの異常発生時の動作を表すタイムチャート。The time chart showing operation at the time of abnormality occurrence of timer IC. 本実施形態によるタイマ回路の機能故障診断と故障診断時処理を示すフローチャート。6 is a flowchart showing functional failure diagnosis and failure diagnosis processing of the timer circuit according to the present embodiment.

以下、本発明の実施形態を、図面を用いて説明する。
図1は、本発明のタイマ回路を実装した電子制御装置の一つの実施形態である。電子制御装置(ECU)1は、エンジン制御処理と故障診断を行うマイクロコンピュータ(マイコン)2と、マイコン2を動作させる主電源電圧(マイコン動作電圧)VmとタイマIC4を動作させる副電源電圧(タイマ動作電圧)Vsとを出力する電源回路3と、タイマIC(タイマ回路)4と、メインリレー駆動回路5と、メインリレー6を駆動するメインリレードライバIC8と、メインリレー駆動許可信号供給スイッチ16と、タイマIC用電源スイッチ18と、タイマIC4の電源を強制的に停止するためのタイマIC用電源遮断スイッチ20と、ウェイクアップ信号遮断スイッチ21とを有する。マイコン2は、エンジン制御処理以外に、故障診断を行う故障診断部25を含むものである。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows an embodiment of an electronic control device in which the timer circuit of the present invention is mounted. The electronic control unit (ECU) 1 includes a microcomputer 2 that performs engine control processing and failure diagnosis, a main power supply voltage (microcomputer operating voltage) Vm that operates the microcomputer 2, and a sub power supply voltage that operates the timer IC 4 (timer Power supply circuit 3 that outputs operating voltage (Vs), timer IC (timer circuit) 4, main relay drive circuit 5, main relay driver IC 8 that drives main relay 6, and main relay drive permission signal supply switch 16 The timer IC power switch 18, the timer IC power cut-off switch 20 for forcibly stopping the power supply of the timer IC 4, and the wake-up signal cut-off switch 21. The microcomputer 2 includes a failure diagnosis unit 25 that performs failure diagnosis in addition to the engine control process.

タイマIC4は、マイコン2に対する給電が停止している時間を計測してマイコン2を自動起動させるソークタイマとして動作するものであり、計測時間の設定値を格納するレジスタ4aと、タイマIC4内のクロックによりダウンカウントするカウンタ4bと、カウンタ4bのカウンタ値がゼロであるかを調べる比較器4cとを備えており、カウンタ値がゼロになれば、内部起動信号であるウェイクアップ信号Si3をマイコン2とメインリレー駆動許可信号供給スイッチ16とに出力する。   The timer IC 4 operates as a soak timer that automatically starts the microcomputer 2 by measuring the time during which the power supply to the microcomputer 2 is stopped. The timer IC 4 is controlled by a register 4a that stores a set value of the measurement time and a clock in the timer IC 4. A counter 4b for down-counting and a comparator 4c for checking whether the counter value of the counter 4b is zero are provided. When the counter value becomes zero, the wake-up signal Si3 as an internal activation signal is sent to the microcomputer 2 and the main Output to the relay drive permission signal supply switch 16.

ウェイクアップ信号Si3は、マイコン2に対する給電が停止してから所定時間(計測時間)が経過した時点で、ローレベル(非アクティブレベル)よりハイレベル(アクティブレベル)に変化する信号である。   The wake-up signal Si3 is a signal that changes from a low level (inactive level) to a high level (active level) when a predetermined time (measurement time) elapses after power supply to the microcomputer 2 is stopped.

メインリレー駆動回路5は、外部起動スイッチであるイグニッションスイッチ(以降、IGNSWと記す)9より入力するIGNSW信号Si1あるいはタイマIC4が出力するウェイクアップ信号Si3がハイレベルである場合に、メインリレードライバIC8に電力供給する。メインリレードライバIC8に電力供給が行われることにより、メインリレー6は閉成する。   The main relay driver circuit 5 is connected to the main relay driver IC 8 when the IGNSW signal Si1 input from an ignition switch (hereinafter referred to as IGNSW) 9 which is an external start switch or the wakeup signal Si3 output from the timer IC 4 is at a high level. To power. When the main relay driver IC 8 is supplied with power, the main relay 6 is closed.

IGNSW信号Si1は、IGNSW9がオンしている場合にハイレベル(アクティブレベル)になり、IGNSW9がオフしている場合にローレベル(非アクティブレベル)になる外部起動信号であり、マイコン2に入力される。   The IGNSW signal Si1 is an external activation signal that becomes a high level (active level) when the IGNSW 9 is turned on and becomes a low level (inactive level) when the IGNSW 9 is turned off, and is input to the microcomputer 2 The

メインリレー6は、IGNSW9がオンしている場合、あるいはタイマIC4より出力されるウェイクアップ信号Si3がハイレベルであることによりメインリレー駆動許可信号供給スイッチ16がオン(閉成)している場合に、閉成する。   The main relay 6 is turned on when the IGNSW 9 is turned on or when the main relay drive permission signal supply switch 16 is turned on (closed) because the wakeup signal Si3 output from the timer IC 4 is at a high level. Close.

電源回路3は、メインリレー6を介して供給されるバッテリ電圧VBより主電源電圧Vmを生成する。これにより、主電源電圧Vmは、IGNSW9がオン(閉成)している場合、あるいはウェイクアップ信号Si3がハイレベルであることによりメインリレー駆動許可信号供給スイッチ16がオン(閉成)している場合に、メインリレー6を介して供給されるバッテリ電圧VBより生成される。   The power supply circuit 3 generates the main power supply voltage Vm from the battery voltage VB supplied via the main relay 6. Thereby, the main power supply voltage Vm is turned on (closed) when the IGNSW 9 is turned on (closed) or when the wakeup signal Si3 is at a high level. In this case, the voltage is generated from the battery voltage VB supplied via the main relay 6.

電源回路3は、バッテリ電源10よりバッテリ電圧VBを常時供給され、当該バッテリ電圧VBより副電源電圧Vsを常時生成し、タイマIC4に副電源電圧Vsによる電力供給を常時行う。   The power supply circuit 3 is constantly supplied with the battery voltage VB from the battery power supply 10, constantly generates the sub power supply voltage Vs from the battery voltage VB, and constantly supplies power to the timer IC 4 with the sub power supply voltage Vs.

マイコン2は、次の三つの動作モード(1)〜(3)を有する。
(1)IGNSW9のオン、つまり、IGNSW信号Si1がハイレベルで、ウェイクアップ信号Si3がローレベルである場合には、電源回路3より主電源電圧Vmを供給されて通常のエンジン制御処理を実行する。
(2)IGNSW信号Si1がハイレベルよりローレベルに変化した時点からマイコン2に対する主電源電圧Vmの供給が停止してマイコン2の動作が停止するまでの遅延時間(セルフシャット)中に、故障診断部25によってタイマ回路、つまりタイマIC4の故障診断処理を行う。
(3)ウェイクアップ信号Si3がハイレベルになったことにより、電源回路3より主電源電圧Vmを供給されて再起動し、エバポリーク診断、水温センサ診断等、エンジン停止後に行うべき故障診断を実行する。
The microcomputer 2 has the following three operation modes (1) to (3).
(1) When the IGNSW 9 is turned on, that is, when the IGNSW signal Si1 is at a high level and the wakeup signal Si3 is at a low level, the main power supply voltage Vm is supplied from the power supply circuit 3 and normal engine control processing is executed. .
(2) Failure diagnosis during the delay time (self-shutdown) from the time when the IGNSW signal Si1 changes from high level to low level until the supply of the main power supply voltage Vm to the microcomputer 2 stops and the operation of the microcomputer 2 stops The unit 25 performs a fault diagnosis process for the timer circuit, that is, the timer IC 4.
(3) When the wake-up signal Si3 becomes high level, the main power supply voltage Vm is supplied from the power supply circuit 3 and the system is restarted to execute failure diagnosis that should be performed after the engine is stopped, such as an evaporative diagnosis and a water temperature sensor diagnosis. .

故障診断部25によるタイマIC4の故障診断処理は、下記(A)〜(D)の故障診断判定を行うことである。
(A)マイコン2に内蔵されている内部カウンタのカウント値と、タイマIC4のカウンタ4bのカウント値を比較器4cによって比較し、そのカウント値が同一であるか否かを判定する。これにより、カウンタ4bの故障を診断できる。
(B)タイマIC4の記憶部であるレジスタ4aに任意の値を設定してタイマIC4によるカウンタ動作を開始させ、タイマIC4の比較器4cが、カウンタ計測値と記憶部の設定値とが等しいと判定した場合、またはカウンタ計測値がゼロになった場合に、タイマIC4のウェイクアップ信号Si3がローレベルよりハイレベルに変化するか否かを判定する。これにより、比較器4cの故障を診断できる。
(C)IGNSW信号Si1がオフレベルである状態で、タイマIC4のウェイクアップ信号Si3がローレベルよりハイレベルに変化した場合に、メインリレー駆動回路5の出力ラインの状態を監視するモニタラインのレベルが、非アクティブレベルからアクティブレベルに変化するか否かを判定する。つまり、出力ラインモニタ信号Si6がローレベルよりハイレベルに変化するか否かを判定する。これにより、メインリレー駆動回路5の故障を診断できる。
(D)タイマIC4のウェイクアップ信号Si3がハイレベルの場合に、タイマ回路動作停止信号Si5がローレベルよりハイレベルに変化させ、このとき、タイマIC4のウェイクアップ信号Si3がハイレベルよりローレベルに変化するか否かを判定する。これにより、強制的にタイマIC4の電源を停止するタイマIC用電源スイッチ18、タイマIC用電源遮断スイッチ20の故障を診断できる。
The failure diagnosis processing of the timer IC 4 by the failure diagnosis unit 25 is to perform failure diagnosis determinations (A) to (D) below.
(A) The count value of the internal counter built in the microcomputer 2 is compared with the count value of the counter 4b of the timer IC 4 by the comparator 4c, and it is determined whether or not the count values are the same. Thereby, the failure of the counter 4b can be diagnosed.
(B) When an arbitrary value is set in the register 4a which is a storage unit of the timer IC4 to start the counter operation by the timer IC4, the comparator 4c of the timer IC4 has a counter measurement value equal to the set value of the storage unit. When it is determined, or when the counter measurement value becomes zero, it is determined whether or not the wakeup signal Si3 of the timer IC 4 changes from the low level to the high level. Thereby, the failure of the comparator 4c can be diagnosed.
(C) The level of the monitor line that monitors the state of the output line of the main relay drive circuit 5 when the wake-up signal Si3 of the timer IC 4 changes from the low level to the high level while the IGNSW signal Si1 is at the off level. Determines whether or not changes from an inactive level to an active level. That is, it is determined whether or not the output line monitor signal Si6 changes from the low level to the high level. Thereby, the failure of the main relay drive circuit 5 can be diagnosed.
(D) When the wakeup signal Si3 of the timer IC4 is at a high level, the timer circuit operation stop signal Si5 is changed from a low level to a high level. At this time, the wakeup signal Si3 of the timer IC4 is changed from a high level to a low level. Determine if it changes. Thereby, it is possible to diagnose a failure of the timer IC power switch 18 and the timer IC power cut-off switch 20 that forcibly stop the power supply of the timer IC 4.

マイコン2は、(A)〜(D)の故障診断判定の結果の何れか一つでもが、異常判定であれば、IGNSW信号Si1とウェイクアップ信号Si3の両方がローレベルになってから動作が停止するまでの遅延時間(セルフシャット)中に、記憶部に診断結果を記録し、タイマ回路動作停止信号Si5をハイレベルにし、タイマIC4への電源電圧の供給を遮断する。また、異常判定時には、マイコン2への給電停止時間を計測して、その時間が設定値に達すると、マイコン2を再起動させる動作を行わない。   If any one of the results of the failure diagnosis determination of (A) to (D) is an abnormality determination, the microcomputer 2 operates after both the IGNSW signal Si1 and the wakeup signal Si3 become low level. During the delay time (self-shutdown) until the stop, the diagnosis result is recorded in the storage unit, the timer circuit operation stop signal Si5 is set to the high level, and the supply of the power supply voltage to the timer IC 4 is cut off. Further, at the time of abnormality determination, the power supply stop time to the microcomputer 2 is measured, and when the time reaches a set value, the operation for restarting the microcomputer 2 is not performed.

次に、ECU1で行われる一連の処理について、図2〜図6を参照して説明する。
まず、タイマ回路を実装したECU1のマイコン2が実行する処理の全体を、図2のフローチャートを参照して説明する。
Next, a series of processes performed by the ECU 1 will be described with reference to FIGS.
First, the entire process executed by the microcomputer 2 of the ECU 1 in which the timer circuit is mounted will be described with reference to the flowchart of FIG.

マイコン2が主電源電圧Vmにより起動されると、まず、IGNSW9のオン判定を行う(ステップS110)。IGNSW信号Si1がハイレベルで、ウェイクアップ信号Si3がローレベルであれば(ステップS115)、IGNSW9によるマイコン2の起動と判断し、通常制御処理を実行する(ステップS120)。   When the microcomputer 2 is activated by the main power supply voltage Vm, first, the IGNSW 9 is turned on (step S110). If the IGNSW signal Si1 is at a high level and the wakeup signal Si3 is at a low level (step S115), it is determined that the microcomputer 2 has been activated by the IGNSW 9, and normal control processing is executed (step S120).

但し、ウェイクアップ信号Si3がハイレベルで、IGNSW信号Si1がハイレベル場合には、タイマIC4においてウェイクアップ信号Si3が出力し続けてしまうモードの故障が考えられるため、マイコン2が出力するタイマ回路動作停止信号Si5をハイレベルにする(ステップS125)。これにより、タイマIC用電源遮断スイッチ20によってタイマIC4に対する電力供給を遮断し、併せてウェイクアップ信号遮断信号Si7によってウェイクアップ信号遮断スイッチ21を動作させ、メインリレー駆動許可信号電源供給スイッチ16に対するウェイクアップ信号Si3の出力を遮断する。   However, when the wakeup signal Si3 is at a high level and the IGNSW signal Si1 is at a high level, the timer IC 4 outputs a wakeup signal Si3. The stop signal Si5 is set to a high level (step S125). As a result, the power supply to the timer IC 4 is cut off by the timer IC power cut-off switch 20, and the wake-up signal cut-off switch 21 is operated by the wake-up signal cut-off signal Si7. The output of the up signal Si3 is cut off.

こうすることで、ECU1からタイマ回路(タイマIC4)を遮断することができ、通常制御処理に支障をきたすことがなく、IGNSW9をオフにすることで、ECU1の電源も停止することができる。   By doing so, the timer circuit (timer IC 4) can be shut off from the ECU 1, and the normal control process is not hindered, and the power of the ECU 1 can be stopped by turning off the IGNSW 9.

IGNSW信号Si1がローレベルで、ウェイクアップ信号Si3がローレベルの場合には(ステップS130)、即ちセルフシャット期間中であると判定し、タイマ回路の機能故障診断を実行する(ステップS140)。故障診断の結果、異常がなかった場合には、マイコン停止後に測定を開始するソークタイマTwのセットし(ステップS170)、ソークタイマのカウントを開始する(ステップS180)。   If the IGNSW signal Si1 is at a low level and the wakeup signal Si3 is at a low level (step S130), that is, it is determined that a self-shutdown period is in effect, and a malfunction diagnosis of the timer circuit is executed (step S140). If there is no abnormality as a result of the failure diagnosis, the soak timer Tw for starting measurement after the microcomputer is stopped is set (step S170), and the count of the soak timer is started (step S180).

その後、マイコン2が出力するメインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBの供給を遮断し、主電源電圧Vmをローレベルにすることでマイコン2を停止させる。   Thereafter, the main relay power holding signal Si8 output from the microcomputer 2 is switched to the low level, the supply of the battery voltage VB from the main relay 6 is cut off, and the microcomputer 2 is stopped by setting the main power supply voltage Vm to the low level.

これに対し、異常があった場合には、ECU1の記憶部に診断結果を記録し(ステップS160)、マイコン2が出力するメインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBの供給を遮断し、主電源電圧Vmをローレベルにすることでマイコン2を停止させる。   On the other hand, if there is an abnormality, the diagnosis result is recorded in the storage unit of the ECU 1 (step S160), the main relay power holding signal Si8 output from the microcomputer 2 is switched to the low level, and the battery from the main relay 6 is switched. The supply of the voltage VB is cut off, and the microcomputer 2 is stopped by setting the main power supply voltage Vm to a low level.

IGNSW信号Si1がローレベルで、ウェイクアップ信号Si3がハイレベルの場合には、マイコン停止後、ソークタイマ(タイマIC4)によりマイコン2が再起動したと判断し、エバポリーク診断、水温センサ診断等、エンジン停止後、診断実行するまでに一定時間の間隔を必要とする診断を実行する(ステップS190)。   If the IGNSW signal Si1 is at a low level and the wakeup signal Si3 is at a high level, it is determined that the microcomputer 2 has been restarted by the soak timer (timer IC4) after the microcomputer has stopped, and the engine is stopped, such as an evaporative diagnosis or a water temperature sensor diagnosis Thereafter, a diagnosis that requires a certain time interval until the diagnosis is executed is executed (step S190).

その後、ECU1の記憶部に診断結果を記録し(ステップS200)、マイコン2が出力するタイマ回路動作停止信号Si5をハイレベルにする(ステップS210)。これにより、タイマIC用電源遮断スイッチ20によってタイマIC4に対する電力供給を遮断し、併せてウェイクアップ信号遮断信号Si7によってウェイクアップ信号遮断スイッチ21を動作させ、メインリレー駆動許可信号電源供給スイッチ16に対するウェイクアップ信号Si3の出力を遮断する。   Thereafter, the diagnosis result is recorded in the storage unit of the ECU 1 (step S200), and the timer circuit operation stop signal Si5 output from the microcomputer 2 is set to the high level (step S210). As a result, the power supply to the timer IC 4 is cut off by the timer IC power cut-off switch 20, and the wake-up signal cut-off switch 21 is operated by the wake-up signal cut-off signal Si7. The output of the up signal Si3 is cut off.

最後に、マイコン2が出力するメインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBの供給を遮断し、主電源電圧Vmをローレベルにすることでマイコン2を停止させる。   Finally, the main relay power holding signal Si8 output from the microcomputer 2 is switched to the low level, the supply of the battery voltage VB from the main relay 6 is cut off, and the microcomputer 2 is stopped by setting the main power supply voltage Vm to the low level. .

IGNSW信号Si1とウェイクアップ信号Si3の両方がローレベルになってから、故障診断部25による診断結果をマイコン2の記憶部に記録し、故障判定時にはタイマIC4への副電源電圧Vsの供給を遮断する。故障診断部25によってタイマIC4の故障診断結果が異常と判定された場合には、マイコン2への給電停止時間を計測し、その時間が設定値に達すると、マイコン2を再起動させる動作は行わない処理を行う。   After both the IGNSW signal Si1 and the wakeup signal Si3 become low level, the diagnosis result by the failure diagnosis unit 25 is recorded in the storage unit of the microcomputer 2, and the supply of the sub power supply voltage Vs to the timer IC 4 is cut off at the time of failure determination To do. When the failure diagnosis unit 25 determines that the failure diagnosis result of the timer IC 4 is abnormal, the power supply stop time to the microcomputer 2 is measured, and when the time reaches the set value, the operation of restarting the microcomputer 2 is performed. No processing.

次に、ECU1において、タイマ回路の機能故障診断を行わない場合の動作について、図3、図4のタイミングチャートを用いて説明する。始めに、正常時の動作について、図3を参照して説明する。   Next, the operation when the ECU 1 does not perform the functional failure diagnosis of the timer circuit will be described with reference to the timing charts of FIGS. First, normal operation will be described with reference to FIG.

まず、IGNSW9がオンされると、IGNSW信号Si1がハイレベルになり、これによってメインリレー6がオンになり、電源回路3にバッテリ電圧VBが供給される。電源回路3にバッテリ電圧VBが供給されると、マイコン2に主電源電圧Vmが供給され、マイコン2が起動する。   First, when the IGNSW 9 is turned on, the IGNSW signal Si1 becomes a high level, thereby turning on the main relay 6 and supplying the battery voltage VB to the power supply circuit 3. When the battery voltage VB is supplied to the power supply circuit 3, the main power supply voltage Vm is supplied to the microcomputer 2 and the microcomputer 2 is activated.

マイコン2が起動すると、メインリレー電源保持信号Si8がハイレベルになり、この間、通常のエンジン制御を行う。なお、現時点では、タイマIC4には電源は供給されていない。   When the microcomputer 2 is activated, the main relay power holding signal Si8 becomes high level, and normal engine control is performed during this period. At this time, no power is supplied to the timer IC 4.

その後、IGNSW9がオフされると、マイコン2はタイマIC4の電源起動信号Si4をハイレベルに切り換え、タイマIC4を起動させる。そして、マイコン2は、タイマIC4に対し、ソークタイマ(Tw)の設定を行い、タイマIC4による時間計測をスタートさせる。   After that, when the IGNSW 9 is turned off, the microcomputer 2 switches the power supply activation signal Si4 of the timer IC 4 to a high level and activates the timer IC 4. Then, the microcomputer 2 sets a soak timer (Tw) for the timer IC 4 and starts time measurement by the timer IC 4.

その後、マイコン2は、メインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBを遮断し、主電源電圧Vmをローレベルにする。これによりマイコン2が停止させる。   Thereafter, the microcomputer 2 switches the main relay power holding signal Si8 to the low level, cuts off the battery voltage VB from the main relay 6, and sets the main power supply voltage Vm to the low level. Thereby, the microcomputer 2 stops.

Tw時間終了後、タイマIC4はカウンタがゼロになっていることを確認し、ウェイクアップ信号Si3をハイレベルにする。すると、メインリレー駆動回路5よりメインリレー駆動信号が出力され、メインリレー6がオン状態になり、バッテリ電圧VBが電源回路3に供給され、主電源電圧Vmによりマイコン2が再起動される。   After the end of the Tw time, the timer IC4 confirms that the counter is zero, and sets the wakeup signal Si3 to the high level. Then, a main relay drive signal is output from the main relay drive circuit 5, the main relay 6 is turned on, the battery voltage VB is supplied to the power supply circuit 3, and the microcomputer 2 is restarted by the main power supply voltage Vm.

マイコン2は、再起動後、エバポリーク診断等を実行し、診断結果をECU1の記憶部に記録する。その後、タイマIC4の電源起動信号Si4をローレベルに切り換え、タイマIC4を停止し、メインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBを遮断し、主電源電圧Vmをローレベルにすることでマイコン2を停止させる。以上が正常時のECU1の動作である。   After restarting, the microcomputer 2 executes an evaporative diagnosis and records the diagnosis result in the storage unit of the ECU 1. Thereafter, the power activation signal Si4 of the timer IC 4 is switched to the low level, the timer IC 4 is stopped, the main relay power retention signal Si8 is switched to the low level, the battery voltage VB from the main relay 6 is shut off, and the main power voltage Vm is The microcomputer 2 is stopped by setting it to a low level. The above is the operation of the ECU 1 at the normal time.

ここで、例えば、図4に示すように、タイマIC4の異常によりウェイクアップ信号Si3がハイレベルからローレベルに戻らなくなる症状になった場合には、メインリレー6がオフできなくなるため、IGNSW9にオン/オフに関係なくバッテリ電圧VBが電源回路3に供給されつづけ、主電源電圧Vmによりマイコン2が停止することができなくなってしまう。このような状況になってしまった場合には、バッテリ電源10は著しく電力を消耗することになる。   Here, for example, as shown in FIG. 4, when the wakeup signal Si3 does not return from the high level to the low level due to the abnormality of the timer IC4, the main relay 6 cannot be turned off, so the IGNSW 9 is turned on. / The battery voltage VB continues to be supplied to the power supply circuit 3 regardless of the off state, and the microcomputer 2 cannot be stopped by the main power supply voltage Vm. In such a situation, the battery power supply 10 consumes power remarkably.

また、例えば、図5に示すように、ソークタイマ(タイマIC4)のカウンタ4bがゼロになっているにも拘らず、ウェイクアップ信号Si3がハイレベルに切り換わらない故障が生じている場合には、マイコン2を起動させる手段はIGNSW9のオン/オフのみとなってしまい、ソークタイマは使用できなくなるため、エバポリーク診断等が実行できなくなってしまう。   Further, for example, as shown in FIG. 5, when a failure has occurred in which the wakeup signal Si3 does not switch to a high level despite the counter 4b of the soak timer (timer IC4) being zero. The means for activating the microcomputer 2 is only on / off of the IGNSW 9, and the soak timer cannot be used, so that the evaporative diagnosis or the like cannot be executed.

また、例えば、ウェイクアップ信号Si3がハイレベルになっているにも拘らず、メインリレー駆動許可信号Si2がハイレベルに切り換わらない故障が生じている場合には、マイコン2を起動させる手段はIGNSW9のオン/オフのみとなってしまい、ソークタイマは使用できなくなるため、エバポリーク診断等が実行できなくなってしまう。   For example, when a failure has occurred in which the main relay drive permission signal Si2 does not switch to high level despite the wakeup signal Si3 being high level, the means for starting the microcomputer 2 is IGNSW9. Since the soak timer can no longer be used, it becomes impossible to execute an eval police diagnosis or the like.

このことに対処すべく、マイコン2は、セルフシャット期間中に、タイマ回路の機能故障診断と故障診断時処理を実行する。タイマ回路の機能故障診断・故障診断時処理について、図6のフローチャートを参照して説明する。   In order to cope with this, the microcomputer 2 executes a function failure diagnosis and a failure diagnosis process of the timer circuit during the self-shut period. The functional failure diagnosis / failure diagnosis processing of the timer circuit will be described with reference to the flowchart of FIG.

機能故障診断・故障診断時処理を行うサブルーチンは、IGNSW9がオフで、ウェイクアップ信号Si3がローハイレベルで、IGNSW9がオンからオフに変化したことにより呼びされる。   The subroutine for performing functional failure diagnosis / failure diagnosis processing is called when the IGNSW 9 is turned off, the wake-up signal Si3 is at a low-high level, and the IGNSW 9 is changed from on to off.

まず、タイマIC4に任意の時間Tsを設定してタイマカウントを開始する(ステップS310)。ここで、タイマIC4のカウンタ4bの機能故障診断を行う。   First, an arbitrary time Ts is set in the timer IC 4 and the timer count is started (step S310). Here, a functional failure diagnosis of the counter 4b of the timer IC 4 is performed.

タイマIC4のタイマカウントの開始と同時に、マイコン2が内蔵している内部カウンタのカウントをスタートさせる。一定時間経過後、マイコン2の内部カウンタのカウンタ値とタイマIC4のカウンタ値とを同時に抽出し、比較器4cによって両カウンタ値が等しいか否かを判定する(ステップS320)。   Simultaneously with the start of the timer count of the timer IC 4, the count of the internal counter built in the microcomputer 2 is started. After a predetermined time has elapsed, the counter value of the internal counter of the microcomputer 2 and the counter value of the timer IC 4 are simultaneously extracted, and it is determined by the comparator 4c whether or not both counter values are equal (step S320).

マイコン2の内部カウンタのカウンタ値とタイマIC4のカウンタ値とが異なると判定された場合には、タイマIC4のカウンタ4bの故障が考えられるため、故障判定し、マイコン2からのタイマ回路動作停止信号Si5をハイレベルにすることで、タイマIC用電源遮断スイッチ20とウェイクアップ信号遮断スイッチ21をスイッチ回路20、21をオフに切り換え、ウェイクアップ信号Si3を遮断する(ステップS380)。その後、マイコン2の記憶部に診断結果(故障情報)を記憶する(ステップS390)。   If it is determined that the counter value of the internal counter of the microcomputer 2 and the counter value of the timer IC 4 are different, a failure of the counter 4b of the timer IC 4 is considered. By setting Si5 to the high level, the timer IC power cut-off switch 20 and the wake-up signal cut-off switch 21 are switched off and the wake-up signal Si3 is cut off (step S380). Thereafter, the diagnosis result (failure information) is stored in the storage unit of the microcomputer 2 (step S390).

マイコン2の内部カウンタのカウンタ値とタイマIC4のカウンタ値とが等しいと判定された場合は、タイマIC4のカウンタ4bは正常であると判断できるため、タイマIC4のカウントを継続して次の診断に移行し、タイマIC4のカウンタ値がゼロになることを判別する(ステップS330)。タイマIC4のカウンタ値がゼロになった時点で、ウェイクアップ信号Si3がハイレベルに切り換わっているか否かを判定する(ステップS340)。   If it is determined that the counter value of the internal counter of the microcomputer 2 is equal to the counter value of the timer IC4, it can be determined that the counter 4b of the timer IC4 is normal. Therefore, the timer IC4 continues to count for the next diagnosis. Then, it is determined that the counter value of the timer IC 4 becomes zero (step S330). When the counter value of the timer IC 4 becomes zero, it is determined whether or not the wakeup signal Si3 is switched to a high level (step S340).

ウェイクアップ信号Si3がハイレベルに切り換わっていなければ、タイマIC4の比較器4cの故障が考えられるため、診断判定する。この場合も、マイコン2からのタイマ回路動作停止信号Si5をハイレベルにすることで、タイマIC用電源遮断スイッチ20とウェイクアップ信号遮断スイッチ21をスイッチ回路20、21をオフに切り換え、ウェイクアップ信号Si3を遮断する(ステップS380)。その後、マイコン2の記憶部に診断結果(故障情報)を記憶する(ステップS390)。   If the wakeup signal Si3 is not switched to a high level, a failure of the comparator 4c of the timer IC 4 can be considered, so a diagnosis is determined. Also in this case, by setting the timer circuit operation stop signal Si5 from the microcomputer 2 to a high level, the timer IC power cut-off switch 20 and the wake-up signal cut-off switch 21 are switched off to switch off the wake-up signal. Si3 is shut off (step S380). Thereafter, the diagnosis result (failure information) is stored in the storage unit of the microcomputer 2 (step S390).

ウェイクアップ信号Si3がハイレベルに切り換わっていれば、タイマIC4の比較器4cは正常であると判断できるため、次に診断に移行する。次の診断では、メインリレー駆動回路5の機能故障診断を行う。   If the wakeup signal Si3 is switched to the high level, the comparator 4c of the timer IC 4 can be determined to be normal, and the process proceeds to diagnosis. In the next diagnosis, a function failure diagnosis of the main relay drive circuit 5 is performed.

この診断では、メインリレー駆動回路5の出力ラインモニタ信号Si6の状態を確認する(ステップS350)。出力ラインモニタ信号Si6がハイレベルに切り換わっていない場合には、メインリレー駆動許可信号Si2側のラインの故障か、メインリレー駆動回路5内の論理回路の故障が考えられるため、診断判定する。この場合も、マイコン2からのタイマ回路動作停止信号Si5をハイレベルにすることで、タイマIC用電源遮断スイッチ20とウェイクアップ信号遮断スイッチ21をスイッチ回路20、21をオフに切り換え、ウェイクアップ信号Si3を遮断する(ステップS380)。その後、マイコン2の記憶部に診断結果(故障情報)を記憶する(ステップS390)。   In this diagnosis, the state of the output line monitor signal Si6 of the main relay drive circuit 5 is confirmed (step S350). If the output line monitor signal Si6 is not switched to the high level, a diagnosis failure is determined because a line failure on the main relay drive permission signal Si2 side or a logic circuit in the main relay drive circuit 5 is considered. Also in this case, by setting the timer circuit operation stop signal Si5 from the microcomputer 2 to a high level, the timer IC power cut-off switch 20 and the wake-up signal cut-off switch 21 are switched off to switch off the wake-up signal. Si3 is shut off (step S380). Thereafter, the diagnosis result (failure information) is stored in the storage unit of the microcomputer 2 (step S390).

メインリレー駆動許可信号のモニタ信号Si6がハイレベルに切り換わっていれば、メインリレー駆動許可信号Si2側のラインまたは、メインリレー駆動回路5内の論理回路が正常に機能していると判断できる。   If the monitor signal Si6 of the main relay drive permission signal is switched to the high level, it can be determined that the line on the main relay drive permission signal Si2 side or the logic circuit in the main relay drive circuit 5 is functioning normally.

ここで、今はセルフシャット期間中であるため、IGNSW信号Si1のレベルはローレベルになっているはずである。すなわち、セルフシャット期間中に当該故障診断を行うことにより、メインリレー駆動許可信号Si2側のライン単体で診断を行うことができる。つまり、IGNSW信号Si1のレベルがローレベルになっているということは、実際の使用状況に近い状態で、メインリレー駆動回路5の機能故障診断を行うことができるということである。   Here, since the self-shut period is in progress, the level of the IGNSW signal Si1 should be low. That is, by performing the failure diagnosis during the self-shut period, the diagnosis can be performed on the line alone on the main relay drive permission signal Si2 side. That is, the fact that the level of the IGNSW signal Si1 is at a low level means that the functional failure diagnosis of the main relay drive circuit 5 can be performed in a state close to the actual use situation.

次に、タイマIC4の暴走時、強制的にタイマIC4の電源を停止するタイマIC用電源スイッチ18の機能故障診断を行う。マイコン2からのタイマ回路動作停止信号Si5をハイレベルにすることで、タイマIC用電源スイッチ18、タイマIC用電源遮断スイッチ20、ウェイクアップ信号遮断スイッチ21をオフに切り換え、ウェイクアップ信号Si3を遮断する(ステップS360)。こうすることで、メインリレー駆動回路5にはウェイクアップ信号Si3は出力されないため、タイマIC4が暴走しても、ECU1の動作を停止することができる。   Next, a functional failure diagnosis of the timer IC power switch 18 that forcibly stops the power supply of the timer IC 4 when the timer IC 4 runs away is performed. By setting the timer circuit operation stop signal Si5 from the microcomputer 2 to a high level, the timer IC power switch 18, the timer IC power cut-off switch 20, and the wake-up signal cut-off switch 21 are turned off, and the wake-up signal Si3 is cut off. (Step S360). By doing so, since the wake-up signal Si3 is not output to the main relay drive circuit 5, the operation of the ECU 1 can be stopped even if the timer IC 4 runs away.

ここでマイコン2はウェイクアップ信号Si3の状態を確認し(ステップS370)、ウェイクアップ信号Si3がハイレベルであれば、タイマIC用電源スイッチスイッチ18が正常にオフ(開成)できていないと考えられるため、診断判定する。この場合も、マイコン2からのタイマ回路動作停止信号Si5をハイレベルにすることで、タイマIC用電源遮断スイッチ20とウェイクアップ信号遮断スイッチ21をスイッチ回路20、21をオフに切り換え、ウェイクアップ信号Si3を遮断する(ステップS380)。その後、マイコン2の記憶部に診断結果(故障情報)を記憶する(ステップS390)。   Here, the microcomputer 2 confirms the state of the wakeup signal Si3 (step S370). If the wakeup signal Si3 is at a high level, it is considered that the timer IC power switch 18 has not been normally turned off (opened). Therefore, diagnosis is determined. Also in this case, by setting the timer circuit operation stop signal Si5 from the microcomputer 2 to a high level, the timer IC power cut-off switch 20 and the wake-up signal cut-off switch 21 are switched off to switch off the wake-up signal. Si3 is shut off (step S380). Thereafter, the diagnosis result (failure information) is stored in the storage unit of the microcomputer 2 (step S390).

ウェイクアップ信号Si3がローレベルであれば、タイマIC用電源スイッチスイッチ18が正常にオフ(開成)できていると判断できるため、正常に機能していると判断できる。   If the wake-up signal Si3 is at a low level, it can be determined that the timer IC power switch 18 has been normally turned off (opened), and therefore can be determined to be functioning normally.

上述の故障診断終了後に、マイコン2が出力するメインリレー電源保持信号Si8をローレベルに切り換え、メインリレー6からのバッテリ電圧VBの供給を遮断し、主電源電圧Vmをローレベルにすることでマイコン2を停止させる(ステップS400)。   After the above-described failure diagnosis, the main relay power holding signal Si8 output from the microcomputer 2 is switched to the low level, the supply of the battery voltage VB from the main relay 6 is cut off, and the main power supply voltage Vm is set to the low level. 2 is stopped (step S400).

本実施形態によれば、上述したように、マイコンが停止する直前のセルフシャット期間中に機能故障診断を行うことで、当機能故障診断をIGNSWオン期間中に行うよりも信頼性が高く保つことができる。また、セルフシャット期間中に本機能故障診断を行うことで、メインリレー駆動回路の診断も行うことが可能となる。   According to the present embodiment, as described above, the functional failure diagnosis is performed during the self-shut period immediately before the microcomputer stops, so that the reliability of the functional failure diagnosis is kept higher than that during the IGNSW on period. Can do. In addition, by performing the functional failure diagnosis during the self-shut period, it is possible to diagnose the main relay drive circuit.

1 ECU
2 マイコン
3 電源回路
4 タイマIC
5 メインリレー駆動回路
6 メインリレー
8 メインリレードライバIC
9 イグニッションスイッチ(IGNSW)
10 バッテリ
16 メインリレー駆動許可信号電源供給スイッチ
18 タイマIC用電源スイッチ
20 タイマIC用電源遮断スイッチ
21 ウェイクアップ信号遮断スイッチ
25 故障診断部
1 ECU
2 Microcomputer 3 Power supply circuit 4 Timer IC
5 Main relay drive circuit 6 Main relay 8 Main relay driver IC
9 Ignition switch (IGNSW)
DESCRIPTION OF SYMBOLS 10 Battery 16 Main relay drive permission signal power supply switch 18 Timer IC power switch 20 Timer IC power cutoff switch 21 Wake-up signal cutoff switch 25 Fault diagnosis unit

Claims (7)

メインリレーの閉成によってマイコン動作電圧を出力すると共にタイマ動作電圧を常時出力する電源回路と、前記電源回路から出力されるマイコン動作電圧によって動作するマイクロコンピュータと、前記電源回路から常時出力されるタイマ動作電圧によって動作するタイマ回路と、外部から入力される外部起動信号あるいは前記タイマ回路が出力する内部起動信号のいずれかがアクティブレベルの場合に前記メインリレーを閉成させるメインリレー駆動回路とを備え、前記外部起動信号がアクティブレベルから非アクティブレベルに変化して前記電源回路から前記マイクロコンピュータにマイコン動作電圧が供給されなくなると、前記タイマ回路のカウンタが時間計測を開始し、指定された時間が経過した時点で前記タイマ回路が出力する前記内部起動信号をアクティブレベルにし、前記電源回路から前記マイクロコンピュータンにマイコン動作電圧を供給して前記マイクロコンピュータを起動させる車両用電子制御装置であって、
前記マイクロコンピュータは、前記外部起動信号が非アクティブレベルになってから前記マイクロコンピュータの動作が停止するまでの遅延時間中に、前記タイマ回路の故障診断処理を行う故障診断部を有することを特徴とする車両用電子制御装置。
A power supply circuit that outputs a microcomputer operating voltage and outputs a timer operating voltage at all times by closing the main relay, a microcomputer that operates based on a microcomputer operating voltage output from the power supply circuit, and a timer that is constantly output from the power supply circuit A timer circuit that operates according to an operating voltage; and a main relay drive circuit that closes the main relay when either an external start signal input from the outside or an internal start signal output from the timer circuit is at an active level. When the external activation signal changes from the active level to the inactive level and the microcomputer operating voltage is not supplied from the power supply circuit to the microcomputer, the timer circuit counter starts measuring time and the specified time is The timer circuit outputs when it has passed Serial internal activation signal to the active level, the A vehicle electronic control unit which activates the microcomputer to supply the microcomputer operating voltage to the microcomputer emissions from the power supply circuit,
The microcomputer includes a failure diagnosis unit that performs a failure diagnosis process of the timer circuit during a delay time from when the external activation signal becomes an inactive level to when the operation of the microcomputer stops. An electronic control device for a vehicle.
前記故障診断部は、前記マイクロコンピュータに内蔵されている内部カウンタのカウンタ値と、前記タイマ回路の前記カウンタのカウント値とを比較し、両カウント値が同一であるか否かを判定することを特徴とする請求項1に記載の車両用電子制御装置。   The failure diagnosis unit compares a counter value of an internal counter built in the microcomputer with a count value of the counter of the timer circuit and determines whether or not both count values are the same. The vehicular electronic control device according to claim 1. 前記故障診断部は、前記タイマ回路に任意の計測時間を設定して前記カウンタによる時間計測を開始し、任意設定の時間が経過した時点で、前記内部起動信号が非アクティブレベルからアクティブレベルに変化するか否かを判定することを特徴とする請求項1に記載の車両用電子制御装置。   The failure diagnosis unit sets an arbitrary measurement time in the timer circuit and starts time measurement by the counter, and the internal activation signal changes from an inactive level to an active level when the arbitrary set time has elapsed. The vehicle electronic control device according to claim 1, wherein it is determined whether or not to perform the operation. 前記メインリレー駆動回路の出力ラインの状態を確認するモニタラインを備えており、
前記外部起動信号が非アクティブレベルである状態で、前記内部起動信号が非アクティブレベルからアクティブレベルに変化した場合に、前記メインリレー駆動回路の入力ラインのレベルが、非アクティブレベルからアクティブレベルに変化するか否かを判定することを特徴とする請求項1に記載の車両用電子制御装置。
A monitor line for confirming the state of the output line of the main relay drive circuit;
When the internal activation signal changes from the inactive level to the active level while the external activation signal is at the inactive level, the level of the input line of the main relay drive circuit changes from the inactive level to the active level. The vehicle electronic control device according to claim 1, wherein it is determined whether or not to perform the operation.
前記故障診断部は、前記内部起動信号がアクティブレベルの場合に、前記タイマ回路に対するタイマ動作電圧の供給を強制的に遮断し、前記内部起動信号がアクティブレベルから非アクティブレベルに変化するか否かを判定することを特徴とする請求項1に記載の車両用電子制御装置。   The failure diagnosis unit forcibly cuts off the supply of the timer operating voltage to the timer circuit when the internal activation signal is at an active level, and whether or not the internal activation signal changes from an active level to an inactive level. The vehicle electronic control device according to claim 1, wherein: 前記外部起動信号と前記内部起動信号の両方が非アクティブレベルになってから、前記故障診断部による診断結果をマイクロコンピュータの記憶部に記録し、故障判定時には前記タイマ回路へのタイマ動作電圧の供給を遮断することを特徴とする請求項1から5のいずれか一項に記載の車両用電子制御装置。   After both the external activation signal and the internal activation signal become inactive levels, the diagnosis result by the failure diagnosis unit is recorded in the storage unit of the microcomputer, and the timer operating voltage is supplied to the timer circuit at the time of failure determination The vehicle electronic control device according to claim 1, wherein the electronic control device for a vehicle is cut off. 前記故障診断部によって前記タイマ回路の故障診断結果が異常と判定された場合には、前記マイクロコンピュータへの給電停止時間を計測し、その時間が設定値に達すると前記マイクロコンピュータを再起動させる動作は行わない処理を行うことを特徴とする請求項1から6のいずれか一項に記載の車両用電子制御装置。   When the failure diagnosis result of the timer circuit is determined to be abnormal by the failure diagnosis unit, an operation for measuring a power supply stop time to the microcomputer and restarting the microcomputer when the time reaches a set value The vehicle electronic control device according to any one of claims 1 to 6, wherein a process that is not performed is performed.
JP2009020448A 2009-01-30 2009-01-30 Electronic control device for vehicle Withdrawn JP2010176541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009020448A JP2010176541A (en) 2009-01-30 2009-01-30 Electronic control device for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009020448A JP2010176541A (en) 2009-01-30 2009-01-30 Electronic control device for vehicle

Publications (1)

Publication Number Publication Date
JP2010176541A true JP2010176541A (en) 2010-08-12

Family

ID=42707426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009020448A Withdrawn JP2010176541A (en) 2009-01-30 2009-01-30 Electronic control device for vehicle

Country Status (1)

Country Link
JP (1) JP2010176541A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013124604A (en) * 2011-12-15 2013-06-24 Honda Motor Co Ltd Electronic control device
JP2014238021A (en) * 2013-06-06 2014-12-18 株式会社デンソー Electronic controller
KR101832278B1 (en) 2011-10-18 2018-02-27 콘티넨탈 오토모티브 시스템 주식회사 Method for diagnosing engine off timer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005226488A (en) * 2004-02-10 2005-08-25 Denso Corp Electronic control device for vehicle
JP2006307721A (en) * 2005-04-27 2006-11-09 Denso Corp Electronic control unit for vehicle
JP2008083996A (en) * 2006-09-27 2008-04-10 Fujitsu Ltd Information processing apparatus, apparatus for controlling the same, method for controlling the same, and control program
JP2008181323A (en) * 2007-01-24 2008-08-07 Denso Corp Electronic controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005226488A (en) * 2004-02-10 2005-08-25 Denso Corp Electronic control device for vehicle
JP2006307721A (en) * 2005-04-27 2006-11-09 Denso Corp Electronic control unit for vehicle
JP2008083996A (en) * 2006-09-27 2008-04-10 Fujitsu Ltd Information processing apparatus, apparatus for controlling the same, method for controlling the same, and control program
JP2008181323A (en) * 2007-01-24 2008-08-07 Denso Corp Electronic controller

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101832278B1 (en) 2011-10-18 2018-02-27 콘티넨탈 오토모티브 시스템 주식회사 Method for diagnosing engine off timer
JP2013124604A (en) * 2011-12-15 2013-06-24 Honda Motor Co Ltd Electronic control device
JP2014238021A (en) * 2013-06-06 2014-12-18 株式会社デンソー Electronic controller
US9670859B2 (en) 2013-06-06 2017-06-06 Denso Corporation Electronic control unit having abnormality diagnostic function of soak timer

Similar Documents

Publication Publication Date Title
JP4345708B2 (en) Electronic control device for vehicle
JP5238431B2 (en) Vehicle load control device
JP2008051014A (en) Automatic start control device for internal combustion engine
JP3870751B2 (en) Electronic control unit
JP5263142B2 (en) Electronic control unit
JP2010176541A (en) Electronic control device for vehicle
JP2009127574A (en) Control device for internal combustion engine
JP2006290152A (en) Vehicle control device and program used therefor
JP2015075961A (en) Electronic control device
JPH1173203A (en) Electronic control unit
JP5928358B2 (en) Information processing device, monitoring device, control device
JP2002004932A (en) Diagnostic device for abnormality in engine system
JP3870974B2 (en) Electronic control unit
JP2007211714A (en) Engine control unit, abnormality judgment device and program
JP5223630B2 (en) Electronic control unit
JP2009148071A (en) Electronic control device
JP2020050319A (en) Power supply monitoring device, power supply control system and power supply monitoring method
KR101832278B1 (en) Method for diagnosing engine off timer
JP2016130967A (en) Electronic control device
JP6112619B2 (en) O2 sensor failure diagnosis device
JP6172040B2 (en) Electronic control unit
JP2008019829A (en) Engine control unit for vehicle
JP2008063957A (en) Malfunction diagnosis device for glow plug
JP5628142B2 (en) Electronic control unit
JP2002014720A5 (en)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130214