JP5783132B2 - Electronic control device for vehicle - Google Patents
Electronic control device for vehicle Download PDFInfo
- Publication number
- JP5783132B2 JP5783132B2 JP2012110062A JP2012110062A JP5783132B2 JP 5783132 B2 JP5783132 B2 JP 5783132B2 JP 2012110062 A JP2012110062 A JP 2012110062A JP 2012110062 A JP2012110062 A JP 2012110062A JP 5783132 B2 JP5783132 B2 JP 5783132B2
- Authority
- JP
- Japan
- Prior art keywords
- shift
- microcomputer
- determination
- time
- determined
- 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.)
- Active
Links
Images
Description
本発明は、車両用の制御装置の異常を検出する技術に関するものである。 The present invention relates to a technique for detecting an abnormality in a control device for a vehicle.
第1マイコン及び第2マイコンを備え、その第1マイコンとその第2マイコンとが互いに相手側のマイコンの異常を監視する車両用電子制御装置が、従来からよく知られている。例えば、特許文献1に開示された制御用コンピュータがそれである。その特許文献1の制御用コンピュータでは、前記第1マイコンと前記第2マイコンとはそれぞれ、相手側のマイコンの演算値を受信する受信バッファを備えており、自己の演算値の3回分の値と相手側の演算値とを比較する。その比較の結果、相手側の演算値が自己の演算値の最小値よりも小さい場合、又は、相手側の演算値が自己の演算値の最大値よりも大きい場合に、前記第1マイコンと前記第2マイコンとの少なくとも一方が異常であると判断される。 2. Description of the Related Art Conventionally, a vehicular electronic control device that includes a first microcomputer and a second microcomputer and in which the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer is well known. For example, this is the control computer disclosed in Patent Document 1. In the control computer of Patent Document 1, each of the first microcomputer and the second microcomputer includes a reception buffer for receiving the operation value of the counterpart microcomputer, Compare the calculated value of the other party. As a result of the comparison, when the calculated value of the other party is smaller than the minimum value of its own calculated value, or when the calculated value of the other party is larger than the maximum value of its own calculated value, It is determined that at least one of the second microcomputer is abnormal.
図8は、前記特許文献1のように第1マイコン712と第2マイコン714という2つのマイコンが相互に相手側の異常を監視する電子制御装置710において、その異常の誤判定が生じる可能性を説明するための概略構成図である。図8では、センサ716からのセンサ検出信号が第1マイコン712と第2マイコン714とのそれぞれに入力され、第1マイコン712と第2マイコン714とは互いにデータの送受信が可能な構成となっている。このような構成では、第1マイコン712と第2マイコン714との間において、そのマイコン712,714が前記センサ検出信号を処理する処理タイミングの相違及びそのマイコン712,714の処理能力の相違等に起因した前記センサ検出信号の認識違いが生じ得る(a部参照)。また、第1マイコン712と第2マイコン714との間でデータの送受信が行われるのであるが、その送受信には通信時間を要するので、第1マイコン712と第2マイコン714とは互いに相手側から受け取る情報を時間的に遅れて認識することになる(b部参照)。また、第1マイコン712と第2マイコン714との処理能力の相違およびタスク割当ての相違等に起因して、その第1マイコン712と第2マイコン714と間に処理周期の相違が生じ得る(c部参照)。このような前記センサ検出信号の認識違い、相手側からの情報の認識遅れ、および前記処理周期の相違によってマイコン異常の誤判定が生じ得ると考えられる。
FIG. 8 shows the possibility of erroneous determination of an abnormality in the electronic control device 710 in which two microcomputers, the
前記特許文献1は、上述したマイコン異常の誤判定を生じさせない方法を開示しているが、前記特許文献1の制御用コンピュータは、前記自己の演算値を3回分確定させてから異常判定を行い、その自己の演算値を3回分確定させるためにはそれ相当の演算時間を要するので、前記異常判定に要する時間が長くなる可能性があった。また、車両のシフト操作装置の操作位置を判断するマイコンについては前記引用文献1に全く記載がなく、仮にシフトポジションを3回確定させてから異常判定を行うとすると、その異常判定を速やかに行うことができず、その異常判定の方法は前記シフト操作装置の操作位置を判断するマイコンには適さないと考えられた。なお、このような課題は未公知である。 Although Patent Document 1 discloses a method that does not cause the above-described erroneous determination of microcomputer abnormality, the control computer of Patent Document 1 performs abnormality determination after determining its own calculation value for three times. Since it takes a considerable calculation time to determine its own calculation value for three times, there is a possibility that the time required for the abnormality determination becomes long. Further, the microcomputer for determining the operation position of the vehicle shift operating device is not described at all in the cited reference 1, and if abnormality determination is performed after the shift position is determined three times, the abnormality determination is performed promptly. Therefore, it was considered that the abnormality determination method is not suitable for a microcomputer that determines the operation position of the shift operation device. Such a problem is not yet known.
本発明は、以上の事情を背景として為されたものであり、その目的とするところは、速やかにマイコンの異常判定を行うことができる車両用電子制御装置を提供することにある。 The present invention has been made against the background of the above circumstances, and an object of the present invention is to provide an electronic control device for a vehicle that can quickly determine abnormality of a microcomputer.
前記目的を達成するための第1発明の要旨とするところは、(a)シフト操作装置の操作位置を表すシフト操作位置信号が入力されそのシフト操作位置信号が所定時間以上にわたって同じ前記操作位置を表している場合にそのシフト操作位置信号に対応したシフトポジションをそれぞれ決定する第1マイコン及び第2マイコンを備え、その第1マイコンとその第2マイコンとが互いに相手側のマイコンの異常を監視する車両用電子制御装置であって、(b)前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、(c)前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、(d)前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されているシフトポジションと異なることが、予め定められた異常保留時間以上継続した場合に、相手側のマイコンが異常であると判定することを特徴とする。
また、第2発明の要旨とするところは、(a)シフト操作装置の操作位置を表すシフト操作位置信号が入力されそのシフト操作位置信号が所定時間以上にわたって同じ前記操作位置を表している場合にそのシフト操作位置信号に対応したシフトポジションをそれぞれ決定する第1マイコン及び第2マイコンを備え、その第1マイコンとその第2マイコンとが互いに相手側のマイコンの異常を監視する車両用電子制御装置であって、(b)前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、(c)前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、(d)前記比較用バッファに記憶されているシフトポジションは、予め定められた判定時間を前記所定時間として前記相手側のマイコンにより決定されたシフトポジションであり、(e)前記判定時間は前記第2決定保留時間と同じであることを特徴とする。
また、第3発明の要旨とするところは、(a)シフト操作装置の操作位置を表すシフト操作位置信号が入力されそのシフト操作位置信号が所定時間以上にわたって同じ前記操作位置を表している場合にそのシフト操作位置信号に対応したシフトポジションをそれぞれ決定する第1マイコン及び第2マイコンを備え、その第1マイコンとその第2マイコンとが互いに相手側のマイコンの異常を監視する車両用電子制御装置であって、(b)前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、(c)前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、(d)前記シフト操作装置は、人為的に操作されその人為的操作が解除されると予め定められた基準位置に戻るシフトレバーを備えており、(e)前記シフト操作装置の操作位置とは前記シフトレバーの操作位置であることを特徴とする。
The gist of the first invention for achieving the above object is that (a) a shift operation position signal indicating the operation position of the shift operation device is input, and the shift operation position signal is the same operation position over a predetermined time. A first microcomputer and a second microcomputer that respectively determine a shift position corresponding to the shift operation position signal when indicated, and the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer. (B) a first shift determination in which the first microcomputer and the second microcomputer store the shift position determined using a predetermined first determination hold time as the predetermined time; Buffer and the second decision hold time which is longer than the first decision hold time and is determined as the predetermined time. A second shift determination buffer for storing the current position and a comparison buffer for storing the shift position determined by the counterpart microcomputer, (c) the first microcomputer and the second microcomputer Respectively, when the shift positions stored in the first and second shift determination buffers are all different from the shift positions determined by the counterpart microcomputer stored in the comparison buffer. (D) The first microcomputer and the second microcomputer respectively store all the shift positions stored in the first and second shift determination buffers in the comparison buffer. If it is different from the memorized shift position for more than the preset abnormal hold time, Icon is characterized by determined to be abnormal.
The gist of the second invention is that (a) when a shift operation position signal indicating the operation position of the shift operation device is input and the shift operation position signal indicates the same operation position for a predetermined time or more. A vehicle electronic control device comprising a first microcomputer and a second microcomputer for respectively determining a shift position corresponding to the shift operation position signal, wherein the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer. (B) the first microcomputer and the second microcomputer each include a first shift determination buffer that stores the shift position determined with a predetermined first determination hold time as the predetermined time; The shift position determined with a predetermined second determination hold time longer than the first determination hold time as the predetermined time is described. A second shift determination buffer and a comparison buffer for storing the shift position determined by the counterpart microcomputer, and (c) the first microcomputer and the second microcomputer each include If all of the shift positions stored in the first and second shift determination buffers are different from the shift positions determined by the counterpart microcomputer stored in the comparison buffer, the counterpart microcomputer is abnormal. (D) The shift position stored in the comparison buffer is a shift position determined by the counterpart microcomputer using the predetermined determination time as the predetermined time, and (e) The determination time is the same as the second determination hold time.
The gist of the third invention is (a) when a shift operation position signal indicating the operation position of the shift operation device is input and the shift operation position signal indicates the same operation position for a predetermined time or more. A vehicle electronic control device comprising a first microcomputer and a second microcomputer for respectively determining a shift position corresponding to the shift operation position signal, wherein the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer. (B) the first microcomputer and the second microcomputer each include a first shift determination buffer that stores the shift position determined with a predetermined first determination hold time as the predetermined time; The shift position determined with a predetermined second determination hold time longer than the first determination hold time as the predetermined time is described. A second shift determination buffer and a comparison buffer for storing the shift position determined by the counterpart microcomputer, and (c) the first microcomputer and the second microcomputer each include If all of the shift positions stored in the first and second shift determination buffers are different from the shift positions determined by the counterpart microcomputer stored in the comparison buffer, the counterpart microcomputer is abnormal. (D) the shift operation device is provided with a shift lever that is artificially operated and returns to a predetermined reference position when the artificial operation is released, and (e) the shift operation is performed The operation position of the apparatus is an operation position of the shift lever.
第1発明によれば、例えば前記第1マイコンと前記第2マイコンとの処理タイミングの相違による前記シフト操作位置信号の認識違い等に起因したマイコン異常の誤判定を防止しつつ、速やかにマイコンの異常判定を行うことができる。また、そうしない場合と比較して、前記第1マイコンまたは前記第2マイコンがマイコン異常の誤判定をすることを一層確実に防止することが可能である。
By the first invention lever, for example while preventing microcomputer abnormality misjudgment due to recognize differences or the like of the shift operation position signal due to the difference in the processing time of the second microcomputer and the first microcomputer, quickly microcomputer An abnormality determination can be performed. In addition, it is possible to more reliably prevent the first microcomputer or the second microcomputer from making an erroneous determination of abnormality of the microcomputer as compared with the case where it does not.
第2発明によれば、例えば前記第1マイコンと前記第2マイコンとの処理タイミングの相違による前記シフト操作位置信号の認識違い等に起因したマイコン異常の誤判定を防止しつつ、速やかにマイコンの異常判定を行うことができる。また、そうしない場合と比較して、前記第1マイコン及び前記第2マイコンがそれぞれ記憶する前記所定時間として設定されるパラメータの種類を減らすことが可能である。
According to the second aspect of the present invention, for example, a microcomputer error can be quickly detected while preventing an erroneous determination of a microcomputer abnormality caused by a difference in recognition of the shift operation position signal due to a difference in processing timing between the first microcomputer and the second microcomputer. Abnormality determination can be performed. In addition, compared to the case where it does not, it is possible to reduce the types of parameters set as the predetermined time stored in the first microcomputer and the second microcomputer, respectively.
第3発明によれば、例えば前記第1マイコンと前記第2マイコンとの処理タイミングの相違による前記シフト操作位置信号の認識違い等に起因したマイコン異常の誤判定を防止しつつ、速やかにマイコンの異常判定を行うことができる。また、前記第1マイコンおよび前記第2マイコンがマイコン異常に起因して誤った前記シフトポジションを出力することを適切に回避しつつ、前記シフトレバーに対する人為的操作が解除されているときのそのシフトレバーの操作位置と車両の走行制御に供されるシフトポジションとが一対一で対応しないシフト操作装置を実現することができる。 According to the third aspect of the present invention, for example, a microcomputer error can be quickly detected while preventing an erroneous determination of a microcomputer abnormality caused by a difference in recognition of the shift operation position signal due to a difference in processing timing between the first microcomputer and the second microcomputer. Abnormality determination can be performed. In addition, the shift when the artificial operation on the shift lever is released while appropriately preventing the first microcomputer and the second microcomputer from outputting the erroneous shift position due to the malfunction of the microcomputer. It is possible to realize a shift operation device in which the lever operation position does not correspond one-to-one with the shift position used for vehicle travel control.
ここで、好適には、前記判定時間は、前記第1決定保留時間よりも長く且つ前記第2決定保留時間よりも短い時間に予め定められている。 Here, preferably, the determination time is set in advance to a time longer than the first determination hold time and shorter than the second determination hold time.
また、好適には、前記車両用電子制御装置は、変速機を備えた車両に設けられており、その変速機の変速制御を実行する。 Preferably, the vehicle electronic control device is provided in a vehicle including a transmission, and executes shift control of the transmission.
以下、本発明の実施例を図面を参照しつつ詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明が適用される車両10の概略構成を説明するための図であると共に、車両10を制御する電子制御装置60の入出力信号を例示したブロック線図である。図1において、車両10はFF(フロントエンジン・フロントドライブ)型車両であり、その車両10は、走行用の駆動力源であるエンジン12、駐車時に駆動輪14の回転を機械的に阻止するパーキングロック装置16、変速機18、シフト操作装置30などを備え、電子制御装置60がシフト操作装置30の操作位置Popeを電気信号により取得するシフトバイワイヤ(SBW)方式を採用している。また、変速機18は、車両において一般的に用いられる有段の自動変速機であって、例えば複数の遊星歯車装置と複数の油圧式摩擦係合装置とを備えている。車両10では、走行用駆動力源としての内燃機関であるエンジン12の動力は、変速機18、差動歯車装置(ディファレンシャルギヤ)26、及び一対の車軸(ドライブシャフト)28等を順次介して一対の駆動輪14へ伝達される。なお、電子制御装置60は本発明の車両用電子制御装置に対応する。
FIG. 1 is a diagram for explaining a schematic configuration of a
車両10には、例えば変速機18の変速制御を実行する車両用変速制御装置としての機能を含む電子制御装置60が備えられている。電子制御装置60は、例えばCPU、RAM、ROM、入出力インターフェース等を備えた所謂マイクロコンピュータを含んで構成されている。例えば電子制御装置60は、予めROM等に記憶されたプログラムに従って信号処理を行うことにより、エンジン12の出力制御、変速機18の変速制御、前記シフトバイワイヤ方式に関わる制御、パーキングロック装置16の作動状態の切替制御などを実行する。
The
電子制御装置60には、例えば、シフト操作装置30の操作位置Pope具体的にはシフトレバー32の操作位置Popeを検出する為の位置センサであるシフト操作位置センサ36からの前記操作位置Popeを表すシフト操作位置信号、変速機18のシフトポジションPshを駐車ポジション(Pポジション)以外の非PポジションからPポジションへ切り替える為のPスイッチ34におけるスイッチ操作を表すPスイッチ信号などが、それぞれ供給される。
The
また、電子制御装置60からは、例えば、エンジン12や変速機18を制御するための信号等が出力される。
Further, from the
図2は、複数種類のシフトポジションPshを人為的操作により切り換える切換装置(操作装置)としてのシフト操作装置30の一例を示す図である。このシフト操作装置30は、例えば運転席の近傍に配設され、複数の操作位置Popeの何れかへ操作されるモーメンタリ式の操作子すなわち操作力を解くと元位置(初期位置)へ自動的に復帰する自動復帰式の操作子としてのシフトレバー32を備えている。また、本実施例のシフト操作装置30は、運転者が駐車ポジション(Pポジション)を選択するときに操作するPスイッチ34をシフトレバー32の近傍に別スイッチとして備えている。
FIG. 2 is a diagram illustrating an example of a
シフトレバー32は、図2に示すように車両10の前後方向または上下方向すなわち縦方向に配列された3つの操作位置PopeであるR操作位置(Psh=Rポジションに対応)、N操作位置(Psh=Nポジションに対応)、D操作位置(Psh=Dポジションに対応)と、それに平行に配列されたM操作位置、B操作位置(Psh=Bポジションに対応)とへそれぞれ操作されるようになっている。シフト操作装置30では、シフトレバー32が運転者によりR操作位置へレバー操作されるとシフトポジションPshとしてRポジションが選択され、シフトレバー32がN操作位置へレバー操作されるとシフトポジションPshとしてNポジションが選択され、シフトレバー32がD操作位置へレバー操作されるとシフトポジションPshとしてDポジションが選択され、シフトレバー32がB操作位置へレバー操作されるとシフトポジションPshとしてBポジションが選択される。そして、シフト操作装置30は、シフト操作位置センサ36から、シフト操作装置30の操作位置Popeを表す電気信号(シフト操作位置信号)を電子制御装置60へ逐次出力する。詳細には、電子制御装置60に含まれるメインマイコン62およびサブマイコン64へ逐次出力する。また、シフトレバー32は、R操作位置とN操作位置とD操作位置との相互間で縦方向に操作可能とされ、M操作位置とB操作位置との相互間で縦方向に操作可能とされ、更に、N操作位置とB操作位置との相互間で上記縦方向に直交する車両10の横方向に操作可能とされている。なお、メインマイコン62は本発明の第1マイコンに対応し、サブマイコン64は本発明の第2マイコンに対応する。
As shown in FIG. 2, the
Pスイッチ34は、例えばモーメンタリ式の押しボタンスイッチであって、ユーザ(運転者)により押込操作される毎にPスイッチ信号を電子制御装置60へ出力する。例えば、パーキングロック装置16により駆動輪14の回転を機械的に阻止するパーキングロックが実行されていない場合において、所定の条件が成立しているときに運転者がPスイッチ34の押込操作を行うと、前記Pスイッチ信号を受けた電子制御装置60は、変速機18のシフトポジションPshをPポジションに切り替える。そのPポジションは、変速機18内の動力伝達経路が遮断され、且つ、パーキングロック装置16により前記パーキングロックが実行される駐車ポジション(パーキングポジション)である。
The
シフト操作装置30のM操作位置はシフトレバー32が操作されていないときの操作位置Popeすなわちシフトレバー32の予め定められた基準位置である。具体的に、シフト操作装置30は、そのM操作位置以外の操作位置Pope(R,N,D,B操作位置)へレバー操作されていたとしても、運転者がシフトレバー32を解放すればすなわちシフトレバー32に作用する外力が無くなれば、バネなどの機械的機構によりシフトレバー32がM操作位置へ戻るようになっている。シフト操作装置30で各シフトポジションPshが選択された際には、電子制御装置60は、その選択されたシフトポジションPshに対応して変速機18およびパーキングロック装置16などを制御する。
The M operation position of the
各シフトポジションPshについて説明すると、Rポジションは、車両10を後進させる駆動力が駆動輪14に伝達される走行ポジションすなわち後進走行ポジションである。また、Nポジション(ニュートラルポジション)は、変速機18内の動力伝達経路が遮断されるニュートラル状態とする中立ポジションであり、言い換えれば、駆動輪14への動力伝達を遮断すると共に駆動輪14の回転を許容する中立ポジションである。また、Dポジションは、車両10を前進させる駆動力が駆動輪14に伝達される走行ポジションすなわち前進走行ポジションである。例えば、パーキングロック装置16により前記パーキングロックが実行されているときに、シフト操作装置30でRポジション、Nポジション、又はDポジションが選択された場合には、ブレーキペダルが踏込操作されているなどの所定の条件が満たされていれば、電子制御装置60はそのパーキングロックを解除する。
The shift position Psh will be described. The R position is a travel position where the driving force for moving the
また、Bポジションは、Dポジションにおいて例えば車両10にエンジンブレーキ効果を発揮させ駆動輪14の回転を減速させる走行ポジションすなわち減速前進走行ポジション(エンジンブレーキレンジ)である。
The B position is a traveling position where the
本実施例のシフト操作装置30では、シフトレバー32に作用する外力が無くなればM操作位置へ戻されるので、シフトレバー32の操作位置Popeを視認しただけでは選択中のシフトポジションPshを認識することは出来ない。そのため、車室内で運転者の見易い位置に、選択中のシフトポジションPshを表示するシフトポジション表示装置46が設けられている。
In the
本実施例では、前記シフトバイワイヤ(SBW)方式が採用されているので、電子制御装置60に含まれるメインマイコン62およびサブマイコン64は、シフトポジションPshを決定する制御に関し、互いに相手側の異常を監視している。すなわち、メインマイコン62はサブマイコン64の異常を監視する監視マイコンとして機能し、サブマイコン64はメインマイコン62の異常を監視する監視マイコンとして機能している。そのように互いに異常を監視する制御機能の要部について、図3を用いて以下に説明する。
In the present embodiment, since the shift-by-wire (SBW) method is adopted, the
図3は、メインマイコン62およびサブマイコン64のそれぞれに備えられた制御機能の要部を説明するための機能ブロック線図である。図3に示すように、メインマイコン62は、第1シフトポジション決定部70mと第2シフトポジション決定部72mと制御シフト決定部74mと異常判定部76mとを機能的に備えており、シフトポジションPshが記憶される記憶部としての第1シフト判定用バッファ80m、第2シフト判定用バッファ82m、及び比較用バッファ84mを備えている。また、サブマイコン64は、第1シフトポジション決定部70sと第2シフトポジション決定部72sと制御シフト決定部74sと異常判定部76sとを機能的に備えており、前記記憶部としての第1シフト判定用バッファ80s、第2シフト判定用バッファ82s、及び比較用バッファ84sを備えている。なお、図3から判るように、メインマイコン62とサブマイコン64とは機能的な構成が互いに同じであるので、サブマイコン64がメインマイコン62の異常を判定する制御機能に関して以下に説明するが、メインマイコン62がサブマイコン64の異常を判定する制御機能に関しては説明を省略する。なお、メインマイコン62とサブマイコン64との間では、第1シフトポジション決定部70mと第1シフトポジション決定部70sとが互いに対応し、第2シフトポジション決定部72mと第2シフトポジション決定部72sとが互いに対応し、制御シフト決定部74mと制御シフト決定部74sとが互いに対応し、異常判定部76mと異常判定部76sとが互いに対応し、第1シフト判定用バッファ80mと第1シフト判定用バッファ80sとが互いに対応し、第2シフト判定用バッファ82mと第2シフト判定用バッファ82sとが互いに対応し、比較用バッファ84mと比較用バッファ84sとが互いに対応する。
FIG. 3 is a functional block diagram for explaining the main part of the control function provided in each of the
サブマイコン64の第1シフトポジション決定部70sは、シフト操作位置センサ36からの前記シフト操作位置信号を逐次取得し、そのシフト操作位置信号が表す操作位置Popeに基づいてシフトポジションPshを決定する。具体的には、そのシフト操作位置信号が予め定められた第1決定保留時間TIME1以上にわたって同じ操作位置Popeを表している場合にそのシフト操作位置信号に対応したシフトポジションPshを決定する。そして、第1シフトポジション決定部70sは、そのシフトポジションPshを決定すると、その決定したシフトポジションPshを第1シフト判定用バッファ80sに記憶する。なお、この第1シフト判定用バッファ80sに記憶されるシフトポジションPshは変速機18の変速制御に用いられることはなく、専ら相手側のマイコン(メインマイコン62)の異常を判定するために用いられる。
The first shift
第2シフトポジション決定部72sは、前記第1シフトポジション決定部70sと同様に、シフト操作位置センサ36からの前記シフト操作位置信号を逐次取得し、そのシフト操作位置信号が表す操作位置Popeに基づいてシフトポジションPshを決定する。但し、第2シフトポジション決定部72sは、シフトポジションPshを決定するために前記第1決定保留時間TIME1を用いるのではなく、その第1決定保留時間TIME1よりも長い時間に予め定められた第2決定保留時間TIME2を用いる。具体的に言えば、第2シフトポジション決定部72sは、前記シフト操作位置信号が予め定められた第2決定保留時間TIME2以上にわたって同じ操作位置Popeを表している場合にそのシフト操作位置信号に対応したシフトポジションPshを決定する。そして、第2シフトポジション決定部72sは、そのシフトポジションPshを決定すると、その決定したシフトポジションPshを第2シフト判定用バッファ82sに記憶する。なお、この第2シフト判定用バッファ82sに記憶されるシフトポジションPshは変速機18の変速制御に用いられることはなく、専ら相手側のマイコン(メインマイコン62)の異常を判定するために用いられる。
Similarly to the first shift
制御シフト決定部74sは、前記第1シフトポジション決定部70sと同様に、シフト操作位置センサ36からの前記シフト操作位置信号を逐次取得し、そのシフト操作位置信号が表す操作位置Popeに基づいてシフトポジションPshを決定する。但し、制御シフト決定部74sは、シフトポジションPshを決定するために前記第1決定保留時間TIME1を用いるのではなく、予め定められた判定時間TIMExを用いる。具体的に言えば、制御シフト決定部74sは、前記シフト操作位置信号が予め定められた判定時間TIMEx以上にわたって同じ操作位置Popeを表している場合にそのシフト操作位置信号に対応したシフトポジションPshを決定する。そして、制御シフト決定部74sは、その決定したシフトポジションPshを、変速機18を制御するための出力値として出力する。この出力値を制御シフトと呼ぶ。また、制御シフト決定部74sにより決定されたその制御シフトは、サブマイコン64に対する相手側のマイコンであるメインマイコン62により受信され、そのメインマイコン62の比較用バッファ84mに記憶される。逆に、メインマイコン62の制御シフト決定部74mにより決定された制御シフトは、サブマイコン64により受信され、そのサブマイコン64の比較用バッファ84sに記憶される。上述のように、前記制御シフトはメインマイコン62とサブマイコン64とのそれぞれから出力され、電子制御装置60は何れの制御シフトを変速機18の制御用に採用しても差し支えないが、例えば、メインマイコン62の制御シフト決定部74mが決定した制御シフトを専ら採用し、メインマイコン62が異常であると判定された場合など例外的に、サブマイコン64の制御シフト決定部74sが決定した制御シフトを採用する。そして、電子制御装置60はその採用した制御シフト(シフトポジションPsh)に基づいて変速機18の変速制御を行う。なお、前記判定時間TIMExは、運転者の意思に沿ったシフトポジションPshを前記シフト操作位置信号から的確に決定できるように予め実験的に設定されている。また、前記第1決定保留時間TIME1および第2決定保留時間TIME2は、異常判定部76s,76mの誤判定を回避できるように前記判定時間TIMExに応じて予め実験的に設定されている。例えば本実施例では、第2決定保留時間TIME2は判定時間TIMExと同じ長さの時間に設定されており、その第2決定保留時間TIME2及び判定時間TIMExは104msに設定され、第1決定保留時間TIME1は88msに設定されている。
Similarly to the first shift
異常判定部76sは、第1シフト判定用バッファ80sと第2シフト判定用バッファ82sと比較用バッファ84sとのそれぞれに記憶されているシフトポジションPshに基づいて、メインマイコン62が異常であるか否かを判定する。そのために、先ず、異常判定部76sは、比較用バッファ84sに記憶されているシフトポジションPshと第1シフト判定用バッファ80sに記憶されているシフトポジションPshとが互いに一致するか否かを逐次判定すると共に、比較用バッファ84sに記憶されているシフトポジションPshと第2シフト判定用バッファ82sに記憶されているシフトポジションPshとが互いに一致するか否かを逐次判定する。そして、異常判定部76sは、それらの判定の全部が否定されている期間において時間経過に従って所定の不一致判定継続時間TIMEng(初期値は零、単位は例えばms)を逐次増加させ、その不一致判定継続時間TIMEngが予め定められた異常保留時間TIME1ng以上になった場合に、相手側のマイコンであるメインマイコン62が異常であると判定する。具体的には、その不一致判定継続時間TIMEngが異常保留時間TIME1ng未満であれば所定の異常判定フラグFLGngを零に設定し、その不一致判定継続時間TIMEngが異常保留時間TIME1ng以上であれば異常判定フラグFLGngを1に設定する。要するに、異常判定部76sは、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと第2シフト判定用バッファ82sに記憶されているシフトポジションPshとの全部が比較用バッファ84sに記憶されているシフトポジションPshと異なることが、前記異常保留時間TIME1ng以上継続した場合に、メインマイコン62が異常であると判定する。但し、異常判定部76sは、前記不一致判定継続時間TIMEngの計測において、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと第2シフト判定用バッファ82sに記憶されているシフトポジションPshとの少なくとも一方が比較用バッファ84sに記憶されているシフトポジションPshと一致している期間では、時間経過に従って不一致判定継続時間TIMEngを逐次減少させる。また、不一致判定継続時間TIMEngの最小値は零であり、異常判定部76sはその不一致判定継続時間TIMEngをマイナス値にはしない。なお、異常保留時間TIME1ngは、メインマイコン62とサブマイコン64との間での通信遅れおよび処理能力の相違などを考慮して異常判定部76sが誤ったマイコン異常判定を行わないように予め実験的に設定されている。
The
例えば、異常判定部76sは、不一致判定継続時間TIMEngを、極めて短い所定の計測周期で設定される不一致判定カウンタ値CTng(初期値は零)に置き換えて、メインマイコン62が異常であるか否かを判定することができる。そのように置き換えたとすれば、前記異常保留時間TIME1ngは、それに対応する不一致判定カウンタ閾値CT1ngに置き換えられる。そして、異常判定部76sは、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと第2シフト判定用バッファ82sに記憶されているシフトポジションPshとの全部が比較用バッファ84sに記憶されているシフトポジションPshと異なる場合には、前記計測周期毎に不一致判定カウンタ値CTngを1ずつ増加させる。その一方で、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと第2シフト判定用バッファ82sに記憶されているシフトポジションPshとの少なくとも一方が比較用バッファ84sに記憶されているシフトポジションPshと一致する場合には、前記計測周期毎に、零を下限として不一致判定カウンタ値CTngを1ずつ減少させる。異常判定部76sは、そのように不一致判定カウンタ値CTngを増減した結果、前記計測周期毎にその不一致判定カウンタ値CTngが前記不一致判定カウンタ閾値CT1ng以上であるか否かを判定し、その不一致判定カウンタ値CTngが不一致判定カウンタ閾値CT1ng未満であれば前記異常判定フラグFLGngを零に設定し、その不一致判定カウンタ値CTngが不一致判定カウンタ閾値CT1ng以上であれば異常判定フラグFLGngを1に設定する。
For example, the
以上説明したようにしてサブマイコン64はメインマイコン62の異常を判定し、電子制御装置60は、メインマイコン62が異常であると異常判定部76sにより判定された場合、具体的には異常判定フラグFLGngが異常判定部76sによって1に設定された場合には、メインマイコン62の異常時に実行されるように予め定められている所定の処理を行う。例えば、メインマイコン62の異常を運転者に警告する警告表示を運転者近傍の表示装置に表示させ、変速機18の変速制御に予め設定された制限を加える。
As described above, the sub-microcomputer 64 determines the abnormality of the
図4は、サブマイコン64の制御作動の要部、すなわち、メインマイコン62の異常を判定する制御作動を説明するためのフローチャートであり、例えば前記計測周期と同じ周期で繰り返し実行される。このフローチャートの繰返し周期は例えば8msである。また、このフローチャートは、単独で或いは他の制御作動と並列的に実行される。
FIG. 4 is a flowchart for explaining a main part of the control operation of the sub-microcomputer 64, that is, a control operation for determining an abnormality of the
先ず、ステップ(以下、「ステップ」を省略する)SA1においては、前記第1決定保留時間TIME1が用いられて前記シフト操作位置信号に基づき決定されたシフトポジションPshが第1シフト判定用バッファ80sに記憶(格納)される。SA1の次はSA2に移る。なお、SA1は第1シフトポジション決定部70sに対応する。
First, in step (hereinafter, “step” is omitted) SA1, the shift position Psh determined based on the shift operation position signal using the first determination hold time TIME1 is stored in the first
第2シフトポジション決定部72sに対応するSA2においては、前記第2決定保留時間TIME2が用いられて前記シフト操作位置信号に基づき決定されたシフトポジションPshが第2シフト判定用バッファ82sに記憶(格納)される。SA2の次はSA3に移る。
In SA2 corresponding to the second shift
SA3においては、相手側のマイコンであるメインマイコン62により決定された前記制御シフトがメインマイコン62から受信され、その受信された制御シフトがサブマイコン64の比較用バッファ84sに記憶(格納)される。その比較用バッファ84sに記憶される制御シフトは、メインマイコン62の制御シフト決定部74mにより前記判定時間TIMExが用いられて決定されたものである。SA3の次はSA4に移る。
In SA3, the control shift determined by the
SA4においては、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと比較用バッファ84sに記憶されているシフトポジションPshとが互いに一致するか否かが判定される。このSA4の判定が肯定された場合、すなわち、第1シフト判定用バッファ80sに記憶されているシフトポジションPshと比較用バッファ84sに記憶されているシフトポジションPshとが互いに一致する場合には、SA6に移る。一方で、このSA4の判定が否定された場合には、SA5に移る。
In SA4, it is determined whether or not the shift position Psh stored in the first
SA5においては、第2シフト判定用バッファ82sに記憶されているシフトポジションPshと比較用バッファ84sに記憶されているシフトポジションPshとが互いに一致するか否かが判定される。このSA5の判定が肯定された場合、すなわち、第2シフト判定用バッファ82sに記憶されているシフトポジションPshと比較用バッファ84sに記憶されているシフトポジションPshとが互いに一致する場合には、SA6に移る。一方で、このSA5の判定が否定された場合には、SA7に移る。
In SA5, it is determined whether or not the shift position Psh stored in the second shift determination buffer 82s matches the shift position Psh stored in the
SA6においては、不一致判定カウンタ値CTngが、零を下限として1だけ減少させられる(CTng=CTng−1)。SA6の次はSA8に移る。 In SA6, the mismatch determination counter value CTng is decreased by 1 with CT being the lower limit (CTng = CTng−1). After SA6, the process proceeds to SA8.
SA7においては、不一致判定カウンタ値CTngが1だけ増加させられる(CTng=CTng+1)。SA7の次はSA9に移る。 In SA7, the mismatch determination counter value CTng is increased by 1 (CTng = CTng + 1). After SA7, the process proceeds to SA9.
SA8においては、不一致判定カウンタ値CTngが前記不一致判定カウンタ閾値CT1ng以上であるか否かが判定される。この不一致判定カウンタ閾値CT1ngは例えば10に予め設定されている。このSA8の判定が肯定された場合、すなわち、不一致判定カウンタ値CTngが不一致判定カウンタ閾値CT1ng以上である場合には、SA11に移る。一方で、このSA8の判定が否定された場合には、SA10に移る。 In SA8, it is determined whether or not the mismatch determination counter value CTng is greater than or equal to the mismatch determination counter threshold value CT1ng. The mismatch determination counter threshold value CT1ng is set in advance to 10, for example. If the determination of SA8 is affirmative, that is, if the mismatch determination counter value CTng is greater than or equal to the mismatch determination counter threshold value CT1ng, the process proceeds to SA11. On the other hand, if the determination of SA8 is negative, the process proceeds to SA10.
SA9においては、前記SA8と同様に、不一致判定カウンタ値CTngが不一致判定カウンタ閾値CT1ng以上であるか否かが判定される。このSA9の判定が肯定された場合には、SA11に移る。一方で、このSA9の判定が否定された場合には、SA10に移る。 In SA9, as in SA8, it is determined whether or not the mismatch determination counter value CTng is greater than or equal to the mismatch determination counter threshold value CT1ng. When the determination of SA9 is affirmed, the process proceeds to SA11. On the other hand, when the determination of SA9 is negative, the process proceeds to SA10.
SA10においては、メインマイコン62が正常であると判定される。すなわち、メインマイコン正常判定がなされる。具体的には、前記異常判定フラグFLGngが零に設定される。
In SA10, it is determined that the
SA11においては、メインマイコン62が異常であると判定される。すなわち、メインマイコン異常判定がなされる。具体的には、前記異常判定フラグFLGngが1に設定される。なお、SA4からSA11は異常判定部76sに対応する。
In SA11, it is determined that the
サブマイコン64の制御作動の要部は上述した通りであるが、この制御作動と並列的に、メインマイコン62も、このサブマイコン64の制御作動と同じ制御作動を繰り返し実行する。そのメインマイコン62の制御作動の要部、すなわち、サブマイコン64の異常を判定する制御作動を説明するためのフローチャートを図5として示す。この図5のフローチャートは例えば図4のフローチャートと同じ周期で繰り返し実行される。図5のフローチャートの内容は図4のフローチャートと同様であるので、その説明を省略する。なお、図5のSB1は図4のSA1に対応し、SB2はSA2に対応し、SB3はSA3に対応し、SB4はSA4に対応し、SB5はSA5に対応し、SB6はSA6に対応し、SB7はSA7に対応し、SB8はSA8に対応し、SB9はSA9に対応し、SB10はSA10に対応し、SB11はSA11に対応する。また、図5のSB1は第1シフトポジション決定部70mに対応し、SB2は第2シフトポジション決定部72mに対応し、SB4からSB11は異常判定部76mに対応する。
Although the main part of the control operation of the sub-microcomputer 64 is as described above, the
図6は、シフトポジションPshがPポジションであるときにシフトレバー32が運転者によりM操作位置からD操作位置へ(M→N→D)操作された場合を例として、サブイコン64がメインマイコン62の異常を判定する制御を説明するためのタイムチャートである。図6の例では、シフトレバー32が前記判定時間TIMExに比して十分に長い時間にわたってD操作位置に保持され、その後、そのD操作位置へのレバー操作が解除されている。図6では、上から順に、[M1]はメインマイコン62が取得する前記シフト操作位置信号が表す操作位置Pope(センサ値)、[M2]はその[M1]の操作位置Popeから制御シフト決定部74mが決定したシフトポジションPsh、[M3]はその[M2]のシフトポジションPshから制御シフト決定部74mが決定した制御シフト、[S1]はサブマイコン64がメインマイコン62から受信した[M3]の制御シフトすなわち比較用バッファ84sに記憶されているシフトポジションPsh、[S2]はサブマイコン64が取得する前記シフト操作位置信号が表す操作位置Pope(センサ値)、[S3]は第2シフト判定用バッファ82sに記憶されているシフトポジションPsh、[S4]は第1シフト判定用バッファ80sに記憶されているシフトポジションPsh、[S5]は異常判定部76sにより増減される不一致判定カウンタ値CTng、[S6]は異常判定部76sにより設定される異常判定フラグFLGngをそれぞれ示している。なお、図6の横軸は経過時間を表しており、その横軸の1目盛は図4のフローチャートの繰返し周期(=8ms)と同じである。また、図6から判るように、[M1]のセンサ値と[S2]のセンサ値とは互いに同一時点で比較すれば終始同じ値である。
FIG. 6 shows an example in which the
図6では、tA1時点にて、前記シフト操作位置信号が表す[M1]及び[S2]の操作位置PopeがN操作位置からD操作位置へ切り替わっており、そのtA1時点からの経過時間はtA2時点にて第1決定保留時間TIME1に達し、tA3時点にて第2決定保留時間TIME2(=判定時間TIMEx)に達している。そして、上記[M1]及び[S2]の操作位置PopeはtA1時点からtA5時点までの間でD操作位置に継続して保持されており、そのtA5時点にてD操作位置からN操作位置へ切り替わっている。 In FIG. 6, the operation position Pope of [M1] and [S2] indicated by the shift operation position signal is switched from the N operation position to the D operation position at time tA1, and the elapsed time from time tA1 is time tA2. The first decision hold time TIME1 is reached at t2, and the second decision hold time TIME2 (= determination time TIMEx) is reached at time tA3. The operation position Pope of [M1] and [S2] is continuously held at the D operation position from the time tA1 to the time tA5, and switches from the D operation position to the N operation position at the time tA5. ing.
メインマイコン62では、tA3時点にて、[M1]の操作位置PopeがD操作位置に保持されている継続時間が判定時間TIMExに達しているので、[M2]のシフトポジションPshはそのtA3時点にてD操作位置に対応するDポジションに確定し、PポジションからDポジションに切り替わっている。そして、1目盛分遅れたtA4時点にて、[M3]の制御シフトがPポジションからDポジションに切り替わっている。
In the
サブマイコン64では、メインマイコン62からサブマイコン64への通信遅れに起因して[M3]の制御シフトが時間的に遅れて比較用バッファ84sに記憶されるので、[S1]のシフトポジションPshは、tA4時点から3目盛分遅れたtA6時点にて、PポジションからDポジションに切り替わっている。また、tA2時点にて、[S2]の操作位置PopeがD操作位置に保持されている継続時間が第1決定保留時間TIME1に達しているので、[S4]のシフトポジションPshはそのtA2時点にてD操作位置に対応するDポジションに確定し、PポジションからDポジションに切り替わっている。一方、[S3]のシフトポジションPshは、上記D操作位置に保持されている継続時間が第2決定保留時間TIME2に達したtA3時点にて、Dポジションに確定し、PポジションからDポジションに切り替わっている。
In the sub-microcomputer 64, because the control shift of [M3] is delayed in time and stored in the
そして、異常判定部76sは、[S1]のシフトポジションPshと[S4]のシフトポジションPshとが互いに一致しているか否かの判定(以下、第1判定という)をすると共に、[S1]のシフトポジションPshと[S3]のシフトポジションPshとが互いに一致しているか否かの判定(以下、第2判定という)を逐次行っている。tA2時点からtA3時点までの間では、前記第1判定は否定される一方で前記第2判定は肯定されており、すなわち、[S3]と[S4]とのシフトポジションPshの全部が[S1]のシフトポジションPshと異なっているのではないので、[S5]の不一致判定カウンタ値CTngは零のままである。しかし、tA3時点からtA6時点までの間では、前記第1判定および前記第2判定の両方が否定されており、すなわち、[S3]と[S4]とのシフトポジションPshの全部が[S1]のシフトポジションPshと異なっているので、[S5]の不一致判定カウンタ値CTngは1目盛経過する毎に1ずつ増加されている。また、tA6時点からtA7時点までの間では、前記第1判定および前記第2判定の両方が肯定されており、すなわち、[S3]と[S4]とのシフトポジションPshの全部が[S1]のシフトポジションPshと異なっているのではないので、[S5]の不一致判定カウンタ値CTngは1目盛経過する毎に1ずつ減らされている。このように、[S5]の不一致判定カウンタ値CTngが増減された結果、その不一致判定カウンタ値CTngは不一致判定カウンタ閾値CT1ng(=10)以上になることがなかったので、図6の例では[S6]の異常判定フラグFLGngは終始零である。すなわち、サブマイコン64は、終始、メインマイコン62を正常と判定している。図6の例から、[S5]の不一致判定カウンタ値CTngが増減され、その不一致判定カウンタ値CTngに基づいて異常判定フラグFLGngが切り替えられることにより、前記メインマイコン異常判定が誤ってなされることが適切に回避されていることが判る。
Then, the
図7は、上述の図6と同様に、シフトポジションPshがPポジションであるときにシフトレバー32が運転者によりM操作位置からD操作位置へ操作された場合を例として、サブイコン64がメインマイコン62の異常を判定する制御を説明するためのタイムチャートである。但し、図7の例では、図6とは異なり、シフトレバー32がD操作位置に保持されている継続時間が前記判定時間TIMExに達する直前に、そのD操作位置へのレバー操作が解除されると共にシフトレバー32の操作位置PopeがD操作位置からN操作位置に切り替わっている。図7に示す[M1]〜[M3]及び[S1]〜[S6]は図6とそれぞれ同じである。また、図7において経過時間を表す横軸の1目盛は図6のものと同じである。また、図7でも図6と同様に、[M1]のセンサ値と[S2]のセンサ値とは互いに同一時点で比較すれば終始同じ値である。
FIG. 7 shows an example in which the
図7では、tB1時点にて、前記シフト操作位置信号が表す[M1]及び[S2]の操作位置PopeがN操作位置からD操作位置へ切り替わっており、そのtB1時点からの経過時間はtB2時点にて第1決定保留時間TIME1に達し、tB4時点にて第2決定保留時間TIME2(=判定時間TIMEx)に達している。そして、上記[M1]及び[S2]の操作位置PopeはtB1時点からtB3時点までの間でD操作位置に継続して保持されており、そのtB3時点にてD操作位置からN操作位置へ切り替わっている。すなわち、上記[M1]及び[S2]の操作位置Popeは、tB1時点からの経過時間が判定時間TIMExに達する直前にD操作位置からN操作位置へ切り替わっている。 In FIG. 7, at time tB1, the operation positions Pope of [M1] and [S2] indicated by the shift operation position signal are switched from the N operation position to the D operation position, and the elapsed time from the time tB1 is the time tB2. The first decision hold time TIME1 is reached at t2, and the second decision hold time TIME2 (= determination time TIMEx) is reached at time tB4. The operation position Pope of the above [M1] and [S2] is continuously held at the D operation position from the time point tB1 to the time point tB3, and switches from the D operation position to the N operation position at the time point tB3. ing. That is, the operation positions Pope of [M1] and [S2] are switched from the D operation position to the N operation position immediately before the elapsed time from the time point tB1 reaches the determination time TIMEx.
メインマイコン62では、[M1]の操作位置PopeがD操作位置に保持されている継続時間が判定時間TIMExに達してはいないものの、その継続時間が判定時間TIMExに達する直前であるtB3時点までは操作位置PopeはD操作位置に保持されていたので、tB4時点にて[M2]のシフトポジションPshはそのD操作位置に対応するDポジションに確定し、PポジションからDポジションに切り替わっている。これは、メインマイコン62がシフト操作位置センサ36からの前記シフト操作位置信号を処理する処理タイミングやクロックのばらつき等の影響により、[M2]のシフトポジションPshがDポジションに確定されたものであって通常あり得ることであり、この場合には[M2]のシフトポジションPshがDポジションに切り替わってもPポジションのまま保持されてもメインマイコン62の異常ではない。また、tB4時点から1目盛分遅れたtB5時点にて、[M3]の制御シフトがPポジションからDポジションに切り替わっている。
The
サブマイコン64では、メインマイコン62からサブマイコン64への通信遅れに起因して[M3]の制御シフトが時間的に遅れて比較用バッファ84sに記憶されるので、[S1]のシフトポジションPshは、tB5時点から3目盛分遅れたtB6時点にて、PポジションからDポジションに切り替わっている。また、tB2時点にて、[S2]の操作位置PopeがD操作位置に保持されている継続時間が第1決定保留時間TIME1に達しているので、[S4]のシフトポジションPshはそのtB2時点にてD操作位置に対応するDポジションに確定し、PポジションからDポジションに切り替わっている。一方、[S3]のシフトポジションPshは、上記D操作位置に保持されている継続時間が第2決定保留時間TIME2に達していないので、前記[M2]とは異なり、tB4時点にてDポジションに切り替えられることなく終始Pポジションのままである。
In the sub-microcomputer 64, because the control shift of [M3] is delayed in time and stored in the
そして、異常判定部76sは、図6の例と同様に前記第1判定及び前記第2判定を逐次行っている。tB2時点からtB6時点までの間では前記第1判定は否定されるが、[S1]のシフトポジションPshと[S3]のシフトポジションPshとがPポジションであって互いに一致しているので、前記第2判定は肯定されている。また、tB6時点以降では前記第2判定は否定されるが、[S1]のシフトポジションPshと[S4]のシフトポジションPshとがDポジションであって互いに一致しているので、前記第1判定は肯定されている。従って、前記第1判定および前記第2判定の両方が否定されること、すなわち、[S3]と[S4]とのシフトポジションPshの全部が[S1]のシフトポジションPshと異なることが終始生じていないので、[S5]の不一致判定カウンタ値CTngは増加することなく終始零のままである。そのため、その[S5]の不一致判定カウンタ値CTngは不一致判定カウンタ閾値CT1ng(=10)以上になることがなく、図7の例では[S6]の異常判定フラグFLGngは終始零である。すなわち、サブマイコン64は、終始、メインマイコン62を正常と判定している。
And the
図7の例によれば、シフト操作装置30の操作位置Pope(シフトレバー32の操作位置Pope)が一定に保持された継続時間が判定時間TIMExと同じ又は略同じ場合にも、前記メインマイコン異常判定が誤ってなされることが適切に回避されていることが判る。これは、[S1]のシフトポジションPshが[S3]のシフトポジションPshと比較されるだけでなく、その[S3]のシフトポジションPshを決定するために用いられる第2決定保留時間TIME2とは異なる第1決定保留時間TIME1が用いられて決定される[S4]のシフトポジションPshとも比較されるからである。 According to the example of FIG. 7, even when the operation position Pope of the shift operation device 30 (the operation position Pope of the shift lever 32) is kept constant, the main microcomputer abnormality is detected even when the duration is the same as or substantially the same as the determination time TIMEx. It can be seen that an erroneous determination is appropriately avoided. This is not only the shift position Psh of [S1] is compared with the shift position Psh of [S3], but is different from the second decision hold time TIME2 used to determine the shift position Psh of [S3]. This is because it is also compared with the shift position Psh of [S4] determined using the first determination hold time TIME1.
上述のように、本実施例によれば、メインマイコン62及びサブマイコン64はそれぞれ、シフト操作位置センサ36から前記シフト操作位置信号が入力され、そのシフト操作位置信号が予め定められた所定時間TIMEf(例えば、第1決定保留時間TIME1、第2決定保留時間TIME2、または判定時間TIMEx)以上にわたって同じ操作位置Popeを表している場合にそのシフト操作位置信号に対応したシフトポジションPshを決定する。そして、メインマイコン62およびサブマイコン64は互いに相手側のマイコンの異常を監視する。具体的には、メインマイコン62は、前記第1決定保留時間TIME1を前記所定時間TIMEfとして決定されたシフトポジションPshを記憶する第1シフト判定用バッファ80mと、前記第1決定保留時間TIME1よりも長い前記第2決定保留時間TIME2を前記所定時間TIMEfとして決定されたシフトポジションPshを記憶する第2シフト判定用バッファ82mと、相手側のマイコン(サブマイコン64)により決定されたシフトポジションPsh(制御シフト)が記憶される比較用バッファ84mとを備えている。このように構成されたメインマイコン62は、第1シフト判定用バッファ80m及び第2シフト判定用バッファ82mに記憶されているシフトポジションPshの全部が比較用バッファ84mに記憶されているサブマイコン64により決定されたシフトポジションPshと異なる場合に、サブマイコン64が異常であると判定する。同様に、サブマイコン64は、前記第1決定保留時間TIME1を前記所定時間TIMEfとして決定されたシフトポジションPshを記憶する第1シフト判定用バッファ80sと、前記第2決定保留時間TIME2を前記所定時間TIMEfとして決定されたシフトポジションPshを記憶する第2シフト判定用バッファ82sと、相手側のマイコン(メインマイコン62)により決定されたシフトポジションPsh(制御シフト)が記憶される比較用バッファ84sとを備えている。そして、サブマイコン64は、第1シフト判定用バッファ80s及び第2シフト判定用バッファ82sに記憶されているシフトポジションPshの全部が比較用バッファ84sに記憶されているメインマイコン62により決定されたシフトポジションPshと異なる場合に、メインマイコン62が異常であると判定する。従って、例えばメインマイコン62とサブマイコン64との処理タイミングの相違による前記シフト操作位置信号の認識違い等に起因したマイコン異常の誤判定を防止しつつ、速やかにメインマイコン62及びサブマイコン64の異常判定を行うことができる。
As described above, according to this embodiment, each of the
また、本実施例によれば、メインマイコン62は、第1シフト判定用バッファ80m及び第2シフト判定用バッファ82mに記憶されているシフトポジションPshの全部が比較用バッファ84mに記憶されているシフトポジションPshと異なることが、前記異常保留時間TIME1ng以上継続した場合に、サブマイコン64が異常であると判定する。同様に、サブマイコン64は、第1シフト判定用バッファ80s及び第2シフト判定用バッファ82sに記憶されているシフトポジションPshの全部が比較用バッファ84sに記憶されているシフトポジションPshと異なることが、前記異常保留時間TIME1ng以上継続した場合に、メインマイコン62が異常であると判定する。従って、そのように異常保留時間TIME1ng以上継続したか否かを問わない場合と比較して、メインマイコン62またはサブマイコン64がマイコン異常の誤判定をすることを一層確実に防止することが可能である。
Further, according to the present embodiment, the
また、本実施例によれば、メインマイコン62の比較用バッファ84mに記憶されているシフトポジションPshは、予め定められた前記判定時間TIMExを前記所定時間TIMEfとしてサブマイコン64により決定されたシフトポジションPshである。同様に、サブマイコン64の比較用バッファ84sに記憶されているシフトポジションPshは、前記判定時間TIMExを前記所定時間TIMEfとしてメインマイコン62により決定されたシフトポジションPshである。そして、前記判定時間TIMExは前記第2決定保留時間TIME2と同じである。従って、そのように判定時間TIMExを第2決定保留時間TIME2と同じにはしない場合と比較して、メインマイコン62及びサブマイコン64がそれぞれ記憶する前記所定時間TIMEfとして設定されるパラメータの種類を減らすことが可能である。
Further, according to the present embodiment, the shift position Psh stored in the
また、本実施例によれば、図2に示すように、シフト操作装置32は、人為的に操作されその人為的操作が解除されると予め定められた基準位置(M操作位置)に戻るシフトレバー32を備えている。そして、そのシフト操作装置32の操作位置Popeとはシフトレバー32の操作位置Popeである。従って、メインマイコン62およびサブマイコン64がマイコン異常に起因して誤ったシフトポジションPshを出力することを適切に回避しつつ、すなわち、その誤ったシフトポジションPshに従って変速機18の変速制御が行われることを適切に回避しつつ、シフトレバー32に対する人為的操作が解除されているときのそのシフトレバー32の操作位置Popeと上記変速制御に供されるシフトポジションPshとが一対一で対応しないシフト操作装置30を実現することができる。
Further, according to the present embodiment, as shown in FIG. 2, the
以上、本発明の実施例を図面に基づいて詳細に説明したが、本発明はその他の態様においても適用される。 As mentioned above, although the Example of this invention was described in detail based on drawing, this invention is applied also in another aspect.
例えば、前述の実施例において、シフトレバー32は2次元的にシフト操作されるものであるが、一軸に沿ってシフト操作されるものであってもよいし、3次元的にシフト操作されるものであってもよい。また、シフトレバー32は、そのシフトレバー32に作用する外力が無くなればM操作位置へ戻るが、M操作位置へ戻らずに、運転者に操作された操作位置Popeに留まる形式のものであっても差し支えない。
For example, in the above-described embodiment, the
また、前述の実施例において、シフトレバー32は、モーメンタリ式のレバースイッチであるが、それに替えて、例えば押しボタン式のスイッチやスライド式スイッチ等であっても差し支えない。更に言えば、シフト操作装置30は、手動操作ではなく、足によりシフト操作されてもよいし、運転者の音声に反応してシフト操作されてもよい。要するに、シフト操作装置30は、運転者のシフト意思を電気信号に変換する操作装置であればよい。
In the above-described embodiment, the
また、前述の実施例において、第2決定保留時間TIME2と判定時間TIMExとは互いに同じ長さの時間に設定されているが、両者は異なっていてもよく、例えば、判定時間TIMExは、第1決定保留時間TIME1よりも長く且つ第2決定保留時間TIME1よりも短い時間に予め定められていても差し支えない。 In the above-described embodiment, the second determination hold time TIME2 and the determination time TIMEx are set to the same length of time, but may be different from each other. For example, the determination time TIMEx is the first time The predetermined hold time may be longer than the determination hold time TIME1 and shorter than the second determination hold time TIME1.
また、前述の実施例において、サブマイコン64は、メインマイコン62の異常判定用のシフト判定用バッファとして第1シフト判定用バッファ80sと第2シフト判定用バッファ82sとを備えているが、そのシフト判定用バッファの数は2つに限定されるものではなく、サブマイコン64は、3つ以上のシフト判定用バッファを備えていても差し支えない。その場合、例えば第3のシフト判定用バッファには、第1決定保留時間TIME1と第2決定保留時間TIME2との何れとも異なる第3の決定保留時間を前記所定時間TIMEfとして決定されたシフトポジションPshが記憶される。なお、メインマイコン62についても同様である。また、メインマイコン62とサブマイコン64との各々が有する前記シフト判定用バッファの数は互いに同一である必要はない。
In the above-described embodiment, the sub-microcomputer 64 includes the first
また、前述の実施例において、変速機18は複数の遊星歯車装置を備えた有段の自動変速機であるが、ベルト式等の無段変速機(CVT)であってもよい。或いは、その変速機18は、発電機能も有する電動機と遊星歯車装置とを備え、その電動機によってその遊星歯車装置の差動状態を制御することにより変速比を変更する電気的な無段変速機であっても差し支えない。
In the above-described embodiment, the
また、前述の実施例において、車両10は走行用の駆動力源として電動機を備えていないが、エンジン12に加えて走行用の電動機を備えたハイブリッド車両、または、エンジン12を備えず走行用の電動機だけを備えた電気自動車であっても差し支えない。
In the above-described embodiment, the
また、前述の実施例において、図4のフローチャートはSA6からSA9を備えているが、そのSA6からSA9を備えないフローチャートも考え得る。そのようにしたフローチャートでは、SA4またはSA5の判定が肯定された場合にはSA10移り、SA5の判定が否定された場合にはSA11に移る。なお、図5でも同様である。 In the above-described embodiment, the flowchart of FIG. 4 includes SA6 to SA9, but a flowchart without SA6 to SA9 is also conceivable. In the flowchart as described above, when the determination of SA4 or SA5 is affirmed, the process proceeds to SA10, and when the determination of SA5 is denied, the process proceeds to SA11. The same applies to FIG.
なお、上述したのはあくまでも一実施形態であり、本発明は当業者の知識に基づいて種々の変更、改良を加えた態様で実施することができる。 The above description is only an embodiment, and the present invention can be implemented in variously modified and improved forms based on the knowledge of those skilled in the art.
10:車両
30:シフト操作装置
32:シフトレバー
60:電子制御装置(車両用電子制御装置)
62:メインマイコン(第1マイコン)
64:サブマイコン(第2マイコン)
80m,80s:第1シフト判定用バッファ
82m,82s:第2シフト判定用バッファ
84m,84s:比較用バッファ
10: Vehicle 30: Shift operation device 32: Shift lever 60: Electronic control device (electronic control device for vehicle)
62: Main microcomputer (first microcomputer)
64: Sub-microcomputer (second microcomputer)
80m, 80s: first shift determination buffers 82m, 82s: second shift determination buffers 84m, 84s: comparison buffers
Claims (3)
前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、
前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、
前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されているシフトポジションと異なることが、予め定められた異常保留時間以上継続した場合に、相手側のマイコンが異常であると判定する
ことを特徴とする車両用電子制御装置。 When a shift operation position signal indicating the operation position of the shift operation device is input and the shift operation position signal indicates the same operation position for a predetermined time or more, a shift position corresponding to the shift operation position signal is determined. An electronic control device for a vehicle comprising one microcomputer and a second microcomputer, wherein the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer;
The first microcomputer and the second microcomputer have a first shift determination buffer for storing the shift position determined by using a predetermined first determination hold time as the predetermined time, and the first determination hold time than the first determination hold time. A second shift determination buffer for storing the shift position determined with a long predetermined second determination hold time as the predetermined time, and a comparison buffer for storing the shift position determined by the counterpart microcomputer Each with
In the first microcomputer and the second microcomputer, all the shift positions stored in the first and second shift determination buffers are respectively determined by the counterpart microcomputer stored in the comparison buffer. If it is different from the shift position, it is judged that the other party's microcomputer is abnormal,
It is predetermined that each of the first microcomputer and the second microcomputer differs from the shift position stored in the comparison buffer in that all the shift positions stored in the first and second shift determination buffers are respectively determined. It was abnormal hold when duration or car dual electronic controller you characterized by determining a mating microcomputer is abnormal.
前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、
前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、
前記比較用バッファに記憶されているシフトポジションは、予め定められた判定時間を前記所定時間として前記相手側のマイコンにより決定されたシフトポジションであり、
前記判定時間は前記第2決定保留時間と同じである
ことを特徴とする車両用電子制御装置。 When a shift operation position signal indicating the operation position of the shift operation device is input and the shift operation position signal indicates the same operation position for a predetermined time or more, a shift position corresponding to the shift operation position signal is determined. An electronic control device for a vehicle comprising one microcomputer and a second microcomputer, wherein the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer;
The first microcomputer and the second microcomputer have a first shift determination buffer for storing the shift position determined by using a predetermined first determination hold time as the predetermined time, and the first determination hold time than the first determination hold time. A second shift determination buffer for storing the shift position determined with a long predetermined second determination hold time as the predetermined time, and a comparison buffer for storing the shift position determined by the counterpart microcomputer Each with
In the first microcomputer and the second microcomputer, all the shift positions stored in the first and second shift determination buffers are respectively determined by the counterpart microcomputer stored in the comparison buffer. If it is different from the shift position, it is judged that the other party's microcomputer is abnormal,
The shift position stored in the comparison buffer is a shift position determined by the counterpart microcomputer using the predetermined determination time as the predetermined time,
The judgment time car dual electronic controller you characterized in that the same as the second determination holding time.
前記第1マイコンおよび前記第2マイコンは、予め定められた第1決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第1シフト判定用バッファと、前記第1決定保留時間よりも長い予め定められた第2決定保留時間を前記所定時間として決定された前記シフトポジションを記憶する第2シフト判定用バッファと、相手側のマイコンにより決定された前記シフトポジションが記憶される比較用バッファとを各々備えており、
前記第1マイコンおよび前記第2マイコンは各々、前記第1及び第2シフト判定用バッファに記憶されているシフトポジションの全部が前記比較用バッファに記憶されている前記相手側のマイコンにより決定されたシフトポジションと異なる場合に、相手側のマイコンが異常であると判定し、
前記シフト操作装置は、人為的に操作され該人為的操作が解除されると予め定められた基準位置に戻るシフトレバーを備えており、
前記シフト操作装置の操作位置とは前記シフトレバーの操作位置である
ことを特徴とする車両用電子制御装置。
When a shift operation position signal indicating the operation position of the shift operation device is input and the shift operation position signal indicates the same operation position for a predetermined time or more, a shift position corresponding to the shift operation position signal is determined. An electronic control device for a vehicle comprising one microcomputer and a second microcomputer, wherein the first microcomputer and the second microcomputer monitor each other for an abnormality of the counterpart microcomputer;
The first microcomputer and the second microcomputer have a first shift determination buffer for storing the shift position determined by using a predetermined first determination hold time as the predetermined time, and the first determination hold time than the first determination hold time. A second shift determination buffer for storing the shift position determined with a long predetermined second determination hold time as the predetermined time, and a comparison buffer for storing the shift position determined by the counterpart microcomputer Each with
In the first microcomputer and the second microcomputer, all the shift positions stored in the first and second shift determination buffers are respectively determined by the counterpart microcomputer stored in the comparison buffer. If it is different from the shift position, it is judged that the other party's microcomputer is abnormal,
The shift operation device includes a shift lever that is manually operated and returns to a predetermined reference position when the artificial operation is released,
Car dual electronic controller you wherein the operating position of the shift operation device is an operation position of the shift lever.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012110062A JP5783132B2 (en) | 2012-05-11 | 2012-05-11 | Electronic control device for vehicle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012110062A JP5783132B2 (en) | 2012-05-11 | 2012-05-11 | Electronic control device for vehicle |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013238259A JP2013238259A (en) | 2013-11-28 |
JP5783132B2 true JP5783132B2 (en) | 2015-09-24 |
Family
ID=49763462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012110062A Active JP5783132B2 (en) | 2012-05-11 | 2012-05-11 | Electronic control device for vehicle |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5783132B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106660496A (en) * | 2014-06-18 | 2017-05-10 | 加特可株式会社 | Vehicle control apparatus |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6441380B2 (en) | 2014-11-28 | 2018-12-19 | 日立オートモティブシステムズ株式会社 | In-vehicle transmission control device |
US10221945B2 (en) * | 2015-01-26 | 2019-03-05 | Hitachi Automotive Systems, Ltd. | Electronic control device for vehicular automatic transmission |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0666367A (en) * | 1992-08-20 | 1994-03-08 | Nissan Motor Co Ltd | Shift device for automatic transmission |
US7568402B2 (en) * | 2006-08-04 | 2009-08-04 | Gm Global Technology Operations, Inc. | Method and apparatus for fault-tolerant transmission gear selector lever position determination |
JP2010236670A (en) * | 2009-03-31 | 2010-10-21 | Aisin Aw Co Ltd | Control device of vehicle |
-
2012
- 2012-05-11 JP JP2012110062A patent/JP5783132B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106660496A (en) * | 2014-06-18 | 2017-05-10 | 加特可株式会社 | Vehicle control apparatus |
CN106660496B (en) * | 2014-06-18 | 2019-02-12 | 加特可株式会社 | The control device of vehicle |
Also Published As
Publication number | Publication date |
---|---|
JP2013238259A (en) | 2013-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5359459B2 (en) | Vehicle shift control device | |
JP5783132B2 (en) | Electronic control device for vehicle | |
CN101992708B (en) | Seat state changing apparatus | |
CN103930334A (en) | Parking assist device | |
EP3260740A1 (en) | Control system for vehicle | |
JP2010223392A (en) | Shift control device for vehicle | |
US20170335949A1 (en) | Vehicle Having an Automatic Transmission and a Manually Actuatable Selector Element | |
JP2010159853A (en) | Gear shift control device for automatic transmission | |
EP2937239B1 (en) | Vehicular shift operation device | |
JP5652622B2 (en) | Vehicle abnormality diagnosis device | |
CN106609839B (en) | Method for controlling the driving of vehicle | |
JP2009229128A (en) | Apparatus for diagnosing temperature sensor of inverter circuit | |
JP2015212106A (en) | Seat control device | |
JP2017101735A (en) | Clutch system | |
JP2022144818A (en) | Drive support device and drive support method | |
KR102287705B1 (en) | Method for detecting gearshift position of electric shift-by-wire system | |
JP5713113B2 (en) | Vehicle control device | |
US9393948B2 (en) | Vehicle start-up control mechanism | |
US9353856B2 (en) | Method for adapting shifts in a motor vehicle transmission | |
JP5714314B2 (en) | Control device for vehicle drive unit | |
US11054024B2 (en) | Transmission system based on shift by wire and method for controlling the same | |
US8682553B2 (en) | Method and device for engaging a clutch | |
CN107208792B (en) | The control device of automatic transmission and the control method of automatic transmission | |
US11584399B2 (en) | Driving handover control device and driving handover control method | |
US20230202352A1 (en) | Seat state detection apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140226 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141216 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141218 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150210 |
|
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: 20150623 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150706 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5783132 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |