JP2005172118A - Range position detection device and its control program for automatic transmission - Google Patents

Range position detection device and its control program for automatic transmission Download PDF

Info

Publication number
JP2005172118A
JP2005172118A JP2003412320A JP2003412320A JP2005172118A JP 2005172118 A JP2005172118 A JP 2005172118A JP 2003412320 A JP2003412320 A JP 2003412320A JP 2003412320 A JP2003412320 A JP 2003412320A JP 2005172118 A JP2005172118 A JP 2005172118A
Authority
JP
Japan
Prior art keywords
range
group
binary
position detection
switch
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.)
Pending
Application number
JP2003412320A
Other languages
Japanese (ja)
Inventor
Tetsuji Ozaki
哲司 小崎
Akira Takagi
章 高木
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 JP2003412320A priority Critical patent/JP2005172118A/en
Priority to CNB2004101002547A priority patent/CN100366956C/en
Priority to US11/008,652 priority patent/US20050126322A1/en
Priority to CN 200710142354 priority patent/CN100532893C/en
Publication of JP2005172118A publication Critical patent/JP2005172118A/en
Priority to US12/216,746 priority patent/US7584681B2/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Transmission Device (AREA)
  • Gear-Shifting Mechanisms (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve reliability of a range position detection switch for an automatic transmission. <P>SOLUTION: Four switch bodies S1 to S4 of the range position detection switch 12 are divided into a first group provided with three switch bodies S1 to S3, and a second group provided with one switch body S4. 3-bit codes representing four range positions P, R, N, and D, and an intermediate state positions P-R, R-N, and N-D are provided by combining binary signal output from three switch bodies S1 to S3 of the first group. Three switch bodies S1 to S3 of the first group are set to switch signal values only of one switch body between two adjacent positions in the four range positions and three intermediate state positions. The switch body S4 of the second group detects the range positions P and N permitting engine start, and provides to output signals for P and N positions, which are different from other positions. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、自動変速機のシフトレバーの操作によって選択されるレンジ位置を検出するための自動変速機のレンジ位置検出装置及びその制御プログラムに関する発明である。   The present invention relates to an automatic transmission range position detecting device for detecting a range position selected by operating a shift lever of an automatic transmission and a control program therefor.

自動変速機のレンジ位置検出装置においては、例えば特許文献1(特開2003−294134号公報)に記載されているように、運転者が操作するシフトレバーの動きに応動してオン・オフする4個の接点S1〜S4を持つインヒビタスイッチを搭載し、4個の接点S1〜S4のオン・オフの組み合わせパターンを、パーキングレンジ(P)、リバースレンジ(R)、ニュートラルレンジ(N)、ドライブレンジ(D)の各レンジ位置毎に変化させるように構成することで、4個の接点S1〜S4のオン・オフの組み合わせパターンに基づいてレンジ位置を検出するようにしたものがある。   In the automatic transmission range position detection device, for example, as described in Patent Document 1 (Japanese Patent Laid-Open No. 2003-294134), it is turned on / off in response to the movement of a shift lever operated by the driver 4. Equipped with an inhibitor switch with 4 contacts S1 to S4, the combination pattern of 4 contacts S1 to S4 on / off, parking range (P), reverse range (R), neutral range (N), drive range There is a configuration in which the range position is detected on the basis of the on / off combination pattern of the four contacts S1 to S4 by being configured to change for each range position of (D).

このようなインヒビタスイッチは、個々の接点S1〜S4の故障やワイヤハーネスの断線等の異常が発生した場合に、本来のレンジ位置とは異なる誤信号を出力する可能性がある。   Such an inhibitor switch may output an error signal different from the original range position when an abnormality such as failure of the individual contacts S1 to S4 or disconnection of the wire harness occurs.

そこで、上記特許文献1(特開2003−294134号公報)では、インヒビタスイッチが故障して本来のレンジ位置とは異なる誤信号を出力する場合に、NレンジとPレンジの誤判定を防止することを目的として、Nレンジにおいて、いずれか1つの接点が本来のレンジ位置とは異なる誤信号を出力しても、そのNレンジにおける4個の接点S1〜S4のオン・オフの組み合わせパターンがPレンジにおける4個の接点S1〜S4のオン・オフの組み合わせパターンと一致しないように4個の接点S1〜S4のオン・オフの組み合わせパターンを設定するようにしている。更に、4個の接点S1〜S4のオン・オフの組み合わせパターンがいずれのレンジ位置のパターンにも一致しないときに、故障と判定するようにしている。
特開2003−294134号公報号公報(第1頁〜第4頁等)
Therefore, in Patent Document 1 (Japanese Patent Laid-Open No. 2003-294134), when the inhibitor switch fails and outputs an error signal different from the original range position, erroneous determination of the N range and the P range is prevented. For the N range, even if any one contact in the N range outputs an error signal different from the original range position, the combination pattern of ON / OFF of the four contacts S1 to S4 in the N range is the P range. The on / off combination pattern of the four contacts S1 to S4 is set so as not to coincide with the on / off combination pattern of the four contacts S1 to S4. Furthermore, a failure is determined when the on / off combination pattern of the four contacts S1 to S4 does not match any range position pattern.
JP 2003-294134 A (pages 1 to 4 etc.)

しかし、上記特許文献1の技術では、インヒビタスイッチの4個の接点S1〜S4のオン・オフの組み合わせパターンがいずれのレンジ位置のパターンにも一致しないときに故障と判定するようにしているが、4個の接点S1〜S4のオン・オフの組み合わせパターンが実際とは異なるレンジ位置のパターンに一致するときには、故障を検出できないだけでなく、別のレンジ位置と誤判定してしまうという欠点がある。   However, in the technique of the above-mentioned Patent Document 1, a failure is determined when the combination pattern of the four contacts S1 to S4 of the inhibitor switch does not match any of the range position patterns. When the on / off combination pattern of the four contacts S1 to S4 matches the pattern of the range position different from the actual one, there is a defect that not only the failure cannot be detected but also erroneously determined as another range position. .

そこで、本発明の目的は、レンジ位置検出スイッチの故障に対する信頼性を向上できる自動変速機のレンジ位置検出装置及びその制御プログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a range position detection device for an automatic transmission and a control program therefor that can improve the reliability against a failure of a range position detection switch.

上記目的を達成するために、請求項1に係る発明は、自動変速機のシフトレバーの操作位置に応じて複数の2値信号発生手段の状態を各2値信号発生手段毎に設定されたパターンで切り換えて複数の2値信号を出力するレンジ位置検出スイッチと、このレンジ位置検出スイッチから出力される前記複数の2値信号を読み込んで前記シフトレバーの操作位置を判定する制御部とを備えた自動変速機のレンジ位置検出装置において、前記レンジ位置検出スイッチは、前記複数の2値信号発生手段を2つのグループに分けて各グループの2値信号によって各グループ毎にシフトレバーの操作位置に関する情報を表現し、前記制御部は、前記レンジ位置検出スイッチの2つのグループの2値信号の組み合わせに基づいてシフトレバーの操作位置の判定及び/又は前記レンジ位置検出スイッチの故障診断を行うことを特徴とするものである。このように、レンジ位置検出スイッチの複数の2値信号発生手段を2つのグループに分けて各グループの2値信号によって各グループ毎にシフトレバーの操作位置に関する情報を表現するようにすれば、シフトレバーの操作位置を従来よりも精度良く判定できると共に、従来よりも多くの故障を検出することができる。   In order to achieve the above object, the invention according to claim 1 is a pattern in which states of a plurality of binary signal generating means are set for each binary signal generating means in accordance with the operation position of the shift lever of the automatic transmission. And a range position detection switch that outputs a plurality of binary signals and a control unit that reads the plurality of binary signals output from the range position detection switch and determines the operation position of the shift lever. In the range position detecting device for an automatic transmission, the range position detecting switch divides the plurality of binary signal generating means into two groups, and information on the operation position of the shift lever for each group based on the binary signal of each group. The control unit determines the operation position of the shift lever based on a combination of binary signals of the two groups of the range position detection switch. Beauty / or to perform a fault diagnosis of the range position detecting switch is characterized in. In this way, if the plurality of binary signal generating means of the range position detection switch are divided into two groups and the information regarding the operation position of the shift lever is expressed for each group by the binary signal of each group, the shift is performed. The operating position of the lever can be determined with higher accuracy than before, and more faults can be detected than before.

この場合、請求項2のように、レンジ位置検出スイッチの少なくとも一方のグループの2値信号の組み合わせは、シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定すると良い。これにより、運転者の使用頻度が高い全ての位置を検出することができる。   In this case, as in claim 2, the combination of the binary signals of at least one group of the range position detection switch includes at least the parking range, reverse range, neutral range, and drive range as the operation position of the shift lever. It is preferable to set so that the intermediate state position can be identified. Thereby, all the positions with high use frequency of a driver are detectable.

また、請求項3のように、レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、前記各レンジ位置とその中間状態位置において、隣り合う2つの位置間で1つの2値信号発生手段のみが切り換えられるように構成すると良い。このようにすれば、いずれか1つの2値信号発生手段が故障(断線・短絡)した場合に、レンジ位置の誤判定を確実に防止することができる。   According to a third aspect of the present invention, the binary signal generation means of at least one group of the range position detection switches generates one binary signal between two adjacent positions at each of the range positions and the intermediate state position. It is good to comprise so that only a means can be switched. In this way, erroneous determination of the range position can be reliably prevented when any one of the binary signal generating means fails (disconnection or short circuit).

また、請求項4のように、レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、前記各レンジ位置とその中間状態位置のいずれの位置においても、少なくとも1つの2値信号発生手段からアクティブな信号(能動信号)が出力されるように構成すると良い。要するに、各レンジ位置とその中間状態位置のいずれかの位置で全ての2値信号発生手段が非アクティブ状態(非能動状態)になる構成にすると、断線時と正常時とを識別できなくなるが、いずれの位置においても、少なくとも1つの2値信号発生手段がアクティブ状態(能動状態)となるように構成すれば、断線時と正常時とを識別することができる。   According to a fourth aspect of the present invention, the binary signal generating means of at least one group of the range position detection switches includes at least one binary signal generating means at any of the range positions and intermediate state positions. It is preferable that an active signal (active signal) is output from. In short, if all the binary signal generating means are in an inactive state (inactive state) at any position between each range position and its intermediate state position, it becomes impossible to distinguish between disconnection and normal state. At any position, if at least one binary signal generating means is configured to be in an active state (active state), it is possible to distinguish between disconnection and normal operation.

また、請求項5のように、レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、ドライブレンジで全ての信号がアクティブな信号に切り換えられるように構成すると良い。このようにすれば、故障発生時に、ニュートラルレンジとドライブレンジとの間の中間状態位置において、リバースレンジと誤判定してバックアップランプが誤点灯することを回避できる。   Further, as in claim 5, the binary signal generating means of at least one group of the range position detection switches may be configured so that all signals are switched to active signals in the drive range. In this way, when a failure occurs, it is possible to avoid erroneously determining that the backup lamp is erroneously lit due to a reverse range at an intermediate state position between the neutral range and the drive range.

本発明の好ましい実施態様としては、請求項6のように、レンジ位置検出スイッチの一方のグループ(以下「第1グループ」という)の2値信号の組み合わせは、前記シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定され、他方のグループ(以下「第2グループ」という)の2値信号発生手段は、前記パーキングレンジ及び前記ニュートラルレンジのみでそれ以外の位置とは異なる信号が出力されるように構成され、前記制御部は、前記第1グループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置を判定し、その判定結果と前記第2グループの2値信号とに基づいて前記レンジ位置検出スイッチの故障診断を行うようにすると良い。このようにすれば、運転者の使用頻度が高い全ての位置を精度良く検出しながら、従来よりも多くの故障を検出することができる。   As a preferred embodiment of the present invention, as in claim 6, a combination of binary signals of one group of range position detection switches (hereinafter referred to as “first group”) is at least parked as an operation position of the shift lever. The binary signal generating means of the other group (hereinafter referred to as “second group”) is set so as to identify each range position of the range, reverse range, neutral range, and drive range and the intermediate state position thereof. The control unit determines the operation position of the shift lever based on the binary signal combination of the first group based on the combination of the binary signals of the first group. The range position detection switch based on the determination result and the binary signal of the second group May to perform the failure diagnosis. In this way, it is possible to detect more failures than in the past while accurately detecting all positions where the frequency of use of the driver is high.

より具体的には、請求項7のように、レンジ位置検出スイッチの第1グループを3個の2値信号発生手段で構成し、前記中間状態位置において2個の2値信号発生手段からアクティブな信号が出力されるように構成すると良い。この構成は、パーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの4つのレンジ位置とその中間状態位置を識別するのに最適な構成となる。   More specifically, as in claim 7, the first group of range position detection switches is composed of three binary signal generating means, and the two binary signal generating means are active at the intermediate state position. It may be configured to output a signal. This configuration is an optimum configuration for identifying the four range positions of the parking range, reverse range, neutral range, and drive range and their intermediate state positions.

更に、請求項8のように、制御部は、第1グループのいずれかの2値信号が変化する毎に割り込み処理により該第1グループの2値信号を読み込み、所定のサンプリング周期で第2グループの2値信号を読み込むようにすると良い。このようにすれば、運転者のシフトレバーの操作速度が速い場合でも、シフトレバーの操作によって切り換えられる全ての位置を操作順に検出することができ、検出位置の飛び(抜け)が発生することを確実に防止できる。   Further, as in claim 8, the control unit reads the binary signal of the first group by interrupt processing every time one of the binary signals of the first group changes, and performs the second group at a predetermined sampling period. It is better to read the binary signal. In this way, even when the operation speed of the driver's shift lever is high, all the positions switched by the operation of the shift lever can be detected in the order of operation, and the detection position skips (misses). It can be surely prevented.

また、請求項9のように、制御部は、第1グループのいずれかの2値信号が変化する毎にその変化後の2値信号の組み合わせ(変化後の検出位置)が変化前の2値信号の組み合わせ(変化前の検出位置)と隣り合う位置の2値信号の組み合わせであるか否かを判定してレンジ位置検出スイッチの故障診断を行う機能も備えるようにすると良い。このようにすれば、第1グループの2値信号の組み合わせと第2グループの2値信号とに基づいて故障診断を行うことができない場合でも、検出位置の飛び(抜け)が発生するか否かで故障診断を行うことができる。   Further, as described in claim 9, every time any one of the binary signals of the first group changes, the control unit changes the binary signal combination after the change (detected position after the change) to the binary value before the change. It is preferable to provide a function for determining whether or not the combination of signals (detected position before change) and a binary signal at a position adjacent to each other is a combination of the binary position signals and diagnosing the range position detection switch. In this way, even if failure diagnosis cannot be performed based on the binary signal combination of the first group and the binary signal of the second group, whether or not the detection position skips (misses) occurs. Fault diagnosis can be performed with.

また、本発明のレンジ位置検出装置を制御する制御プログラムは、2つのグループの2値信号発生手段から出力される2値信号を各グループ毎にシフトレバーの操作位置に関する情報として読み込む処理と、2つのグループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置の判定及び/又は前記レンジ位置検出スイッチの故障診断を行う処理とを含むものであれば良い(請求項10)。   Further, the control program for controlling the range position detecting device of the present invention includes a process of reading binary signals output from the binary signal generating means of two groups as information on the operation position of the shift lever for each group, and 2 It may include processing for determining the operation position of the shift lever and / or performing failure diagnosis of the range position detection switch based on a combination of binary signals of two groups.

更に、レンジ位置検出スイッチの一方のグループ(以下「第1グループ」という)の2値信号の組み合わせは、シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定し、他方のグループ(以下「第2グループ」という)の2値信号発生手段は、前記パーキングレンジ及び前記ニュートラルレンジのみでそれ以外の位置とは異なる信号が出力されるように構成したシステムを制御する制御プログラムは、前記第1グループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置を判定する処理と、前記シフトレバーの操作位置の判定結果と前記第2グループの2値信号とに基づいて前記レンジ位置検出スイッチの故障診断を行う処理とを含むものであれば良い(請求項11)。   Further, the combination of binary signals of one group of the range position detection switches (hereinafter referred to as “first group”) includes at least the parking position, the reverse range, the neutral range, and the drive range as the operation position of the shift lever. The intermediate state position is set so that it can be identified, and the binary signal generating means of the other group (hereinafter referred to as “second group”) has a signal different from other positions only in the parking range and the neutral range. A control program for controlling a system configured to output a process for determining an operation position of the shift lever based on a combination of binary signals of the first group, and a determination result of the operation position of the shift lever The range position detection switch based on the binary signal of the second group As long as it contains a process to perform fault diagnosis may (claim 11).

更に、この制御プログラムには、第1グループのいずれかの2値信号が変化する毎に該第1グループの2値信号を読み込む割り込み処理と、所定のサンプリング周期で前記第2グループの2値信号を読み込む時間同期処理とを含ませるようにすると良い(請求項12)。   Further, the control program includes an interrupt process for reading the binary signal of the first group every time one of the binary signals of the first group changes, and the binary signal of the second group at a predetermined sampling period. It is preferable to include a time synchronization process for reading in (claim 12).

更に、この制御プログラムには、第1グループのいずれかの2値信号が変化する毎にその変化後の2値信号の組み合わせが変化前の2値信号の組み合わせと隣り合う位置の2値信号の組み合わせであるか否かを判定して前記レンジ位置検出スイッチの故障診断を行う処理を含ませるようにすると良い(請求項13)。   Further, every time one of the binary signals in the first group changes, this control program includes a binary signal combination at a position adjacent to the binary signal combination after the change. It is preferable to include a process of determining whether or not the range is a combination and performing a failure diagnosis of the range position detection switch (claim 13).

以下、本発明を実施するための最良の形態を具体化した実施例を説明する。まず、図1に基づいてシステム全体の構成を説明する。   Hereinafter, examples embodying the best mode for carrying out the present invention will be described. First, the configuration of the entire system will be described with reference to FIG.

本実施例の自動変速機は、シフトレバー11の操作によってパーキングレンジ(P)、リバースレンジ(R)、ニュートラルレンジ(N)、ドライブレンジ(D)の4つのレンジ位置に切り換えられる。この自動変速機のシフトレバー11の近傍にレンジ位置検出スイッチ12が設けられ、このレンジ位置検出スイッチ12の摺動レバー13がリンク10を介してシフトレバー11に連結されている。これにより、シフトレバー11の操作に連動して摺動レバー13が摺動するようになっている。   The automatic transmission according to the present embodiment is switched to four range positions including a parking range (P), a reverse range (R), a neutral range (N), and a drive range (D) by operating the shift lever 11. A range position detection switch 12 is provided in the vicinity of the shift lever 11 of the automatic transmission, and a sliding lever 13 of the range position detection switch 12 is connected to the shift lever 11 via a link 10. Thereby, the sliding lever 13 slides in conjunction with the operation of the shift lever 11.

本実施例のレンジ位置検出スイッチ12は、4個のスイッチ体S1〜S4(2値信号発生手段)から構成され、これら4個のスイッチ体S1〜S4は、摺動レバー13に設けられた4個の摺動子15と、絶縁体14上に後述するパターンで配置された導体16とから構成され、シフトレバー11の操作によって摺動レバー13と一体的に摺動子15が絶縁体14上を摺動して、所定の位置で摺動子15が導体16と接触するようになっている。4個のスイッチ体S1〜S4の摺動子15は、それぞれ信号線Ls1〜Ls4によって制御部17の4つの入力ポートに接続され、また、各導体16は、GND配線Lgnd によって制御部17のGND端子に接続されている。   The range position detection switch 12 of the present embodiment is composed of four switch bodies S1 to S4 (binary signal generating means), and these four switch bodies S1 to S4 are provided on the sliding lever 13 4. Each of the sliders 15 and a conductor 16 arranged in a pattern to be described later on the insulator 14, and the slider 15 is integrally formed on the insulator 14 by operating the shift lever 11. The slider 15 comes into contact with the conductor 16 at a predetermined position. The sliders 15 of the four switch bodies S1 to S4 are connected to the four input ports of the control unit 17 by signal lines Ls1 to Ls4, respectively, and each conductor 16 is connected to the GND of the control unit 17 by the GND wiring Lgnd. Connected to the terminal.

制御部17は、CPU、ROM、RAM、入出力インターフェース回路等から構成され、摺動子15が導体16と接触した時の信号値が論理1(以下単に「1」と表記する)となり、摺動子15が導体16と接触していない時の信号値が論理0(以下単に「0」と表記する)となるように入力インターフェース回路で信号処理される。制御部17は、レンジ位置検出スイッチ12の出力信号を読み込んで、後述する方法で、シフトレバー11の操作位置を判定すると共に、レンジ位置検出スイッチ12の故障診断を行う。   The control unit 17 includes a CPU, a ROM, a RAM, an input / output interface circuit, and the like. The signal value when the slider 15 comes into contact with the conductor 16 becomes logic 1 (hereinafter simply referred to as “1”), and the control unit 17 is slid. Signal processing is performed by the input interface circuit so that the signal value when the moving element 15 is not in contact with the conductor 16 becomes logic 0 (hereinafter simply referred to as “0”). The control unit 17 reads the output signal of the range position detection switch 12, determines the operation position of the shift lever 11 by a method described later, and performs failure diagnosis of the range position detection switch 12.

次に、レンジ位置検出スイッチ12の構成を図1乃至図4を用いて詳細に説明する。本実施例の自動変速機は、シフトレバー11の操作によってPレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置に順番に切り換える構成であるため、レンジ位置検出スイッチ12で検出すべき位置は、Pレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置と、P−Rレンジ(PレンジとRレンジとの間の中間状態位置)、R−Nレンジ(RレンジとNレンジとの間の中間状態位置)、N−Dレンジ(NレンジとDレンジとの間の中間状態位置)の3つの中間状態位置があり、従って、レンジ位置検出スイッチ12は、7つの位置を検出する必要がある。   Next, the configuration of the range position detection switch 12 will be described in detail with reference to FIGS. Since the automatic transmission of this embodiment is configured to sequentially switch to the four range positions of the P range, R range, N range, and D range by operating the shift lever 11, the position to be detected by the range position detection switch 12 Are four range positions of P range, R range, N range and D range, PR range (intermediate state position between P range and R range), RN range (R range and N range) Intermediate state position) and ND range (intermediate state position between N range and D range), and therefore, the range position detection switch 12 detects seven positions. There is a need.

そこで、本実施例では、これら7つの位置を3ビットコードで表現するものとし、そのために、レンジ位置検出スイッチ12の4個のスイッチ体S1〜S4を、3個のスイッチ体S1〜S3からなる第1グループと、1個のスイッチ体S4からなる第2グループに区分し、第1グループの3個のスイッチ体S1〜S3から出力される2値信号(「0」,「1」)の組み合わせによって、上記7つの位置を表現する3ビットコードを構成するようにしている。   Therefore, in this embodiment, these seven positions are expressed by a 3-bit code, and for this purpose, the four switch bodies S1 to S4 of the range position detection switch 12 are composed of three switch bodies S1 to S3. A combination of binary signals ("0", "1") output from the three switch bodies S1 to S3 of the first group, divided into a first group and a second group consisting of one switch body S4 Thus, a 3-bit code expressing the seven positions is configured.

3ビットコードでは、23 =8パターンを表現できるが、第1グループの3個のスイッチ体S1〜S3の出力信号の組み合わせで検出すべき位置は7個であることから、3ビットコードの8パターンのうちの1パターンは使用しない。本実施例では、断線検出を可能にするために、3個のスイッチ体S1〜S3の信号値が全て非アクティブな信号値「0」になるパターンを使用しないものとし、それ以外の7パターンを使用するものとする。これにより、各レンジ位置とその中間状態位置のいずれの位置においても、少なくとも1つのスイッチ体からアクティブな信号「1」が出力されるように構成する。これにより、断線検出が可能となる。 In the 3-bit code, 2 3 = 8 patterns can be expressed, but since there are 7 positions to be detected by the combination of the output signals of the three switch bodies S1 to S3 of the first group, 8 of the 3-bit code One pattern is not used. In this embodiment, in order to enable disconnection detection, a pattern in which the signal values of the three switch bodies S1 to S3 are all inactive signal values “0” is not used, and the other seven patterns are used. Shall be used. As a result, the active signal “1” is output from at least one switch body at any of the range positions and the intermediate state positions. Thereby, disconnection detection becomes possible.

更に、ただ一つのスイッチ体の故障(断線・短絡)が発生した場合に、Pレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置のパターンが他のレンジ位置のパターンと一致してレンジ位置を誤判定しないようにするために、前記7つの位置のパターンをグレイコードで構成する。具体的には、3個のスイッチ体S1〜S3は、4つのレンジ位置と3つの中間状態位置において、隣り合う2つの位置間で1つのスイッチ体の信号値のみが切り換えられるように構成する。   In addition, when only one switch body failure (disconnection or short circuit) occurs, the four range position patterns of P range, R range, N range, and D range match the patterns of other range positions. In order not to erroneously determine the position, the pattern of the seven positions is composed of a gray code. Specifically, the three switch bodies S1 to S3 are configured such that only the signal value of one switch body is switched between two adjacent positions at four range positions and three intermediate state positions.

この場合、1ビットのみが「1」となるパターンが3個、2ビットが「1」となるパターンが3個、3ビット全てが「1」となるパターンが1個であり、これらを前記7つの位置に割り付けることになる。グレイコードの制約により、3つの中間状態位置には、全て2ビットが「1」となるパターンが割り付けられる。従って、Pレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置には、1ビットのみが「1」となる3つのパターンと、3ビット全てが「1」となる1つのパターンが割り付けられる。この場合、3ビット全てが「1」となるパターンをPレンジ又はNレンジに割り付けると、スイッチ体S1〜S3の短絡時に中間状態位置でしか故障が検出できなくなり、故障検出可能なパターン数が減少する。   In this case, there are 3 patterns in which only 1 bit is “1”, 3 patterns in which 2 bits are “1”, and 1 pattern in which all 3 bits are “1”. Will be assigned to one position. Due to the restrictions of the Gray code, a pattern in which 2 bits are all “1” is assigned to the three intermediate state positions. Therefore, three patterns in which only 1 bit is “1” and one pattern in which all 3 bits are “1” are assigned to the four range positions of P range, R range, N range, and D range. . In this case, if a pattern in which all 3 bits are “1” is assigned to the P range or the N range, a failure can be detected only at an intermediate position when the switch bodies S1 to S3 are short-circuited, and the number of patterns that can be detected is reduced. To do.

また、3ビット全てが「1」となるパターンをRレンジに割り付けると、N−DレンジをRレンジと誤判定して、バックアップランプが誤点灯することが避けられない。
これらの観点から、3ビット全てが「1」となるパターンは、Rレンジに割り付けられるのが最適である。
If a pattern in which all three bits are “1” is assigned to the R range, it is inevitable that the ND range is erroneously determined as the R range and the backup lamp is erroneously lit.
From these viewpoints, a pattern in which all three bits are “1” is optimally assigned to the R range.

一方、第2グループのスイッチ体S4は、エンジン始動を許可するレンジ位置であるPレンジとNレンジを検出するものであり、PレンジとNレンジのみでそれ以外の位置とは異なる信号が出力されるように構成されている。本実施例では、図3(a)に示すように、第2グループのスイッチ体S4は、PレンジとNレンジのみで信号値が「1」となり、それ以外の位置で信号値が「0」となるように設定されているが、これとは反対の論理にしても良いことは言うまでもない。   On the other hand, the switch body S4 of the second group detects the P range and the N range, which are range positions permitting engine start, and a signal different from the other positions is output only by the P range and the N range. It is comprised so that. In the present embodiment, as shown in FIG. 3A, the signal value of the second group of switch bodies S4 is “1” only in the P range and the N range, and the signal value is “0” in other positions. It goes without saying that the logic may be the opposite of this.

以上のような方法で、レンジ位置検出スイッチ12で検出すべき7つの位置について、図3(a)に示すように、4個のスイッチ体S1〜S4の信号値が割り付けられている。図2に示すように、各スイッチ体S1〜S4の導体16は、「1」に割り付けられた位置で摺動子15と接触するように構成されている。   With the method as described above, the signal values of the four switch bodies S1 to S4 are assigned to the seven positions to be detected by the range position detection switch 12, as shown in FIG. As shown in FIG. 2, the conductor 16 of each switch body S1-S4 is comprised so that the slider 15 may be contacted in the position allocated to "1".

図3(a)に示すように、第1グループの3個のスイッチ体S1〜S3の出力信号の組み合わせで表現される3ビットコードは、正常時には、Pレンジが「100」、P−Rレンジが「110」、Rレンジが「010」、R−Nレンジが「011」、Nレンジが「001」、N−Dレンジが「101」、Dレンジが「111」となる。   As shown in FIG. 3A, a 3-bit code expressed by a combination of output signals from the three switch bodies S1 to S3 of the first group has a P range of “100” and a PR range when normal. Is “110”, the R range is “010”, the RN range is “011”, the N range is “001”, the ND range is “101”, and the D range is “111”.

次に、図3及び図4を用いてレンジ位置検出スイッチ12が故障した時のコードパターンを検討する。故障は、4個のスイッチ体S1〜S4のうちのいずれか1個が断線・短絡した場合について検討する。図3及び図4において、最下段の「判別」の欄は、第1グループのスイッチ体S1〜S3の信号値による判別結果を示し、「X」は第1グループのスイッチ体S1〜S3の信号値が全て「0」となるパターンを表し、添字(S)はエンジン始動許可、すなわちスイッチ体S4の信号値が「1」であることを表し、添字(I)はエンジン始動禁止、すなわちスイッチ体S4の信号値が「0」であることを表している。   Next, a code pattern when the range position detection switch 12 fails will be examined with reference to FIGS. The failure will be considered when any one of the four switch bodies S1 to S4 is disconnected or short-circuited. In FIG. 3 and FIG. 4, the “discrimination” column at the bottom indicates the discrimination results based on the signal values of the first group of switch bodies S1 to S3, and “X” represents the signal of the first group of switch bodies S1 to S3. The value represents a pattern in which all values are “0”, the subscript (S) represents that engine start is permitted, that is, the signal value of the switch body S4 is “1”, and the subscript (I) is engine start prohibited, that is, the switch body. It represents that the signal value of S4 is “0”.

[スイッチ体S1の断線時]
図3(b)に示すように、第1グループのスイッチ体S1の断線時には、全ての位置でスイッチ体S1の信号値が「0」となる。
[When switch body S1 is disconnected]
As shown in FIG. 3B, when the switch body S1 of the first group is disconnected, the signal value of the switch body S1 becomes “0” at all positions.

その結果、Pレンジでは、第1グループのスイッチ体S1〜S3の信号値が「000」となるが、第2グループのスイッチ体S4の信号値が「1」となることから、故障と判定される。この場合は、スイッチ体S4の信号値が「1」であるため、エンジン始動は許可される。   As a result, in the P range, the signal value of the switch body S1 to S3 of the first group is “000”, but the signal value of the switch body S4 of the second group is “1”. The In this case, since the signal value of the switch body S4 is “1”, the engine start is permitted.

P−Rレンジでは、第1グループのスイッチ体S1〜S3の信号値が「010」となるため、「Rレンジ」と誤判定される(この場合の故障検出方法は後述する)。
N−Dレンジでは、第1グループのスイッチ体S1〜S3の信号値がNレンジと同じ「001」となるが、第2グループのスイッチ体S4の信号値が「0」であることから、故障と判定され、エンジン始動が禁止される。
Dレンジでは、第1グループのスイッチ体S1〜S3の信号値が「011」となるため、「R−Nレンジ」と誤判定される。
In the PR range, since the signal values of the first group of switch bodies S1 to S3 are “010”, it is erroneously determined as “R range” (a failure detection method in this case will be described later).
In the ND range, the signal value of the switch body S1 to S3 of the first group is “001”, which is the same as that of the N range, but the signal value of the switch body S4 of the second group is “0”. Is determined, and engine start is prohibited.
In the D range, since the signal value of the first group of switch bodies S1 to S3 is “011”, it is erroneously determined as the “RN range”.

[スイッチ体S2の断線時]
図3(c)に示すように、第1グループのスイッチ体S2の断線時には、全ての位置でスイッチ体S2の信号値が「0」となる。
[When switch body S2 is disconnected]
As shown in FIG. 3C, when the switch body S2 of the first group is disconnected, the signal value of the switch body S2 becomes “0” at all positions.

その結果、P−Rレンジでは、第1グループのスイッチ体S1〜S3の信号値がPレンジと同じ「100」となるが、第2グループのスイッチ体S4の信号値が「0」であることから、故障と判定され、エンジン始動が禁止される。   As a result, in the PR range, the signal values of the first group of switch bodies S1 to S3 are “100”, which is the same as that of the P range, but the signal value of the second group of switch bodies S4 is “0”. Therefore, it is determined that there is a failure, and engine start is prohibited.

Rレンジでは、第1グループのスイッチ体S1〜S3の信号値が「000」となり、更に、第2グループのスイッチ体S4の信号値も「0」であることから、故障と判定され、エンジン始動が禁止される。   In the R range, the signal value of the switch body S1 to S3 of the first group is “000”, and the signal value of the switch body S4 of the second group is also “0”. Is prohibited.

R−Nレンジでは、第1グループのスイッチ体S1〜S3の信号値がNレンジと同じ「001」となるが、第2グループのスイッチ体S4の信号値が「0」であることから、故障と判定され、エンジン始動が禁止される。
Dレンジでは、スイッチ体S1〜S3の信号値が「101」となるため、「N−Dレンジ」と誤判定される。
In the RN range, the signal values of the first group of switch bodies S1 to S3 are “001”, which is the same as that of the N range, but the signal value of the second group of switch bodies S4 is “0”, so that the failure occurs. Is determined, and engine start is prohibited.
In the D range, since the signal values of the switch bodies S1 to S3 are “101”, it is erroneously determined as “ND range”.

[スイッチ体S3の断線時]
図3(d)に示すように、第1グループのスイッチ体S3の断線時には、全ての位置でスイッチ体S3の信号値が「0」となる。
[When switch body S3 is disconnected]
As shown in FIG. 3D, when the switch body S3 of the first group is disconnected, the signal value of the switch body S3 becomes “0” at all positions.

その結果、R−Nレンジでは、第1グループのスイッチ体S1〜S3の信号値が「010」となるため、「Rレンジ」と誤判定される。
Nレンジでは、第1グループのスイッチ体S1〜S3の信号値が「000」となるが、第2グループのスイッチ体S4の信号値が「1」となることから、故障と判定される。この場合は、スイッチ体S4の信号値が「1」であるため、エンジン始動は許可される。
As a result, in the RN range, since the signal values of the first group of switch bodies S1 to S3 are “010”, it is erroneously determined as “R range”.
In the N range, the signal value of the first group of switch bodies S1 to S3 is “000”, but since the signal value of the second group of switch bodies S4 is “1”, it is determined to be a failure. In this case, since the signal value of the switch body S4 is “1”, the engine start is permitted.

N−Dレンジでは、第1グループのスイッチ体S1〜S3の信号値がPレンジと同じ「100」となるが、第2グループのスイッチ体S4の信号値が「0」であることから、故障と判定され、エンジン始動が禁止される。
Dレンジでは、スイッチ体S1〜S3の信号値が「110」となるため、「P−Rレンジ」と誤判定される。
In the ND range, the signal value of the switch body S1 to S3 of the first group is “100” which is the same as that of the P range, but the signal value of the switch body S4 of the second group is “0”. Is determined, and engine start is prohibited.
In the D range, since the signal value of the switch bodies S1 to S3 is “110”, it is erroneously determined as the “PR range”.

[スイッチ体S4の断線時]
図3(e)に示すように、第2グループのスイッチ体S4の断線時には、全ての位置でスイッチ体S4の信号値が「0」となる。この場合は、第1グループのスイッチ体S1〜S3は正常であるため、それらの信号値に基づいて全ての位置を正しく判定できる。但し、「Pレンジ」、「Nレンジ」と判定されても、そのレンジ位置でスイッチ体S4の信号値が「1」とならないため、エンジン始動が禁止されると共に、故障(スイッチ体S4の断線)と判定される。
[When switch body S4 is disconnected]
As shown in FIG. 3E, when the switch body S4 of the second group is disconnected, the signal value of the switch body S4 becomes “0” at all positions. In this case, since the switch bodies S1 to S3 of the first group are normal, all positions can be correctly determined based on their signal values. However, even if it is determined as “P range” or “N range”, the signal value of the switch body S4 does not become “1” at the range position, so that engine start is prohibited and a failure (switch body S4 is disconnected). ).

[スイッチ体S1の短絡時]
図4(b)に示すように、第1グループのスイッチ体S1の短絡時には、全ての位置でスイッチ体S1の信号値が「1」となる。
[When switch body S1 is short-circuited]
As shown in FIG. 4B, when the first group of switch bodies S1 is short-circuited, the signal value of the switch body S1 becomes “1” at all positions.

その結果、Rレンジでは、第1グループのスイッチ体S1〜S3の信号値が「110」となるため、「P−Rレンジ」と誤判定される。
R−Nレンジでは、第1グループのスイッチ体S1〜S3の信号値が「111」となるため、「Dレンジ」と誤判定される(この場合の故障検出方法は後述する)。
As a result, in the R range, since the signal value of the first group of switch bodies S1 to S3 is “110”, it is erroneously determined as “PR range”.
In the RN range, since the signal value of the first group of switch bodies S1 to S3 is “111”, it is erroneously determined as the “D range” (a failure detection method in this case will be described later).

Nレンジでは、第1グループのスイッチ体S1〜S3の信号値がN−Dレンジと同じ「101」となるが、第2グループのスイッチ体S4の信号値が「1」であることから、故障と判定され、エンジン始動は許可される。   In the N range, the signal value of the first group of switch bodies S1 to S3 is “101”, which is the same as that of the ND range. However, since the signal value of the second group of switch bodies S4 is “1”, a failure occurs. It is determined that the engine starts.

[スイッチ体S2の短絡時]
図4(c)に示すように、第1グループのスイッチ体S2の短絡時には、全ての位置でスイッチ体S2の信号値が「1」となる。
[When switch body S2 is short-circuited]
As shown in FIG. 4C, when the first group of switch bodies S2 is short-circuited, the signal value of the switch body S2 becomes “1” at all positions.

その結果、Pレンジでは、第1グループのスイッチ体S1〜S3の信号値が「110」となるため、「P−Rレンジ」と誤判定されるが、第2グループのスイッチ体S4の信号値が「1」であることから、故障と判定され、エンジン始動は許可される。   As a result, in the P range, since the signal value of the first group of switch bodies S1 to S3 is “110”, the signal value of the second group of switch bodies S4 is erroneously determined as “PR range”. Is “1”, it is determined that there is a failure, and the engine start is permitted.

Nレンジでは、第1グループのスイッチ体S1〜S3の信号値が「011」となるため、「R−Nレンジ」と誤判定されるが、第2グループのスイッチ体S4の信号値が「1」であることから、故障と判定され、エンジン始動は許可される。
N−Dレンジでは、第1グループのスイッチ体S1〜S3の信号値が「111」となるため、「Dレンジ」と誤判定される。
In the N range, since the signal values of the first group of switch bodies S1 to S3 are “011”, it is erroneously determined as “RN range”, but the signal value of the second group of switch bodies S4 is “1”. Therefore, it is determined that there is a failure and the engine start is permitted.
In the ND range, since the signal value of the first group of switch bodies S1 to S3 is “111”, it is erroneously determined as “D range”.

[スイッチ体S3の短絡時]
図4(d)に示すように、第1グループのスイッチ体S3の短絡時には、全ての位置でスイッチ体S3の信号値が「1」となる。
[When switch body S3 is short-circuited]
As shown in FIG. 4D, when the switch body S3 of the first group is short-circuited, the signal value of the switch body S3 becomes “1” at all positions.

その結果、Pレンジでは、第1グループのスイッチ体S1〜S3の信号値が「101」となるため、「N−Dレンジ」と誤判定されるが、第2グループのスイッチ体S4の信号値が「1」であることから、故障と判定され、エンジン始動は許可される。   As a result, in the P range, since the signal value of the first group of switch bodies S1 to S3 is “101”, the signal value of the second group of switch bodies S4 is erroneously determined as “ND range”. Is “1”, it is determined that there is a failure, and the engine start is permitted.

P−Rレンジでは、第1グループのスイッチ体S1〜S3の信号値が「111」となるため、「Dレンジ」と誤判定される。
Rレンジでは、第1グループのスイッチ体S1〜S3の信号値が「011」となるため、「R−Nレンジ」と誤判定される。
In the PR range, since the signal value of the first group of switch bodies S1 to S3 is “111”, it is erroneously determined as the “D range”.
In the R range, since the signal values of the first group of switch bodies S1 to S3 are “011”, it is erroneously determined as the “RN range”.

[スイッチ体S4の短絡時]
図4(e)に示すように、第2グループのスイッチ体S4の短絡時には、全ての位置でスイッチ体S4の信号値が「1」となる。この場合は、第1グループのスイッチ体S1〜S3は正常であるため、それらの信号値に基づいて全ての位置を正しく判定できる。但し、「Pレンジ」、「Nレンジ」以外の位置でもスイッチ体S4の信号値が「1」となるため、エンジン始動が許可されるが、それらの位置では故障(スイッチ体S4の短絡)と判定される。
[When switch body S4 is short-circuited]
As shown in FIG. 4 (e), when the switch body S4 of the second group is short-circuited, the signal value of the switch body S4 becomes “1” at all positions. In this case, since the switch bodies S1 to S3 of the first group are normal, all positions can be correctly determined based on their signal values. However, since the signal value of the switch body S4 is “1” even at positions other than “P range” and “N range”, engine start is permitted, but at those positions, a failure (short circuit of the switch body S4) occurs. Determined.

以上説明したように、4個のスイッチ体S1〜S4の信号値の組み合わせのみでは、誤判定を回避できない場合がある。そこで、本実施例では、第1グループのスイッチ体S1〜S3のいずれかの信号値が変化する毎にその変化後の信号値の組み合わせ(変化後の検出位置)が変化前の信号値の組み合わせ(変化前の検出位置)と隣り合う位置の信号値の組み合わせであるか否かを判定し、もし、隣り合う位置の信号値の組み合わせでなければ、故障と判定する。   As described above, erroneous determination may not be avoided only by a combination of the signal values of the four switch bodies S1 to S4. Therefore, in this embodiment, every time the signal value of any of the first group of switch bodies S1 to S3 changes, the combination of the signal values after the change (detected position after the change) is the combination of the signal values before the change. It is determined whether or not it is a combination of signal values at adjacent positions (detected position before change), and if it is not a combination of signal values at adjacent positions, it is determined as a failure.

例えば、図3(b)に示すスイッチ体S1の断線時には、シフトレバー11をPレンジ→P−Rレンジ→Rレンジに操作する過程で、レンジ判別結果が「X(不明)」→「Rレンジ」となり、P−Rレンジを飛び越す検出位置の飛び(抜け)が発生する。この現象を検出することで、故障を検出することができる。   For example, when the switch body S1 shown in FIG. 3B is disconnected, the range determination result is “X (unknown)” → “R range in the process of operating the shift lever 11 from P range → PR range → R range. ”And the detection position jump (miss) occurs that jumps over the PR range. A failure can be detected by detecting this phenomenon.

ところで、第1グループのスイッチ体S1〜S3の信号値を一定のサンプリング周期で制御部17に読み込ませるように構成した場合、運転者のシフトレバー11の操作速度が速くなると、スイッチ体S1〜S3の信号値の変化の間隔が信号値のサンプリング間隔よりも短くなる可能性があり、それによって、信号値を取りこぼして検出位置の飛び(抜け)が発生する可能性がある。   By the way, when the signal value of the switch bodies S1 to S3 of the first group is configured to be read by the control unit 17 at a constant sampling period, the switch bodies S1 to S3 are increased when the operation speed of the driver's shift lever 11 is increased. There is a possibility that the signal value change interval becomes shorter than the signal value sampling interval, whereby the signal value may be missed and the detection position may be skipped.

そこで、本実施例では、第1グループのスイッチ体S1〜S3のいずれかの信号値が変化する毎に割り込み処理により該第1グループのスイッチ体S1〜S3の信号値を制御部17に読み込ませるようにしている。これにより、運転者のシフトレバー11の操作速度が速い場合でも、シフトレバー11の操作によって変化する全ての信号値を操作順に読み込むことができて、検出位置の飛び(抜け)が発生することを確実に防止することができる。   Therefore, in this embodiment, every time the signal value of any one of the switch bodies S1 to S3 of the first group changes, the signal value of the switch bodies S1 to S3 of the first group is read by the control unit 17 by interrupt processing. I am doing so. As a result, even when the operation speed of the driver's shift lever 11 is high, all signal values that change due to the operation of the shift lever 11 can be read in the order of operation, and the detection position skips (misses). It can be surely prevented.

一方、第2グループのスイッチ体S4の信号値は、エンジン始動を許可するPレンジとNレンジのみで「1」となり、それ以外の位置では「0」となるため、運転者のシフトレバー11の操作速度が速い場合でも、スイッチ体S4の信号値の取りこぼしが発生するほど信号値が速く変化することはない。そこで、本実施例では、第2グループのスイッチ体S4の信号値は、所定のサンプリング周期(例えば10msec周期)で制御部17に読み込ませるようにしている。   On the other hand, the signal value of the switch body S4 of the second group is “1” only in the P range and the N range that allow the engine start, and “0” in other positions. Even when the operation speed is high, the signal value does not change so fast that the signal value of the switch body S4 is missed. Therefore, in this embodiment, the signal value of the switch body S4 of the second group is read by the control unit 17 at a predetermined sampling period (for example, 10 msec period).

以上説明した本実施例のレンジ位置判定・故障診断は、図5乃至図7の各プログラムによって実行される。以下の説明では、スイッチ体S1の信号値を「S1」と表記し、スイッチ体S2の信号値を「S2」と表記し、スイッチ体S3の信号値を「S3」と表記し、スイッチ体S4の信号値を「S4」と表記する。   The range position determination / failure diagnosis of the present embodiment described above is executed by each program shown in FIGS. In the following description, the signal value of the switch body S1 is represented as “S1”, the signal value of the switch body S2 is represented as “S2”, the signal value of the switch body S3 is represented as “S3”, and the switch body S4. Is expressed as “S4”.

イグニッションスイッチのオン操作により制御部17に電源が投入されると、制御部17は、図5のメインルーチンを起動する。本ルーチンが起動されると、まずステップ101で、所定の初期化処理を実行して後述する各フラグや記憶値等を初期値にリセットした後、ステップ102に進み、第2グループのスイッチ体S4の信号値の前回記憶値SS40と今回記憶値SS4を更新する。具体的には、前回処理時の今回記憶値SS4を前回記憶値SS40として記憶し、今回読み込んだ信号値「S4」を今回記憶値SS4として記憶する。   When the control unit 17 is powered on by turning on the ignition switch, the control unit 17 starts the main routine of FIG. When this routine is started, first, in step 101, a predetermined initialization process is executed to reset each flag, stored value, and the like, which will be described later, to an initial value. The previous storage value SS40 and the current storage value SS4 of the signal value are updated. Specifically, the current storage value SS4 at the time of the previous processing is stored as the previous storage value SS40, and the signal value “S4” read this time is stored as the current storage value SS4.

この後、ステップ103に進み、今回記憶値SS4が前回記憶値SS40と一致しているか否かを判定し、一致していなければ、ステップ104に進み、S4信号変化フラグFlagを信号値「S4」の変化ありを意味する“1”にセットして、ステップ109に進み、信号値「S4」のサンプリング周期である例えば10msecが経過するまで待機する。その後、10msecが経過した時点で、ステップ102に戻り、信号値「S4」を読み込んで前回記憶値SS40と今回記憶値SS4を更新する。この後、ステップ103に進み、今回記憶値SS4が前回記憶値SS40と一致しているか否かを判定し、一致していれば、ステップ105に進み、S4信号変化フラグFlagが信号値「S4」の変化ありを意味する“1”にセットされているか否かを判定し、「Yes」と判定された場合のみ、ステップ106に進み、S4信号検出値FS4に前回記憶値SS40をセットし、次のステップ107で、S4信号変化フラグFlagを“0”にリセットしてステップ108に進む。尚、上記ステップ105で、「No」と判定された場合には、ステップ106とステップ107を飛び越してステップ108に進む。   Thereafter, the process proceeds to step 103, where it is determined whether or not the current stored value SS4 matches the previous stored value SS40. If not, the process proceeds to step 104, and the S4 signal change flag Flag is set to the signal value “S4”. Is set to “1” which means that there is a change, and the process proceeds to step 109 and waits until, for example, 10 msec which is the sampling period of the signal value “S4” elapses. Thereafter, when 10 msec elapses, the process returns to step 102, the signal value “S4” is read, and the previous storage value SS40 and the current storage value SS4 are updated. Thereafter, the process proceeds to step 103, where it is determined whether or not the current stored value SS4 matches the previous stored value SS40. If they match, the process proceeds to step 105, where the S4 signal change flag Flag has the signal value “S4”. It is determined whether or not it is set to “1” which means that there is a change. Only when it is determined “Yes”, the process proceeds to step 106, the previous stored value SS40 is set to the S4 signal detection value FS4, and the next In step 107, the S4 signal change flag Flag is reset to “0”, and the process proceeds to step. If “No” is determined in step 105, the process skips step 106 and step 107 and proceeds to step 108.

要するに、ステップ102〜107の処理を信号値「S4」のサンプリング周期(例えば10msec)で繰り返すことで、信号値「S4」の変化を検出する毎に、S4信号検出値FS4を更新する。   In short, the process of steps 102 to 107 is repeated at the sampling period (for example, 10 msec) of the signal value “S4”, so that the S4 signal detection value FS4 is updated every time a change in the signal value “S4” is detected.

そして、信号値「S4」が変化した時を除いて、信号値「S4」のサンプリング周期(例えば10msec)で、後述する図7のレンジ位置判定ルーチンが実行され、レンジ位置判定・故障診断が行われる。   Then, except when the signal value “S4” changes, the range position determination routine of FIG. 7 described later is executed at the sampling period (for example, 10 msec) of the signal value “S4” to perform range position determination / failure diagnosis. Is called.

図6の割り込み処理ルーチンは、第1グループのスイッチ体S1〜S3のいずれかの信号値が変化する毎に起動される。本ルーチンが起動されると、まずステップ201で、第1グループのスイッチ体S1〜S3の信号値を読み込み、その信号値で構成する3ビットコードの前回記憶値SS13と今回記憶値SS130を更新する。具体的には、前回処理時の今回記憶値SS13を前回記憶値SS130として記憶し、今回読み込んだ3ビットコード「S13」を今回記憶値SS13として記憶する。   The interrupt processing routine of FIG. 6 is started each time the signal value of any of the first group of switch bodies S1 to S3 changes. When this routine is started, first, in step 201, the signal values of the first group of switch bodies S1 to S3 are read, and the previous storage value SS13 and the current storage value SS130 of the 3-bit code formed by the signal values are updated. . Specifically, the current storage value SS13 at the time of the previous processing is stored as the previous storage value SS130, and the 3-bit code “S13” read this time is stored as the current storage value SS13.

この後、ステップ202に進み、今回記憶値SS13(変化後の検出位置)と前回記憶値SS130(変化前の検出位置)とを比較し、両者が隣り合う遷移であるか否かを判定する。その結果、隣り合う遷移でないと判定されれば、ステップ203に進み、故障判定フラグFlagSを故障ありを意味する“1”にセットして、本ルーチンを終了する。   Thereafter, the process proceeds to step 202, where the current stored value SS13 (detected position after change) and the previous stored value SS130 (detected position before change) are compared to determine whether or not they are adjacent transitions. As a result, if it is determined that the transitions are not adjacent to each other, the process proceeds to step 203, the failure determination flag FlagS is set to “1” indicating that there is a failure, and this routine is terminated.

一方、ステップ202で、今回記憶値SS13と前回記憶値SS130とが隣り合う遷移であると判定されれば、ステップ204に進み、コード検出値FS13に今回記憶値SS13をセットする。この後、ステップ205に進み、故障判定フラグFlagSを正常(故障なし)を意味する“0”に維持又はリセットして、本ルーチンを終了する。   On the other hand, if it is determined in step 202 that the current storage value SS13 and the previous storage value SS130 are adjacent transitions, the process proceeds to step 204, where the current storage value SS13 is set as the code detection value FS13. Thereafter, the process proceeds to step 205, where the failure determination flag FlagS is maintained or reset to “0” meaning normal (no failure), and this routine is terminated.

図7のレンジ位置判定ルーチンは、図5のメインルーチンのステップ108で、信号値「S4」が変化した時を除いて、信号値「S4」のサンプリング周期(例えば10msec)で実行される。本ルーチンが起動されると、まずステップ301で、故障判定フラグFlagSが正常(故障なし)を意味する“0”にセットされているか否かを判定し、故障判定フラグFlagSが故障ありを意味する“1”にセットされていれば、ステップ308に進み、故障と判定して、本ルーチンを終了する。   The range position determination routine of FIG. 7 is executed at the sampling period (eg, 10 msec) of the signal value “S4” except when the signal value “S4” changes in step 108 of the main routine of FIG. When this routine is started, first, in step 301, it is determined whether or not the failure determination flag FlagS is set to “0” which means normal (no failure), and the failure determination flag FlagS means that there is a failure. If it is set to “1”, the process proceeds to step 308, it is determined that there is a failure, and this routine is terminated.

これに対して、故障判定フラグFlagSが正常(故障なし)を意味する“0”にセットされていれば、ステップ302に進み、S4信号検出値FS4がPレンジ又はNレンジを意味する「1」であるか否かを判定し、「Yes」と判定されれば、ステップ303に進み、コード検出値FS13がPレンジを意味する「100」であるか否かを判定する。その結果、コード検出値FS13がPレンジを意味する「100」であると判定されれば、ステップ304に進み、現在のレンジ位置がPレンジであると判定して、本ルーチンを終了する。   On the other hand, if the failure determination flag FlagS is set to “0” meaning normal (no failure), the process proceeds to step 302, and the S4 signal detection value FS4 is “1” meaning the P range or the N range. If “Yes” is determined, the process proceeds to step 303 to determine whether or not the code detection value FS13 is “100” meaning the P range. As a result, if it is determined that the code detection value FS13 is “100” meaning the P range, the process proceeds to step 304, where the current range position is determined to be the P range, and this routine is terminated.

また、上記ステップ302で、S4信号検出値FS4がPレンジ又はNレンジを意味する「1」でないと判定されれば、ステップ305に進み、コード検出値FS13がPレンジを意味する「100」又はNレンジを意味する「001」であるか否かを判定する。このステップ305で、「Yes」と判定されれば、ステップ308に進み、故障と判定して、本ルーチンを終了する。要するに、S4信号検出値FS4からは、Pレンジ又はNレンジのいずれでもないと判定されるにも拘らず、コード検出値FS13からは、Pレンジ又はNレンジと判定され、両者の判定が矛盾するため、故障と判定するものである。   If it is determined in step 302 that the S4 signal detection value FS4 is not “1” meaning the P range or the N range, the process proceeds to step 305, where the code detection value FS13 is “100” meaning the P range. It is determined whether or not it is “001” meaning the N range. If “Yes” is determined in step 305, the process proceeds to step 308, where it is determined that there is a failure, and this routine is terminated. In short, although it is determined from the S4 signal detection value FS4 that it is neither the P range nor the N range, the code detection value FS13 is determined to be the P range or the N range, and the determinations of both are contradictory. Therefore, it is determined as a failure.

また、ステップ305で「No」と判定された場合は、S4信号検出値FS4とコード検出値FS13とが矛盾しないため、ステップ309に進み、コード検出値FS13によってレンジ位置又は中間状態位置を判定する。具体的には、コード検出値FS13が「110」であればP−Rレンジと判定し、「010」であればRレンジと判定し、「011」であればR−Nレンジと判定し、「101」であればN−Dレンジと判定し、「111」であればDレンジと判定する。   If “No” is determined in step 305, the S4 signal detection value FS4 and the code detection value FS13 are consistent with each other, so the process proceeds to step 309, and the range position or the intermediate state position is determined based on the code detection value FS13. . Specifically, if the code detection value FS13 is “110”, it is determined as the PR range, if “010”, it is determined as the R range, and if “011”, it is determined as the RN range. If it is “101”, it is determined as the ND range, and if it is “111”, it is determined as the D range.

また、ステップ303で、コード検出値FS13がPレンジを意味する「100」でないと判定されれば、ステップ306に進み、コード検出値FS13がNレンジを意味する「001」であるか否かを判定し、「Yes」と判定されれば、ステップ307に進み、現在のレンジ位置がNレンジであると判定して、本ルーチンを終了する。   If it is determined in step 303 that the code detection value FS13 is not “100” indicating the P range, the process proceeds to step 306 to determine whether the code detection value FS13 is “001” indicating the N range. If “Yes” is determined, the process proceeds to step 307, where it is determined that the current range position is the N range, and this routine is terminated.

これに対して、ステップ306で「No」と判定された場合、つまり、S4信号検出値FS4からは、Pレンジ又はNレンジと判定されるにも拘らず、コード検出値FS13からは、Pレンジ又はNレンジのいずれでもないと判定される場合は、両者の判定が矛盾するため、ステップ308に進み、故障と判定して、本ルーチンを終了する。   On the other hand, if “No” is determined in step 306, that is, the P4 range or the N range is determined from the S4 signal detection value FS 4, the P detection range is determined from the code detection value FS 13. Alternatively, if it is determined that neither of the N ranges is satisfied, the determinations of the two contradict each other, so that the process proceeds to step 308, where it is determined that there is a failure, and this routine is terminated.

以上説明した本実施例では、レンジ位置検出スイッチ12の4個のスイッチ体S1〜S4を、3個のスイッチ体S1〜S3からなる第1グループと、1個のスイッチ体S4からなる第2グループに区分し、第1グループの3個のスイッチ体S1〜S3から出力される2値信号(「0」,「1」)の組み合わせによって、上記7つの位置を表現する3ビットコードを構成し、第2グループのスイッチ体S4は、エンジン始動を許可するPレンジとNレンジのみでそれ以外の位置とは異なる信号が出力されるように構成したので、シフトレバー11の操作位置を従来よりも精度良く判定できると共に、従来よりも多くの故障を検出することができる。   In the present embodiment described above, the four switch bodies S1 to S4 of the range position detection switch 12 are divided into a first group composed of three switch bodies S1 to S3 and a second group composed of one switch body S4. A three-bit code expressing the seven positions is configured by a combination of binary signals (“0”, “1”) output from the three switch bodies S1 to S3 of the first group, The switch body S4 of the second group is configured so that a signal different from the other positions is output only in the P range and the N range that allow the engine start, so that the operation position of the shift lever 11 is more accurate than before. This makes it possible to make a good determination and detect more failures than in the past.

しかも、本実施例では、第1グループの3個のスイッチ体S1〜S3は、4つのレンジ位置と3つの中間状態位置において、隣り合う2つの位置間で1つのスイッチ体の信号値のみが切り換えられるように構成したので、ただ一つのスイッチ体の故障(断線・短絡)が発生した場合に、Pレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置のパターンが他のレンジ位置のパターンと一致することを防止でき、レンジ位置の誤判定を防止することができる。   In addition, in the present embodiment, the three switch bodies S1 to S3 of the first group switch only the signal value of one switch body between two adjacent positions at the four range positions and the three intermediate state positions. When a single switch failure (disconnection / short circuit) occurs, the four range position patterns of P range, R range, N range, and D range become patterns of other range positions. And an erroneous determination of the range position can be prevented.

また、本実施例では、各レンジ位置とその中間状態位置のいずれの位置においても、少なくとも1つのスイッチ体からアクティブな信号「1」が出力されるように構成したので、断線時に故障と判定することができる。   Further, in this embodiment, the active signal “1” is output from at least one switch body at any of the range positions and the intermediate state position, so it is determined that there is a failure upon disconnection. be able to.

しかも、3ビット全てが「1」となるパターンは、Rレンジに割り付けるようにしたので、故障検出可能なパターン数を多くすることができると共に、N−DレンジをRレンジと誤判定してバックアップランプが誤点灯されることを防止できる。   In addition, since the pattern in which all 3 bits are “1” is assigned to the R range, it is possible to increase the number of patterns that can be detected in failure, and to make a backup by misjudging the ND range as the R range. It is possible to prevent the lamp from being turned on erroneously.

また、本実施例では、第1グループのスイッチ体S1〜S3のいずれかの信号値が変化する毎に割り込み処理により該第1グループのスイッチ体S1〜S3の信号値を制御部17に読み込ませるようにしたので、運転者のシフトレバー11の操作速度が速い場合でも、シフトレバー11の操作によって変化する全ての信号値を操作順に読み込むことができて、検出位置の飛び(抜け)が発生することを確実に防止することができる。   In this embodiment, every time the signal value of any of the first group of switch bodies S1 to S3 changes, the control unit 17 is caused to read the signal value of the first group of switch bodies S1 to S3 by interrupt processing. As a result, even when the operation speed of the driver's shift lever 11 is high, all signal values that change due to the operation of the shift lever 11 can be read in the order of operation, and detection position skips (misses) occur. This can be surely prevented.

尚、本実施例の自動変速機は、シフトレバー11の操作によってPレンジ、Rレンジ、Nレンジ、Dレンジの4つのレンジ位置に切り換えられるようになっているが、切り換え可能なレンジ位置が5つ以上の自動変速機に本発明を適用する場合は、スイッチ体の数を5個に増加して、例えば、4個のスイッチ体からなる第1グループと、1個のスイッチ体からなる第2グループに区分し、第1グループの4個のスイッチ体から出力される2値信号(「0」,「1」)の組み合わせによって4ビットコードを構成するようにしても良い。また、第2グループを複数のスイッチ体から構成しても良い。この場合は、第2グループで、PレンジとNレンジを区別して検出したり、これ以外のレンジ位置を検出するようにしても良い。   The automatic transmission of this embodiment can be switched to four range positions of P range, R range, N range, and D range by operating the shift lever 11, but the switchable range position is 5 When the present invention is applied to two or more automatic transmissions, the number of switch bodies is increased to 5, for example, a first group including four switch bodies and a second group including one switch body. The 4-bit code may be configured by dividing into groups and combining binary signals (“0”, “1”) output from the four switch bodies of the first group. Further, the second group may be composed of a plurality of switch bodies. In this case, in the second group, the P range and the N range may be detected separately, or other range positions may be detected.

また、本実施例では、レンジ位置検出スイッチ12のスイッチ体S1〜S4(2値信号発生手段)を接触式スイッチで構成したが、非接触式のスイッチ(センサ)で構成しても良い。非接触式のスイッチ(センサ)としては、例えば、ホール素子等の磁気センサや光センサを用いれば良い。具体的には、摺動子15の代わりに磁気センサを摺動レバー13に取り付け、導体16の代わりに磁性体を設けて、シフトレバー11の操作によって摺動レバー13と一体的に移動する磁気センサが磁性体に対向した時に磁気センサの出力が変化する構成としても良い。或は、摺動子15の代わりに光センサを摺動レバー13に取り付け、導体16の代わりにスリット等を設けて、シフトレバー11の操作によって摺動レバー13と一体的に移動する光センサがスリット等に対向した時に光センサの出力が変化する構成としても良い。非接触式のスイッチ(センサ)を用いれば、レンジ位置検出スイッチ12の耐久性を向上できる利点がある。   Further, in this embodiment, the switch bodies S1 to S4 (binary signal generating means) of the range position detection switch 12 are configured by contact type switches, but may be configured by non-contact type switches (sensors). As the non-contact type switch (sensor), for example, a magnetic sensor such as a Hall element or an optical sensor may be used. Specifically, a magnetic sensor is attached to the sliding lever 13 instead of the slider 15, a magnetic material is provided instead of the conductor 16, and the magnetic moves integrally with the sliding lever 13 by operating the shift lever 11. A configuration may be adopted in which the output of the magnetic sensor changes when the sensor faces the magnetic body. Alternatively, an optical sensor is attached to the sliding lever 13 instead of the slider 15 and a slit or the like is provided instead of the conductor 16 so that the optical sensor moves integrally with the sliding lever 13 by operating the shift lever 11. A configuration in which the output of the optical sensor changes when facing a slit or the like may be adopted. If a non-contact type switch (sensor) is used, there is an advantage that the durability of the range position detection switch 12 can be improved.

本発明の一実施例を示す自動変速機のレンジ位置検出装置の概略構成図である。It is a schematic block diagram of the range position detection apparatus of the automatic transmission which shows one Example of this invention. レンジ位置検出スイッチの各スイッチ体S1〜S4の導体の配置パターンを示す図である。It is a figure which shows the arrangement pattern of the conductor of each switch body S1-S4 of a range position detection switch. (a)は正常時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(b)はスイッチ体S1の断線時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(c)はスイッチ体S2の断線時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(d)はスイッチ体S3の断線時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(e)はスイッチ体S4の断線時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図である。(A) is a figure explaining the relationship between each range position at the time of normal and the signal value of switch body S1-S4, (b) is each range position at the time of disconnection of switch body S1, and the signal value of switch body S1-S4 (C) is a diagram for explaining the relationship between each range position when the switch body S2 is disconnected and the signal values of the switch bodies S1 to S4, and (d) is a diagram when the switch body S3 is disconnected. The figure explaining the relationship between each range position and the signal value of switch body S1-S4, (e) is the figure explaining the relationship between each range position at the time of disconnection of switch body S4, and the signal value of switch body S1-S4. It is. (a)は正常時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(b)はスイッチ体S1の短絡時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(c)はスイッチ体S2の短絡時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(d)はスイッチ体S3の短絡時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図、(e)はスイッチ体S4の短絡時の各レンジ位置とスイッチ体S1〜S4の信号値との関係を説明する図である。(A) is a figure explaining the relationship between each range position at the time of normal and the signal value of switch body S1-S4, (b) is each range position at the time of short circuit of switch body S1, and the signal value of switch body S1-S4 (C) is a diagram illustrating the relationship between each range position when the switch body S2 is short-circuited and the signal values of the switch bodies S1 to S4, and (d) is a diagram when the switch body S3 is short-circuited. The figure explaining the relationship between each range position and the signal value of switch body S1-S4, (e) is the figure explaining the relationship between each range position at the time of short circuit of switch body S4, and the signal value of switch body S1-S4. It is. メインルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a main routine. 割り込み処理ルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of an interruption process routine. レンジ位置判定ルーチンの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of a range position determination routine.

符号の説明Explanation of symbols

10…リンク、11…シフトレバー、12…レンジ位置検出スイッチ、13…摺動レバー、14…絶縁体、15…摺動子、16…導体、17…制御部、S1〜S4…スイッチ体(2値信号発生手段)   DESCRIPTION OF SYMBOLS 10 ... Link, 11 ... Shift lever, 12 ... Range position detection switch, 13 ... Sliding lever, 14 ... Insulator, 15 ... Slider, 16 ... Conductor, 17 ... Control part, S1-S4 ... Switch body (2 Value signal generation means)

Claims (13)

自動変速機のシフトレバーの操作位置に応じて複数の2値信号発生手段の状態を各2値信号発生手段毎に設定されたパターンで切り換えて複数の2値信号を出力するレンジ位置検出スイッチと、
前記レンジ位置検出スイッチから出力される前記複数の2値信号を読み込んで前記シフトレバーの操作位置を判定する制御部と
を備えた自動変速機のレンジ位置検出装置において、
前記レンジ位置検出スイッチは、前記複数の2値信号発生手段を2つのグループに分けて各グループの2値信号によって各グループ毎に前記シフトレバーの操作位置に関する情報を表現し、
前記制御部は、前記レンジ位置検出スイッチの前記2つのグループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置の判定及び/又は前記レンジ位置検出スイッチの故障診断を行うことを特徴とする自動変速機のレンジ位置検出装置。
A range position detection switch for outputting a plurality of binary signals by switching the state of the plurality of binary signal generating means in a pattern set for each binary signal generating means in accordance with the operation position of the shift lever of the automatic transmission; ,
A range position detection device for an automatic transmission comprising: a control unit that reads the plurality of binary signals output from the range position detection switch and determines an operation position of the shift lever;
The range position detection switch divides the plurality of binary signal generating means into two groups and expresses information on the operation position of the shift lever for each group by a binary signal of each group,
The control unit performs determination of the operation position of the shift lever and / or failure diagnosis of the range position detection switch based on a combination of binary signals of the two groups of the range position detection switch. Range position detector for automatic transmission.
前記レンジ位置検出スイッチの少なくとも一方のグループの2値信号の組み合わせは、前記シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定されていることを特徴とする請求項1に記載の自動変速機のレンジ位置検出装置。   The combination of binary signals of at least one group of the range position detection switch can identify at least the parking position, reverse range, neutral range, and drive range as the operation position of the shift lever and the intermediate state position thereof. The range position detecting device for an automatic transmission according to claim 1, wherein 前記レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、前記各レンジ位置とその中間状態位置において、隣り合う2つの位置間で1つの2値信号発生手段のみが切り換えられるように構成されていることを特徴とする請求項2に記載の自動変速機のレンジ位置検出装置。   The binary signal generating means of at least one group of the range position detecting switch is configured such that only one binary signal generating means is switched between two adjacent positions at each range position and its intermediate state position. The range position detecting device for an automatic transmission according to claim 2, wherein the range position detecting device is used. 前記レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、前記各レンジ位置とその中間状態位置のいずれの位置においても、少なくとも1つの2値信号発生手段からアクティブな信号が出力されるように構成されていることを特徴とする請求項2又は3に記載の自動変速機のレンジ位置検出装置。   The binary signal generation means of at least one group of the range position detection switch outputs an active signal from at least one binary signal generation means at any of the range positions and intermediate state positions. The range position detecting device for an automatic transmission according to claim 2, wherein the range position detecting device is configured as described above. 前記レンジ位置検出スイッチの少なくとも一方のグループの2値信号発生手段は、前記ドライブレンジで全ての信号がアクティブな信号に切り換えられるように構成されていることを特徴とする請求項2乃至4のいずれかに記載の自動変速機のレンジ位置検出装置。   5. The binary signal generation means of at least one group of the range position detection switch is configured so that all signals are switched to active signals in the drive range. A range position detecting device for an automatic transmission according to claim 1. 前記レンジ位置検出スイッチの一方のグループ(以下「第1グループ」という)の2値信号の組み合わせは、前記シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定され、他方のグループ(以下「第2グループ」という)の2値信号発生手段は、前記パーキングレンジ及び前記ニュートラルレンジのみでそれ以外の位置とは異なる信号が出力されるように構成され、
前記制御部は、前記第1グループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置を判定し、その判定結果と前記第2グループの2値信号とに基づいて前記レンジ位置検出スイッチの故障診断を行うことを特徴とする請求項1乃至5のいずれかに記載の自動変速機のレンジ位置検出装置。
The combination of binary signals of one group of the range position detection switches (hereinafter referred to as “first group”) includes at least each of the range positions of the parking range, reverse range, neutral range, and drive range as the operation position of the shift lever. The binary signal generating means of the other group (hereinafter referred to as “second group”) is set so as to be able to identify the intermediate state position, and the signal different from the other positions only in the parking range and the neutral range. Configured to output,
The control unit determines an operation position of the shift lever based on a combination of binary signals of the first group, and based on a result of the determination and a binary signal of the second group, the range position detection switch 6. A range position detecting device for an automatic transmission according to claim 1, wherein failure diagnosis is performed.
前記レンジ位置検出スイッチの第1グループを3個の2値信号発生手段で構成し、前記中間状態位置において2個の2値信号発生手段からアクティブな信号が出力されるように構成されていることを特徴とする請求項6に記載の自動変速機のレンジ位置検出装置。   The first group of the range position detection switches is constituted by three binary signal generating means, and an active signal is output from the two binary signal generating means at the intermediate state position. The range position detecting device for an automatic transmission according to claim 6. 前記制御部は、前記第1グループのいずれかの2値信号が変化する毎に割り込み処理により該第1グループの2値信号を読み込み、所定のサンプリング周期で前記第2グループの2値信号を読み込むことを特徴とする請求項6又は7に記載の自動変速機のレンジ位置検出装置。   The control unit reads the binary signal of the first group by an interrupt process every time one of the binary signals of the first group changes, and reads the binary signal of the second group at a predetermined sampling period. The range position detecting device for an automatic transmission according to claim 6 or 7. 前記制御部は、前記第1グループのいずれかの2値信号が変化する毎にその変化後の2値信号の組み合わせが変化前の2値信号の組み合わせと隣り合う位置の2値信号の組み合わせであるか否かを判定して前記レンジ位置検出スイッチの故障診断を行う機能も備えていることを特徴とする請求項1乃至8のいずれかに記載の自動変速機のレンジ位置検出装置。   Whenever one of the binary signals of the first group changes, the control unit is a combination of binary signals at positions adjacent to the combination of binary signals after the change. 9. The range position detection device for an automatic transmission according to claim 1, further comprising a function of determining whether or not there is a failure diagnosis of the range position detection switch. 自動変速機のシフトレバーの操作位置に応じて2つのグループの2値信号発生手段の状態を各2値信号発生手段毎に設定されたパターンで切り換えるレンジ位置検出スイッチを備えた自動変速機のレンジ位置検出装置を制御する制御プログラムであって、
前記2つのグループの2値信号発生手段から出力される2値信号を各グループ毎に前記シフトレバーの操作位置に関する情報として読み込む処理と、
前記2つのグループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置の判定及び/又は前記レンジ位置検出スイッチの故障診断を行う処理と
を含むことを特徴とする制御プログラム。
Range of automatic transmission having range position detection switch for switching states of binary signal generating means of two groups in a pattern set for each binary signal generating means according to the operation position of shift lever of automatic transmission A control program for controlling a position detection device,
A process of reading the binary signal output from the binary signal generating means of the two groups as information on the operation position of the shift lever for each group;
A control program comprising: a process of determining an operation position of the shift lever and / or a failure diagnosis of the range position detection switch based on a combination of binary signals of the two groups.
前記レンジ位置検出スイッチの一方のグループ(以下「第1グループ」という)の2値信号の組み合わせは、前記シフトレバーの操作位置として少なくともパーキングレンジ、リバースレンジ、ニュートラルレンジ、ドライブレンジの各レンジ位置とその中間状態位置を識別できるように設定され、他方のグループ(以下「第2グループ」という)の2値信号発生手段は、前記パーキングレンジ及び前記ニュートラルレンジのみでそれ以外の位置とは異なる信号が出力されるように構成され、
前記第1グループの2値信号の組み合わせに基づいて前記シフトレバーの操作位置を判定する処理と、
前記シフトレバーの操作位置の判定結果と前記第2グループの2値信号とに基づいて前記レンジ位置検出スイッチの故障診断を行う処理と
を含むことを特徴とする請求項10に記載の制御プログラム。
The combination of binary signals of one group of the range position detection switches (hereinafter referred to as “first group”) includes at least each of the range positions of the parking range, reverse range, neutral range, and drive range as the operation position of the shift lever. The binary signal generating means of the other group (hereinafter referred to as “second group”) is set so as to be able to identify the intermediate state position, and the signal different from the other positions only in the parking range and the neutral range. Configured to output,
A process of determining an operation position of the shift lever based on a combination of binary signals of the first group;
The control program according to claim 10, further comprising: a process of performing a failure diagnosis of the range position detection switch based on a determination result of an operation position of the shift lever and a binary signal of the second group.
前記第1グループのいずれかの2値信号が変化する毎に該第1グループの2値信号を読み込む割り込み処理と、
所定のサンプリング周期で前記第2グループの2値信号を読み込む時間同期処理と
を含むことを特徴とする請求項11に記載の制御プログラム。
An interrupt process for reading the binary signal of the first group each time one of the binary signals of the first group changes;
The control program according to claim 11, further comprising a time synchronization process of reading the second group of binary signals at a predetermined sampling period.
前記第1グループのいずれかの2値信号が変化する毎にその変化後の2値信号の組み合わせが変化前の2値信号の組み合わせと隣り合う位置の2値信号の組み合わせであるか否かを判定して前記レンジ位置検出スイッチの故障診断を行う処理を含むことを特徴とする請求項11又は12に記載の制御プログラム。   Whether each combination of binary signals in the first group changes is a combination of binary signals after the change is a combination of binary signals at positions adjacent to the combination of binary signals before the change The control program according to claim 11, further comprising a process of determining and diagnosing a failure of the range position detection switch.
JP2003412320A 2003-12-10 2003-12-10 Range position detection device and its control program for automatic transmission Pending JP2005172118A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2003412320A JP2005172118A (en) 2003-12-10 2003-12-10 Range position detection device and its control program for automatic transmission
CNB2004101002547A CN100366956C (en) 2003-12-10 2004-12-10 Automatic transmission control system with shift lever position sensor
US11/008,652 US20050126322A1 (en) 2003-12-10 2004-12-10 Automatic transmission control system with shift lever position sensor
CN 200710142354 CN100532893C (en) 2003-12-10 2004-12-10 Automatic transmission control system with shift lever position sensor
US12/216,746 US7584681B2 (en) 2003-12-10 2008-07-10 Automatic transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003412320A JP2005172118A (en) 2003-12-10 2003-12-10 Range position detection device and its control program for automatic transmission

Publications (1)

Publication Number Publication Date
JP2005172118A true JP2005172118A (en) 2005-06-30

Family

ID=34732797

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003412320A Pending JP2005172118A (en) 2003-12-10 2003-12-10 Range position detection device and its control program for automatic transmission

Country Status (2)

Country Link
JP (1) JP2005172118A (en)
CN (1) CN100532893C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007285488A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch
JP2007285489A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch and method for manufacturing same
JP2007285487A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch and method for manufacturing same
JP2008032155A (en) * 2006-07-31 2008-02-14 Nissan Motor Co Ltd Shift lever position detection device
JP2010223310A (en) * 2009-03-23 2010-10-07 Toyota Motor Corp Shift control device for vehicle
WO2012111066A1 (en) * 2011-02-14 2012-08-23 トヨタ自動車株式会社 Vehicle control device
JP2014114917A (en) * 2012-12-11 2014-06-26 Denso Corp Shift-by-wire system
KR101904391B1 (en) 2011-09-16 2018-10-08 콘티넨탈 오토모티브 시스템 주식회사 Method for managing code information of inhibitor switch
JP2021093337A (en) * 2019-12-12 2021-06-17 トヨタ自動車株式会社 Switch and method for determining abnormality thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110753807B (en) * 2017-06-28 2021-03-19 加特可株式会社 Abnormality diagnostic device for shift device and abnormality diagnostic method for shift device

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007285489A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch and method for manufacturing same
JP2007285487A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch and method for manufacturing same
JP2007285488A (en) * 2006-04-20 2007-11-01 Asahi Denso Co Ltd Inhibitor switch
JP2008032155A (en) * 2006-07-31 2008-02-14 Nissan Motor Co Ltd Shift lever position detection device
JP2010223310A (en) * 2009-03-23 2010-10-07 Toyota Motor Corp Shift control device for vehicle
US9086949B2 (en) 2011-02-14 2015-07-21 Toyota Jidosha Kabushiki Kaisha Control device for vehicle
WO2012111066A1 (en) * 2011-02-14 2012-08-23 トヨタ自動車株式会社 Vehicle control device
JP5626374B2 (en) * 2011-02-14 2014-11-19 トヨタ自動車株式会社 Vehicle control device
KR101904391B1 (en) 2011-09-16 2018-10-08 콘티넨탈 오토모티브 시스템 주식회사 Method for managing code information of inhibitor switch
JP2014114917A (en) * 2012-12-11 2014-06-26 Denso Corp Shift-by-wire system
JP2021093337A (en) * 2019-12-12 2021-06-17 トヨタ自動車株式会社 Switch and method for determining abnormality thereof
US11422189B2 (en) 2019-12-12 2022-08-23 Toyota Jidosha Kabushiki Kaisha Switch and abnormality determining method thereof
JP7243608B2 (en) 2019-12-12 2023-03-22 トヨタ自動車株式会社 Abnormal judgment method of switch

Also Published As

Publication number Publication date
CN101126446A (en) 2008-02-20
CN100532893C (en) 2009-08-26

Similar Documents

Publication Publication Date Title
US6376929B1 (en) Position switch of select lever for automatic transmission
CN102943874B (en) Shift switching device
US8204712B2 (en) Ternary sensor inputs
US5090269A (en) System for automatically controlling transmission for vehicles
JP2005172119A (en) Range position detection switch
AU759527B2 (en) Fault diagnosis method for an input shaft speed sensor of an automatic transmission
JP2005172118A (en) Range position detection device and its control program for automatic transmission
CN107209030B (en) Sensor device for detecting the positioning of a selector lever and selector lever device for a motor vehicle
US20170059358A1 (en) Position sensor
JP4900213B2 (en) Automatic transmission shift position detection device
JP2006046451A (en) Controller of automatic transmission
US4914594A (en) Detector for detecting selector position of automatic transmission
US7903539B2 (en) Electronic control unit
US8044787B2 (en) Discrete sensor inputs
JP4926665B2 (en) Failure diagnosis device for transmission range position detection device
CN112065977A (en) Gear shifting position identification method, gear shifting position identification device, gear shifting position identification equipment and storage medium
JP2007246017A (en) Method and device for detecting condition of vehicular lamp
CN115126860B (en) Control method and controller for electronic gear shifter of automobile
US20150006024A1 (en) Isolation adapter for a vehicle component test and test method for a vehicle component
JP3859596B2 (en) Electrical switch
JP5375807B2 (en) Automatic transmission range position detector
JP5429223B2 (en) Automatic transmission range detector
JP2008101550A (en) Method for diagnosing failure of outside air temperature sensor and vehicle movement control device
CN107806513B (en) Position sensor and gearshift
JP2002274209A (en) Shift position detector

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081127

A131 Notification of reasons for refusal

Effective date: 20081211

Free format text: JAPANESE INTERMEDIATE CODE: A131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090402