JP2010197104A - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP2010197104A
JP2010197104A JP2009039823A JP2009039823A JP2010197104A JP 2010197104 A JP2010197104 A JP 2010197104A JP 2009039823 A JP2009039823 A JP 2009039823A JP 2009039823 A JP2009039823 A JP 2009039823A JP 2010197104 A JP2010197104 A JP 2010197104A
Authority
JP
Japan
Prior art keywords
unit
time
timer unit
timer
control unit
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.)
Granted
Application number
JP2009039823A
Other languages
Japanese (ja)
Other versions
JP5103418B2 (en
Inventor
Takuto Okamoto
拓人 岡本
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 JP2009039823A priority Critical patent/JP5103418B2/en
Publication of JP2010197104A publication Critical patent/JP2010197104A/en
Application granted granted Critical
Publication of JP5103418B2 publication Critical patent/JP5103418B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Predetermined Time Intervals (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic control device with a simple configuration capable of quickly and accurately determining an abnormality in a timer unit 4. <P>SOLUTION: A timer unit measurement time is initialized in the timer unit 4 by outputting an initialization signal to the timer unit 4 from a control unit 5 at a preset start timing. Further, the time of the predetermined period from the start timing to a preset end timing is measured at the control unit 5 separately from the timer unit 4, and the abnormality of the timer unit 4 is determined based on the measured control unit measurement time CMCtime and the timer unit measurement time TICtime of the timer unit 4 at the end timing. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、電子制御装置に関し、例えばタイマ部でタイマ部計測時間を計測し、該計測したタイマ部計測時間に基づいて制御部で制御を行う電子制御装置に関する。   The present invention relates to an electronic control device, for example, an electronic control device that measures a timer unit measurement time with a timer unit and performs control with a control unit based on the measured timer unit measurement time.

現在、多様なセンサ信号に対し、デジタル信号処理を施してアクチュエータを制御する電子制御が一般的に行われている。一例として、内燃機関の制御においても電子制御装置が広く使われている。   Currently, electronic control is generally performed to control an actuator by performing digital signal processing on various sensor signals. As an example, electronic control devices are widely used in the control of internal combustion engines.

内燃機関の電子制御装置では、燃焼に関わる燃料噴射量の制御や吸入空気量の制御、使用するセンサやアクチュエータの診断等、様々な演算を行っている。センサやアクチュエータの診断の中には、内燃機関が停止してから数時間後に実施しなければ正しく判定できないものや、内燃機関が停止してから数時間以上経過した後に再始動した場合のみ実施しなければ正しく判定できないものがあり、このような診断においては、内燃機関を停止している間の時間を計測することが要求される。   In an electronic control device of an internal combustion engine, various calculations are performed such as control of a fuel injection amount related to combustion, control of an intake air amount, diagnosis of sensors and actuators used, and the like. The diagnosis of sensors and actuators should only be performed if the internal combustion engine cannot be judged correctly unless it is performed several hours after it has stopped, or if it is restarted after several hours have passed since the internal combustion engine stopped. If there is something that cannot be determined correctly, such a diagnosis requires measuring the time during which the internal combustion engine is stopped.

一方、電子制御装置の消費電力を低減するために、イグニッションキーがオフの状態では、電子制御装置の制御部に対する電源供給を停止することが一般的に行われている。したがって、電子制御装置の内部に、制御部とは別に、制御部を停止している間も時間を計測できかつ消費電力の小さいタイマ部を設置し、制御部への電源供給を停止している間の時間を計測し、タイマ部で所定時間を計測した後に、制御部に電源を供給して内燃機関停止後の診断等を実施させることが行われている。   On the other hand, in order to reduce the power consumption of the electronic control device, the power supply to the control unit of the electronic control device is generally stopped when the ignition key is off. Therefore, in addition to the control unit, a timer unit that can measure time and consumes less power is installed inside the electronic control unit, and power supply to the control unit is stopped. After the time is measured and a predetermined time is measured by the timer unit, power is supplied to the control unit to perform diagnosis after the internal combustion engine is stopped.

タイマ部を使用する電子制御装置では、タイマ部による時間計測機能が故障していると、正確な時間計測ができない。したがって、タイマ部の時間計測機能を診断する必要がある。   In an electronic control device that uses a timer unit, if the time measurement function of the timer unit is broken, accurate time measurement cannot be performed. Therefore, it is necessary to diagnose the time measurement function of the timer unit.

特許文献1には、電源スイッチのオンより作動しオフにより停止する制御部と、電源スイッチのオンオフにかかわらず継続的に時間を計測する時計ICを有し、所定期間の時間を、制御部の内部タイマで計測し、時計ICの時刻と比較することによって時計ICの異常を判定する電子制御装置の技術が開示されている。時計ICは、日時を設定して起動すると、「年、月、日、時、分、秒」を内蔵カウンタで計数し、電源供給が継続される限り動き続け、時間を計測する。   Patent Document 1 includes a control unit that operates when the power switch is turned on and stops when the power switch is turned off, and a clock IC that continuously measures time regardless of whether the power switch is turned on or off. There is disclosed a technique of an electronic control device that determines an abnormality of a timepiece IC by measuring with an internal timer and comparing it with the time of the timepiece IC. When the clock IC is activated with the date and time set, it counts “year, month, day, hour, minute, second” with the built-in counter, and continues to operate as long as the power supply continues, and measures the time.

特開2002−14702号公報Japanese Patent Laid-Open No. 2002-14702

特許文献1に記載された技術の場合、制御部は、時計ICから開始時刻の時刻データ(「年、月、日、時、分、秒」)と終了時刻の時刻データ(「年、月、日、時、分、秒」)を用いて所定期間の時間を算出している。   In the case of the technique described in Patent Literature 1, the control unit starts time data (“year, month, day, hour, minute, second”) from the clock IC and time data (“year, month, Day, hour, minute, second ") is used to calculate the time for a predetermined period.

したがって、制御部は、計測時間を計算する場合に、開始時刻の時刻データと終了時刻の時刻データに基づく複雑な計算を行う必要があり、特に、計測時間が「年」や「月」等の時間のレベルをまたぐ場合には、時刻データの変換演算が必要になり、計測時間の計算が非常に複雑になる。したがって、従来は、制御部の処理負荷が大きく、タイマ部の異常を迅速に判定することは困難であった。   Therefore, when calculating the measurement time, the control unit needs to perform a complicated calculation based on the time data of the start time and the time data of the end time. In particular, the measurement time such as “year” or “month” When straddling time levels, a time data conversion operation is required, and the calculation of the measurement time becomes very complicated. Therefore, conventionally, the processing load on the control unit is large, and it has been difficult to quickly determine abnormality of the timer unit.

また、制御部は、「年、月、日、時、分、秒」に関するカレンダ情報を持つ必要がある。カレンダ情報は、その年の年間日数や、その月の月間日数等の情報を有しており、その情報量は膨大なものとなっている。したがって、電子制御装置は、膨大な量のカレンダ情報を記憶することができる大容量のROMやRAMを備える必要がある。   Further, the control unit needs to have calendar information regarding “year, month, day, hour, minute, second”. The calendar information has information such as the number of days in the year and the number of days in the month, and the amount of information is enormous. Therefore, the electronic control device needs to include a large-capacity ROM or RAM that can store a huge amount of calendar information.

本発明は、上記の点に鑑みてなされたものであり、その目的とするところは、簡単な構成で迅速且つ正確にタイマ部の異常を判定できる電子制御装置を提供することである。   The present invention has been made in view of the above points, and an object of the present invention is to provide an electronic control device that can quickly and accurately determine abnormality of a timer unit with a simple configuration.

上記課題を解決する本発明の電子制御装置は、予め設定された開始タイミングで制御部からタイマ部に初期化信号を出力してタイマ部にタイマ部計測時間を初期化させる。そして、制御部でタイマ部とは別に開始タイミングから予め設定された終了タイミングまでの所定期間の時間を計測させ、その計測した制御部計測時間と、終了タイミングにおけるタイマ部のタイマ部計測時間に基づいてタイマ部の異常を判定する。   The electronic control device of the present invention that solves the above problem outputs an initialization signal from the control unit to the timer unit at a preset start timing to cause the timer unit to initialize the timer unit measurement time. Then, the control unit measures the time of a predetermined period from the start timing to the preset end timing separately from the timer unit, and based on the measured control unit measurement time and the timer unit measurement time of the timer unit at the end timing To determine whether the timer is abnormal.

本発明によれば、タイマ部のタイマ部計測時間を開始タイミングで初期化するので、終了タイミングにおけるタイマ部計測時間を、開始タイミングから終了タイミングまでの所定期間の時間としてそのまま用いることができる。したがって、従来のような開始時刻と終了時刻に基づく複雑な計算を省略することができ、制御部の処理負荷を低減し、タイマ部の異常を迅速且つ正確に判定できる。   According to the present invention, since the timer part measurement time of the timer part is initialized at the start timing, the timer part measurement time at the end timing can be used as it is as a predetermined period of time from the start timing to the end timing. Therefore, the conventional complicated calculation based on the start time and the end time can be omitted, the processing load of the control unit can be reduced, and abnormality of the timer unit can be determined quickly and accurately.

また、タイマ部のタイマ部計測時間を開始タイミングで初期化するので、タイマ部計測時間の最大値を、「時間」あるいは「日」までとし、「月」や「年」については計測対象から除外することができる。したがって、カレンダ情報を不要もしくは最小なものとし、ROMやRAMの容量を小さくすることができ、製品価格を安価なものにすることができる。   Also, because the timer part measurement time of the timer part is initialized at the start timing, the maximum value of the timer part measurement time is set to “hour” or “day”, and “month” and “year” are excluded from the measurement target. can do. Therefore, the calendar information can be made unnecessary or minimal, the capacity of the ROM or RAM can be reduced, and the product price can be reduced.

本実施の形態における電子制御装置の構成を示すブロック図。The block diagram which shows the structure of the electronic controller in this Embodiment. 制御部とタイマ部の動作タイミングチャート。The operation timing chart of a control part and a timer part. 従来の電子制御装置の内部機能を示すブロック図。The block diagram which shows the internal function of the conventional electronic control apparatus. 本実施の形態における電子制御装置の内部機能を示すブロック図。The block diagram which shows the internal function of the electronic controller in this Embodiment. 本実施の形態におけるタイマ部異常判定方法を説明するフローチャート。The flowchart explaining the timer part abnormality determination method in this Embodiment.

以下、本発明の実施の形態について図面を用いて説明する。
図1は、本実施の形態における電子制御装置の構成を示すブロック図である。
電子制御装置1は、自動車に搭載されて内燃機関を制御するECU(エンジンコントロールユニット)であり、バッテリ2と接続されている。電子制御装置1は、図1に示すように、電源部3と、タイマ部4と、制御部5と、電源ドライバ部13を備えている。電源部3は、電源ICによって構成されており、電源ライン6を介してバッテリ2に接続され、電源ライン7を介してタイマ部4に接続されている。また、電源部3は、電源スイッチSW11を有する電源ライン8を介してバッテリ2に接続され、ON/OFF電源ライン9を介して制御部5に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of an electronic control device in the present embodiment.
The electronic control device 1 is an ECU (Engine Control Unit) that is mounted on an automobile and controls an internal combustion engine, and is connected to a battery 2. As shown in FIG. 1, the electronic control device 1 includes a power supply unit 3, a timer unit 4, a control unit 5, and a power supply driver unit 13. The power supply unit 3 includes a power supply IC, and is connected to the battery 2 through the power supply line 6 and is connected to the timer unit 4 through the power supply line 7. The power supply unit 3 is connected to the battery 2 through a power supply line 8 having a power switch SW11, and is connected to the control unit 5 through an ON / OFF power supply line 9.

電源部3は、タイマ部4に対してバッテリ2から常時電源を供給する。そして、制御部5に対しては、電源スイッチSW11のオンにより電源を供給し、電源スイッチSW11のオフにより電源の供給を停止する。電源スイッチSW11は、信号ライン16を介して電源ドライバ部13と接続されている。   The power supply unit 3 constantly supplies power from the battery 2 to the timer unit 4. The controller 5 is supplied with power when the power switch SW11 is turned on, and is stopped when the power switch SW11 is turned off. The power switch SW <b> 11 is connected to the power driver unit 13 via the signal line 16.

電源ドライバ部13は、IGNSW12を有する信号ライン14を介してバッテリ2と接続され、また、信号ライン15を介して制御部5と接続されている。電源ドライバ部13は、信号ライン14と信号ライン15のいずれかがON信号である場合、信号ライン16を介して電源スイッチSW11をオンする。   The power supply driver unit 13 is connected to the battery 2 through a signal line 14 having an IGNSW 12, and is connected to the control unit 5 through a signal line 15. The power supply driver unit 13 turns on the power switch SW11 via the signal line 16 when either the signal line 14 or the signal line 15 is an ON signal.

IGNSW12は、自動車のイグニッションスイッチであり、運転者がイグニッションスイッチをオンにすると、信号ライン14がON信号となり、電源ドライバ部13と信号ライン16を介して電源スイッチSW11がオンになる。その後、制御部5から信号ライン15にON信号を出力する。イグニッションスイッチをオフにすると、IGNSW12がオフになり、信号ライン14がOFF信号となる。   The IGNSW 12 is an automobile ignition switch. When the driver turns on the ignition switch, the signal line 14 is turned on, and the power switch SW11 is turned on via the power driver section 13 and the signal line 16. Thereafter, an ON signal is output from the control unit 5 to the signal line 15. When the ignition switch is turned off, the IGNSW 12 is turned off and the signal line 14 is turned off.

制御部5では、信号ライン14を介してIGNSW12のオフを認識し、所定の終了処理を行った後、信号ライン15にOFF信号を出力する。その後、電源ドライバ部13では、信号ライン14と信号ライン15がOFF信号であることを認識し、信号ライン16を介して電源スイッチSW11をオフにする。   The control unit 5 recognizes that the IGNSW 12 is turned off via the signal line 14, performs a predetermined termination process, and then outputs an OFF signal to the signal line 15. Thereafter, the power driver section 13 recognizes that the signal line 14 and the signal line 15 are OFF signals, and turns off the power switch SW11 via the signal line 16.

電源部3は、電源スイッチSW11を有する電源ライン8の信号がHighレベルであればイグニッションスイッチがオンであると判定し、ON/OFF電源ライン9を介して制御部5に電源を供給する動作を行う。そして、電源ライン8の信号がLowレベルになるとイグニッションスイッチがオフであると判定し、所定時間経過後に制御部5への電源供給を停止する動作を行う。   The power supply unit 3 determines that the ignition switch is on when the signal of the power supply line 8 having the power switch SW11 is at a high level, and supplies power to the control unit 5 via the ON / OFF power supply line 9. Do. When the signal of the power supply line 8 becomes a low level, it is determined that the ignition switch is off, and an operation of stopping the power supply to the control unit 5 is performed after a predetermined time has elapsed.

タイマ部4は、時計用の時間計測ICによって構成されており、時計と同様の時間計測機能を有し、秒、分、時、日、月、年の時間計測レベルにて時間を計測する。タイマ部4は、制御部5とシリアル通信(SCI通信)10が可能に接続されており、制御部5からタイマ部4の初期化、時刻設定、時刻の読み出し等を操作できるようになっている。   The timer unit 4 is constituted by a time measuring IC for a clock, has a time measuring function similar to that of a clock, and measures time at the time measuring level of seconds, minutes, hours, days, months, and years. The timer unit 4 is connected to the control unit 5 so that serial communication (SCI communication) 10 is possible, and the control unit 5 can operate initialization, time setting, time reading, and the like of the timer unit 4. .

制御部5は、制御用マイコンによって構成されており、動作クロックに応じてカウントアップすることで、制御部5の内部タイマ34(例えば図4を参照)としてタイマ部4とは別に時間の計測が可能である。制御部5は、A/D入力やD/A出力、デジタル入出力等の様々なインターフェース(図示せず)を有し、内燃機関の状態を検出する様々なセンサの信号をデジタル値として検出する。そして、その検出したデジタル値を基に演算を行い、演算した結果に基づいて内燃機関の状態を制御するアクチュエータへの出力信号を変えることで、アクチュエータの動作を制御する。制御部5は、シリアル通信10によって、タイマ部4の初期化、時刻設定、およびタイマ部4からの時刻の読み出し等ができる。   The control unit 5 is configured by a control microcomputer, and by counting up according to the operation clock, the time is measured separately from the timer unit 4 as the internal timer 34 of the control unit 5 (see, for example, FIG. 4). Is possible. The control unit 5 has various interfaces (not shown) such as A / D input, D / A output, and digital input / output, and detects signals from various sensors that detect the state of the internal combustion engine as digital values. . Then, an operation is performed based on the detected digital value, and the operation of the actuator is controlled by changing an output signal to the actuator that controls the state of the internal combustion engine based on the calculated result. The control unit 5 can initialize the timer unit 4, set the time, read the time from the timer unit 4, and the like through the serial communication 10.

図2は、制御部とタイマ部の動作タイミングを示すタイミングチャートである。
電子制御装置1は、図2に示すように、制御部5の動作中(時間aから時間dの間)に、タイマ部4の異常判定を行う。そして、タイマ部4は正常と判定された場合は、制御部5の停止中にタイマ部4による時間計測を行い、エンジン停止後(時間d)から所定時間が経過した後(時間e)に、制御部5を自動的に起動させて、センサ類の診断処理等を実施する。
FIG. 2 is a timing chart showing operation timings of the control unit and the timer unit.
As shown in FIG. 2, the electronic control device 1 performs abnormality determination of the timer unit 4 while the control unit 5 is operating (between time a and time d). When the timer unit 4 is determined to be normal, the timer unit 4 measures time while the control unit 5 is stopped, and after a predetermined time has elapsed (time e) after the engine is stopped (time d), The controller 5 is automatically activated to perform sensor diagnosis processing and the like.

まず、時間aにおいて、イグニッションスイッチの操作によりIGNSW12がオンされると、信号ライン14、電源ドライバ13、信号ライン16を介して電源スイッチSW11がオンされ、電源部3によって制御部5に電源が供給され、制御部5が作動する(オンする)。   First, at time a, when the IGNSW 12 is turned on by operating the ignition switch, the power switch SW11 is turned on via the signal line 14, the power supply driver 13, and the signal line 16, and the power supply unit 3 supplies power to the control unit 5. Then, the control unit 5 operates (turns on).

そして、制御部5とタイマ部4の両方がオンの状態である時間bから時間cまでの間にタイマ部4の異常判定処理21が実施される。そして、制御部5への電源供給が停止される直前の時間dから次に制御部5に電源を供給する時間eまでの経過時間を計測する時間計測処理22がタイマ部4によって実施される。   Then, the abnormality determination process 21 of the timer unit 4 is performed from the time b to the time c in which both the control unit 5 and the timer unit 4 are in the on state. Then, the timer unit 4 performs a time measurement process 22 for measuring an elapsed time from a time d immediately before the power supply to the control unit 5 is stopped to a time e for supplying power to the control unit 5 next.

本実施の形態では、制御部5とタイマ部4の両方がオンの状態となった時点が開始タイミングとして設定されている。そして、終了タイミングは、制御部5の内部タイマによって開始タイミングから予め設定された時間の経過を計測した時点、もしくは、電源スイッチSW11がオフにされた時点に設定されている。   In the present embodiment, the time point when both the control unit 5 and the timer unit 4 are turned on is set as the start timing. The end timing is set at the time when the elapse of a preset time from the start timing is measured by the internal timer of the control unit 5 or when the power switch SW11 is turned off.

また、本実施の形態では、タイマ部4には常時電源が供給されている場合を例に説明したが、不要時にはタイマ部4への電源の供給を停止してもよい。例えば、図2に二点鎖線7aで示すように、イグニッションスイッチの操作により電源スイッチSW11がオンにされるまでは、タイマ部4もオフとされ、時間aで電源スイッチSW11のオンにより制御部5がオフからオンになると同時にタイマ部4をオフからオンにしてもよい。   Further, in the present embodiment, the case where power is always supplied to the timer unit 4 has been described as an example, but supply of power to the timer unit 4 may be stopped when unnecessary. For example, as indicated by a two-dot chain line 7a in FIG. 2, the timer unit 4 is also turned off until the power switch SW11 is turned on by the operation of the ignition switch, and the control unit 5 is turned on by turning on the power switch SW11 at time a. The timer unit 4 may be turned on from off at the same time as turning on from off.

そして、時間dで電源スイッチSW11のオフにより制御部5がオンからオフとされ、タイマ部4による時間計測が実施されて時間dから所定期間の時間が経過した時間eの時点で、図2に二点鎖線7bで示すように、タイマ部4をオンからオフにしてもよい。かかる構成にすることで、タイマ部4が作動している時間を短くすることができ、タイマ部4の消費電力をより少なくすることができる。   Then, at time d, when the power switch SW11 is turned off, the control unit 5 is turned from on to off, the time measurement by the timer unit 4 is performed, and at a time e when a predetermined period of time has elapsed from time d, FIG. As indicated by a two-dot chain line 7b, the timer unit 4 may be turned off from on. With this configuration, the time during which the timer unit 4 is operating can be shortened, and the power consumption of the timer unit 4 can be further reduced.

図3は、従来の電子制御装置の内部機能を説明するブロック図である。
タイマ部4は、タイマ部4内で演算した時刻データを格納する時間レジスタ31を有している。制御部5は、計測開始時刻読み出し手段37と、計測終了時刻読み出し手段38を有している。計測開始時刻読み出し手段37は、予め設定された開始タイミングにおいて、タイマ部4から時間レジスタ31の値を読み出して、開始時間読み値として制御部5内の記憶手段であるRAM32に格納する処理を行う。同様に、計測終了時刻読み出し手段38は、予め設定された終了タイミングにおいて、タイマ部4から時間レジスタ31の値を読み出して、終了時間読み値として制御部5内のRAM33に格納する処理を行う。
FIG. 3 is a block diagram illustrating an internal function of a conventional electronic control device.
The timer unit 4 includes a time register 31 that stores time data calculated in the timer unit 4. The control unit 5 includes a measurement start time reading unit 37 and a measurement end time reading unit 38. The measurement start time reading unit 37 reads the value of the time register 31 from the timer unit 4 at a preset start timing and stores the value in the RAM 32 which is a storage unit in the control unit 5 as a start time reading value. . Similarly, the measurement end time reading means 38 reads the value of the time register 31 from the timer unit 4 at a preset end timing and stores it in the RAM 33 in the control unit 5 as the end time reading value.

また、制御部5は、内部タイマ34と、制御部計測時間算出手段39と、タイマ部計測時間算出手段40と、異常判定手段41を有している。制御部5の内部タイマ34は、タイマ部4とは別に、時間を計測する処理を行う。内部タイマ34は、制御部5内で所定間隔毎にカウントアップしたカウンタ値と、所定間隔の乗算結果から時間を計測する。   In addition, the control unit 5 includes an internal timer 34, a control unit measurement time calculation unit 39, a timer unit measurement time calculation unit 40, and an abnormality determination unit 41. The internal timer 34 of the control unit 5 performs processing for measuring time separately from the timer unit 4. The internal timer 34 measures time from the counter value counted up at predetermined intervals in the control unit 5 and the multiplication result at the predetermined intervals.

制御部計測時間算出手段39は、内部タイマ34により計測した時間に基づいて、開始タイミングから終了タイミングまでの所定期間の時間である制御部計測時間CMCtimeを算出し、制御部5のRAM35に格納する処理を行う。タイマ部計測時間算出手段40は、RAM32とRAM33にそれぞれ格納された開始時刻読み値と終了時刻読み値を用いて、開始タイミングから終了タイミングまでの所定期間の時間であるタイマ部計測時間TICtimeを算出し、制御部5のRAM36に格納する処理を行う。   Based on the time measured by the internal timer 34, the control unit measurement time calculation means 39 calculates a control unit measurement time CMCtime that is a predetermined period from the start timing to the end timing, and stores it in the RAM 35 of the control unit 5. Process. The timer unit measurement time calculation means 40 calculates a timer unit measurement time TICtime which is a time of a predetermined period from the start timing to the end timing, using the start time reading and the end time reading stored in the RAM 32 and RAM 33, respectively. Then, the process of storing in the RAM 36 of the control unit 5 is performed.

異常判定手段41は、RAM35とRAM36にそれぞれ格納された制御部計測時間CMCtimeとタイマ部計測時間TICtimeに基づいてタイマ部4の異常を判定する処理を行う。異常判定手段41は、制御部計測時間CMCtimeとタイマ部計測時間TICtimeを比較し、互いの整合性が得られない場合にはタイマ部4の異常と判定し、整合性が得られる場合にはタイマ部4は正常と判定する。   The abnormality determination unit 41 performs processing for determining abnormality of the timer unit 4 based on the control unit measurement time CMCtime and the timer unit measurement time TICtime stored in the RAM 35 and the RAM 36, respectively. The abnormality determination unit 41 compares the control unit measurement time CMCtime and the timer unit measurement time TICtime, determines that the timer unit 4 is abnormal when the mutual consistency is not obtained, and determines the timer when the consistency is obtained. The unit 4 determines that it is normal.

タイマ計測時間算出手段40によりタイマ部計測時間TICtimeを算出する方法の一例として、RAM32の開始時間読み値とRAM33の終了時間読み値との各レベル(秒、分、時間等)の差分を取り、差分から経過時間を演算する方法がある。   As an example of a method for calculating the timer unit measurement time TICtime by the timer measurement time calculation means 40, the difference between each level (second, minute, time, etc.) between the start time reading value of the RAM 32 and the end time reading value of the RAM 33 is taken. There is a method of calculating the elapsed time from the difference.

しかしながら、上記の算出方法では、例えば年をまたいで計測をした場合、年、月、日の差分がマイナスとなり、経過時間の算出には、各レベルをまたぐ変換演算が必要になり、演算が非常に複雑になってしまう。   However, in the above calculation method, for example, when measuring across years, the difference between the year, month, and day is negative, and the calculation of elapsed time requires a conversion operation that crosses each level, making the calculation extremely difficult. It becomes complicated.

また、別の算出方法として、RAM32の開始時間読み値とRAM33の終了時間読み値を全て最小の単位に統一して算出し、両者の差分を取る方法があるが、時間の経過と共に演算必要なRAM値が増えることになってしまう。   Further, as another calculation method, there is a method in which the start time reading value of the RAM 32 and the end time reading value of the RAM 33 are all calculated in a minimum unit, and the difference between the two is calculated. The RAM value will increase.

さらに、タイマ部4に、月、年による日数の違いのカレンダ情報が反映されている場合は、制御部5にも同様のカレンダ情報が必要となってしまい、ROM容量の増大、演算の複雑化を招くといった課題がある。   Further, when the calendar information reflecting the difference in the number of days according to the month and year is reflected in the timer unit 4, the same calendar information is required in the control unit 5, which increases the ROM capacity and complicates the calculation. There is a problem of inviting.

図4は、本実施の形態における電子制御装置の内部機能を説明するブロック図である。尚、図3に示す構成要素と同一の構成要素には、同一の符号を付することでその詳細な説明を省略する。   FIG. 4 is a block diagram illustrating an internal function of the electronic control device according to the present embodiment. The same components as those shown in FIG. 3 are denoted by the same reference numerals, and detailed description thereof is omitted.

タイマ部4は、初期化信号の入力により、時間レジスタ31の値を初期化する初期化手段を有している。制御部5は、初期化信号出力手段51と、計測終了時刻読み出し手段50と、タイマ部計測時間算出手段53を有しており、これらの各手段は、制御部5の内部プログラムによって実現される。   The timer unit 4 has initialization means for initializing the value of the time register 31 in response to the input of an initialization signal. The control unit 5 includes an initialization signal output unit 51, a measurement end time reading unit 50, and a timer unit measurement time calculation unit 53. These units are realized by an internal program of the control unit 5. .

初期化信号出力手段51は、開始タイミングでタイマ部4に初期化信号を出力する。タイマ部4は、制御部5から初期化信号を受けると、タイマ部4の時間レジスタ31の値を初期化し、例えば0年1月1日0時0分0秒とする。   The initialization signal output means 51 outputs an initialization signal to the timer unit 4 at the start timing. When the timer unit 4 receives the initialization signal from the control unit 5, the timer unit 4 initializes the value of the time register 31 of the timer unit 4, for example, 0 January 1, 0: 0: 0.

計測終了時刻読み出し手段50は、終了タイミングにおいて、タイマ部4の時間レジスタ31に格納されている計測終了時刻を読み出して、時間レジスタ読み値として、制御部5内のRAM52に格納する処理を行う。   The measurement end time reading means 50 reads the measurement end time stored in the time register 31 of the timer unit 4 at the end timing, and stores it in the RAM 52 in the control unit 5 as a time register read value.

タイマ部計測時間算出手段53は、RAM52に格納した時間レジスタ31の値を、タイマ部計測時間TICtimeとしてRAM36に格納する処理を行う。タイマ部計測時間算出手段53は、タイマ部4の終了タイミングにおけるタイマ部計測時間を、開始タイミングから終了タイミングまでの所定期間の時間としてそのままRAM36に格納するので、従来のタイマ部計測時間算出手段40のように開始時刻と終了時刻に基づく複雑な計算を省略することができる。   The timer unit measurement time calculation means 53 performs processing for storing the value of the time register 31 stored in the RAM 52 in the RAM 36 as the timer unit measurement time TICtime. Since the timer unit measurement time calculation unit 53 stores the timer unit measurement time at the end timing of the timer unit 4 in the RAM 36 as it is as a predetermined period of time from the start timing to the end timing, the conventional timer unit measurement time calculation unit 40 Thus, a complicated calculation based on the start time and the end time can be omitted.

また、タイマ部計測時間算出手段53は、タイマ部計測時間TICtimeの上限を24時間以内に設定することによって、RAM52に格納された時間レジスタ読み値の中から、日、月、年の情報は経過時間の算出に使用する必要が無く、カレンダ情報は不要となる。したがって、従来と比較して、制御部5の記憶容量を少なくすることができる。   Further, the timer part measurement time calculation means 53 sets the upper limit of the timer part measurement time TICtime within 24 hours, so that the date, month, and year information from the time register reading stored in the RAM 52 has elapsed. There is no need to use it to calculate time, and no calendar information is required. Therefore, the storage capacity of the control unit 5 can be reduced as compared with the conventional case.

また、タイマ部計測時間算出手段53は、RAM52から読み出した時間レジスタ読み値を、例えば秒のレベルになおし、日、月、年の情報が初期化した値と異なっていれば、タイマ部4の異常として検出することができる。   In addition, the timer unit measurement time calculation unit 53 resets the time register reading value read from the RAM 52 to, for example, the second level, and if the date, month, and year information are different from the initialized values, the timer unit 4 It can be detected as an abnormality.

尚、異常判定手段41では、従来と同様、制御部5内の内部タイマ34から計測時間算出手段39により算出した制御部計測時間CMCtimeと、タイマ部計測時間TICtimeとの差が所定値以上であれば、タイマ部4の異常と判定する処理が行われる。   In the abnormality determination means 41, the difference between the control part measurement time CMCtime calculated by the measurement time calculation means 39 from the internal timer 34 in the control part 5 and the timer part measurement time TICtime is not less than a predetermined value, as in the conventional case. For example, processing for determining that the timer unit 4 is abnormal is performed.

図5は、本実施の形態におけるタイマ部異常判定方法を説明するフローチャートである。
まず、開始タイミングでタイマ部4の時間レジスタ31の初期化と、制御部5の内部タイマ4における時間計測が開始される(ステップS101)。
FIG. 5 is a flowchart for explaining the timer part abnormality determination method in the present embodiment.
First, initialization of the time register 31 of the timer unit 4 and time measurement in the internal timer 4 of the control unit 5 are started at the start timing (step S101).

次に、タイマ部4の初期化が正常に行われたか否かを判断すべく、ステップS102に移行する。ステップS102では、制御部5によってタイマ部4の時間レジスタ31の値が確認され、タイマ部計測時間TICtimeが所定値t1よりも小さいか否かが判断される。所定値t1は、タイマ部4を初期化してからタイマ部4の時間レジスタ31の値を確認するまでの時間よりも大きな値とされる。   Next, the process proceeds to step S102 in order to determine whether the timer unit 4 has been normally initialized. In step S102, the value of the time register 31 of the timer unit 4 is confirmed by the control unit 5, and it is determined whether or not the timer unit measurement time TICtime is smaller than a predetermined value t1. The predetermined value t1 is a value larger than the time from when the timer unit 4 is initialized until the value of the time register 31 of the timer unit 4 is confirmed.

ここで、タイマ部計測時間TICtimeが所定値t1以上と判断された場合(ステップS102でNO)は、タイマ部4が正常に初期化されていないと判断し、タイマ部4の異常と判定すべく、ステップS107に移行する。   Here, when the timer unit measurement time TICtime is determined to be equal to or greater than the predetermined value t1 (NO in step S102), it is determined that the timer unit 4 has not been properly initialized, and the timer unit 4 is determined to be abnormal. The process proceeds to step S107.

一方、タイマ部計測時間TICtimeが所定値t1よりも小さいと判断された場合(ステップS102でYES)は、開始タイミングでタイマ部4の初期化が正常に行われたと判断し、終了タイミングを検出すべく、ステップS103に移行する。   On the other hand, if it is determined that the timer unit measurement time TICtime is smaller than the predetermined value t1 (YES in step S102), it is determined that the timer unit 4 has been normally initialized at the start timing, and the end timing is detected. Therefore, the process proceeds to step S103.

ステップS103では、制御部計測時間CMCtimeが所定値t2以上であるか、もしくは電源スイッチSW11がオンからオフにされたと判断されるまで待機する。所定値t2は、日のレベルが変わる24時間と、制御部にて計測可能な時間のうち、いずれか小さい方の時間とする。そして、ステップS103に示すいずれかの条件が成立した場合(ステップS103でYES)は、その成立した時点を終了タイミングとして検出し、ステップS104に移行する。   In step S103, the control unit waits until it is determined that the control unit measurement time CMCtime is equal to or longer than the predetermined value t2 or the power switch SW11 is turned off. The predetermined value t2 is the smaller of the 24 hours when the day level changes and the time that can be measured by the control unit. If any of the conditions shown in step S103 is satisfied (YES in step S103), the time when the condition is satisfied is detected as the end timing, and the process proceeds to step S104.

ステップS104では、制御部5からタイマ部4の時間レジスタ31の値を読み出して、年、月、日の時刻データが、ステップS101で初期化した時間レジスタ31の値と同じであるか否かが判断される。   In step S104, the value of the time register 31 of the timer unit 4 is read from the control unit 5, and whether or not the time data of the year, month, and day is the same as the value of the time register 31 initialized in step S101. To be judged.

そして、両者に差が無ければ(ステップS104でYES)、ステップS105に移行する。また、両者に差がある場合にはタイマ部4の異常と判定すべく、ステップS107に移行する。   If there is no difference between the two (YES in step S104), the process proceeds to step S105. If there is a difference between the two, the process proceeds to step S107 to determine that the timer unit 4 is abnormal.

ステップS105では、タイマ部4のタイマ部計測時間TICtimeと制御部5の制御部計測時間CMCtimeとの差分と、所定時間t3を比較し、差分が所定時間t3以下か否かを判断する。所定値t3はタイマ部4による時間計測に対する要求精度に応じて設定する。   In step S105, the difference between the timer unit measurement time TICtime of the timer unit 4 and the control unit measurement time CMCtime of the control unit 5 is compared with the predetermined time t3, and it is determined whether or not the difference is equal to or less than the predetermined time t3. The predetermined value t3 is set according to the required accuracy for time measurement by the timer unit 4.

そして、差分が所定時間t3以下の場合(ステップS105でYES)には、ステップS106に移行し、タイマ部4は正常であると判断する。一方、差分が所定時間t3よりも大きい場合(ステップS105でNO)には、ステップS107に移行し、タイマ部4の異常(もしくはタイマ部4と制御部5との間の通信異常、制御部5の信号出力異常のいずれか)が起きていると判定する。   If the difference is equal to or shorter than the predetermined time t3 (YES in step S105), the process proceeds to step S106, and it is determined that the timer unit 4 is normal. On the other hand, when the difference is larger than the predetermined time t3 (NO in step S105), the process proceeds to step S107, where the abnormality of the timer unit 4 (or the communication abnormality between the timer unit 4 and the control unit 5 or the control unit 5 occurs). It is determined that one of the above signal output abnormalities) has occurred.

上記構成を有する電子制御装置1によれば、予め設定された開始タイミングで制御部5からタイマ部4に初期化信号を出力してタイマ部4の時間レジスタ31の値を初期化させる。そして、制御部5ではタイマ部4とは別に開始タイミングから終了タイミングまでの所定期間の時間を計測させ、その計測した制御部計測時間CMCtimeと、終了タイミングにおけるタイマ部4のタイマ部計測時間TICtimeに基づいてタイマ部4の異常を判定する。   According to the electronic control device 1 having the above configuration, the control unit 5 outputs an initialization signal to the timer unit 4 at a preset start timing to initialize the value of the time register 31 of the timer unit 4. Then, the control unit 5 measures the time of a predetermined period from the start timing to the end timing separately from the timer unit 4, and determines the measured control unit measurement time CMCtime and the timer unit measurement time TICtime of the timer unit 4 at the end timing. Based on this, the abnormality of the timer unit 4 is determined.

したがって、終了タイミングにおけるタイマ部計測時間TICtimeを、開始タイミングから終了タイミングまでの所定期間の時間としてそのまま用いることができる。したがって、従来のような開始時刻と終了時刻に基づく複雑な計算を省略することができ、制御部5の処理負荷を低減し、タイマ部4の異常を迅速且つ正確に判定できる。   Accordingly, the timer unit measurement time TICtime at the end timing can be used as it is as a predetermined period of time from the start timing to the end timing. Therefore, the conventional complicated calculation based on the start time and the end time can be omitted, the processing load on the control unit 5 can be reduced, and the abnormality of the timer unit 4 can be determined quickly and accurately.

また、タイマ部4の時間レジスタ31の値を開始タイミングで初期化するので、タイマ部計測時間TICtimeの最大値を、「時間」あるいは「日」までとし、「月」や「年」については計測対象から除外することができる。したがって、カレンダ情報を不要もしくは最小なものとし、ROMやRAMの容量を小さくすることができ、製品価格を安価なものにすることができる。   Since the value of the time register 31 of the timer unit 4 is initialized at the start timing, the maximum value of the timer unit measurement time TICtime is set to “hour” or “day”, and “month” and “year” are measured. Can be excluded from the target. Therefore, the calendar information can be made unnecessary or minimal, the capacity of the ROM or RAM can be reduced, and the product price can be reduced.

また、上記した電子制御装置1によれば、制御部5が電源部3から電源の供給を停止することを示す事前指令信号であるイグニッションスイッチのオフを認識したタイミングとして設定することによって、タイマ部計測時間TICtimeと制御部計測時間CMCtimeを可能な限り長時間化することができる。したがって、長時間どうしの比較とすることができ、タイマ部4の異常判定の判定精度を向上させることができる。   Further, according to the electronic control device 1 described above, the timer unit is set by setting the timing at which the control unit 5 recognizes that the ignition switch is turned off as a prior command signal indicating that the supply of power from the power source unit 3 is stopped. The measurement time TICtime and the control unit measurement time CMCtime can be made as long as possible. Therefore, the comparison can be made for a long time, and the determination accuracy of the abnormality determination of the timer unit 4 can be improved.

尚、上述の実施の形態では、制御部5が電源部3から電源の供給を停止することを示す事前指令信号を受けたときを、終了タイミングとする場合を例に説明したが、これに限定されるものではない。   In the above-described embodiment, the case where the control unit 5 receives the pre-command signal indicating that the supply of power from the power supply unit 3 is stopped is described as an example of the end timing. However, the present invention is not limited thereto. Is not to be done.

例えば、日、週、月に代表される時間のレベルが変わるときを、終了タイミングとして設定してもよく、これによれば、終了タイミングをカレンダ情報の切り替わる前の値とすることができ、制御部5が必要とするカレンダ情報の拡大を防止することができる。また、終了タイミングを、制御部5で計測可能な最大時間としてもよく、これにより、タイマ部4の異常判定に用いる計測時間の長時間化を図り、制御部5の計測制限による診断の誤判定を防止することができる。   For example, the time when the level of time represented by day, week, or month changes may be set as the end timing. According to this, the end timing can be set to a value before the calendar information is switched, and the control is performed. The expansion of calendar information required by the unit 5 can be prevented. Further, the end timing may be the maximum time that can be measured by the control unit 5, thereby increasing the measurement time used for the abnormality determination of the timer unit 4, and erroneous determination of diagnosis due to measurement limitation of the control unit 5 Can be prevented.

また、上記した各終了タイミングのうち、開始タイミングから終了タイミングまでの所定期間の時間が最も短くなるものを終了タイミングとして選択してもよい。このように、終了タイミングを、最も短い時間とすることで、異常判定に用いる計測時間の長期間化を図り、時間計測機能の診断精度の向上と、診断の誤判定の防止を両立することができる。   In addition, among the above-described end timings, the one having the shortest period of time from the start timing to the end timing may be selected as the end timing. In this way, by setting the end timing to the shortest time, it is possible to extend the measurement time used for abnormality determination, and to improve both the diagnostic accuracy of the time measurement function and the prevention of erroneous determination of diagnosis. it can.

また、上記した電子制御装置1によれば、タイマ部4を初期化した後に、タイマ部4の時刻情報を経過時間として読み込み、読み込んだ時間が所定の時間(所定値t1)以上の場合には、タイマ部4が正常に初期化されていないと判定して、タイマ部4の異常判定処理を終了するので、タイマ部4の機能異常、もしくは制御部5とタイマ部4との間の通信異常、制御部5の演算異常が発生している場合に、誤って正常であると判定されるのを防ぐことができる。   Further, according to the electronic control device 1 described above, after the timer unit 4 is initialized, the time information of the timer unit 4 is read as an elapsed time, and when the read time is equal to or longer than a predetermined time (predetermined value t1). Since it is determined that the timer unit 4 is not properly initialized and the abnormality determination process of the timer unit 4 is terminated, a malfunction of the timer unit 4 or a communication abnormality between the control unit 5 and the timer unit 4 When the calculation abnormality of the control unit 5 has occurred, it can be prevented from being erroneously determined to be normal.

本発明は、上述の実施の形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で種々の変更が可能である。例えば、上記した実施の形態では、全てタイマ部4の時間レジスタ31がアップカウンタであることを前提に記載しているが、初期化時に設定した値から0秒にカウントダウンするようなタイマ部を用いても同様に実施できる。また、上記した実施の形態では、内燃機関に用いられる電子制御装置1の場合を例に説明したが、本発明の電子制御装置は、内燃機関のものに限定されない。   The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention. For example, in the above-described embodiment, it is described on the assumption that the time register 31 of the timer unit 4 is an up-counter, but a timer unit that counts down to 0 seconds from the value set at the time of initialization is used. However, the same can be done. In the above-described embodiment, the case of the electronic control device 1 used for the internal combustion engine has been described as an example. However, the electronic control device of the present invention is not limited to that of the internal combustion engine.

本発明は、時間計測用のタイマ部と、時間計測が可能なマイコンを有する電子演算装置を使用する場合に非常に有効であり、利用される可能性が高い。   The present invention is very effective when using a timer unit for measuring time and an electronic arithmetic unit having a microcomputer capable of measuring time, and is likely to be used.

1 電子制御装置
2 バッテリ
3 電源部
4 タイマ部
5 制御部
11 電源スイッチ
31 時間レジスタ
TICtime タイマ部計測時間
CMCtime 制御部計測時間
DESCRIPTION OF SYMBOLS 1 Electronic controller 2 Battery 3 Power supply part 4 Timer part 5 Control part 11 Power switch 31 Time register TICtime Timer part measurement time CMCtime Control part measurement time

Claims (7)

時間を計測するタイマ部と、該タイマ部で計測した時間に基づいて制御を行う制御部とを有する電子制御装置であって、
前記タイマ部は、前記制御部から初期化信号の入力を受けることにより前記タイマ部計測時間を初期化する初期化手段を有し、
前記制御部は、予め設定された開始タイミングで前記タイマ部に前記初期化信号を出力する初期化信号出力手段と、前記タイマ部とは別に前記開始タイミングから予め設定された終了タイミングまでの所定期間の時間を計測する時間計測手段と、該時間計測手段により計測した制御部計測時間と前記終了タイミングにおける前記タイマ部の前記タイマ部計測時間に基づいて前記タイマ部の異常を判定する異常判定手段と、
を有することを特徴とする電子制御装置。
An electronic control device having a timer unit that measures time and a control unit that performs control based on the time measured by the timer unit,
The timer unit has initialization means for initializing the timer unit measurement time by receiving an input of an initialization signal from the control unit,
The control unit includes an initialization signal output unit that outputs the initialization signal to the timer unit at a preset start timing, and a predetermined period from the start timing to a preset end timing separately from the timer unit A time measuring means for measuring the time of the control section, an abnormality determining means for determining an abnormality of the timer section based on the control section measuring time measured by the time measuring section and the timer section measuring time of the timer section at the end timing ,
An electronic control device comprising:
前記タイマ部に常時電源を供給する一方、前記制御部には電源スイッチのオンにより電源を供給し、前記電源スイッチのオフにより電源の供給を停止する電源部を有し、
前記制御部が前記電源部から電源の供給を受けて起動したときを前記開始タイミングとして設定し、前記制御部が前記電源部から前記電源の供給を停止することを示す事前指令信号を受けたときを前記終了タイミングとして設定することを特徴とする請求項1に記載の電子制御装置。
While constantly supplying power to the timer unit, the control unit has a power unit that supplies power when a power switch is turned on, and stops power supply when the power switch is turned off.
When the control unit is started by receiving power supply from the power supply unit as the start timing, and when the control unit receives a prior command signal indicating that the power supply unit stops the power supply The electronic control device according to claim 1, wherein the end timing is set.
前記タイマ部計測時間のうち、日、週、月に代表される時間のレベルが変わるときを、前記終了タイミングとして設定することを特徴とする請求項1に記載の電子制御装置。   2. The electronic control device according to claim 1, wherein the end timing is set when a time level represented by a day, a week, and a month in the timer unit measurement time changes. 前記時間計測手段にて計測可能な最大時間を前記終了タイミングとして設定することを特徴とする請求項1に記載の電子制御装置。   The electronic control device according to claim 1, wherein a maximum time that can be measured by the time measuring unit is set as the end timing. 前記終了タイミングのうち、前記所定期間の時間が最も短くなるものを終了タイミングとして選択することを特徴とする請求項2から4のいずれか一項に記載の電子制御装置。   5. The electronic control device according to claim 2, wherein, among the end timings, a timing at which the time of the predetermined period is the shortest is selected as the end timing. 6. 前記制御部は、該制御部からの初期化信号に基づいて前記タイマ部が前記タイマ部計測時間を初期化したか否かを判定するタイマ部初期化判定手段を有し、
該タイマ部初期化判定手段によって前記タイマ部が前記タイマ部計測時間を初期化していないと判定された場合に、前記タイマ部の異常と判定することを特徴とする請求項1から請求項5のいずれか一項に記載の電子制御装置。
The control unit has timer unit initialization determination means for determining whether the timer unit has initialized the timer unit measurement time based on an initialization signal from the control unit,
6. The timer unit according to claim 1, wherein the timer unit initialization determining unit determines that the timer unit is abnormal when the timer unit determines that the timer unit measurement time is not initialized. The electronic control apparatus as described in any one.
時間を計測するタイマ部と、該タイマ部で計測したタイマ部計測時間に基づいて制御を行う制御部とを有する電子制御装置であって、
予め設定された開始タイミングで前記制御部から前記タイマ部に初期化信号を出力して前記タイマ部に前記タイマ部計測時間を初期化させ、前記制御部で前記タイマ部とは別に前記開始タイミングから予め設定された終了タイミングまでの所定期間の時間を計測させ、該計測した制御部計測時間と前記終了タイミングにおける前記タイマ部の前記タイマ部計測時間に基づいて前記タイマ部の異常を判定することを特徴とする電子制御装置。
An electronic control device having a timer unit that measures time and a control unit that performs control based on the timer unit measurement time measured by the timer unit,
The control unit outputs an initialization signal to the timer unit at a preset start timing to cause the timer unit to initialize the timer unit measurement time, and the control unit starts from the start timing separately from the timer unit. Measuring a predetermined period of time until a preset end timing, and determining abnormality of the timer unit based on the measured control unit measurement time and the timer unit measurement time of the timer unit at the end timing Electronic control device characterized.
JP2009039823A 2009-02-23 2009-02-23 Electronic control device Expired - Fee Related JP5103418B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009039823A JP5103418B2 (en) 2009-02-23 2009-02-23 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009039823A JP5103418B2 (en) 2009-02-23 2009-02-23 Electronic control device

Publications (2)

Publication Number Publication Date
JP2010197104A true JP2010197104A (en) 2010-09-09
JP5103418B2 JP5103418B2 (en) 2012-12-19

Family

ID=42821989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009039823A Expired - Fee Related JP5103418B2 (en) 2009-02-23 2009-02-23 Electronic control device

Country Status (1)

Country Link
JP (1) JP5103418B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10655554B2 (en) 2017-12-21 2020-05-19 Hyundai Motor Company Vehicle and engine-off timer diagnosis method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014702A (en) * 2000-06-29 2002-01-18 Denso Corp Electronic controller
JP2008181323A (en) * 2007-01-24 2008-08-07 Denso Corp Electronic controller

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002014702A (en) * 2000-06-29 2002-01-18 Denso Corp Electronic controller
JP2008181323A (en) * 2007-01-24 2008-08-07 Denso Corp Electronic controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10655554B2 (en) 2017-12-21 2020-05-19 Hyundai Motor Company Vehicle and engine-off timer diagnosis method thereof

Also Published As

Publication number Publication date
JP5103418B2 (en) 2012-12-19

Similar Documents

Publication Publication Date Title
JP4592796B2 (en) Electronic control unit with analog input signal
EP1950398B1 (en) Electronic control apparatus
US7369926B2 (en) On-vehicle electronic control unit
JP4345708B2 (en) Electronic control device for vehicle
US10288493B2 (en) Semiconductor integrated circuit and electronic control unit
US6556901B2 (en) Electronic control unit and method measuring and using electric power-off period
JP2002014702A (en) Electronic controller
JPH06288290A (en) Engine control device and air flow meter used therein
JP2003323353A (en) Memory diagnostic device and control device
JP4685610B2 (en) Control devices for vehicles, etc.
JP5103418B2 (en) Electronic control device
JP2010174872A (en) Malfunction diagnosis device for internal combustion engine secondary air supply system
JP3627625B2 (en) In-vehicle control device
JP5223630B2 (en) Electronic control unit
JP5295213B2 (en) Control devices for vehicles, etc.
JP5659995B2 (en) Electronic control unit
JP4472963B2 (en) Control device with time measurement function
KR20130042317A (en) Method for diagnosing engine off timer
JP7183205B2 (en) electronic controller
JP4192379B2 (en) Electronic control system
JP7157873B2 (en) Electronic control device, diagnostic method for electronic control device
JP2000329874A (en) Electronic control device
JP6969293B2 (en) Sensing device, control method, program
US20040044449A1 (en) Vehicular abnormality deecting device
JP2008101550A (en) Method for diagnosing failure of outside air temperature sensor and vehicle movement control device

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120514

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

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

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

Free format text: PAYMENT UNTIL: 20151005

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5103418

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees