JP4007038B2 - Electronic control device for vehicle - Google Patents

Electronic control device for vehicle Download PDF

Info

Publication number
JP4007038B2
JP4007038B2 JP2002097065A JP2002097065A JP4007038B2 JP 4007038 B2 JP4007038 B2 JP 4007038B2 JP 2002097065 A JP2002097065 A JP 2002097065A JP 2002097065 A JP2002097065 A JP 2002097065A JP 4007038 B2 JP4007038 B2 JP 4007038B2
Authority
JP
Japan
Prior art keywords
control
output
control unit
output data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002097065A
Other languages
Japanese (ja)
Other versions
JP2003294129A (en
Inventor
靖宏 神▲崎▼
孝一 大原
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2002097065A priority Critical patent/JP4007038B2/en
Publication of JP2003294129A publication Critical patent/JP2003294129A/en
Application granted granted Critical
Publication of JP4007038B2 publication Critical patent/JP4007038B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Transmission Device (AREA)
  • Safety Devices In Control Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、車両用電子制御装置に係り、特に制御出力データを好適に監視するための技術に関するものである。
【0002】
【従来の技術】
近年では、車両用電子制御装置(車載ECU)の制御機能が益々高度化、複雑化する傾向にあり、制御を実現するためのソフトウエアも大規模化しつつある。例えば自動変速機の変速制御機能を備えるトランスミッションECUでは、トランスミッション構造の改良等に伴いリニアソレノイドの直接圧制御や多段化による複雑な多重変速制御を実現するものが提案されており、構造化やオブジェクト指向の手法によりソフトウェア設計されている。因みに、直接圧制御とは、自動変速機における摩擦係合装置の係合圧を制御しながら変速を行う制御を言い、多重変速制御とは、変速制御中にスロットル開度が変化して別の変速判断が成立する場合等において、既に開始された変速制御途中で新たな変速判断を行う制御を言う。
【0003】
【発明が解決しようとする課題】
上記の如く制御ソフトウエアの大規模化が進む反面、開発期間短縮等が要望されている。こうした実状では、品質面で完全に確認できない項目や仕様上予期しない動作が生じたり、RAM破壊等によるマイコン処理の暴走が生じたりすることが考えられる。マイコン自体が暴走した場合は、周知のウオッチドッグ監視機能等によりリセット等の処置がとられる。この場合、マイコンの処理は初期状態から動作することにより通常制御に復帰することができる。
【0004】
しかしながら、トランスミッションECUにおいて、RAM化け等に起因して変速出力データの固定や予期しない変速出力が生じた場合は、ウオッチドッグパルス(WDパルス)は正しく出力されているため監視機能による復帰は期待できない。また、仮にRAM化けの異常が検出できた場合、当該マイコンにリセットをかけることが考えられるが、かかる場合、全ての制御が初期状態から行われることで正常動作していた他の制御にも影響が及ぶこととなる。つまり、それまで制御していた内容、例えば学習等のデータが全てリセットされてしまい、ドライバビリティや他の監視機能への悪影響が出る可能性が生じる。
【0005】
本発明は、上記問題に着目してなされたものであって、その目的とするところは、制御出力データの異常時において、他の制御への影響なく通常制御への復帰を可能とすることができる車両用電子制御装置を提供することである。
【0006】
【課題を解決するための手段】
請求項1に記載の車両用電子制御装置では、車両走行制御に係わる制御出力データを演算し、当該制御出力データを出力用メモリ領域を介してアクチュエータに出力する制御部と、該制御部から出力される制御出力データを監視する監視部とを備える。そして特に、監視部は、制御部から出力される制御出力データが異常である旨判定した時、制御部に対して異常発生の旨通知する。制御部は、異常発生の通知を受けると先ずは出力用メモリ領域内の制御出力データの初期化を行い、その後、所定時間経過しても異常の状態が継続していると、次に制御出力データの演算に関わる別のメモリ領域も含めて初期化を行う。本発明では、制御出力データの異常時において、制御出力データ関連のデータのみが初期化されるため、その他の正常部分までもが初期化されることはない。故に、他の制御への影響なく通常制御への復帰が可能となる。
【0007】
特に本発明では、制御部によって、データの初期化が段階的に行われるため、初期化の対象とするメモリ領域を必要最小限で指定し、その初期化を最適に行うことができる。
【0008】
請求項に記載の発明では、制御部は、異常発生の通知を受けた後、所定時間経過しても異常の状態が継続していると、ウオッチドッグパルスの出力を停止する。ウオッチドッグパルスの出力停止に伴い、ウオッチドッグ監視回路により制御部がリセットされることとなる。つまり、異常発生後に制御出力データ等の初期化を行っても異常が継続する場合、そのままでは正常復帰が見込めないことが考えられる。かかる場合にはリセットによる正常復帰を図ることとする。
【0009】
請求項に記載の発明では、前記監視部は、前記制御部と同じ手法にてこれとは別に制御出力データ若しくはそれ相当のデータを演算し、該演算データとの比較により制御部の制御出力データについて異常を判定する。これにより、制御出力データの異常が容易に判定できる。
【0010】
請求項に記載の発明では、前記監視部を、前記制御部と同一のCPUにて構成したため、監視部にてマップや制御処理の状態までも把握できる。従って、外部監視の構成とする場合に比べてより正確に制御出力データの異常を判定することが可能となる。
【0011】
請求項に記載の発明では、前記制御部は、異常発生の通知を受けると、その時の制御出力データを初期化すると共に、別に演算した制御出力の代替データを、前記出力用メモリ領域とは異なるメモリ領域を介してアクチュエータに出力する。仮に出力用メモリ領域での制御出力データが破壊された場合において、上記の如く制御出力の代替データが別途演算されて別のメモリ領域を介して出力されるため、その都度の車両制御が中断されることはない。従って、異常発生時にも好適な車両制御が継続できるようになる。
【0012】
請求項に記載の発明では、制御部から出力される制御出力データが異常である旨判定され、その状態が所定時間継続した時、前記制御部は、異常発生の通知に従い制御出力データに関して初期化を行う。この場合、異常が継続することを判断することで、正確な異常判定を行うことができる。
【0013】
【発明の実施の形態】
(第1の実施の形態)
以下、この発明を具体化した第1の実施の形態を図面に従って説明する。本実施の形態では車両走行制御を実現するための車両用ECUに本発明を具体化し、特に本ECUは車載トランスミッションの変速を自動制御するための変速制御機能を具備する。車載トランスミッションは、複数のソレノイド(アクチュエータ)が選択的にON又はOFFされ、それに伴い油圧経路が変更され変速段が自動に切り替えられるようになっている。
【0014】
図1は本制御システムの概要を示す構成図である。図1において、ECU10は、自動変速制御の中枢をなす制御マイコン11と、この制御マイコン11を監視するための監視マイコン12とを備える。各マイコン11,12は、CPU、ROM、RAM等を有する周知の論理演算回路からなり、本実施の形態では制御マイコン11が「制御部」に相当し、監視マイコン12が「監視部」に相当する。
【0015】
制御マイコン11は、自動変速制御、電子スロットル制御、クルーズ制御等の各種制御機能やその他に故障診断機能(ダイアグ機能)、通信機能等を具備する。特に自動変速制御に関して、制御マイコン11は、スロットル開度、車速等の車両運転情報(センサ検出信号)を入力し、例えば図2の変速特性マップを用いてその時々のスロットル開度及び車速に応じて制御変速段(シフトギア段)を決定する。そして、その制御変速段に応じてソレノイド出力を決定し、そのソレノイド出力をS1,S2,S3として各々出力する。この場合、ソレノイド出力S1〜S3が「制御出力データ」に相当し、当該出力S1〜S3が制御マイコン11内の図示しない出力用メモリ領域(RAM)を介して各ソレノイドに出力される。なお、スロットル開度及び車速の検出信号は監視マイコン12にも入力される。
【0016】
監視マイコン12は、制御マイコン11と同じ手法にて制御変速段を演算する機能を有し、前記図2の変速特性マップを用いてその時々のスロットル開度及び車速に応じて制御変速段を決定する。また、監視マイコン12は、制御マイコン11から出力されるソレノイド出力S1〜S3を取り込み、当該ソレノイド出力S1〜S3の異常を随時監視する。制御マイコン11側の異常が検出された時、当該制御マイコン11における特定のRAMデータを初期化すべく、監視マイコン12は制御マイコン11に対して初期化信号を出力する。
【0017】
また、ECU10には「ウオッチドッグ監視回路」としてのWD回路13が設けられている。制御マイコン11はWD回路13に対してWDパルスを出力し、WD回路13は制御マイコン11からのWDパルスが所定時間以上反転しなかった場合に制御マイコン11に対してリセット信号を出力する。
【0018】
次に、制御マイコン11による初期化手順及び監視マイコン12による監視手順について説明する。ここで、図3は、監視マイコン12による出力異常判定処理を示すフローチャートであり、図4は、制御マイコン11によるデータ初期化処理を示すフローチャートである。これら各処理は、各マイコン11,12によりそれぞれ所定時間周期(例えば16ms周期)で実行される。
【0019】
図3において、ステップ101では、現状の車速とスロットル開度とを読み込み、ステップ102では、これら車速とスロットル開度との関係により制御変速段を算出する。その後、ステップ103では、制御マイコン11から出力されたソレノイド出力S1〜S3を読み込み、続くステップ104では、前記読み込んだソレノイド出力S1〜S3から実際の変速段(実変速段)を算出する。
【0020】
その後、ステップ105では、制御変速段と実変速段とが一致するか否かを判別する。外部・内部要因におけるマイコン異常やRAM破壊等によりソレノイド出力S1〜S3が固定されていたり、当該出力S1〜S3が意図しないものであったりする場合、ステップ105がNOとなる。ステップ105がNOであればソレノイド出力異常とみなし、ステップ106に進む。ステップ106では、ソレノイド出力S1〜S3の初期化を要求する旨の初期化信号を制御マイコン11に対して出力する。これに対し、ステップ105がYESであればソレノイド出力正常とみなし、そのまま本処理を終了する。
【0021】
一方、図4において、ステップ201では監視マイコン12からの初期化信号を取得し、続くステップ202では、初期化信号により初期化要求がなされているか否かを判別する。初期化要求有りの場合ステップ203に進み、ソレノイド出力S1〜S3に関して該当RAM領域を初期化する。上記ステップ203では、ソレノイド出力S1〜S3のみを初期化する構成の他、これに代えて又はこれに加えて、ソレノイド出力S1〜S3の演算に関係する別のRAM領域、すなわち自動変速制御で使われる別の演算データを初期化する構成であっても良い。
【0022】
以上詳述した本実施の形態によれば、制御マイコン11から出力されるソレノイド出力S1〜S3が異常である場合に特定データ(ソレノイド出力S1〜S3)だけが初期化されるため、その他の正常部分までもが初期化されることはない。故に、他の制御への影響なく速やかに通常制御への復帰が可能となる。
【0023】
監視マイコン12による上記図3の処理において、制御変速段≠実変速段となりその状態が所定時間(数100ms〜数sec程度)継続した時に、初期化要求を表す初期化信号出力(ステップ106)を実施する構成としても良い。また、所定時間経過の判断は、制御マイコン11側(図4の処理)で実施する構成であっても良い。何れにしても、ソレノイド出力異常となりその状態で所定時間継続した時に、制御マイコン11がソレノイド出力S1〜S3の初期化を実施すると良い。
【0024】
(第2の実施の形態)
次に、本発明における第2の実施の形態について、上述した第1の実施の形態との相違点を中心に説明する。本実施の形態では、ソレノイド出力S1〜S3の異常時において代替データによるソレノイド駆動を実施するものである。
【0025】
図5は、本実施の形態におけるデータ初期化処理を示すフローチャートであり、本処理は、前記図4に置き換えて制御マイコン11により実施される。図5において、ステップ301では、監視マイコン12からの初期化信号を取得し、続くステップ302では、初期化信号により初期化要求がなされているか否かを判別する。このとき、前述した通りソレノイド出力異常であれば初期化要求がなされることとなる。
【0026】
初期化要求有りの場合、ステップ303では制御変速段の代替データを算出し、続くステップ304では、その制御変速段の代替データをSRAM(スタンバイRAM)等に記憶する。その後、ステップ305では、その時のソレノイド出力S1〜S3に関して該当RAM領域を初期化する。続くステップ306では、前記SRAM内の代替データをソレノイド出力S1〜S3として出力する。
【0027】
ここで、代替データを格納するメモリ領域は、ステップ305で初期化の対象となるメモリ領域以外であれば良く、出力用メモリ領域以外のRAM領域、EEPROM等であっても良い。
【0028】
本実施の形態によれば、出力用メモリ領域でソレノイド出力S1〜S3が異常となる場合に、代替データが別途演算されて別のメモリ領域を介して出力されるため、その都度の自動変速制御が中断されることはない。従って、異常発生時にも好適な自動変速制御が継続できるようになる。
【0029】
またこの場合、不要な変速制御を起こさせない構成が実現できる。例えば多重変速制御を実施する場合において、高速ギア段でのリセット後に、変速制御以外の制御が多重変速制御に入るのを防ぎ、通常の制御にいち早く復帰できる。
【0030】
(第3の実施の形態)
次に、第3の実施の形態では、ソレノイド出力S1〜S3及びそれに関連するデータについて初期化を段階的に実施する構成について説明する。
【0031】
図6は、本実施の形態におけるデータ初期化処理を示すフローチャートであり、本処理は、前記図4や図5に置き換えて制御マイコン11により実施される。図6において、先ずステップ401,402では前記同様、監視マイコン12からの初期化信号を取得し、その初期化信号により初期化要求がなされているか否かを判別する。初期化要求無しの場合にはステップ403に進み、初期化フラグF1をクリアする(F1=0)。
【0032】
初期化要求有りの場合ステップ404に進み、当初は初期化フラグF1がクリアされているため更にステップ405に進む。ステップ405では、ソレノイド出力S1〜S3に関する該当RAM領域(出力用メモリ領域)を初期化し、続くステップ406では、初期化フラグF1をセットする(F1=1)。
【0033】
初期化フラグF1がセットされた後そのセット状態が継続する場合、すなわちソレノイド出力が初期化されても初期化フラグF1がクリアされない場合には、ステップ407で所定時間の経過が待たれる。そして、初期化フラグF1のセットから所定時間が経過した時点、すなわちソレノイド出力S1〜S3が初期化されてから所定時間が経過した時点でステップ408に進み、ソレノイド出力S1〜S3の演算に関連するデータも含み該当RAM領域の初期化を行う。
【0034】
以上第3の実施の形態によれば、データの初期化が段階的に行われるため、初期化の対象とするメモリ領域を必要最小限で指定し、その初期化を最適に行うことができる。
【0035】
(第4の実施の形態)
次に、第4の実施の形態では、ソレノイド出力S1〜S3及びそれに関連するデータの初期化処理と、WD回路13によるリセット処理とを組み合わせた構成について説明する。
【0036】
図7は、本実施の形態におけるデータ初期化処理を示すフローチャートであり、本処理は、前記図4〜図6に置き換えて制御マイコン11により実施される。図7において、先ずステップ501,502では前記同様、監視マイコン12からの初期化信号を取得し、その初期化信号により初期化要求がなされているか否かを判別する。初期化要求無しの場合にはステップ503に進み、初期化フラグF1,F2をクリアする(F1=0,F2=0)。
【0037】
初期化要求有りの場合ステップ504に進み、当初は初期化フラグF1,F2が共にクリアされているため更にステップ504→505→506に進む。ステップ506では、ソレノイド出力S1〜S3に関する該当RAM領域(出力用メモリ領域)を初期化し、続くステップ507では、初期化フラグF1をセットする(F1=1)。
【0038】
初期化フラグF1がセットされた後そのセット状態が継続する場合、すなわちソレノイド出力が初期化されても初期化フラグF1がクリアされない場合には、ステップ508で所定時間の経過が待たれる。そして、初期化フラグF1のセットから所定時間が経過した時点、すなわちソレノイド出力S1〜S3が初期化されてから所定時間が経過した時点でステップ509に進み、ソレノイド出力S1〜S3の演算に関連するデータも含み該当RAM領域の初期化を行う。更に、ステップ510では、初期化フラグF2をセットする(F2=1)。
【0039】
初期化フラグF2がセットされた後は、ステップ511で所定時間の経過が待たれる。そして、初期化フラグF2のセットから所定時間が経過した時点でステップ512に進み、WDパルスの出力を停止する。このWD出力停止に伴い、WD回路13により制御マイコン11がリセットされることとなる。
【0040】
以上第4の実施の形態によれば、異常発生後にソレノイド出力等の初期化を行っても異常が継続し、そのままでは正常復帰が見込めない場合において、リセットによる正常復帰を図ることができる。
【0041】
なお上記図7の処理では、ソレノイド出力S1〜S3及びそれに関連するデータについて初期化を段階的に実施する構成(ステップ506,509)を無くし、何れか一方の初期化のみを行い、その初期化後、所定時間が経過した時点でWDパルスの出力を停止する構成であっても良い。
【0042】
本発明は、上記以外に次の形態にて具体化できる。
上記実施の形態では、制御部と監視部とを個別のマイコン(CPU)にて実現する構成としたが、これら制御部と監視部とを同一のマイコン(CPU)にて実現する構成であっても良い。この場合、監視部にてマップや制御処理の状態までも把握できる。従って、外部監視の構成とする場合に比べてより正確にソレノイド出力(制御出力データ)の異常を判定することが可能となる。
【0043】
また、マイコン内部で自動変速制御の監視を行う場合においてOS(オペレーティングシステム)を用いた構成では、自動変速制御と別タスクで行うことも可能となる。自動変速制御が行われているタスク自体のロック検出も監視可能となる。この場合、マップを共有でき、省資源での構成が可能となる。
【0044】
上記実施の形態では、自動変速制御においてソレノイドに対する出力を「制御出力データ」とし、ソレノイド出力に関して初期化処理を実施する事例を説明したが、他の制御における制御出力データを想定し、同様の初期化処理を実施するものであっても良い。例えば、電子スロットル制御においてスロットル駆動モータに対する出力を「制御出力データ」とし、そのモータ出力に関して初期化処理を実施することも可能である。
【図面の簡単な説明】
【図1】発明の実施の形態における車両制御システムの概要を示す構成図。
【図2】変速特性マップを示す図。
【図3】出力異常判定処理を示すフローチャート。
【図4】データ初期化処理を示すフローチャート。
【図5】第2の実施の形態におけるデータ初期化処理を示すフローチャート。
【図6】第3の実施の形態におけるデータ初期化処理を示すフローチャート。
【図7】第4の実施の形態におけるデータ初期化処理を示すフローチャート。
【符号の説明】
10…ECU、11…制御マイコン、12…監視マイコン、13…WD回路。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic control device for a vehicle, and more particularly to a technique for suitably monitoring control output data.
[0002]
[Prior art]
In recent years, the control function of a vehicle electronic control device (vehicle-mounted ECU) tends to become more sophisticated and complicated, and software for realizing the control is also becoming larger. For example, transmission ECUs equipped with a shift control function for automatic transmissions have been proposed to realize complex multiple shift control by direct pressure control of linear solenoids and multi-stages as the transmission structure is improved. The software is designed by an oriented method. In this connection, direct pressure control refers to control in which a shift is performed while controlling the engagement pressure of a friction engagement device in an automatic transmission. Multiple shift control is different from that in which the throttle opening changes during shift control. This refers to a control for making a new shift determination in the middle of the already started shift control when the shift determination is established.
[0003]
[Problems to be solved by the invention]
As described above, the control software is increasing in scale, but there is a demand for shortening the development period. In such a situation, it is conceivable that an item that cannot be completely confirmed in terms of quality, an unexpected operation in terms of specifications, or a microcomputer processing runaway due to RAM destruction or the like may occur. When the microcomputer runs away, a resetting or the like is performed by a known watchdog monitoring function or the like. In this case, the processing of the microcomputer can return to the normal control by operating from the initial state.
[0004]
However, in the transmission ECU, when the shift output data is fixed or an unexpected shift output occurs due to RAM corruption or the like, the watchdog pulse (WD pulse) is output correctly, so that it cannot be expected to return by the monitoring function. . In addition, if abnormalities in RAM corruption are detected, it may be possible to reset the microcomputer. However, in this case, all controls are performed from the initial state, which affects other controls that were operating normally. Will reach. In other words, the contents that have been controlled so far, for example, data such as learning, are all reset, and drivability and other monitoring functions may be adversely affected.
[0005]
The present invention has been made paying attention to the above-described problem, and the object of the present invention is to enable the return to the normal control without affecting other controls when the control output data is abnormal. An electronic control device for a vehicle that can be used is provided.
[0006]
[Means for Solving the Problems]
The electronic control device for a vehicle according to claim 1 calculates control output data related to vehicle travel control, and outputs the control output data to an actuator via an output memory area, and outputs from the control unit And a monitoring unit for monitoring the control output data. In particular, when the monitoring unit determines that the control output data output from the control unit is abnormal, the monitoring unit notifies the control unit that an abnormality has occurred. When the control unit receives the notification of occurrence of abnormality, it first initializes the control output data in the output memory area, and then if the abnormal state continues even after a predetermined time has passed, the control output next Initialization is performed including other memory areas related to data operations . In the present invention, when control output data is abnormal, only the data related to control output data is initialized, so that other normal parts are not initialized. Therefore, it is possible to return to the normal control without affecting other controls.
[0007]
In particular, in the present invention , since the data is initialized stepwise by the control unit , the memory area to be initialized can be specified with the minimum necessary, and the initialization can be optimally performed.
[0008]
According to the second aspect of the present invention, the control unit stops outputting the watchdog pulse if the abnormal state continues even after a predetermined time has elapsed after receiving the notification of the occurrence of the abnormality. As the watchdog pulse output stops, the control unit is reset by the watchdog monitoring circuit. In other words, if the abnormality continues even if the control output data is initialized after the abnormality occurs, it is considered that normal recovery cannot be expected as it is. In such a case, normal recovery by reset is intended.
[0009]
According to a third aspect of the present invention, the monitoring unit calculates control output data or equivalent data separately by the same method as the control unit, and compares the calculated data with the control output data. Judge abnormalities in data. Thereby, abnormality of control output data can be determined easily.
[0010]
In the invention according to claim 4 , since the monitoring unit is configured by the same CPU as the control unit, the monitoring unit can also grasp the state of the map and the control process. Therefore, it is possible to determine the abnormality of the control output data more accurately than in the case of the external monitoring configuration.
[0011]
In the invention according to claim 5, when the control unit receives notification of occurrence of abnormality, the control unit initializes the control output data at that time, and substitutes the alternative data of the control output calculated separately from the output memory area. Output to the actuator via different memory areas. If the control output data in the output memory area is destroyed, substitute data for the control output is separately calculated and output through another memory area as described above, so that vehicle control is interrupted each time. Never happen. Therefore, suitable vehicle control can be continued even when an abnormality occurs.
[0012]
According to the sixth aspect of the present invention, when it is determined that the control output data output from the control unit is abnormal and the state continues for a predetermined time, the control unit performs initial processing regarding the control output data according to the notification of the occurrence of the abnormality. Do. In this case, it is possible to accurately determine the abnormality by determining that the abnormality continues.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. In the present embodiment, the present invention is embodied in a vehicle ECU for realizing vehicle travel control. In particular, the ECU includes a shift control function for automatically controlling the shift of an in-vehicle transmission. In the in-vehicle transmission, a plurality of solenoids (actuators) are selectively turned on or off, and the hydraulic path is changed accordingly, and the gear position is automatically switched.
[0014]
FIG. 1 is a configuration diagram showing an outline of the present control system. In FIG. 1, the ECU 10 includes a control microcomputer 11 that forms the center of automatic transmission control, and a monitoring microcomputer 12 that monitors the control microcomputer 11. Each of the microcomputers 11 and 12 includes a well-known logical operation circuit having a CPU, ROM, RAM, and the like. In this embodiment, the control microcomputer 11 corresponds to a “control unit”, and the monitoring microcomputer 12 corresponds to a “monitoring unit”. To do.
[0015]
The control microcomputer 11 includes various control functions such as automatic shift control, electronic throttle control, and cruise control, as well as a failure diagnosis function (diagnostic function), a communication function, and the like. In particular, regarding automatic shift control, the control microcomputer 11 inputs vehicle operation information (sensor detection signal) such as throttle opening and vehicle speed, and uses the shift characteristic map of FIG. To determine the control gear stage (shift gear stage). Then, the solenoid output is determined according to the control shift speed, and the solenoid output is output as S1, S2, and S3, respectively. In this case, the solenoid outputs S <b> 1 to S <b> 3 correspond to “control output data”, and the outputs S <b> 1 to S <b> 3 are output to each solenoid via an output memory area (RAM) (not shown) in the control microcomputer 11. The throttle opening and vehicle speed detection signals are also input to the monitoring microcomputer 12.
[0016]
The monitoring microcomputer 12 has a function of calculating the control shift speed by the same method as the control microcomputer 11, and determines the control shift speed according to the throttle opening and the vehicle speed at that time using the shift characteristic map of FIG. To do. The monitoring microcomputer 12 takes in the solenoid outputs S1 to S3 output from the control microcomputer 11, and monitors the abnormality of the solenoid outputs S1 to S3 as needed. When an abnormality is detected on the control microcomputer 11 side, the monitoring microcomputer 12 outputs an initialization signal to the control microcomputer 11 in order to initialize specific RAM data in the control microcomputer 11.
[0017]
Further, the ECU 10 is provided with a WD circuit 13 as a “watchdog monitoring circuit”. The control microcomputer 11 outputs a WD pulse to the WD circuit 13, and the WD circuit 13 outputs a reset signal to the control microcomputer 11 when the WD pulse from the control microcomputer 11 has not been inverted for a predetermined time or more.
[0018]
Next, the initialization procedure by the control microcomputer 11 and the monitoring procedure by the monitoring microcomputer 12 will be described. Here, FIG. 3 is a flowchart showing an output abnormality determination process by the monitoring microcomputer 12, and FIG. 4 is a flowchart showing a data initialization process by the control microcomputer 11. Each of these processes is executed by the microcomputers 11 and 12 at a predetermined time period (for example, 16 ms period).
[0019]
In FIG. 3, at step 101, the current vehicle speed and throttle opening are read, and at step 102, the control shift speed is calculated from the relationship between these vehicle speed and throttle opening. Thereafter, in step 103, the solenoid outputs S1 to S3 output from the control microcomputer 11 are read, and in the subsequent step 104, the actual shift speed (actual shift speed) is calculated from the read solenoid outputs S1 to S3.
[0020]
Thereafter, in step 105, it is determined whether or not the control shift speed and the actual shift speed match. If the solenoid outputs S1 to S3 are fixed or the outputs S1 to S3 are not intended due to microcomputer abnormality or RAM destruction due to external or internal factors, Step 105 is NO. If step 105 is NO, it is considered that the solenoid output is abnormal, and the process proceeds to step 106. In step 106, an initialization signal for requesting initialization of the solenoid outputs S1 to S3 is output to the control microcomputer 11. On the other hand, if step 105 is YES, it is considered that the solenoid output is normal, and this processing is terminated as it is.
[0021]
On the other hand, in FIG. 4, in step 201, an initialization signal is acquired from the monitoring microcomputer 12, and in the subsequent step 202, it is determined whether or not an initialization request is made based on the initialization signal. If there is an initialization request, the process proceeds to step 203 to initialize the corresponding RAM area for the solenoid outputs S1 to S3. In step 203 described above, only the solenoid outputs S1 to S3 are initialized, and instead of or in addition to this, another RAM area related to the calculation of the solenoid outputs S1 to S3, that is, automatic shift control is used. It may be configured to initialize other calculation data.
[0022]
According to the present embodiment described in detail above, only specific data (solenoid outputs S1 to S3) is initialized when the solenoid outputs S1 to S3 output from the control microcomputer 11 are abnormal. Even the part is never initialized. Therefore, it is possible to quickly return to the normal control without affecting other controls.
[0023]
In the process of FIG. 3 performed by the monitoring microcomputer 12, when the control shift speed is not equal to the actual shift speed and the state continues for a predetermined time (several hundred ms to several seconds), an initialization signal output (step 106) indicating an initialization request is output. It is good also as a structure to implement. Further, the determination that the predetermined time has elapsed may be performed on the control microcomputer 11 side (the process in FIG. 4). In any case, it is preferable that the control microcomputer 11 initializes the solenoid outputs S1 to S3 when the solenoid output abnormality occurs and the state continues for a predetermined time.
[0024]
(Second Embodiment)
Next, a second embodiment of the present invention will be described focusing on the differences from the first embodiment described above. In the present embodiment, the solenoid is driven by the substitute data when the solenoid outputs S1 to S3 are abnormal.
[0025]
FIG. 5 is a flowchart showing the data initialization process in the present embodiment. This process is executed by the control microcomputer 11 in place of FIG. In FIG. 5, in step 301, an initialization signal is acquired from the monitoring microcomputer 12, and in the subsequent step 302, it is determined whether or not an initialization request is made based on the initialization signal. At this time, if the solenoid output is abnormal as described above, an initialization request is made.
[0026]
If there is an initialization request, the alternative data for the control gear is calculated in step 303, and in the subsequent step 304, the alternative data for the control gear is stored in an SRAM (standby RAM) or the like. Thereafter, in step 305, the corresponding RAM area is initialized with respect to the solenoid outputs S1 to S3 at that time. In the subsequent step 306, the substitute data in the SRAM is output as solenoid outputs S1 to S3.
[0027]
Here, the memory area for storing alternative data may be other than the memory area to be initialized in step 305, and may be a RAM area other than the output memory area, an EEPROM, or the like.
[0028]
According to the present embodiment, when the solenoid outputs S1 to S3 become abnormal in the output memory area, the alternative data is separately calculated and output via another memory area. Will not be interrupted. Therefore, a suitable automatic shift control can be continued even when an abnormality occurs.
[0029]
In this case, a configuration that does not cause unnecessary shift control can be realized. For example, when performing multiple shift control, it is possible to prevent control other than the shift control from entering the multiple shift control after resetting at a high gear, and to quickly return to normal control.
[0030]
(Third embodiment)
Next, in the third embodiment, a description will be given of a configuration in which initialization is performed in stages for the solenoid outputs S1 to S3 and related data.
[0031]
FIG. 6 is a flowchart showing the data initialization process in the present embodiment. This process is executed by the control microcomputer 11 in place of FIG. 4 and FIG. In FIG. 6, first, in steps 401 and 402, an initialization signal is acquired from the monitoring microcomputer 12 as described above, and it is determined whether or not an initialization request is made based on the initialization signal. If there is no initialization request, the process proceeds to step 403 and the initialization flag F1 is cleared (F1 = 0).
[0032]
If there is an initialization request, the process proceeds to step 404. Since the initialization flag F1 is initially cleared, the process further proceeds to step 405. In step 405, the corresponding RAM area (output memory area) relating to the solenoid outputs S1 to S3 is initialized, and in the subsequent step 406, an initialization flag F1 is set (F1 = 1).
[0033]
If the set state continues after the initialization flag F1 is set, that is, if the initialization flag F1 is not cleared even if the solenoid output is initialized, the elapse of a predetermined time is waited in step 407. Then, when a predetermined time elapses from the setting of the initialization flag F1, that is, when a predetermined time elapses after the solenoid outputs S1 to S3 are initialized, the process proceeds to step 408, and is related to the calculation of the solenoid outputs S1 to S3. The RAM area including data is initialized.
[0034]
As described above, according to the third embodiment, since the initialization of data is performed in stages, the memory area to be initialized can be specified with the minimum necessary, and the initialization can be optimally performed.
[0035]
(Fourth embodiment)
Next, in the fourth embodiment, a configuration in which the initialization processing of the solenoid outputs S1 to S3 and related data and the reset processing by the WD circuit 13 are combined will be described.
[0036]
FIG. 7 is a flowchart showing the data initialization process in the present embodiment. This process is executed by the control microcomputer 11 in place of the above-described FIGS. In FIG. 7, first, in steps 501 and 502, an initialization signal is obtained from the monitoring microcomputer 12 as described above, and it is determined whether or not an initialization request is made based on the initialization signal. If there is no initialization request, the process proceeds to step 503 to clear the initialization flags F1 and F2 (F1 = 0, F2 = 0).
[0037]
If there is an initialization request, the process proceeds to step 504. Since both initialization flags F1 and F2 are initially cleared, the process further proceeds from step 504 to 505 to 506. In step 506, the corresponding RAM area (output memory area) relating to the solenoid outputs S1 to S3 is initialized, and in the subsequent step 507, an initialization flag F1 is set (F1 = 1).
[0038]
If the set state continues after the initialization flag F1 is set, that is, if the initialization flag F1 is not cleared even if the solenoid output is initialized, the elapse of a predetermined time is waited in step 508. Then, when a predetermined time elapses from the setting of the initialization flag F1, that is, when a predetermined time elapses after the solenoid outputs S1 to S3 are initialized, the process proceeds to step 509, which is related to the calculation of the solenoid outputs S1 to S3. The RAM area including data is initialized. In step 510, an initialization flag F2 is set (F2 = 1).
[0039]
After the initialization flag F2 is set, the elapse of a predetermined time is awaited in step 511. Then, when a predetermined time has elapsed from the setting of the initialization flag F2, the process proceeds to step 512, and the output of the WD pulse is stopped. As the WD output is stopped, the control microcomputer 11 is reset by the WD circuit 13.
[0040]
As described above, according to the fourth embodiment, even if initialization of the solenoid output or the like is performed after the occurrence of an abnormality, the abnormality continues, and if normal recovery cannot be expected as it is, normal recovery by reset can be achieved.
[0041]
In the process of FIG. 7, the configuration (steps 506 and 509) for performing initialization for the solenoid outputs S1 to S3 and related data in a stepwise manner is eliminated, and only one of the initializations is performed and the initialization is performed. Thereafter, the output of the WD pulse may be stopped when a predetermined time has elapsed.
[0042]
In addition to the above, the present invention can be embodied in the following forms.
In the above embodiment, the control unit and the monitoring unit are configured to be realized by individual microcomputers (CPUs). However, the control unit and the monitoring unit are configured to be realized by the same microcomputer (CPU). Also good. In this case, the monitoring unit can also grasp the map and the state of the control process. Therefore, it is possible to determine the abnormality of the solenoid output (control output data) more accurately than in the case of the external monitoring configuration.
[0043]
Further, in the case of monitoring the automatic shift control inside the microcomputer, the configuration using the OS (operating system) can be performed by a task different from the automatic shift control. It is also possible to monitor the lock detection of the task itself for which automatic shift control is being performed. In this case, the map can be shared, and a resource-saving configuration is possible.
[0044]
In the above embodiment, an example in which the output to the solenoid in the automatic shift control is set as “control output data” and the initialization process is performed on the solenoid output has been described. It is also possible to perform the digitization process. For example, in the electronic throttle control, the output to the throttle drive motor can be set as “control output data”, and the initialization process can be performed on the motor output.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing an outline of a vehicle control system in an embodiment of the invention.
FIG. 2 is a diagram showing a shift characteristic map.
FIG. 3 is a flowchart showing output abnormality determination processing.
FIG. 4 is a flowchart showing data initialization processing.
FIG. 5 is a flowchart showing data initialization processing in the second embodiment.
FIG. 6 is a flowchart showing data initialization processing in the third embodiment.
FIG. 7 is a flowchart showing data initialization processing in the fourth embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 ... ECU, 11 ... Control microcomputer, 12 ... Monitoring microcomputer, 13 ... WD circuit.

Claims (6)

車両走行制御に係わる制御出力データを演算し、当該制御出力データを出力用メモリ領域を介してアクチュエータに出力する制御部と、該制御部から出力される制御出力データを監視する監視部とを備える車両用電子制御装置であって、
監視部は、制御部から出力される制御出力データが異常である旨判定した時、制御部に対して異常発生の旨通知し、制御部は、異常発生の通知を受けると先ずは出力用メモリ領域内の制御出力データの初期化を行い、その後、所定時間経過しても異常の状態が継続していると、次に制御出力データの演算に関わる別のメモリ領域も含めて初期化を行うことを特徴とする車両用電子制御装置。
A control unit that calculates control output data related to vehicle travel control and outputs the control output data to an actuator via an output memory area, and a monitoring unit that monitors control output data output from the control unit An electronic control device for a vehicle,
When the monitoring unit determines that the control output data output from the control unit is abnormal, the monitoring unit notifies the control unit that an abnormality has occurred , and when the control unit receives the notification of the occurrence of the abnormality, first the output memory Initialize the control output data in the area, and then initialize it including the other memory area related to the calculation of the control output data if the abnormal state continues even after the predetermined time elapses An electronic control device for a vehicle.
所定周期で反転するウオッチドッグパルスを前記制御部より入力し、その周期性が崩れると当該制御部にリセットをかけるウオッチドッグ監視回路を備え、前記制御部は、異常発生の通知を受けた後、所定時間経過しても異常の状態が継続していると、ウオッチドッグパルスの出力を停止する請求項1記載の車両用電子制御装置。A watchdog pulse that is inverted at a predetermined period is input from the control unit, and includes a watchdog monitoring circuit that resets the control unit when the periodicity is lost. The vehicular electronic control device according to claim 1, wherein if the abnormal state continues even after a predetermined time has elapsed, the output of the watch dog pulse is stopped. 前記監視部は、前記制御部と同じ手法にてこれとは別に制御出力データ若しくはそれ相当のデータを演算し、該演算データとの比較により制御部の制御出力データについて異常を判定する請求項1又は2記載の車両用電子制御装置。The monitoring unit calculates control output data or equivalent data separately by the same method as the control unit, and determines abnormality in the control output data of the control unit by comparing with the calculated data. Or the electronic control apparatus for vehicles of 2. 前記監視部を、前記制御部と同一のCPUにて構成した請求項1乃至3の何れかに記載の車両用電子制御装置。The vehicular electronic control device according to any one of claims 1 to 3, wherein the monitoring unit is configured by the same CPU as the control unit. 前記制御部は、異常発生の通知を受けると、その時の制御出力データを初期化すると共に、別に演算した制御出力の代替データを、前記出力用メモリ領域とは異なるメモリ領域を介してアクチュエータに出力する請求項1乃至4の何れかに記載の車両用電子制御装置。When the controller receives a notification of the occurrence of an abnormality, it initializes the control output data at that time, and outputs alternative data for the separately calculated control output to the actuator via a memory area different from the output memory area The vehicle electronic control device according to any one of claims 1 to 4. 制御部から出力される制御出力データが異常である旨判定され、その状態が所定時間継続した時、前記制御部は、異常発生の通知に従い制御出力データに関して初期化を行う請求項1乃至5の何れかに記載の車両用電子制御装置。6. The control unit according to claim 1, wherein when the control output data output from the control unit is determined to be abnormal and the state continues for a predetermined time, the control unit initializes the control output data according to the notification of the occurrence of the abnormality. The vehicle electronic control device according to any one of the above.
JP2002097065A 2002-03-29 2002-03-29 Electronic control device for vehicle Expired - Fee Related JP4007038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002097065A JP4007038B2 (en) 2002-03-29 2002-03-29 Electronic control device for vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002097065A JP4007038B2 (en) 2002-03-29 2002-03-29 Electronic control device for vehicle

Publications (2)

Publication Number Publication Date
JP2003294129A JP2003294129A (en) 2003-10-15
JP4007038B2 true JP4007038B2 (en) 2007-11-14

Family

ID=29239809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002097065A Expired - Fee Related JP4007038B2 (en) 2002-03-29 2002-03-29 Electronic control device for vehicle

Country Status (1)

Country Link
JP (1) JP4007038B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010236669A (en) * 2009-03-31 2010-10-21 Aisin Aw Co Ltd Control device of automatic transmission
JP5621717B2 (en) * 2011-06-15 2014-11-12 株式会社デンソー Control device for automatic transmission
JP5813547B2 (en) * 2012-03-23 2015-11-17 株式会社デンソー Vehicle behavior control system
US20180119804A1 (en) * 2015-07-07 2018-05-03 Hitachi Automotive Systems, Ltd. Vehicle control device
JP6651428B2 (en) * 2016-09-28 2020-02-19 日立オートモティブシステムズ株式会社 Transmission control device
JP6716440B2 (en) * 2016-12-07 2020-07-01 日立オートモティブシステムズ株式会社 Electronic control device for automobile and reset method for electronic control device for automobile
WO2021261113A1 (en) * 2020-06-25 2021-12-30 住友電気工業株式会社 Vehicle monitoring program, on-board device, and vehicle monitoring method

Also Published As

Publication number Publication date
JP2003294129A (en) 2003-10-15

Similar Documents

Publication Publication Date Title
US11492011B2 (en) Autonomous driving control device and method for autonomous driving control of vehicles
JP4365427B2 (en) Eco-run control device, eco-run control system and control method
JP5284943B2 (en) Control apparatus and control method
US20050085967A1 (en) On-vehicle electronic control device
JP2010285001A (en) Electronic control system and functional agency method
JP4007038B2 (en) Electronic control device for vehicle
JP2017024516A (en) Drive device
JP2007139478A (en) Vehicle diagnosis device and vehicle diagnosis system
US6352064B1 (en) Electrically controlled throttle control system
JP2011032903A (en) Control device of vehicle
US20060212498A1 (en) Electric device having calculation anomaly diagnosis function
JP2003222053A (en) Electronic control unit for vehicle
JP3649452B2 (en) Electronic device control device
JP4820679B2 (en) Electronic control device for vehicle
JP2002048234A (en) Control device for automatic transmission
JP3818218B2 (en) Electronic control device for vehicle
JP2005163706A (en) Abnormality diagnosing device for actuator driving system
JP2002227662A (en) Electronic control device
JP2002099321A (en) Fault detector for electronic control system for vehicle
JP3994760B2 (en) Vehicle fault diagnosis mechanism
JP2006224892A (en) Electronic control device for vehicle
JP2001175494A (en) System and method for doubly diagnosing normality of arithmetic processing of microprocessor
JPH09120368A (en) Cpu monitor device
US20240152138A1 (en) Vehicle control system and control device
KR102214574B1 (en) Mean Rate Decision Method For Clutch Motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070424

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070820

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130907

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees