Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5048574B2 - Operation position detecting device and shift device - Google Patents
[go: Go Back, main page]

JP5048574B2 - Operation position detecting device and shift device - Google Patents

Operation position detecting device and shift device Download PDF

Info

Publication number
JP5048574B2
JP5048574B2 JP2008102648A JP2008102648A JP5048574B2 JP 5048574 B2 JP5048574 B2 JP 5048574B2 JP 2008102648 A JP2008102648 A JP 2008102648A JP 2008102648 A JP2008102648 A JP 2008102648A JP 5048574 B2 JP5048574 B2 JP 5048574B2
Authority
JP
Japan
Prior art keywords
combination
binarized
shift
error
signals
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008102648A
Other languages
Japanese (ja)
Other versions
JP2009248917A (en
Inventor
嘉広 木村
康生 高田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2008102648A priority Critical patent/JP5048574B2/en
Publication of JP2009248917A publication Critical patent/JP2009248917A/en
Application granted granted Critical
Publication of JP5048574B2 publication Critical patent/JP5048574B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangement Or Mounting Of Control Devices For Change-Speed Gearing (AREA)
  • Control Of Transmission Device (AREA)

Description

本発明は、例えばシフトレバー等の操作部材の操作位置を検出する操作位置検出装置及びシフト装置に関する。   The present invention relates to an operation position detection device and a shift device that detect an operation position of an operation member such as a shift lever.

従来、シフト装置には、変速機の接続状態を切り替えるための複数のシフトモードを有するものがある。例えば、特許文献1に記載のシフト装置は、自動変速機の各ポジション(D:ドライブや、R:リバース等)の切替が可能な通常モードと、各段の変速ギヤをシーケンシャル(段階的)に切替可能なマニュアルモードとの2つのシフトモードを備えている。   Conventionally, some shift devices have a plurality of shift modes for switching the connection state of the transmission. For example, in the shift device described in Patent Document 1, the normal mode in which each position (D: drive, R: reverse, etc.) of the automatic transmission can be switched and the transmission gears of each stage are sequentially (stepwise). There are two shift modes, a switchable manual mode.

具体的には、このシフト装置において、シフトレバーの配置されたシフトゲートは、上記二つのシフトモードに対応するとともに略平行に延びる第1及び第2ゲートと、これらと直交する第3ゲートとにより全体としてH型に形成されており、シフトレバーは、これら各ゲートに沿って移動可能に設けられている。また、このシフト装置は、シフトレバーの操作位置を検出するための操作位置検出装置を備えている。この操作位置検出装置は、シフトレバーと連結されそのシフト操作により第1及び第2ゲートの延伸方向に揺動する第1揺動部材と、そのセレクト操作により第3ゲートの延伸方向に揺動する第2揺動部材と、これら第1及び第2揺動部材の揺動をそれぞれ検出する二つの非接触式の回転検出センサとを備えている。そして、第1の回転検出センサで第1揺動部材の揺動角度を検出することにより各シフトモードにおけるシフト操作位置を検知し、第2の回転検出センサで第2揺動部材の揺動角度を検出することによりセレクト操作位置を検知するように構成されている。   Specifically, in this shift device, the shift gate on which the shift lever is disposed includes first and second gates that correspond to the two shift modes and extend substantially in parallel, and a third gate that is orthogonal to the first and second gates. The shift lever is provided so as to be movable along each of the gates. The shift device also includes an operation position detection device for detecting the operation position of the shift lever. The operating position detecting device is connected to a shift lever and swings in the extending direction of the first and second gates by the shifting operation, and swings in the extending direction of the third gate by the selecting operation. A second oscillating member and two non-contact type rotation detecting sensors for detecting the oscillation of the first and second oscillating members are provided. The shift operation position in each shift mode is detected by detecting the swing angle of the first swing member with the first rotation detection sensor, and the swing angle of the second swing member with the second rotation detection sensor. By detecting the selection operation position.

また、シフトレバーの操作位置の検出の信頼性が確保されるよう、各回転検出センサには各方向におけるシフトレバーの操作をそれぞれ個別に検知するセンサエレメントが2つずつ設けられている。このため、例えば一方のセンサエレメントが故障した場合は、2つのセンサエレメントから異なる値の検出信号が出力されることから、このことに基づいてセンサエレメントの故障を検知することが可能となっている。
特開2003−154869号公報
In addition, each rotation detection sensor is provided with two sensor elements that individually detect the operation of the shift lever in each direction so as to ensure the reliability of detection of the operation position of the shift lever. For this reason, for example, when one of the sensor elements fails, detection signals having different values are output from the two sensor elements. Based on this, it is possible to detect a failure of the sensor element. .
JP 2003-154869 A

ところで、車両への搭載性の観点から車両に搭載される各種装置への小型化の要求は依然として高く、シフト装置についても例外ではない。しかしながら、従来の回転検出センサを用いた操作位置検出装置は、シフトレバーの移動方向につき一つの回転検出センサが必要となるため、上述したように互いに直交する2方向に操作されるシフトレバーの操作位置を検出するためには、少なくとも二つの回転検出センサを別々に設ける必要がある。このため、回転検出センサの設置スペースやその配線スペースをシフト装置における複数箇所で確保する必要があり、このことはシフト装置の小型化の妨げとなってしまう。   By the way, from the viewpoint of mounting on a vehicle, there is still a high demand for downsizing various devices mounted on the vehicle, and the shift device is no exception. However, since the conventional operation position detection device using the rotation detection sensor requires one rotation detection sensor for each movement direction of the shift lever, the operation of the shift lever operated in two directions orthogonal to each other as described above. In order to detect the position, it is necessary to separately provide at least two rotation detection sensors. For this reason, it is necessary to secure the installation space of the rotation detection sensor and its wiring space at a plurality of locations in the shift device, which hinders downsizing of the shift device.

また、従来の回転検出センサを用いた操作位置検出装置は、2つのセンサエレメントの内、一方のセンサエレメントが故障した場合、何れのセンサエレメントが故障しているかを特定することができない。このため、例えばシフトレバーの操作位置を検出する操作位置検出装置のように入力操作位置に対する高い検出信頼性が要求されるものでは、一方のセンサエレメントの故障を検知しただけで、言い換えれば、他方のセンサエレメントによる検出が可能である状態であるにも関わらず、操作位置の検出を不能としてしまう場合がある。この場合、例えばシフト装置は、自動変速機の接続状態をニュートラルに強制的に切り替えるため、車両の走行が不能となってしまう。なお、このような操作位置検出装置は、シフト装置に限らず、複数方向に操作される例えばジョイスティック等の入力装置について適用可能であり、この場合にも前述と同様の課題がある。   Further, the operation position detection device using the conventional rotation detection sensor cannot identify which sensor element is faulty when one of the two sensor elements fails. For this reason, in the case where high detection reliability with respect to the input operation position is required, such as an operation position detection device that detects the operation position of the shift lever, only the failure of one sensor element is detected. In some cases, the detection of the operation position may be disabled in spite of the fact that the detection by the sensor element is possible. In this case, for example, since the shift device forcibly switches the connection state of the automatic transmission to neutral, the vehicle cannot travel. Note that such an operation position detection device is not limited to a shift device, and can be applied to an input device such as a joystick operated in a plurality of directions. In this case, there is a problem similar to that described above.

本発明は、上記問題点を解決するためになされたものであって、その目的は、1つのセンサエレメントの故障に対する冗長性及び入力操作位置の検出信頼性を確保しつつ小型化が可能な操作位置検出装置及びそれを用いたシフト装置を提供することにある。   The present invention has been made to solve the above-described problems, and its purpose is an operation capable of downsizing while ensuring redundancy for failure of one sensor element and detection reliability of an input operation position. An object of the present invention is to provide a position detection device and a shift device using the position detection device.

請求項1に記載の発明は、操作部材の操作に伴い複数の所定位置間を移動可能に設けられるとともにその移動方向に交差する方向に着磁された被検出体と、前記着磁方向に対して交差する平面に沿って複数設けられるとともに前記被検出体の位置に応じてそれぞれに付与される磁束の方向に応じた検出信号を出力する磁気検出手段と、前記検出信号に基づいて生成された二値化信号の組み合わせに基づいて前記被検出体の位置を求める演算手段とを備え、前記複数の磁気検出手段は、前記二値化信号の組み合わせが、前記被検出体の位置情報である位置符号と、前記被検出体の各所定位置に固有の前記二値化信号の組み合わせの1つの二値化信号の誤りを訂正するための誤り訂正符号とを含むハミング符号に準拠したものとなるように設けられ、前記演算手段は、前記二値化信号の組み合わせに基づいて、前記被検出体の各所定位置に対応する前記二値化信号の組み合わせの1つの誤り信号に一対一で対応する誤り信号位置情報を生成し、該誤り信号位置情報に基づいて、前記二値化信号の組み合わせの誤り信号位置を特定し、この特定された信号位置の二値化信号を訂正し、複数の前記磁気検出手段は、前記被検出体の着磁方向から見て、重なるように配置された2つの磁気検出手段を含み、当該2つの磁気検出手段は、正負を反転した値の検出信号を出力することをその要旨とする。 The invention according to claim 1 is provided so as to be movable between a plurality of predetermined positions in accordance with the operation of the operation member and is magnetized in a direction crossing the moving direction, and the magnetizing direction. And a plurality of magnetic detection means for outputting a detection signal corresponding to the direction of the magnetic flux applied to each of the detected objects according to the position of the detected object, and generated based on the detection signal Calculating means for obtaining a position of the detected object based on a combination of binarized signals, and the plurality of magnetic detecting means are configured such that the combination of the binarized signals is position information of the detected object. It is based on a Hamming code including a code and an error correction code for correcting an error of one binary signal of a combination of the binary signals unique to each predetermined position of the detected object. Established in The calculation means has error signal position information corresponding one-to-one with one error signal of the combination of the binarized signals corresponding to each predetermined position of the detected object based on the combination of the binarized signals. And specifying the error signal position of the combination of the binarized signals based on the error signal position information, correcting the binarized signal at the specified signal position, and a plurality of the magnetic detection means The two magnetic detection means are arranged so as to overlap each other when viewed from the magnetization direction of the detected object, and the two magnetic detection means output a detection signal having a value obtained by inverting the sign. And

本発明によれば、複数の磁気検出手段から出力される二値化信号の組み合わせに基づいて被検出体が複数の所定位置のうち何れにあるかが検出されるため、二方向に移動する操作部材の位置を1つの被検出体で検知することができる。また、複数の磁気検出手段は、着磁方向に対して交差する平面に沿って設けられるため、入力装置における操作位置検出装置の集中化が図られる。即ち、従来のように、各方向に対応する被検出体を別々に設ける必要がない。よって、当該入力装置の小型化が可能となる。また、複数の磁気検出手段は、それらから出力される二値化信号の組み合わせがハミング符号に準拠したものとなるように設けられていることから、このことを利用して被検出体の各所定位置に対する二値化信号の組み合わせの1つの誤りが訂正される。このため、例えば磁気検出手段の故障やノイズ等によって1つの磁気検出手段から出力された二値化信号が変化(反転)してしまった場合であっても、被検出体の位置を正確に検出することができる。即ち、1つの磁気検出手段から出力される二値化信号の誤りに対する冗長性を確保することができる。従って、この操作位置検出装置を用いることにより、入力操作位置の検出信頼性を確保しつつ、小型化が可能となる。
しかも、被検出体の着磁方向から見て、2つの磁気検出手段が重なるように配置されているため、被検出体の移動方向に沿った方向における操作位置検出装置の小型化を図ることができる。
また、上記2つの磁気検出手段は、正負を反転した値の検出信号を出力する。従って、この2つの磁気検出手段が被検出体の位置に応じた適切な値の検出信号を出力している通常の状態においては、当該2つの磁気検出手段のうち一方の磁気検出手段からの検出信号は例えば「0」となり、他方の磁気検出手段からの検出信号は例えば「1」となる。このため、当該2つの磁気検出手段により1組の磁気検出手段が規定されるとき、例えば4組の磁気検出手段から出力される検出信号の組み合わせにおいて「0」となるビットの数と、「1」となるビットの数とに基づいて3つ以上の磁気検出手段の異常も検知することができる。
According to the present invention, since the detected object is detected in any one of a plurality of predetermined positions based on the combination of the binarized signals output from the plurality of magnetic detection means, the operation of moving in two directions The position of the member can be detected by one detected object. Further, since the plurality of magnetic detection means are provided along a plane intersecting the magnetization direction, the operation position detection device in the input device can be concentrated. That is, unlike the prior art, it is not necessary to separately provide a detection target corresponding to each direction. Therefore, the input device can be reduced in size. In addition, since the plurality of magnetic detection means are provided so that the combination of the binarized signals output from them is compliant with the Hamming code, each of the predetermined objects of the detected object is utilized using this. One error in the binarized signal combination for the position is corrected. For this reason, the position of the detected object can be accurately detected even when the binarized signal output from one magnetic detection means has changed (inverted) due to, for example, failure of the magnetic detection means or noise. can do. That is, it is possible to ensure redundancy against an error in the binarized signal output from one magnetic detection means. Therefore, by using this operation position detection device, it is possible to reduce the size while ensuring the detection reliability of the input operation position.
In addition, since the two magnetic detection means are arranged so as to overlap each other when viewed from the magnetization direction of the detection object, it is possible to reduce the size of the operation position detection device in the direction along the movement direction of the detection object. it can.
Further, the two magnetic detection means output detection signals having values obtained by reversing positive and negative. Therefore, in a normal state where the two magnetic detection means output detection signals having appropriate values according to the position of the detected object, detection from one of the two magnetic detection means is performed. The signal is, for example, “0”, and the detection signal from the other magnetic detection means is, for example, “1”. Therefore, when one set of magnetic detection means is defined by the two magnetic detection means, for example, the number of bits that are “0” in the combination of detection signals output from four sets of magnetic detection means, and “1” The abnormality of three or more magnetic detection means can be detected based on the number of bits.

請求項2に記載の発明は、前記複数の磁気検出手段は、前記二値化信号の組み合わせが、前記被検出体の位置情報である位置符号と、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの1つの誤りを訂正するための誤り訂正符号と、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの2つの誤りを検知するための誤り検知符号とを含む拡張ハミング符号に準拠したものとなるように設けられ、前記演算手段は、前記二値化信号の組み合わせに基づいて生成した前記誤り信号位置情報に基づいて、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの2つの二値化信号の誤りを検知することをその要旨とする。   According to a second aspect of the present invention, in the plurality of magnetic detection means, a combination of the binarized signals is a position code that is position information of the detected object, and the two of the two detection signals for each predetermined position of the detected object. An error correction code for correcting one error in the combination of the binary signals, and an error detection code for detecting two errors in the combination of the binary signals for each predetermined position of the detection target The arithmetic means is provided so as to be compliant with an extended Hamming code, and the calculation means is configured to perform the calculation for each predetermined position of the detected object based on the error signal position information generated based on the combination of the binarized signals. The gist of the present invention is to detect an error in two binarized signals in a combination of binarized signals.

本発明によれば、複数の磁気検出手段は、二値化信号の組み合わせが、拡張ハミング符号に準拠したものとなるように配置されていることから、このことを利用して、被検出体の各所定位置に対する二値化信号の組み合わせの2つの誤りが検知される。このため、操作位置検出装置を構成する複数の磁気検出手段の内、2つの磁気検出手段が故障してしまったことを検知することができる。   According to the present invention, the plurality of magnetic detection means are arranged so that the combination of the binarized signals conforms to the extended Hamming code. Two errors in the combination of binarized signals for each predetermined position are detected. For this reason, it is possible to detect that two of the magnetic detection means constituting the operation position detection device have failed.

請求項3に記載の発明は、前記被検出体は、第1の方向と、該第1の方向に直交する第2の方向とに移動可能に設けられ、前記磁気検出手段は、前記第1の方向及び前記第2の方向に沿って、それぞれ複数設けられることをその要旨とする。   According to a third aspect of the present invention, the detected object is provided so as to be movable in a first direction and a second direction orthogonal to the first direction, and the magnetic detection means includes the first direction. The gist of the present invention is that a plurality of the first and second directions are provided along the second direction and the second direction.

本発明によれば、第1の方向に沿った複数箇所に前記所定位置を設定することができるとともに、該第1の方向に直交する第2の方向に沿った複数箇所に前記所定位置を設定することができる。このため、該所定位置を操作部材の操作パターンに応じて選択することにより、複数種類の操作パターンに対応することができる。よって、汎用性が向上する。   According to the present invention, the predetermined position can be set at a plurality of locations along the first direction, and the predetermined position can be set at a plurality of locations along the second direction orthogonal to the first direction. can do. For this reason, by selecting the predetermined position according to the operation pattern of the operation member, it is possible to cope with a plurality of types of operation patterns. Therefore, versatility is improved.

請求項に記載の発明は、シフトゲートに沿って設定された複数の操作位置に操作される操作部材と、該操作部材の操作位置を検出する操作位置検出装置とを備え、該操作位置検出装置の検出結果に基づいて車両の変速機の接続状態を切り替えるシフト装置であって、請求項1〜の何れか1項に記載の前記操作位置検出装置を採用したことをその要旨とする。 The invention according to claim 4 includes an operation member operated to a plurality of operation positions set along the shift gate, and an operation position detection device that detects an operation position of the operation member, and detects the operation position. A shift device that switches a connection state of a transmission of a vehicle based on a detection result of the device, the gist of which is that the operation position detection device according to any one of claims 1 to 3 is adopted.

本発明によれば、請求項1と同様の作用が得られることにより、当該シフト装置の小型化を図ることができる。また、1つの磁気検出手段が故障した場合でも被検出体の位置を正確に検出することができるため、操作部材の位置の検出を継続することができる。よって、1つの磁気検出手段が故障した場合であっても、車両の走行を継続させることができる。   According to the present invention, the shift device can be downsized by obtaining the same operation as that of the first aspect. In addition, even when one magnetic detection means fails, the position of the detection target can be accurately detected, so that the detection of the position of the operation member can be continued. Therefore, even if one magnetic detection means is out of order, the vehicle can continue to travel.

本発明によれば、1つのセンサエレメントの故障に対する冗長性及び入力操作位置の検出信頼性を確保しつつ小型化が可能な操作位置検出装置及びそれを用いたシフト装置を得ることができる。   According to the present invention, it is possible to obtain an operation position detection device that can be reduced in size while ensuring redundancy for failure of one sensor element and detection reliability of an input operation position, and a shift device using the operation position detection device.

以下、本発明を、電気制御によって車両の自動変速機の接続状態を切り換えるバイワイヤ方式のシフト装置に具体化した一実施の形態を図面に従って説明する。
図1に示すように、シフト装置1は、ステアリングホイールWが設置されるステアリングコラム2に設置されている。このシフト装置1は、ステアリングコラム2の左側面の開口部2aから突出する操作部材としてのシフトレバー3と、ステアリングコラム2の内部において開口部2aに対応するように配設されるシフト装置本体4とを備えている。シフトレバー3の基端部はシフト装置本体4に支持され、その先端部には運転者が把持する操作ノブ3aが形成されている。操作ノブ3aには、パーキングスイッチ3bが設けられている。
Hereinafter, an embodiment in which the present invention is embodied in a by-wire shift device that switches a connection state of an automatic transmission of a vehicle by electric control will be described with reference to the drawings.
As shown in FIG. 1, the shift device 1 is installed on a steering column 2 on which a steering wheel W is installed. The shift device 1 includes a shift lever 3 as an operation member protruding from the opening 2a on the left side surface of the steering column 2, and a shift device main body 4 disposed in the steering column 2 so as to correspond to the opening 2a. And. The base end portion of the shift lever 3 is supported by the shift device main body 4, and an operation knob 3 a that is gripped by the driver is formed at the distal end portion. The operation knob 3a is provided with a parking switch 3b.

シフトレバー3は、前記開口部2aを覆うようにして前記ステアリングコラム2に固定されたシフトパネル5を備えている。シフトレバー3は、シフトパネル5に穿設されたシフトゲート6に沿って、同シフトゲート6内の複数箇所に設定された各シフト位置の間を移動可能に設けられている。具体的には、図2に示すように、シフトゲート6は、T型のものであり、前記ステアリングコラム2の周方向に沿って上下方向(以下、シフト方向という。)に延びる第1ゲート6aと、該第1ゲート6aの略中央部分から車両前側へ同第1ゲート6aと直交する方向(以下、セレクト方向という。)に延びる第2ゲート6bとからなる。第2ゲート6bの長さは、第1ゲート6aの略半分程度の長さとなっている。なお、シフト方向が第1の方向に相当し、セレクト方向が第2の方向に相当する。   The shift lever 3 includes a shift panel 5 fixed to the steering column 2 so as to cover the opening 2a. The shift lever 3 is provided so as to be movable between shift positions set at a plurality of positions in the shift gate 6 along the shift gate 6 formed in the shift panel 5. Specifically, as shown in FIG. 2, the shift gate 6 is a T-type, and the first gate 6 a extends in the vertical direction (hereinafter referred to as the shift direction) along the circumferential direction of the steering column 2. And a second gate 6b extending from a substantially central portion of the first gate 6a to the vehicle front side in a direction orthogonal to the first gate 6a (hereinafter referred to as a select direction). The length of the second gate 6b is about half that of the first gate 6a. The shift direction corresponds to the first direction, and the select direction corresponds to the second direction.

本実施形態では、第2ゲート6bの車両前側の端部に相当する位置が中立位置「T」、第2ゲート6bと第1ゲート6aとが交差する位置がニュートラル位置「N」、第1ゲート6aの上側の端部に相当する位置がリバース位置「R」、第1ゲート6aの下端部に相当する位置がドライブ位置「D」に設定されている。シフトレバー3は、シフト装置本体4によって中立位置Tに弾性保持されており、該中立位置Tから各シフト位置へ操作された後その操作力が解除されると、再び中立位置Tに復帰する。運転者は、該操作ノブ3aを把持してシフトレバー3を運転者側へ引き寄せ、中立位置Tからニュートラル位置Nに操作してから、同シフトレバー3を上側のリバース位置R若しくは下側のドライブ位置Dに操作する。   In the present embodiment, the position corresponding to the end of the second gate 6b on the vehicle front side is the neutral position “T”, the position where the second gate 6b and the first gate 6a intersect is the neutral position “N”, and the first gate. The position corresponding to the upper end of 6a is set to the reverse position “R”, and the position corresponding to the lower end of the first gate 6a is set to the drive position “D”. The shift lever 3 is elastically held at the neutral position T by the shift device body 4, and after operating from the neutral position T to each shift position, when the operating force is released, the shift lever 3 returns to the neutral position T again. The driver grips the operation knob 3a and pulls the shift lever 3 toward the driver side, operates the neutral lever T to the neutral position N, and then moves the shift lever 3 to the upper reverse position R or the lower drive. Operate to position D.

図3に示すように、シフト装置本体4は、ステアリングコラム2の内部に固定されるケース7を備えている。このケース7は、車両前側に開口する略箱体状に形成され当該ケース7の車両後側(ステアリングホイールW側)の部位を構成するロアケース7aと、該ロアケース7aの車両前側に該ロアケース7aの開口部を覆うようにして固着される車両後側に開口する略箱体状に形成されたアッパケース7bとから構成されている。ロアケース7a及びアッパケース7bは、マグネシウムダイキャストにより形成されている。図4に示すように、運転席側から見てケース7内の右下側(図4において左下側)の部位には、コネクタ部8が設けられている。このコネクタ部8は、ケース7の外部に開口する有底角筒状をなすとともに、アッパケース7bの下側の部位に設けられた開口部7cを介して車両前側に突出している。コネクタ部8には、その底面から導出される態様にてコネクタ端子8aが設けられている。   As shown in FIG. 3, the shift device main body 4 includes a case 7 fixed inside the steering column 2. The case 7 is formed in a substantially box shape that opens to the front side of the vehicle, and forms a lower case 7a of the case 7 on the vehicle rear side (steering wheel W side), and the lower case 7a on the vehicle front side of the lower case 7a. The upper case 7b is formed in a substantially box shape that opens to the rear side of the vehicle and is fixed so as to cover the opening. The lower case 7a and the upper case 7b are formed by magnesium die casting. As shown in FIG. 4, a connector portion 8 is provided at a lower right side (lower left side in FIG. 4) in the case 7 when viewed from the driver's seat side. The connector portion 8 has a bottomed rectangular tube shape that opens to the outside of the case 7 and protrudes toward the vehicle front side through an opening portion 7c provided in a lower portion of the upper case 7b. The connector portion 8 is provided with a connector terminal 8a in a manner derived from the bottom surface.

次に、ケース7内に設けられたシフトレバー3の支持構造について説明する。
図5に示すように、シフトレバー3の基端部には、当該シフトレバー3の軸方向に沿って伸びる略直方体状のブロック11が当該シフトレバー3と一体的に設けられている。ブロック11は、左右方向に開口した略四角筒状のブラケット12を介してケース7に支持されている。
Next, a support structure for the shift lever 3 provided in the case 7 will be described.
As shown in FIG. 5, a substantially rectangular parallelepiped block 11 extending along the axial direction of the shift lever 3 is provided integrally with the shift lever 3 at the base end portion of the shift lever 3. The block 11 is supported by the case 7 via a bracket 12 having a substantially rectangular tube shape that opens in the left-right direction.

具体的には、このブロック11は、ブラケット12に左右方向に挿入配置されている。ブロック11には、断面円形状の挿通孔11aがシフト方向に貫通形成されている。挿通孔11aは、ブロック11の中央よりも左側(図5において右側)の部位に設けられている。ブラケット12の上側と下側の壁部12a,12bには、断面円形状の貫通孔12cが設けられている。各貫通孔12cは、ブラケット12にブロック11が収容された状態において前記挿通孔11aに対応する部位にそれぞれ設けられている。そして、ブロック11がブラケット12内に挿通孔11aと貫通孔12cとが一致するように配置された状態で、これらに第1回転軸13が図中下側から挿通されている。第1回転軸13は、ブロック11の挿通孔11aに固定され、ブラケット12の貫通孔12cに回動自在に支持されている。このため、ブロック11(シフトレバー3)は、ブラケット12に対して第1回転軸13の中心軸である第1軸線L1を中心にセレクト方向に回動自在とされている(図6参照)。   Specifically, the block 11 is inserted into the bracket 12 in the left-right direction. The block 11 is formed with an insertion hole 11a having a circular cross section in the shift direction. The insertion hole 11 a is provided in a portion on the left side (right side in FIG. 5) from the center of the block 11. On the upper and lower walls 12a and 12b of the bracket 12, through holes 12c having a circular cross section are provided. Each through-hole 12c is provided in a portion corresponding to the insertion hole 11a in a state where the block 11 is accommodated in the bracket 12. The first rotating shaft 13 is inserted through the block 11 from the lower side in the figure in a state where the insertion hole 11a and the through hole 12c are arranged in the bracket 12 so as to coincide with each other. The first rotating shaft 13 is fixed to the insertion hole 11 a of the block 11 and is rotatably supported by the through hole 12 c of the bracket 12. Therefore, the block 11 (shift lever 3) is rotatable in the select direction about the first axis L1 that is the central axis of the first rotation shaft 13 with respect to the bracket 12 (see FIG. 6).

ここで、図6に示すように、ブロック11の後側面において第1回転軸13よりも右側(図6において左側)の部位には、車両後側に突出するストッパー部11bが設けられている。このため、該ストッパー部11bがブラケット12の後側の壁部12dの内側面に当接することにより、ブロック11の、第1回転軸13を中心とした車両後側(図6において反時計回り方向)への回動が規制される。また、ブラケット12の前側(図6において上側)の壁部の右側の部位には、切り欠き部12eが形成されている。このため、ブロック11の、前記第1軸線L1を中心とした車両前側(図6において時計回り方向)への回動が許容される。   Here, as shown in FIG. 6, a stopper portion 11 b that protrudes to the rear side of the vehicle is provided on the rear side surface of the block 11 on the right side (left side in FIG. 6) of the first rotating shaft 13. For this reason, the stopper portion 11b abuts on the inner surface of the rear wall portion 12d of the bracket 12, thereby causing the block 11 to move toward the rear side of the vehicle around the first rotation shaft 13 (counterclockwise in FIG. 6). ) Is restricted. Further, a notch 12e is formed in a right portion of the wall portion on the front side (the upper side in FIG. 6) of the bracket 12. Therefore, the block 11 is allowed to rotate in the vehicle front side (clockwise direction in FIG. 6) about the first axis L1.

同図6に示すように、ブラケット12の後外側面の左側(図6において右側)の部位には、車両後側に延びる略円柱状の第2回転軸部12fが立設されている。第2回転軸部12fは、その中心軸が前記第1回転軸13の中心軸である第1軸線L1と直角に交わるように形成されている。また、同ブラケット12の後外側面において第2回転軸部12fよりも右側(図6において左側)の部位には、前記第2軸線L2を中心とする円弧状の弧状凸部12gが形成されている。一方、ケース7(ロアケース7a)の後側の底部7dには、第2回転軸部12fに対応する断面円形状の軸受凹部7eが形成されている。また、ケース7(アッパケース7b)の前側の底部において、弧状凸部12gに対応する部位には、該弧状凸部12gよりも広い範囲の弧状凹部7fが形成されている。そして、アッパケース7b及びロアケース7aが互いに固定された状態で、第2回転軸部12f及び弧状凸部12gがそれぞれ軸受凹部7e及び弧状凹部7fに支持されることで、ブラケット12は第2回転軸部12fの中心軸である第2軸線L2を中心にシフト方向に回動自在に支持されている(図5参照)。   As shown in FIG. 6, a substantially cylindrical second rotating shaft portion 12 f extending to the rear side of the vehicle is erected on the left side (right side in FIG. 6) of the rear outer surface of the bracket 12. The second rotation shaft portion 12f is formed such that its central axis intersects the first axis L1 that is the central axis of the first rotation shaft 13 at a right angle. Further, an arcuate convex portion 12g having an arc shape centering on the second axis L2 is formed on the rear outer side surface of the bracket 12 on the right side (left side in FIG. 6) of the second rotating shaft portion 12f. Yes. On the other hand, a bearing concave portion 7e having a circular cross section corresponding to the second rotating shaft portion 12f is formed in the bottom portion 7d on the rear side of the case 7 (lower case 7a). Further, an arc-shaped concave portion 7f having a wider range than the arc-shaped convex portion 12g is formed at a portion corresponding to the arc-shaped convex portion 12g in the bottom portion on the front side of the case 7 (upper case 7b). Then, in a state where the upper case 7b and the lower case 7a are fixed to each other, the second rotary shaft portion 12f and the arc-shaped convex portion 12g are supported by the bearing concave portion 7e and the arc-shaped concave portion 7f, respectively, so that the bracket 12 is It is supported so as to be rotatable in the shift direction about the second axis L2 that is the central axis of the portion 12f (see FIG. 5).

従って、シフトレバー3は、ケース7に対してシフトゲート6に沿って第1軸線L1を中心にセレクト方向に回動すると共に、該第1軸線L1と直交する第2軸線L2を中心にシフト方向(ステアリングコラムの周方向)に回動する。また、上述したように第1回転軸13を中心としたケース7に対するブロック11の車両後側への回動が規制されるため、シフトレバー3の第1軸線L1を中心としたセレクト方向における車両前側への回動が規制されている。   Therefore, the shift lever 3 rotates in the select direction about the first axis L1 along the shift gate 6 with respect to the case 7, and the shift direction about the second axis L2 orthogonal to the first axis L1. It rotates in the circumferential direction of the steering column. Further, as described above, since the rotation of the block 11 with respect to the case 7 with respect to the case 7 around the first rotating shaft 13 is restricted, the vehicle in the select direction around the first axis L1 of the shift lever 3 is restricted. The rotation to the front side is restricted.

また、図5に示すように、ブロック11の右側(図5において左側)の端部には、シフトレバー3とは反対側に開口するディテントピン保持部14が凹設されている。ディテントピン保持部14は、断面円形状に形成されており、その内周面には、その軸方向に沿って延びる直線状の線状溝部14aが凹設されている。ディテントピン保持部14には、スプリング15とディテントピン16とが、当該ディテントピン保持部14の底側から順に配置されている。   Further, as shown in FIG. 5, a detent pin holding portion 14 that opens to the opposite side to the shift lever 3 is recessed at the right end (left side in FIG. 5) of the block 11. The detent pin holding portion 14 is formed in a circular cross section, and a linear linear groove portion 14a extending along the axial direction is recessed in the inner peripheral surface thereof. In the detent pin holding part 14, a spring 15 and a detent pin 16 are arranged in order from the bottom side of the detent pin holding part 14.

スプリング15の一端部は、ディテントピン保持部14の底部に設けられたスプリング保持部14bに保持され、その他端部は、ディテントピン16の端面に設けられた保持凹部16aに保持されている。ディテントピン16は、スプリング15の弾性力により、ディテントピン保持部14から突出する方向へ常時付勢されている。   One end of the spring 15 is held by a spring holding portion 14 b provided at the bottom of the detent pin holding portion 14, and the other end is held by a holding recess 16 a provided at the end surface of the detent pin 16. The detent pin 16 is always urged in a direction protruding from the detent pin holding portion 14 by the elastic force of the spring 15.

ディテントピン16においてスプリング保持部14bが設けられた部位は、ディテントピン保持部14の内径と略等しい外径を有する断面円形状に形成されている。ディテントピン16は、前記ブロック11のストッパー部11bがブラケット12の後側の壁部12dの内側面に当接した状態で、当該ディテントピン16の中心軸線が前記第1軸線L1及び第2軸線L2の交点でそれらに対して直交するように、ディテントピン保持部14に保持されている。ディテントピン16においてスプリング保持部14bが設けられた部位の外周面には、当該ディテントピン16の軸方向に沿って延びる直線状の線状凸部16bが設けられている。ディテントピン16は、該線状凸部16bが前記線状溝部14aに配置された状態でディテントピン保持部14に保持される。これにより、ディテントピン16は、ブロック11に対する回転を規制される。ディテントピン16は、同ブロック11に対してその軸方向で摺動可能に保持されている。   A portion of the detent pin 16 where the spring holding portion 14 b is provided is formed in a circular cross section having an outer diameter substantially equal to the inner diameter of the detent pin holding portion 14. The detent pin 16 is in a state in which the stopper portion 11b of the block 11 is in contact with the inner surface of the rear wall portion 12d of the bracket 12, and the center axis of the detent pin 16 is the first axis L1 and the second axis L2. Are held by the detent pin holding part 14 so as to be orthogonal to them at the intersection of the two. On the outer peripheral surface of the portion where the spring holding portion 14 b is provided in the detent pin 16, a linear linear convex portion 16 b extending along the axial direction of the detent pin 16 is provided. The detent pin 16 is held by the detent pin holding portion 14 in a state in which the linear convex portion 16b is disposed in the linear groove portion 14a. Thereby, the rotation of the detent pin 16 with respect to the block 11 is restricted. The detent pin 16 is held so as to be slidable in the axial direction with respect to the block 11.

同図5に示すように、ディテントピン16の先端側(図5において左側)の部分には、前記スプリング保持部14bが設けられた部位よりも小さな外径を有する断面円形状の嵌合部16cが設けられている。嵌合部16cの先端面16dは、先端側に突出する半球状に形成されており、該先端面16dの頂部に対応する部位には、当該ディテントピン16の軸方向に沿って延びる四角柱状の連結部16eが設けられている。   As shown in FIG. 5, a fitting portion 16c having a circular cross section having a smaller outer diameter than the portion where the spring holding portion 14b is provided at the distal end side (left side in FIG. 5) of the detent pin 16. Is provided. The distal end surface 16d of the fitting portion 16c is formed in a hemispherical shape protruding toward the distal end side, and a quadrangular prism-like shape extending along the axial direction of the detent pin 16 is formed at a portion corresponding to the top of the distal end surface 16d. A connecting portion 16e is provided.

嵌合部16cは、前記ケース7の底部7dに固定されたディテント17のガイド凹部17a内に挿入されており、該ガイド凹部17aの底面17bに対して摺動可能に当接している。連結部16eは、該ガイド凹部17aの底面17bに設けられたガイド孔17cに挿通されており、その先端側の部位は該ガイド孔17cを介してディテント17のブラケット12とは反対側に突出している。   The fitting portion 16c is inserted into the guide recess 17a of the detent 17 fixed to the bottom 7d of the case 7, and slidably contacts the bottom surface 17b of the guide recess 17a. The connecting portion 16e is inserted into a guide hole 17c provided in the bottom surface 17b of the guide recess 17a, and a portion on the tip side protrudes to the opposite side of the bracket 12 of the detent 17 through the guide hole 17c. Yes.

図7に示すように、ガイド凹部17aは、ディテントピン16側から見て略T型に形成されており、シフトレバー3の前記第2軸線L2を中心とした回動方向に沿ってシフト方向に延びるシフト方向案内部18aと、該シフト方向案内部18aの略中央部分からシフトレバー3の前記第1回転軸13を中心とした回動方向に沿って後側へ延びるセレクト方向案内部18bとを備えている。ガイド孔17cは、該ガイド凹部17aと同様略T型に形成されている。   As shown in FIG. 7, the guide recess 17 a is formed in a substantially T shape when viewed from the detent pin 16 side, and extends in the shift direction along the rotation direction around the second axis L <b> 2 of the shift lever 3. A shift direction guide portion 18a that extends, and a select direction guide portion 18b that extends rearward from the substantially central portion of the shift direction guide portion 18a along the rotational direction around the first rotation shaft 13 of the shift lever 3. I have. The guide hole 17c is substantially T-shaped like the guide recess 17a.

ガイド凹部17aの底面17bは、図8に示すようにシフト方向案内部18aの中央に向かうほど、また、図9に示すようにセレクト方向案内部18bの先端側(後側)に向かうほど前記ブロック11から離間するように傾斜している。   The bottom surface 17b of the guide recess 17a is closer to the center of the shift direction guide portion 18a as shown in FIG. 8, and further toward the tip side (rear side) of the select direction guide portion 18b as shown in FIG. 11 is inclined so as to be separated from 11.

ここで、例えば、図10に示すように、シフトレバー3が前記中立位置Tからセレクト方向にあるニュートラル位置Nに操作され、ブロック11のシフトレバー3とは反対側の端部が前記第1回転軸13を中心として前側に回転すると、ディテントピン16の嵌合部16cがセレクト方向案内部18bに沿って前記ブロック11の内端部の変位方向へ変位する。このとき、嵌合部16cがセレクト方向案内部18bに沿ってブロック11の内端部の変位方向へ変位するにつれて、該ガイド凹部17aの底面17bにおいて嵌合部16cの先端面16dが当接する部位と、ブロック11との間の距離がしだいに小さくなる。このため、ディテントピン16は、スプリング15の付勢力に抗してブロック11のディテントピン保持部14に進入する側へ変位する。この状態において操作力が解除されると、ディテントピン16の嵌合部16cは、スプリング15の弾性力により、ガイド凹部17aの底面17bにおいて嵌合部16cの先端面16dが当接する部位と、ブロック11との間の距離が大きくなるよう、セレクト方向案内部18bに沿って、セレクト方向案内部18bの先端部へ移動する。これにより、シフトレバー3が中立位置Tに復帰する。   Here, for example, as shown in FIG. 10, the shift lever 3 is operated from the neutral position T to the neutral position N in the select direction, and the end of the block 11 opposite to the shift lever 3 is in the first rotation. When rotating forward about the shaft 13, the fitting portion 16c of the detent pin 16 is displaced in the displacement direction of the inner end portion of the block 11 along the selection direction guide portion 18b. At this time, as the fitting portion 16c is displaced in the displacement direction of the inner end portion of the block 11 along the selection direction guide portion 18b, the tip surface 16d of the fitting portion 16c contacts the bottom surface 17b of the guide concave portion 17a. And the distance between the blocks 11 gradually decreases. For this reason, the detent pin 16 is displaced to the side of the block 11 entering the detent pin holding portion 14 against the urging force of the spring 15. When the operating force is released in this state, the fitting portion 16c of the detent pin 16 is blocked by the elastic force of the spring 15 from the portion where the tip surface 16d of the fitting portion 16c contacts the bottom surface 17b of the guide recess 17a. 11 is moved along the select direction guide portion 18b to the tip end portion of the select direction guide portion 18b so that the distance to the head 11 increases. As a result, the shift lever 3 returns to the neutral position T.

一方、図11に示すように、シフトレバー3がニュートラル位置Nからシフト方向にあるリバース位置R若しくはドライブ位置Dにさらに操作され、ブロック11が前記第2軸線L2を中心として下側若しくは上側に回転すると、ディテントピン16の嵌合部16cがシフト方向案内部18aに沿って前記ブロック11の内端部の変位方向へ変位する。このとき、嵌合部16cがシフト方向案内部18aに沿って、ブロック11の内端部の変位方向へ変位するにつれて、該ガイド凹部17aの底面17bにおいて嵌合部16cの先端面16dが当接する部位と、ブロック11との間の距離がしだいに小さくなる。このため、ディテントピン16は、スプリング15の付勢力に抗してブロック11のディテントピン保持部14に進入する側へ変位する。この状態において操作力が解除されると、ディテントピン16の嵌合部16cは、スプリング15の弾性力により、ガイド凹部17aの底面17bにおいて嵌合部16cの先端面16dが当接する部位と、ブロック11との間の距離が大きくなるよう、シフト方向案内部18aに沿って、シフト方向案内部18aとセレクト方向案内部18bとが交わる位置へ移動し、さらにセレクト方向案内部18bの先端部へ移動する。これにより、シフトレバー3が中立位置Tに復帰する。つまり、スプリング15で弾性支持されたディテントピン16と、ディテント17のガイド凹部17aとによって、シフトレバー3を中立位置Tに保持するとともにシフトレバー3への操作力が解除された際に、同シフトレバー3を中立位置Tに復帰させる復帰機構が構成されている。   On the other hand, as shown in FIG. 11, the shift lever 3 is further operated from the neutral position N to the reverse position R or drive position D in the shift direction, and the block 11 rotates downward or upward about the second axis L2. Then, the fitting portion 16c of the detent pin 16 is displaced in the displacement direction of the inner end portion of the block 11 along the shift direction guide portion 18a. At this time, as the fitting portion 16c is displaced along the shift direction guide portion 18a in the displacement direction of the inner end portion of the block 11, the front end surface 16d of the fitting portion 16c comes into contact with the bottom surface 17b of the guide concave portion 17a. The distance between the part and the block 11 is gradually reduced. For this reason, the detent pin 16 is displaced to the side of the block 11 entering the detent pin holding portion 14 against the urging force of the spring 15. When the operating force is released in this state, the fitting portion 16c of the detent pin 16 is blocked by the elastic force of the spring 15 from the portion where the tip surface 16d of the fitting portion 16c contacts the bottom surface 17b of the guide recess 17a. 11 is moved along the shift direction guide portion 18a to a position where the shift direction guide portion 18a and the select direction guide portion 18b cross each other, and further moved to the distal end portion of the select direction guide portion 18b. To do. As a result, the shift lever 3 returns to the neutral position T. That is, when the detent pin 16 elastically supported by the spring 15 and the guide recess 17a of the detent 17 hold the shift lever 3 in the neutral position T and the operating force to the shift lever 3 is released, the shift is performed. A return mechanism for returning the lever 3 to the neutral position T is configured.

また、シフトレバー3が中立位置Tからリバース位置R及びドライブ位置Dへ操作される際、シフトレバー3は、シフトゲート6のニュートラル位置Nを通過し、ディテントピン16はシフト方向案内部18aとセレクト方向案内部18bとの間の角部を乗り越える。このため、運転者は、シフトレバー3の操作時に節度感を得ることができる。つまり、スプリング15で弾性支持されたディテントピン16と、ディテント17のガイド凹部17aとによって、シフトレバー3の各シフト位置に操作する際の操作感を与える節度機構とが構成されている。   When the shift lever 3 is operated from the neutral position T to the reverse position R and the drive position D, the shift lever 3 passes through the neutral position N of the shift gate 6, and the detent pin 16 is selected with the shift direction guide portion 18a. Get over the corner between the direction guide 18b. For this reason, the driver can obtain a sense of moderation when operating the shift lever 3. In other words, the detent pin 16 elastically supported by the spring 15 and the guide recess 17a of the detent 17 constitute a moderation mechanism that provides an operational feeling when operating the shift lever 3 at each shift position.

次に、上記のように構成したシフトレバー3の操作位置としてのシフト位置を検出する操作位置検出装置20について説明する。
図5及び図6に示すように、前記ディテントピン16の先端部には、マグネットホルダ21が連結されている。マグネットホルダ21は、略四角形板状に形成されており、ケース7の底部7dにおいて前記ディテント17よりも右側に固定されたスライダー22により、ディテントピン16の軸方向に交差する平面方向に沿って移動可能に支持されている。
Next, the operation position detection device 20 that detects the shift position as the operation position of the shift lever 3 configured as described above will be described.
As shown in FIGS. 5 and 6, a magnet holder 21 is connected to the tip of the detent pin 16. The magnet holder 21 is formed in a substantially rectangular plate shape, and moves along a plane direction intersecting the axial direction of the detent pin 16 by a slider 22 fixed to the right side of the detent 17 at the bottom 7d of the case 7. Supported as possible.

マグネットホルダ21には、ホルダ貫通孔21aが形成されている。マグネットホルダ21のディテントピン16側の面においてホルダ貫通孔21aの周囲には、略円筒状のディテントピン連結部21bが設けられている。ディテントピン連結部21bの先端側の部位には、その開口部を覆うようにして係合部材21cが固定されている。係合部材21cには、前記ホルダ貫通孔21aに対応する部位に係合孔21dが設けられている。係合孔21dは、ディテントピン16の連結部16eに対応する断面四角形状に形成されており、該連結部16eは、係合部材21cに対する回転が規制された状態で係合孔21dに沿って軸方向に変位可能に挿通される。ディテントピン16の連結部16eは係合孔21dに挿通されている。このため、ディテントピン16は、その移動平面Qに沿った方向においてマグネットホルダ21と係合する。従って、シフトレバー3が操作され、ディテントピン16の連結部16eが変位すると、前記移動平面Qに沿った方向においてマグネットホルダ21がその変位方向へ変位する。   A holder through hole 21 a is formed in the magnet holder 21. On the surface of the magnet holder 21 on the detent pin 16 side, a substantially cylindrical detent pin connecting portion 21b is provided around the holder through hole 21a. An engaging member 21c is fixed to the distal end side portion of the detent pin connecting portion 21b so as to cover the opening. The engaging member 21c is provided with an engaging hole 21d at a portion corresponding to the holder through hole 21a. The engaging hole 21d is formed in a square shape corresponding to the connecting portion 16e of the detent pin 16, and the connecting portion 16e extends along the engaging hole 21d in a state where the rotation with respect to the engaging member 21c is restricted. It is inserted so as to be displaceable in the axial direction. The connecting portion 16e of the detent pin 16 is inserted through the engagement hole 21d. For this reason, the detent pin 16 engages with the magnet holder 21 in the direction along the moving plane Q. Accordingly, when the shift lever 3 is operated and the connecting portion 16e of the detent pin 16 is displaced, the magnet holder 21 is displaced in the displacement direction in the direction along the moving plane Q.

マグネットホルダ21のディテントピン16とは反対側の面には、略円筒状のマグネット保持部21eが設けられている。マグネット保持部21eの内側には、操作位置検出装置20を構成する被検出体としてのマグネット23が固定されている。マグネット23は、略円柱状に形成されており、前記移動平面Qに直交する方向に着磁されている。   A substantially cylindrical magnet holding portion 21 e is provided on the surface of the magnet holder 21 opposite to the detent pin 16. Inside the magnet holding part 21e, a magnet 23 as a detected body constituting the operation position detecting device 20 is fixed. The magnet 23 is formed in a substantially cylindrical shape, and is magnetized in a direction orthogonal to the moving plane Q.

ケース7の底部7dにおいてスライダー22のシフトレバー3とは反対側の部位には、操作位置検出装置20を構成する2つの第1及び第2磁気センサモジュール24,25が設けられている。第1及び第2磁気センサモジュール24,25は、それぞれ略平板状に形成され、マグネット23の移動平面Qと平行に設けられている。なお、マグネット23は、第1及び第2磁気センサモジュール24,25側がS極、それとは反対側がN極となっている。   Two first and second magnetic sensor modules 24 and 25 constituting the operation position detecting device 20 are provided at a portion of the bottom portion 7d of the case 7 opposite to the shift lever 3 of the slider 22. The first and second magnetic sensor modules 24 and 25 are each formed in a substantially flat plate shape and are provided in parallel with the moving plane Q of the magnet 23. The magnet 23 has an S pole on the first and second magnetic sensor modules 24 and 25 side and an N pole on the opposite side.

図12(b)に示すように、第1及び第2磁気センサモジュール24,25は、基板30の一側の面と他側の面に実装されており、スライダー22を介してロアケース7aに固定されている。第1及び第2磁気センサモジュール24,25は、それぞれ4つの磁気検出手段としての磁気抵抗素子31〜34,35〜38を、その周辺回路とともにパッケージ化したものであり、全体として略四角形板状に形成されている。第1及び第2磁気センサモジュール24,25は、図12(a)における左右方向がセレクト方向になるように、また、同図12(a)における上下方向がシフト方向となるように設けられている。本実施の形態では、8つの磁気抵抗素子31〜38は、マグネット23の位置に対応して出力される二値化信号S1〜S8の組み合わせが、拡張ハミング符号に準拠したものとなるように配置されている。   As shown in FIG. 12B, the first and second magnetic sensor modules 24 and 25 are mounted on one surface and the other surface of the substrate 30 and fixed to the lower case 7 a via the slider 22. Has been. The first and second magnetic sensor modules 24 and 25 are each formed by packaging four magnetoresistive elements 31 to 34 and 35 to 38 as their magnetic detection means together with their peripheral circuits. Is formed. The first and second magnetic sensor modules 24 and 25 are provided such that the horizontal direction in FIG. 12A is the select direction, and the vertical direction in FIG. 12A is the shift direction. Yes. In the present embodiment, the eight magnetoresistive elements 31 to 38 are arranged so that the combination of the binarized signals S1 to S8 output corresponding to the position of the magnet 23 conforms to the extended Hamming code. Has been.

第1及び第2磁気センサモジュール24,25は、ケース7内において、当該第1及び第2磁気センサモジュール24,25の中心位置とシフトレバー3がニュートラル位置Nに配置された場合のマグネット23の中心Mとが一致するように配置されている。第1及び第2磁気センサモジュール24,25の磁気抵抗素子31〜34,35〜38は、マグネット23が移動する際のその移動中心(中心Mの移動軌跡)を挟んで対をなすように配置されている。具体的には、第1磁気センサモジュール24の第1磁気抵抗素子31は同図12(a)における左上側の角部に、第2磁気抵抗素子32は同図12(a)における左下側の角部に、第3磁気抵抗素子33は同図12(a)における右上側の角部に、第4磁気抵抗素子34は同図12(a)における右下側の角部にそれぞれ設けられている。また、第2磁気センサモジュール25の第5磁気抵抗素子35は同図12(a)における左上側の角部に、第6磁気抵抗素子36は同図12(a)における左下側の角部に、第7磁気抵抗素子37は同図12(a)における右上側の角部に、第8磁気抵抗素子38は同図12(a)における右下側の角部にそれぞれ設けられている。また、第1〜第4磁気抵抗素子31〜34及び第5〜第8磁気抵抗素子35〜38は、移動平面Qに直交する方向からみて重なるように配置されている(図12(b)参照)。   The first and second magnetic sensor modules 24 and 25 are arranged in the case 7 so that the center position of the first and second magnetic sensor modules 24 and 25 and the magnet 23 in the case where the shift lever 3 is disposed at the neutral position N. The center M is arranged so as to coincide. The magnetoresistive elements 31 to 34 and 35 to 38 of the first and second magnetic sensor modules 24 and 25 are arranged so as to make a pair with the movement center (movement locus of the center M) when the magnet 23 moves. Has been. Specifically, the first magnetoresistive element 31 of the first magnetic sensor module 24 is at the upper left corner in FIG. 12A, and the second magnetoresistive element 32 is at the lower left side in FIG. 12A. The third magnetoresistive element 33 is provided at the upper right corner in FIG. 12A, and the fourth magnetoresistive element 34 is provided at the lower right corner in FIG. 12A. Yes. The fifth magnetoresistive element 35 of the second magnetic sensor module 25 is at the upper left corner in FIG. 12A, and the sixth magnetoresistive element 36 is at the lower left corner in FIG. 12A. The seventh magnetoresistive element 37 is provided at the upper right corner in FIG. 12A, and the eighth magnetoresistive element 38 is provided at the lower right corner in FIG. 12A. The first to fourth magnetoresistive elements 31 to 34 and the fifth to eighth magnetoresistive elements 35 to 38 are arranged so as to overlap each other when viewed from the direction orthogonal to the moving plane Q (see FIG. 12B). ).

本実施の形態では、上述したように、マグネット23は、移動平面Qに直交する方向に着磁されているため、磁気抵抗素子31〜34,35〜38の検知面を含む平面Q1には、該マグネット23の中心軸を中心とする放射状の磁束が形成される。従って、図12(a)に示すように、マグネット23の中心軸(中心M)に対して左下側の領域にある第2及び第6磁気抵抗素子32,36と右上側の領域にある第3及び第7磁気抵抗素子33,37には、矢印A1方向に沿った方向の磁界が付与される。また、マグネット23の中心軸に対して左上側の領域にある第1及び第5磁気抵抗素子31,35と右下側の領域にある第4及び第8磁気抵抗素子34,38には、矢印A2方向に沿った方向の磁界が付与される。即ち、磁気抵抗素子31〜34,35〜38の検知面を含む平面Q1においてマグネット23の移動中心を挟んで対をなす2つの領域において、マグネット23によって付与される磁束の方向が、その中心Mよりもその移動方向一側の領域と他側の領域とでそれぞれ異なる。   In the present embodiment, as described above, since the magnet 23 is magnetized in the direction orthogonal to the moving plane Q, the plane Q1 including the detection surfaces of the magnetoresistive elements 31 to 34 and 35 to 38 includes A radial magnetic flux centering on the central axis of the magnet 23 is formed. Accordingly, as shown in FIG. 12A, the second and sixth magnetoresistive elements 32 and 36 in the lower left region with respect to the central axis (center M) of the magnet 23 and the third in the upper right region. A magnetic field in the direction along the arrow A1 direction is applied to the seventh magnetoresistive elements 33 and 37. The first and fifth magnetoresistive elements 31 and 35 in the upper left region with respect to the central axis of the magnet 23 and the fourth and eighth magnetoresistive elements 34 and 38 in the lower right region have arrows. A magnetic field in a direction along the A2 direction is applied. That is, in the two regions that form a pair across the moving center of the magnet 23 in the plane Q1 including the detection surfaces of the magnetoresistive elements 31 to 34 and 35 to 38, the direction of the magnetic flux applied by the magnet 23 is the center M. The region on the one side in the moving direction is different from the region on the other side.

各磁気抵抗素子31〜34,35〜38は、例えば4つの磁気抵抗がブリッジ状に接続されてなるいわゆるMRセンサが採用可能である。磁気抵抗の抵抗値は、与えられる磁界(正確には、磁束の向き)に応じて変化する。第1〜第8磁気抵抗素子31〜38は、前述したブリッジ状の回路の中点電位(検出信号)を図示しないコンパレータに入力することにより、それらの検知面に付与される磁束の方向に応じた「0」又は「1」の値を有する二値化信号を生成し、該二値化信号を出力する。本実施の形態では、第1磁気センサモジュール24の第1〜第4磁気抵抗素子31〜34は、自身に付与される磁束の方向がシフト方向に対して−45度(+135度)の角度をなす時に最小値(ボトム)を、シフト方向に対して+45度(+225度)の角度をなす時に最大値(ピーク)をとる、周期が180度のアナログ信号を出力する。従って、第1〜第4磁気抵抗素子31〜34の信号波形は、図12(a)において矢印A1方向に沿った磁束が付与された場合に最小値(ボトム)を、逆に同図12(a)において矢印A2方向に沿った磁束が付与された場合に最大値(ピーク)をとる。一方、第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38は、自身に付与される磁束の方向がシフト方向に対して−45度(+135度)の角度をなす時に最大値(ピーク)を、シフト方向に対して+45度(+225度)の角度をなす時に最小値(ボトム)をとる、周期が180度のアナログ信号を出力する。従って、第5〜第8磁気抵抗素子35〜38の信号波形は、図12(a)において矢印A1方向に沿った磁束が付与された場合に最大値(ピーク)を、逆に同図12(a)において矢印A2方向に沿った磁束が付与された場合に最小値(ボトム)をとる。即ち、第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38は、第1磁気センサモジュール24の第1〜第4磁気抵抗素子31〜34の検出信号の正負をそれぞれ反転した値の検出信号を出力する。図示しないコンパレータは、各磁気抵抗素子31〜38から出力された中点電位(検出信号)と予め設定された閾値とを比較し、二値化信号を生成する。この閾値は、マグネット23の中心がその移動方向において各磁気抵抗素子31〜38の一側にあるか他側にあるかを判別するためのものである。本実施の形態では、各磁気抵抗素子31〜38に対してシフト方向若しくはセレクト方向に沿った方向の磁束が付与された場合に各磁気抵抗素子31〜38から出力される検出信号の値が、閾値として予め設定されている。前記コンパレータは、各磁気抵抗素子31〜38から出力された検出信号と、予め設定された閾値とを比較し、検出信号が閾値よりも大きい場合は「1」、検出信号が閾値よりも小さい場合は「0」の値を有する二値化信号S1〜S8を生成し、出力する。   For each of the magnetoresistive elements 31 to 34 and 35 to 38, for example, a so-called MR sensor in which four magnetoresistors are connected in a bridge shape can be employed. The resistance value of the magnetoresistive changes according to the applied magnetic field (more precisely, the direction of the magnetic flux). The first to eighth magnetoresistive elements 31 to 38 input the midpoint potential (detection signal) of the bridge-shaped circuit described above to a comparator (not shown), thereby depending on the direction of the magnetic flux applied to their detection surfaces. A binarized signal having a value of “0” or “1” is generated and the binarized signal is output. In the present embodiment, the first to fourth magnetoresistive elements 31 to 34 of the first magnetic sensor module 24 have an angle of −45 degrees (+135 degrees) with respect to the shift direction in the direction of the magnetic flux applied thereto. An analog signal having a period of 180 degrees, which takes a minimum value (bottom) when making an angle and takes a maximum value (peak) when forming an angle of +45 degrees (+225 degrees) with respect to the shift direction, is output. Accordingly, the signal waveforms of the first to fourth magnetoresistive elements 31 to 34 have the minimum value (bottom) when the magnetic flux along the direction of the arrow A1 in FIG. When a magnetic flux along the direction of arrow A2 is applied in a), the maximum value (peak) is taken. On the other hand, the fifth to eighth magnetoresistive elements 35 to 38 of the second magnetic sensor module 25 have a maximum value when the direction of the magnetic flux applied thereto forms an angle of −45 degrees (+135 degrees) with respect to the shift direction. When the (peak) is at an angle of +45 degrees (+225 degrees) with respect to the shift direction, an analog signal having a minimum value (bottom) and a period of 180 degrees is output. Accordingly, the signal waveforms of the fifth to eighth magnetoresistive elements 35 to 38 have the maximum values (peaks) when the magnetic flux along the direction of the arrow A1 in FIG. When a magnetic flux is applied along the direction of arrow A2 in a), the minimum value (bottom) is taken. That is, the fifth to eighth magnetoresistive elements 35 to 38 of the second magnetic sensor module 25 are values obtained by inverting the positive and negative of the detection signals of the first to fourth magnetoresistive elements 31 to 34 of the first magnetic sensor module 24, respectively. The detection signal is output. A comparator (not shown) compares the midpoint potential (detection signal) output from each of the magnetoresistive elements 31 to 38 with a preset threshold value, and generates a binarized signal. This threshold value is for determining whether the center of the magnet 23 is on one side or the other side of each of the magnetoresistive elements 31 to 38 in the moving direction. In the present embodiment, the value of the detection signal output from each of the magnetoresistive elements 31 to 38 when a magnetic flux in the direction along the shift direction or the select direction is applied to each of the magnetoresistive elements 31 to 38. It is preset as a threshold value. The comparator compares the detection signal output from each of the magnetoresistive elements 31 to 38 with a preset threshold value. When the detection signal is larger than the threshold value, “1”, and when the detection signal is smaller than the threshold value Generates and outputs binarized signals S1 to S8 having a value of “0”.

図13に示すように、各磁気抵抗素子31〜38は、車両側の図示しないコネクタに対する前記コネクタ部8の連結に基づきそのコネクタ端子8aが車両側の図示しないコネクタ端子に接続されることで、ケース7の外部に設けられた演算手段としてのコントローラ39に個別に電気的に接続される。第1及び第2磁気センサモジュール24,25の電源線24a,25a及び接地線24b,25bは、磁気センサモジュール24,25毎に個別に設けられている。また、前記パーキングスイッチ3bは、磁気抵抗素子31〜38と同様、車両側のコネクタに対する前記コネクタ部8の連結に基づき、コントローラ39に電気的に接続される。   As shown in FIG. 13, each of the magnetoresistive elements 31 to 38 is connected to a connector terminal (not shown) on the vehicle side based on the connection of the connector portion 8 to a connector (not shown) on the vehicle side. Individually connected to a controller 39 as a calculation means provided outside the case 7. The power supply lines 24 a and 25 a and the ground lines 24 b and 25 b of the first and second magnetic sensor modules 24 and 25 are individually provided for the magnetic sensor modules 24 and 25. The parking switch 3b is electrically connected to the controller 39 based on the connection of the connector portion 8 to the vehicle-side connector, like the magnetoresistive elements 31 to 38.

コントローラ39は、具体的には図示しないCPU、ROM、RAM等からなるコンピュータユニットであり、第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせに基づいて、前記移動平面Qにおけるマグネット23の位置を検出し、シフトレバー3の位置を検出する。また、コントローラ39は、パーキングスイッチ3bから出力される操作信号S9に基づいて該パーキングスイッチ3bの押圧操作を検出する。そして、コントローラ39は、その検出結果に基づいて、図示しない車両の自動変速機の接続状態を切り替える。   Specifically, the controller 39 is a computer unit including a CPU, a ROM, a RAM, and the like (not shown), and is based on a combination of binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38. The position of the magnet 23 on the moving plane Q is detected, and the position of the shift lever 3 is detected. Further, the controller 39 detects the pressing operation of the parking switch 3b based on the operation signal S9 output from the parking switch 3b. And the controller 39 switches the connection state of the automatic transmission of the vehicle which is not shown based on the detection result.

ここで、シフトレバー3(マグネット23)の位置に応じて磁気抵抗素子31〜38から出力される二値化信号S1〜S8の組み合わせについて説明する。
上述したように、マグネット23は、移動平面Qに直交する方向に着磁されているため、磁気抵抗素子31〜38の検知面を含む平面Q1には、該マグネット23の中心軸を中心とする放射状の磁束が形成される。第1〜第8磁気抵抗素子31〜38は、マグネット23の中心Mの位置に応じた値の二値化信号S1〜S8を出力する。
Here, combinations of the binarized signals S1 to S8 output from the magnetoresistive elements 31 to 38 in accordance with the position of the shift lever 3 (magnet 23) will be described.
As described above, since the magnet 23 is magnetized in the direction orthogonal to the moving plane Q, the plane Q1 including the detection surfaces of the magnetoresistive elements 31 to 38 is centered on the central axis of the magnet 23. Radial magnetic flux is formed. The first to eighth magnetoresistive elements 31 to 38 output binarized signals S1 to S8 having values corresponding to the position of the center M of the magnet 23.

例えばシフトレバー3が中立位置Tにある場合、図14に示すように、マグネット23の中心Mは、第1及び第2磁気センサモジュール24,25の中心よりもセレクト方向において後側の位置P2に配置される。この場合、第1磁気センサモジュール24の第1磁気抵抗素子31の二値化信号S1の値は「0」、第2磁気抵抗素子32の二値化信号S2の値は「1」、第3磁気抵抗素子33の二値化信号S3の値は「0」、第4磁気抵抗素子34の二値化信号S4の値は「1」となる。また、第2磁気センサモジュール25の第5磁気抵抗素子35の二値化信号S5の値は「1」、第6磁気抵抗素子36の二値化信号S6の値は「0」、第7磁気抵抗素子37の二値化信号S7の値は「1」、第8磁気抵抗素子38の二値化信号S8の値は「0」となる。   For example, when the shift lever 3 is in the neutral position T, as shown in FIG. 14, the center M of the magnet 23 is located at the rear position P2 in the select direction with respect to the centers of the first and second magnetic sensor modules 24 and 25. Be placed. In this case, the value of the binarized signal S1 of the first magnetoresistive element 31 of the first magnetic sensor module 24 is “0”, the value of the binarized signal S2 of the second magnetoresistive element 32 is “1”, the third The value of the binarized signal S3 of the magnetoresistive element 33 is “0”, and the value of the binarized signal S4 of the fourth magnetoresistive element 34 is “1”. The value of the binarized signal S5 of the fifth magnetoresistive element 35 of the second magnetic sensor module 25 is “1”, the value of the binarized signal S6 of the sixth magnetoresistive element 36 is “0”, and the seventh magnetic The value of the binarized signal S7 of the resistor element 37 is “1”, and the value of the binarized signal S8 of the eighth magnetoresistive element 38 is “0”.

また、シフトレバー3がニュートラル位置Nに操作されると、マグネット23の中心Mは、第1及び第2磁気センサモジュール24,25の中心と一致する位置P5に配置される。この場合、第1磁気センサモジュール24の第1磁気抵抗素子31の二値化信号S1の値は「1」、第2磁気抵抗素子32の二値化信号S2の値は「0」、第3磁気抵抗素子33の二値化信号S3の値は「0」、第4磁気抵抗素子34の二値化信号S4の値は「1」となる。また、第2磁気センサモジュール25の第5磁気抵抗素子35の二値化信号S5の値は「0」、第6磁気抵抗素子36の二値化信号S6の値は「1」、第7磁気抵抗素子37の二値化信号S7の値は「1」、第8磁気抵抗素子38の二値化信号S8の値は「0」となる。   When the shift lever 3 is operated to the neutral position N, the center M of the magnet 23 is disposed at a position P5 that coincides with the centers of the first and second magnetic sensor modules 24 and 25. In this case, the value of the binarized signal S1 of the first magnetoresistive element 31 of the first magnetic sensor module 24 is “1”, the value of the binarized signal S2 of the second magnetoresistive element 32 is “0”, the third The value of the binarized signal S3 of the magnetoresistive element 33 is “0”, and the value of the binarized signal S4 of the fourth magnetoresistive element 34 is “1”. Further, the value of the binarized signal S5 of the fifth magnetoresistive element 35 of the second magnetic sensor module 25 is “0”, the value of the binarized signal S6 of the sixth magnetoresistive element 36 is “1”, and the seventh magnetic The value of the binarized signal S7 of the resistor element 37 is “1”, and the value of the binarized signal S8 of the eighth magnetoresistive element 38 is “0”.

また、シフトレバー3がリバース位置Rに操作されると、マグネット23の中心Mは、第1及び第2磁気センサモジュール24,25の中心よりもシフト方向において下側の位置P6に配置される。この場合、第1磁気センサモジュール24の第1磁気抵抗素子31の二値化信号S1の値は「1」、第2磁気抵抗素子32の二値化信号S2の値は「1」、第3磁気抵抗素子33の二値化信号S3の値は「0」、第4磁気抵抗素子34の二値化信号S4の値は「0」となる。また、第2磁気センサモジュール25の第5磁気抵抗素子35の二値化信号S5の値は「0」、第6磁気抵抗素子36の二値化信号S6の値は「0」、第7磁気抵抗素子37の二値化信号S7の値は「1」、第8磁気抵抗素子38の二値化信号S8の値は「1」となる。   When the shift lever 3 is operated to the reverse position R, the center M of the magnet 23 is disposed at a position P6 that is lower in the shift direction than the centers of the first and second magnetic sensor modules 24 and 25. In this case, the value of the binarized signal S1 of the first magnetoresistive element 31 of the first magnetic sensor module 24 is “1”, the value of the binarized signal S2 of the second magnetoresistive element 32 is “1”, the third The value of the binarized signal S3 of the magnetoresistive element 33 is “0”, and the value of the binarized signal S4 of the fourth magnetoresistive element 34 is “0”. The value of the binarized signal S5 of the fifth magnetoresistive element 35 of the second magnetic sensor module 25 is “0”, the value of the binarized signal S6 of the sixth magnetoresistive element 36 is “0”, and the seventh magnetic The value of the binarized signal S7 of the resistive element 37 is “1”, and the value of the binarized signal S8 of the eighth magnetoresistive element 38 is “1”.

また、シフトレバー3がドライブ位置Dに操作されると、マグネット23の中心Mは、第1及び第2磁気センサモジュール24,25の中心よりもシフト方向において上側の位置P4に配置される。この場合、第1磁気センサモジュール24の第1磁気抵抗素子31の二値化信号S1の値は「0」、第2磁気抵抗素子32の二値化信号S2の値は「0」、第3磁気抵抗素子33の二値化信号S3の値は「1」、第4磁気抵抗素子34の二値化信号S4の値は「1」となる。また、第2磁気センサモジュール25の第5磁気抵抗素子35の二値化信号S5の値は「1」、第6磁気抵抗素子36の二値化信号S6の値は「1」、第7磁気抵抗素子37の二値化信号S7の値は「0」、第8磁気抵抗素子38の二値化信号S8の値は「0」となる。   Further, when the shift lever 3 is operated to the drive position D, the center M of the magnet 23 is disposed at a position P4 above the center of the first and second magnetic sensor modules 24 and 25 in the shift direction. In this case, the value of the binarized signal S1 of the first magnetoresistive element 31 of the first magnetic sensor module 24 is “0”, the value of the binarized signal S2 of the second magnetoresistive element 32 is “0”, the third The value of the binarized signal S3 of the magnetoresistive element 33 is “1”, and the value of the binarized signal S4 of the fourth magnetoresistive element 34 is “1”. The value of the binarized signal S5 of the fifth magnetoresistive element 35 of the second magnetic sensor module 25 is “1”, the value of the binarized signal S6 of the sixth magnetoresistive element 36 is “1”, and the seventh magnetic The value of the binarized signal S7 of the resistance element 37 is “0”, and the value of the binarized signal S8 of the eighth magnetoresistive element 38 is “0”.

このように、シフトレバー3の位置のそれぞれにおいて、第1センサモジュール24の第1〜第4磁気抵抗素子31〜34から出力される二値化信号S1〜S4の組み合わせと、第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38から出力される二値化信号S5〜S8の組み合わせとが全て異なる。コントローラ39のメモリ39aには、シフトレバー3の位置に対応するマグネット23の位置P2,P4,P5,P6と、第1〜第8磁気抵抗素子31〜38からの二値化信号の組み合わせとが関連付けて記憶されている。コントローラ39は、第1〜第8磁気抵抗素子31〜38からの二値化信号S1〜S8の組み合わせに基づいて、シフトレバー3の操作位置を検知する。また、上述したように、第1及び第2磁気センサモジュール24,25の電源線24a,25a及び接地線24b,25bは、磁気センサモジュール24,25毎に個別に設けられている。一方の磁気センサモジュール24,25の電源線24a,25a又は接地線24b,25bが断線した場合、コントローラ39は、他方の磁気センサモジュール24,25から出力される二値化信号の組み合わせに基づいてシフトレバー3の操作位置を検知する。   Thus, in each of the positions of the shift lever 3, the combination of the binarized signals S1 to S4 output from the first to fourth magnetoresistive elements 31 to 34 of the first sensor module 24 and the second magnetic sensor module. The combinations of the binarized signals S5 to S8 output from the 25th to 8th magnetoresistive elements 35 to 38 are all different. In the memory 39a of the controller 39, positions P2, P4, P5 and P6 of the magnet 23 corresponding to the position of the shift lever 3 and combinations of binarized signals from the first to eighth magnetoresistive elements 31 to 38 are stored. It is stored in association. The controller 39 detects the operation position of the shift lever 3 based on the combination of the binarized signals S1 to S8 from the first to eighth magnetoresistive elements 31 to 38. Further, as described above, the power supply lines 24 a and 25 a and the ground lines 24 b and 25 b of the first and second magnetic sensor modules 24 and 25 are individually provided for the magnetic sensor modules 24 and 25. When the power supply line 24a, 25a or the ground line 24b, 25b of one magnetic sensor module 24, 25 is disconnected, the controller 39 is based on the combination of binarized signals output from the other magnetic sensor module 24, 25. The operating position of the shift lever 3 is detected.

また、セレクト方向及びシフト方向においてそれぞれ複数箇所におけるマグネット23の位置毎に各磁気抵抗素子31〜38から出力される二値化信号S1〜S8の組み合わせが全て異なる。従って、コントローラ39のメモリ39aに、マグネット23の位置P1〜P7と、第1〜第8磁気抵抗素子31〜38からの二値化信号の組み合わせとを関連付けて記憶することにより、セレクト方向及びシフト方向においてそれぞれ複数箇所におけるマグネット23の位置を検出することができる。なお、図15に示すように、マグネット23を7つの位置に配置した場合において第1〜第8磁気抵抗素子31〜38から出力される二値化信号S1〜S8の組み合わせがそれぞれ異なるため、本実施の形態では、シフトレバー3の操作位置を最大で7箇所設定することができる。なお、図15では、第1〜第8磁気抵抗素子31〜38をそれぞれ「MR1」〜「MR8」という文字で表記している。   Further, all combinations of the binarized signals S1 to S8 output from the magnetoresistive elements 31 to 38 are different for each position of the magnet 23 at a plurality of positions in the select direction and the shift direction. Therefore, by selecting the positions P1 to P7 of the magnet 23 and the combinations of the binarized signals from the first to eighth magnetoresistive elements 31 to 38 in association with each other in the memory 39a of the controller 39, the select direction and shift The positions of the magnets 23 at a plurality of locations in the direction can be detected. As shown in FIG. 15, when the magnets 23 are arranged at seven positions, the combinations of the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 are different. In the embodiment, up to seven operation positions of the shift lever 3 can be set. In FIG. 15, the first to eighth magnetoresistive elements 31 to 38 are represented by letters “MR1” to “MR8”, respectively.

ところで、第1〜第8磁気抵抗素子31〜38から出力される二値化信号S1〜S8が正常な場合、その組み合わせは、予め想定されるマグネット23の位置に対応する二値化信号の組み合わせの何れかにあてはまる。従って、第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせが予め想定される二値化信号の組み合わせに当てはまらない場合、マグネット23の位置に対して第1〜第8磁気抵抗素子31〜38から出力される二値化信号S1〜S8が正常ではない。   By the way, when the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 are normal, the combination is a combination of binarized signals corresponding to the position of the magnet 23 assumed in advance. It applies to either. Therefore, when the combination of the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 does not apply to the combination of the binarized signals assumed in advance, the position of the magnet 23 is The binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 are not normal.

このように構成される本実施形態の操作位置検出装置20において、第1〜第8磁気抵抗素子31〜38は、それらから出力される二値化信号の組み合わせがハミング符号に準拠したものとなるように設けられている。ハミング符号とは、データ通信の際に通信路で生ずる符号誤りを訂正し通信の信頼性を高めるための手法として用いられるものである。本実施の形態では、このハミング符号を用いることにより、マグネット23の位置に対応する「正常な二値化信号の組み合わせ」に対する、第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせの1つの誤りを訂正することが可能となっている。前記自動変速機の接続状態を切り替えるに際して、マグネット23の位置に対する二値化信号S1〜S8の組み合わせの誤りの有無を判定し、誤りがある旨を判定した場合には、その誤りを訂正する。そして、コントローラ39は、訂正した二値化信号の組み合わせに基づいてマグネット23の位置を判断し、図示しない車両の自動変速機の接続状態を、マグネット23の位置に応じた接続状態に切り替える。また、マグネット23の位置に対応する「正常な二値化信号の組み合わせ」に対する第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせの1つの誤りや2つの誤りを検知ことが可能となっている。第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせの1つ若しくは2つの誤りを検知した場合、コントローラ39は、図示しない報知装置(例えばインジケータランプ)を通じて、その旨を報知する。また、コントローラ39は、第1〜第8磁気抵抗素子31〜38から出力された二値化信号S1〜S8の組み合わせの誤りを訂正不能と判断した場合、前記自動変速機の接続状態をニュートラルに切り替える。   In the operation position detection device 20 of the present embodiment configured as described above, the first to eighth magnetoresistive elements 31 to 38 have combinations of binarized signals output from them that conform to the Hamming code. It is provided as follows. The Hamming code is used as a technique for correcting a code error that occurs in a communication channel during data communication and improving communication reliability. In the present embodiment, by using this Hamming code, the binary values output from the first to eighth magnetoresistive elements 31 to 38 for the “normal combination of binarized signals” corresponding to the position of the magnet 23 are used. It is possible to correct one error of the combination of the digitized signals S1 to S8. When switching the connection state of the automatic transmission, it is determined whether or not there is an error in the combination of the binarized signals S1 to S8 with respect to the position of the magnet 23. If it is determined that there is an error, the error is corrected. Then, the controller 39 determines the position of the magnet 23 based on the corrected combination of binarized signals, and switches the connection state of the automatic transmission of the vehicle (not shown) to the connection state corresponding to the position of the magnet 23. Further, one error or 2 in the combination of the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 with respect to the “normal binarized signal combination” corresponding to the position of the magnet 23. It is possible to detect two errors. When one or two errors in the combination of the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 are detected, the controller 39 passes through a not-shown notification device (for example, an indicator lamp). , To that effect. Further, when the controller 39 determines that the combination error of the binarized signals S1 to S8 output from the first to eighth magnetoresistive elements 31 to 38 is uncorrectable, the connection state of the automatic transmission is set to neutral. Switch.

ここで、このハミング符号についてその概要を説明する。
ハミング符号は、送信したい情報ビット(データビット)に冗長ビット(チェックビット)を付加したものであり、ある整数mに対し、
符号長:n=2−1
情報数:k=n−m
で構成される。ここで、情報数kは、情報ビットのビット数であり、符号長nは、1つの符号を構成するビット数である。
Here, an outline of the Hamming code will be described.
A Hamming code is obtained by adding redundant bits (check bits) to information bits (data bits) to be transmitted.
Code length: n = 2 m −1
Number of information: k = nm
Consists of. Here, the number of information k is the number of information bits, and the code length n is the number of bits constituting one code.

送信したい情報ビットをハミング符号に符号化したり、受信した符号を復号化したりする際には、検査行列H及び生成行列Gを用いて処理が行われる。検査行列Hは、m行n列の行列で、全ての列要素が0ではなく、且つ、相違であるという条件を満たすものである。一方、生成行列Gは、検査行列Hとの間で以下の式(1)を満たし、且つ0ではない行列である。   When encoding information bits to be transmitted into a Hamming code or decoding a received code, processing is performed using a check matrix H and a generator matrix G. The check matrix H is a matrix of m rows and n columns, and satisfies the condition that all column elements are not 0 and are different. On the other hand, the generator matrix G is a matrix that satisfies the following expression (1) with the check matrix H and is not 0.

Figure 0005048574
なお、Gは、生成行列Gの転置行列であり、Hは、検査行列Hの転置行列である。検査行列H及び生成行列Gの一例を、図16に示す。
Figure 0005048574
G T is a transposed matrix of the generator matrix G, and H T is a transposed matrix of the check matrix H. An example of the check matrix H and the generator matrix G is shown in FIG.

情報をハミング符号に符号化する際には、生成行列Gと送信したいデータのビット列xとの乗算を行う。なお、各行列計算において用いられる加算は全て排他的論理和となる。一方、受信した符号を復号化する際には、検査行列Hと受信した符号との積を求め復号化する。なお、この場合も、各行列計算において用いられる加算は全て排他的論理和となる。ここで、受信側で受信した符号をYとすると、Yに誤りが存在しない場合、Yは以下の式(2)のようになる。   When encoding information into a Hamming code, the generator matrix G is multiplied by the bit string x of the data to be transmitted. In addition, all the additions used in each matrix calculation are exclusive OR. On the other hand, when decoding the received code, the product of the check matrix H and the received code is obtained and decoded. In this case as well, all the additions used in each matrix calculation are exclusive OR. Here, assuming that the code received on the receiving side is Y, when there is no error in Y, Y is expressed by the following equation (2).

Figure 0005048574
この受信した符号Yと、検査行列Hの転置行列との積は、式(1)より、以下の式(3)のようになる。
Figure 0005048574
The product of the received code Y and the transposed matrix of the check matrix H is expressed by the following formula (3) from the formula (1).

Figure 0005048574
即ち、受信した符号と検査行列の積が0(ゼロベクトル)であるなら誤りを含まないことになり、0でないなら誤りを含むことになる。
Figure 0005048574
That is, if the product of the received code and the check matrix is 0 (zero vector), no error is included, and if it is not 0, an error is included.

ここで、例えば、受信した符号Yが1ビットの誤りを含むとする。この場合、この受信した符号Yは以下の式(4)のように表される。   Here, for example, it is assumed that the received code Y includes a 1-bit error. In this case, the received code Y is expressed as the following equation (4).

Figure 0005048574
なお、eは誤りベクトルであり、i番目のビットが1、それ以外のビットが0のビット列である。
Figure 0005048574
Ei is an error vector, and is a bit string in which the i-th bit is 1 and the other bits are 0.

このとき、受信した符号Yと検査行列の転置行列Hとの積は、以下の式(5)のようになる。なお、各行列計算において用いられる加算は全て排他的論理和となる。 At this time, the product of the received code Y and the transposed matrix H T of the check matrix is expressed by the following equation (5). In addition, all the additions used in each matrix calculation are exclusive OR.

Figure 0005048574
ここで、eはi番目のビットのみが1であるので、検査行列Hのi番目の列が出力されることになる。従って、この出力(以下、シンドロームという。)が検査行列Hの何列目と一致するかを比べることにより、送信された符号に対する受信した符号の誤りの位置が検出され、その部分のビットを反転することで誤りを訂正することができる。なお、誤り信号位置情報としてのシンドロームと誤りベクトルとの関係を図17に示す。図17では、i番目のビットの値が誤っている(反転している)ことを、eという文字で表している。誤りがない場合、シンドロームはゼロベクトル(0000)となる。また、1つの誤りが発生している場合(反転している場合)、シンドロームはゼロベクトルではなく、該シンドロームと単一の誤り信号の位置とが一対一で対応する。また、2つの誤りが発生している場合、シンドロームはゼロベクトルではなく、該シンドロームに対して複数組(この場合4組)の誤り信号の位置が対応する。従って、2つの誤りを検知することはできるが、該二値化信号の誤りを訂正することはできない。
Figure 0005048574
Here, since only the i-th bit of e i is 1, the i-th column of the check matrix H is output. Therefore, the position of the error of the received code with respect to the transmitted code is detected by comparing with what column of the check matrix H this output (hereinafter referred to as syndrome) matches, and the bit of that portion is inverted. By doing so, the error can be corrected. FIG. 17 shows the relationship between the syndrome as error signal position information and the error vector. In FIG. 17, the fact that the value of the i-th bit is incorrect (inverted) is represented by the letter e i . If there is no error, the syndrome is a zero vector (0000). When one error has occurred (inverted), the syndrome is not a zero vector, and the syndrome and the position of a single error signal have a one-to-one correspondence. When two errors occur, the syndrome is not a zero vector, and the positions of a plurality of sets (in this case, four sets) of error signals correspond to the syndrome. Therefore, two errors can be detected, but the error of the binarized signal cannot be corrected.

本実施形態にかかる操作位置検出装置20では、このようなハミング符号を用いるにあたり、図15の左側の表のように各磁気抵抗素子31〜38から出力された二値化信号S1〜S8を、同図15の右側の表のように並べる(割り当てる)ことにより、上述したハミング符号に符号全体のパリティビットを付加した拡張ハミング符号に準拠する二値化信号の組み合わせを生成している。なお、図15の右側の表は、マグネット23を7つの位置に配置した場合にそれぞれ出力される二値化信号S1〜S8の組み合わせを拡張ハミング符号に準拠するように割り当てた表である。   In the operation position detection device 20 according to the present embodiment, when such a Hamming code is used, the binarized signals S1 to S8 output from the magnetoresistive elements 31 to 38 as shown in the left table of FIG. By arranging (assigning) as shown in the table on the right side of FIG. 15, a combination of binary signals conforming to the extended Hamming code in which the parity bit of the entire code is added to the Hamming code described above is generated. The table on the right side of FIG. 15 is a table in which combinations of binarized signals S1 to S8 output when the magnets 23 are arranged at seven positions are assigned so as to comply with the extended Hamming code.

具体的には、本例では、8つの磁気抵抗素子31〜38から出力された二値化信号を、それぞれ拡張ハミング符号を構成する4つのデータビット、3つのチェックビット、及び1つのパリティビットの値として割り当てている。なお、第1〜第3チェックビットC1〜C3と、第1〜第4データビットD1〜D4との間に、以下の式(6)〜(8)に示すような関係が成立するように割り当てている。   Specifically, in this example, the binarized signals output from the eight magnetoresistive elements 31 to 38 are respectively converted into four data bits, three check bits, and one parity bit constituting the extended Hamming code. Assigned as a value. The first to third check bits C1 to C3 and the first to fourth data bits D1 to D4 are assigned so that the relationships shown in the following equations (6) to (8) are established. ing.

Figure 0005048574
本実施の形態では、第8,第7,第2,第4磁気抵抗素子38,37,32,34から出力される二値化信号S8,S7,S2,S4を、それぞれ第1〜第4データビットD1〜D4に割り当てている。また、第5、第3,第6磁気抵抗素子35,33,36から出力される二値化信号S5,S3,S6を、それぞれ第1〜第3チェックビットC1〜C3に割り当てている。なお、第1〜第4データビットD1〜D4が、マグネット23の位置情報である位置符号に相当し、第1〜第3チェックビットC1〜C3が、マグネット23の位置に対する二値化信号の組み合わせの1つの誤りを訂正するための誤り訂正符号に相当する。また、二値化信号の組み合わせは、「1」であるビット数が常に偶数となるように変化する。本実施の形態では、第1磁気抵抗素子31から出力される二値化信号S1を、パリティビットC4に割り当てている。なお、パリティビットC4が、マグネット23の位置に対する二値化信号の組み合わせの2つの誤りを検知するための誤り検知符号に相当する。
Figure 0005048574
In the present embodiment, the binarized signals S8, S7, S2, and S4 output from the eighth, seventh, second, and fourth magnetoresistive elements 38, 37, 32, and 34 are first to fourth, respectively. Data bits D1 to D4 are assigned. Also, the binarized signals S5, S3, and S6 output from the fifth, third, and sixth magnetoresistance elements 35, 33, and 36 are assigned to the first to third check bits C1 to C3, respectively. The first to fourth data bits D1 to D4 correspond to position codes that are position information of the magnet 23, and the first to third check bits C1 to C3 are combinations of binarized signals with respect to the position of the magnet 23. This corresponds to an error correction code for correcting one error. The combination of the binarized signals changes so that the number of bits “1” is always an even number. In the present embodiment, the binarized signal S1 output from the first magnetoresistive element 31 is assigned to the parity bit C4. The parity bit C4 corresponds to an error detection code for detecting two errors in the combination of the binarized signals with respect to the position of the magnet 23.

図18に示すように、コントローラ39のメモリ39aには、シンドロームとマグネット23の各位置P1〜P7に対応する正常な二値化信号の組み合わせに対する単一の誤り信号の位置とが関連付けられたシンドロームテーブル41が記憶されている。このシンドロームは、マグネット23の各位置(例えば、シフトレバー3がリバース位置Rにある場合の位置P6)に対応する正常な二値化信号の組み合わせに対する1つの誤り信号に一対一で対応する。即ち、マグネット23の各位置を示す8個の二値化信号S1〜S8の組み合わせにおいて、何れか1つの二値化信号に誤りが生じた場合に生成されるシンドロームは、該誤りが生じた(反転した)二値化信号に割り当てられている磁気抵抗素子31〜38毎に異なる。なお、図18では、誤りが生じた二値化信号に割り当てられている磁気抵抗素子31〜38を「1」とし、正常な二値化信号に割り当てられている磁気抵抗素子31〜38を「0」として表している。マグネット23の位置に対する二値化信号の組み合わせに誤りがない場合は、シンドロームはゼロベクトル(0000)となる。マグネット23の位置に対する二値化信号の組み合わせに1つの二値化信号S1〜S8の誤りが発生している場合(反転している場合)、シンドロームはゼロベクトルではなく、且つシンドロームテーブル41のシンドロームと一致する。また、マグネット23の位置に対する二値化信号の組み合わせに2つの二値化信号S1〜S8の誤りが発生している場合、シンドロームはゼロベクトルではなく、且つシンドロームテーブル41のシンドロームと一致しない。従って、マグネット23の位置に対する二値化信号の組み合わせに2つの二値化信号S1〜S8の誤りを検知することはできるが、該二値化信号の誤りを訂正することはできない。   As shown in FIG. 18, the memory 39a of the controller 39 has a syndrome associated with a syndrome and a position of a single error signal for a combination of normal binarized signals corresponding to the positions P1 to P7 of the magnet 23. A table 41 is stored. This syndrome has a one-to-one correspondence with one error signal for a combination of normal binarization signals corresponding to each position of the magnet 23 (for example, position P6 when the shift lever 3 is in the reverse position R). That is, in the combination of eight binarized signals S1 to S8 indicating each position of the magnet 23, the syndrome generated when an error occurs in any one of the binarized signals has the error ( It differs for each of the magnetoresistive elements 31 to 38 assigned to the binarized signal that has been inverted. In FIG. 18, the magnetoresistive elements 31 to 38 assigned to the binarized signal in which an error has occurred are set to “1”, and the magnetoresistive elements 31 to 38 assigned to the normal binarized signal are set to “1”. 0 ”. When there is no error in the combination of the binarized signals with respect to the position of the magnet 23, the syndrome becomes a zero vector (0000). When an error of one of the binarized signals S1 to S8 occurs in the combination of the binarized signals with respect to the position of the magnet 23 (when inverted), the syndrome is not a zero vector and the syndrome of the syndrome table 41 Matches. Further, when an error occurs in the two binarized signals S1 to S8 in the combination of the binarized signals with respect to the position of the magnet 23, the syndrome is not a zero vector and does not match the syndrome of the syndrome table 41. Therefore, an error in the two binarized signals S1 to S8 can be detected in the combination of the binarized signals with respect to the position of the magnet 23, but the error in the binarized signals cannot be corrected.

前記自動変速機の接続状態を切り替えるに際して、先ず、コントローラ39は、二値化信号の組み合わせと検査行列H(検査行列Hの転置行列H)とをXOR(exclusive OR)演算し、各磁気抵抗素子31〜38から出力された二値化信号の組み合わせから誤り信号位置情報としてのシンドロームを求める。 When switching the connection state of the automatic transmission, first, the controller 39 performs an XOR (exclusive OR) operation on the combination of the binarized signals and the check matrix H (the transposed matrix H T of the check matrix H) to obtain each magnetic resistance. A syndrome as error signal position information is obtained from a combination of binarized signals output from the elements 31 to 38.

ここで、図19に示すように、例えばシンドロームがゼロベクトルであった場合、コントローラ39は、二値化信号S1〜S8の組み合わせに誤りはないと判断し、二値化信号S1〜S8の組み合わせに基づいてマグネット23の位置を判断する。そして、コントローラ39は、その判断結果(検出結果)に基づいて、図示しない車両の自動変速機の接続状態を切り替える。一方、図20に示すように、シンドロームがゼロベクトルでなかった場合、コントローラ39は、該シンドロームとメモリ39aに記憶されているシンドロームテーブル41とを比較し、該シンドロームがシンドロームテーブル41のシンドロームと一致するか否かを判断する。   Here, as shown in FIG. 19, for example, when the syndrome is a zero vector, the controller 39 determines that there is no error in the combination of the binarized signals S1 to S8, and the combination of the binarized signals S1 to S8. The position of the magnet 23 is determined based on the above. And the controller 39 switches the connection state of the automatic transmission of the vehicle which is not shown based on the determination result (detection result). On the other hand, as shown in FIG. 20, when the syndrome is not a zero vector, the controller 39 compares the syndrome with the syndrome table 41 stored in the memory 39a, and the syndrome matches the syndrome in the syndrome table 41. Judge whether to do.

ここで、シンドロームがメモリ39aに記憶されているものと一致する場合、コントローラ39は、該二値化信号の組み合わせに単一誤りがあると判断し、前記シンドロームテーブル41に基づいて当該単一誤りのある二値化信号の組み合わせにおける誤り信号位置を特定し、訂正する。そして、コントローラ39は、訂正した二値化信号の組み合わせに基づいてマグネット23の位置を判断し、図示しない車両の自動変速機の接続状態を、マグネット23の位置に応じた接続状態に切り替える。また、このとき、生成したシンドロームがゼロベクトルではないことから、コントローラ39は、マグネット23の各位置に対する二値化信号の組み合わせの1つの誤りを検知する。二値化信号の組み合わせの1つの誤りすると、コントローラ39は、故障やノイズ等によって1つの磁気検出手段が故障したと判断し、前記報知装置を通じて、その旨を報知する。   Here, if the syndrome matches that stored in the memory 39a, the controller 39 determines that there is a single error in the combination of the binarized signals, and the single error is based on the syndrome table 41. An error signal position in a certain combination of binarized signals is specified and corrected. Then, the controller 39 determines the position of the magnet 23 based on the corrected combination of binarized signals, and switches the connection state of the automatic transmission of the vehicle (not shown) to the connection state corresponding to the position of the magnet 23. At this time, since the generated syndrome is not a zero vector, the controller 39 detects one error in the combination of the binarized signals for each position of the magnet 23. If one of the binarized signal combinations is incorrect, the controller 39 determines that one magnetic detection means has failed due to a failure, noise, or the like, and notifies the fact through the notification device.

一方、シンドロームがゼロベクトルでなく、且つシンドロームテーブル41のシンドロームと一致しない場合、コントローラ39は、2つの磁気抵抗素子31〜38が故障したと判断し、前記報知装置を通じて、その旨を報知するとともに、前記自動変速機の接続状態をニュートラルに切り替える。   On the other hand, if the syndrome is not a zero vector and does not match the syndrome in the syndrome table 41, the controller 39 determines that the two magnetoresistive elements 31 to 38 have failed, and notifies the fact through the notification device. The connection state of the automatic transmission is switched to neutral.

なお、上述したように、本実施の形態では、7箇所(P1〜P7)のマグネット23の位置を検出することが可能となる。このため、この7箇所(P1〜P7)の内からシフトレバー3の操作パターンに応じて該操作位置に対応するマグネット23の位置を選択することにより、本実施の形態のようなT型のみに限らず、h型、H型、十字型等の複数種類の操作パターンに対応することができる。   As described above, in the present embodiment, it is possible to detect the positions of the seven magnets 23 (P1 to P7). For this reason, by selecting the position of the magnet 23 corresponding to the operation position in accordance with the operation pattern of the shift lever 3 from among these seven places (P1 to P7), only the T type as in the present embodiment can be obtained. Not limited to this, a plurality of types of operation patterns such as h-type, H-type, and cross shape can be handled.

次に、このように構成されるシフト装置1の作用について説明する。
図19に示すように、磁気抵抗素子31〜38からの二値化信号S1〜S8が正常である場合、それらの二値化信号の組み合わせに基づいてコントローラ39が生成したシンドロームは、ゼロベクトル(0000)となる。この場合、コントローラ39は、二値化信号S1〜S8の組み合わせに基づいてマグネット23の位置を判断し、図示しない車両の自動変速機の接続状態を切り替える。
Next, the operation of the shift device 1 configured as described above will be described.
As shown in FIG. 19, when the binarized signals S1 to S8 from the magnetoresistive elements 31 to 38 are normal, the syndrome generated by the controller 39 based on the combination of the binarized signals is a zero vector ( 0000). In this case, the controller 39 determines the position of the magnet 23 based on the combination of the binarized signals S1 to S8, and switches the connection state of the automatic transmission of the vehicle (not shown).

ここで、図20に示すように、例えばシフトレバー3がリバース位置Rにある状態で磁気抵抗素子31〜38の故障や、ノイズ等によって、例えば第1磁気抵抗素子31からの二値化信号S1が反転してしまった場合、二値化信号の組み合わせに基づいてコントローラ39が生成したシンドロームは(0111)となり、コントローラ39のメモリ39aに記憶されているシンドロームと一致する。この場合、コントローラ39は、シンドロームテーブル41から該シンドロームに対応する誤りベクトルに基づき二値化信号S1〜S8の組み合わせの誤り信号位置を特定し(ここでは1番目)、その位置のビットを反転する(ここでは、「0」→「1」)。これにより、第1磁気抵抗素子31の二値化信号S1が訂正される。そして、コントローラ39は、訂正された二値化信号の組み合わせに基づいてマグネット23の位置を判断する。このため、故障や、ノイズ等によって1つの磁気抵抗素子31〜38からの二値化信号が反転してしまった場合でも、(単一誤りであれば)マグネット23の位置を正しく判断することができる。よって、磁気抵抗素子31〜38の故障や、ノイズ等による検出誤差によって1つの磁気抵抗素子31〜38の出力電圧が変化することによりシフト位置が誤判断されて前記変速機が不用意に切り替えられてしまうことを抑制することができる。   Here, as shown in FIG. 20, for example, the binarized signal S <b> 1 from the first magnetoresistive element 31 due to a failure of the magnetoresistive elements 31 to 38, noise, or the like when the shift lever 3 is in the reverse position R. Is inverted, the syndrome generated by the controller 39 based on the combination of the binarized signals becomes (0111), which matches the syndrome stored in the memory 39a of the controller 39. In this case, the controller 39 specifies the error signal position of the combination of the binarized signals S1 to S8 based on the error vector corresponding to the syndrome from the syndrome table 41 (here, the first), and inverts the bit at that position. (Here, “0” → “1”). Thereby, the binarized signal S1 of the first magnetoresistive element 31 is corrected. Then, the controller 39 determines the position of the magnet 23 based on the corrected binary signal combination. For this reason, even if the binarized signal from one magnetoresistive element 31 to 38 is inverted due to a failure, noise, or the like, the position of the magnet 23 can be correctly determined (if it is a single error). it can. Therefore, the shift position is erroneously determined due to a change in the output voltage of one of the magnetoresistive elements 31 to 38 due to a failure of the magnetoresistive elements 31 to 38 or a detection error due to noise or the like, and the transmission is inadvertently switched. Can be suppressed.

また、このとき、コントローラ39が生成したシンドロームがゼロベクトルではないから、コントローラ39は、このことからマグネット23の各位置に対する二値化信号の組み合わせの1つの誤りを検知する。該1つの誤りを検知すると、コントローラ39は、故障やノイズ等によって1つの磁気検出手段が故障したと判断し、前記報知装置を通じて、その旨を報知する。即ち、被検出体の位置を正確に検出することが可能な状態で、1つの磁気検出手段が故障したことを報知することができる。   At this time, since the syndrome generated by the controller 39 is not a zero vector, the controller 39 detects one error in the combination of the binarized signals for each position of the magnet 23. When the one error is detected, the controller 39 determines that one magnetic detection means has failed due to a failure, noise, or the like, and notifies the fact through the notification device. That is, it is possible to notify that one magnetic detection means has failed in a state where the position of the detection target can be accurately detected.

また、例えばシフトレバー3がリバース位置Rにある状態で磁気抵抗素子31〜38の故障や、ノイズ等によって、例えば第1及び第2磁気抵抗素子31,32からの二値化信号S1,S2が反転してしまった場合、シンドロームは(1010)となり、コントローラ39のメモリ39aに記憶されているシンドロームと一致しない。この場合、コントローラ39は、前記報知装置を通じて2つの磁気抵抗素子31〜38が故障した旨を報知するとともに、前記自動変速機の接続状態をニュートラルに切り替える旨の制御信号を前記自動変速機に出力し、前記自動変速機の接続状態をニュートラルに切り替える。以上のことから、磁気抵抗素子31〜38の故障や、ノイズ等による検出誤差によって1つ若しくは2つの磁気抵抗素子31〜38の出力電圧が変化することによりシフト位置が誤判断されて前記変速機が不用意に切り替えられてしまうことを防止することができる。   Further, for example, when the shift lever 3 is in the reverse position R, the binarized signals S1 and S2 from the first and second magnetoresistive elements 31 and 32 are generated due to a failure of the magnetoresistive elements 31 to 38, noise, or the like. If it is reversed, the syndrome becomes (1010), which does not match the syndrome stored in the memory 39a of the controller 39. In this case, the controller 39 notifies the fact that the two magnetoresistive elements 31 to 38 have failed through the notification device, and outputs a control signal to the automatic transmission to switch the connection state of the automatic transmission to neutral. The connection state of the automatic transmission is switched to neutral. From the above, the shift position is erroneously determined due to a change in the output voltage of one or two magnetoresistive elements 31 to 38 due to a failure of the magnetoresistive elements 31 to 38 or a detection error due to noise or the like, and the transmission Can be prevented from being inadvertently switched.

次に、上記実施の形態の作用効果を以下に記載する。
(1)複数の磁気抵抗素子31〜38の検知面に作用する磁界の方向に応じて出力される二値化信号S1〜S8の組み合わせに基づいて、マグネット23が複数の所定位置のうち何れにあるかが検出される。複数の磁気抵抗素子31〜38は、マグネット23の着磁方向に交差する平面に沿って設けられるため、シフト装置1における操作位置検出装置20の集中化を図ることができる。即ち、従来のように、各方向に対応する被検出体(マグネット等)を別々に設ける必要がない。よって、当該シフト装置1の小型化が可能となる。また、複数の磁気抵抗素子31〜38は、それらから出力される二値化信号の組み合わせが、拡張ハミング符号に準拠したものとなるように設けられていることから、このことを利用してマグネット23の各位置に対する二値化信号の組み合わせの1つの誤りが訂正される。このため、例えば磁気抵抗素子31〜38の故障やノイズ等によって1つの磁気抵抗素子31〜38から出力された二値化信号が変化(反転)してしまった場合であっても、該二値化信号の変化が訂正され、コントローラ39は、マグネット23の位置を正確に検出することができる。即ち、1つの磁気抵抗素子31〜38から出力される二値化信号S1〜S8の誤りに対する冗長性を確保することができる。従って、この操作位置検出装置20を用いることにより、シフト装置1の検出信頼性を確保しつつ、小型化を図ることが可能となる。
Next, the operational effects of the above embodiment will be described below.
(1) Based on the combination of the binarized signals S1 to S8 output according to the direction of the magnetic field acting on the detection surfaces of the plurality of magnetoresistive elements 31 to 38, the magnet 23 is placed in any of a plurality of predetermined positions. It is detected whether there is any. Since the plurality of magnetoresistive elements 31 to 38 are provided along a plane that intersects the magnetization direction of the magnet 23, the operation position detection device 20 in the shift device 1 can be concentrated. That is, unlike the prior art, it is not necessary to separately provide detected bodies (magnets or the like) corresponding to each direction. Therefore, the shift device 1 can be downsized. In addition, since the plurality of magnetoresistive elements 31 to 38 are provided so that the combination of the binarized signals output from them is compliant with the extended Hamming code, the magnet is utilized. One error of the binarized signal combination for each of the 23 positions is corrected. For this reason, for example, even when the binarized signal output from one magnetoresistive element 31 to 38 is changed (inverted) due to failure or noise of the magnetoresistive elements 31 to 38, the binary value is changed. The change in the control signal is corrected, and the controller 39 can accurately detect the position of the magnet 23. That is, it is possible to ensure redundancy against errors in the binarized signals S1 to S8 output from one magnetoresistive element 31 to 38. Therefore, by using this operation position detection device 20, it is possible to reduce the size while ensuring the detection reliability of the shift device 1.

(2)また、1つの磁気抵抗素子31〜38が故障した場合でもマグネット23の位置を正確に検出することができるため、シフトレバー3の位置の検出を継続することができる。よって、1つの磁気抵抗素子31〜38が故障した場合であっても、車両の走行を継続させることができる。なお、例えば単純に各回転検出センサに3つのセンサエレメントを設ければ、多数決論理によって1つの二値化信号の誤りを訂正することが可能であるが、この場合、各センサ体格の肥大化は否めない。   (2) Since the position of the magnet 23 can be accurately detected even when one of the magnetoresistive elements 31 to 38 fails, the detection of the position of the shift lever 3 can be continued. Therefore, even if one of the magnetoresistive elements 31 to 38 breaks down, the vehicle can continue to travel. For example, if each rotation detection sensor is simply provided with three sensor elements, it is possible to correct an error of one binarized signal by majority logic. In this case, however, enlargement of each sensor physique can not deny.

(3)また、マグネット23の各位置に対する二値化信号S1〜S8の組み合わせの1つの誤りを検知することができるため、マグネット23の位置を正確に検出することが可能な状態で、即ち、車両の走行を継続させた状態で、1つの磁気抵抗素子31〜38が故障やノイズ等によって不安定な状態であることを検知し、その旨を報知することができる。   (3) Since one error in the combination of the binarized signals S1 to S8 for each position of the magnet 23 can be detected, the position of the magnet 23 can be accurately detected, that is, It is possible to detect that one of the magnetoresistive elements 31 to 38 is in an unstable state due to a failure, noise, or the like in a state in which the vehicle continues to travel, and notify that fact.

(4)また、複数の磁気抵抗素子31〜38は、二値化信号の組み合わせが、拡張ハミング符号に準拠したものとなるように設けられていることから、このことを利用して、マグネット23の位置に対する二値化信号の組み合わせの2つの誤りが検知される。このため、コントローラ39は、操作位置検出装置20を構成する複数の磁気抵抗素子31〜38の内、2つの磁気抵抗素子31〜38が故障してしまったことを検知することができる。   (4) In addition, since the plurality of magnetoresistive elements 31 to 38 are provided so that the combination of the binarized signals conforms to the extended Hamming code, the magnet 23 is utilized by utilizing this fact. Two errors in the combination of binarized signals for the position of are detected. For this reason, the controller 39 can detect that two of the plurality of magnetoresistive elements 31 to 38 constituting the operation position detecting device 20 have failed.

(5)磁気抵抗素子31〜38は、シフト方向及びセレクト方向に沿って、それぞれ複数設けられているため、シフト方向に沿った複数箇所におけるマグネット23の位置を検出することができるとともに、セレクト方向に沿った複数箇所におけるマグネット23の位置を検出することができる。このため、マグネット23の位置に対応するシフトレバー3の操作位置をシフト方向及びセレクト方向において複数箇所に設定することが可能となり、該操作位置をシフトレバー3の操作パターンに応じて選択することにより、複数種類の操作パターンに対応することができる。よって、汎用性が向上する。   (5) Since a plurality of magnetoresistive elements 31 to 38 are provided along the shift direction and the select direction, respectively, the positions of the magnets 23 at a plurality of locations along the shift direction can be detected, and the select direction It is possible to detect the positions of the magnets 23 at a plurality of locations along the line. Therefore, it is possible to set the operation position of the shift lever 3 corresponding to the position of the magnet 23 at a plurality of locations in the shift direction and the selection direction, and by selecting the operation position according to the operation pattern of the shift lever 3 A plurality of types of operation patterns can be handled. Therefore, versatility is improved.

(6)マグネット23の移動平面Qに直交する方向から見て、第1磁気センサモジュール24の第1〜第4磁気抵抗素子31〜34と、第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38とが重なるように配置されているため、前記移動平面Qに沿った方向における操作位置検出装置20の小型化を図ることができる。   (6) The first to fourth magnetoresistive elements 31 to 34 of the first magnetic sensor module 24 and the fifth to eighth magnetisms of the second magnetic sensor module 25 as viewed from the direction orthogonal to the moving plane Q of the magnet 23. Since the resistance elements 35 to 38 are arranged so as to overlap, the operation position detection device 20 in the direction along the moving plane Q can be reduced in size.

(7)第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38は、それぞれ第1磁気センサモジュール24の第1〜第4磁気抵抗素子31〜34の二値化信号S1〜S4の正負を反転した値の二値化信号S5〜S8を出力する。従って、磁気抵抗素子31〜38がマグネット23の位置に応じた適切な値の二値化信号S1〜S8を出力している通常の状態においては、4つの磁気抵抗素子からの二値化信号は「0」となり、他の4つの磁気抵抗素子からの二値化信号は「1」となる。このため、8つの磁気抵抗素子31〜38から出力される二値化信号S1〜S8の組み合わせにおいて「0」となるビットの数と、「1」となるビットの数とに基づいて磁気抵抗素子31〜38の3つ以上の磁気抵抗素子31〜38の異常も検知することができる。   (7) The fifth to eighth magnetoresistive elements 35 to 38 of the second magnetic sensor module 25 are the binary signals S1 to S4 of the first to fourth magnetoresistive elements 31 to 34 of the first magnetic sensor module 24, respectively. The binarized signals S5 to S8 having values obtained by inverting the positive and negative values are output. Therefore, in the normal state where the magnetoresistive elements 31 to 38 output the binarized signals S1 to S8 having appropriate values according to the position of the magnet 23, the binarized signals from the four magnetoresistive elements are “0”, and the binarized signals from the other four magnetoresistive elements are “1”. Therefore, the magnetoresistive element is based on the number of bits that are “0” and the number of bits that are “1” in the combination of the binarized signals S1 to S8 output from the eight magnetoresistive elements 31 to 38. Abnormalities of three or more magnetoresistive elements 31 to 38 of 31 to 38 can also be detected.

(8)第1及び第2磁気センサモジュール24,25の電源線24a,25a及び接地線24b,25bは、センサモジュール24,25毎に個別に設けられている。このため、コントローラ39は、一方のセンサモジュール24,25の電源線24a,25a又は接地線24b,25bが断線した場合、他方の磁気センサモジュール24,25から出力される二値化信号の組み合わせに基づいてシフトレバー3の操作位置を検知することができる。よって、一方のセンサモジュール24,25が故障した場合であっても、車両の走行を継続させることができる。   (8) The power supply lines 24a and 25a and the ground lines 24b and 25b of the first and second magnetic sensor modules 24 and 25 are individually provided for the sensor modules 24 and 25, respectively. For this reason, when the power supply lines 24a and 25a or the ground lines 24b and 25b of one sensor module 24 and 25 are disconnected, the controller 39 generates a combination of binarized signals output from the other magnetic sensor modules 24 and 25. Based on this, the operation position of the shift lever 3 can be detected. Therefore, even if one of the sensor modules 24 and 25 breaks down, the vehicle can continue to travel.

尚、本実施の形態は、以下のように変更してもよい。
・上記実施の形態では、第2磁気センサモジュール25の第5〜第8磁気抵抗素子35〜38は、第1磁気センサモジュール24の第1〜第4磁気抵抗素子31〜34の検出信号の正負をそれぞれ反転した値の検出信号を出力するように構成したが、二値化信号の組み合わせが少なくともハミング符号に準拠するように設けることが可能であれば、第1〜第8磁気抵抗素子31〜38の磁束の方向に対する検出特性や、配置は適宜変更可能である。
In addition, you may change this Embodiment as follows.
In the above embodiment, the fifth to eighth magnetoresistive elements 35 to 38 of the second magnetic sensor module 25 are positive or negative of the detection signals of the first to fourth magnetoresistive elements 31 to 34 of the first magnetic sensor module 24. Is output so that the combination of the binarized signals can be provided so as to comply with at least the Hamming code. The detection characteristics and arrangement for the direction of the magnetic flux 38 can be changed as appropriate.

・上記実施の形態では、図15の表に示すように第1〜第8磁気抵抗素子31〜38からの二値化信号S1〜S8を並べたが、二値化信号S1〜S8の順番は、適宜変更可能である。   In the above embodiment, the binarized signals S1 to S8 from the first to eighth magnetoresistive elements 31 to 38 are arranged as shown in the table of FIG. 15, but the order of the binarized signals S1 to S8 is These can be changed as appropriate.

・上記実施の形態では、各磁気抵抗素子31〜38から出力された検出信号をコンパレータによって二値化した二値化信号をコントローラ39に入力したが、コントローラ39自身が各磁気抵抗素子31〜38から出力された検出信号を二値化するようにしてもよい。   In the above embodiment, the binarized signal obtained by binarizing the detection signals output from the magnetoresistive elements 31 to 38 by the comparator is input to the controller 39. However, the controller 39 itself controls each of the magnetoresistive elements 31 to 38. The detection signal output from may be binarized.

・上記実施の形態では、略円柱状に形成したマグネット23を用いたが、マグネット23の形状はこのような態様に限定されない。例えば断面十字状や断面ひし形や正方形状に形成したマグネットを用いてもよい。   In the above embodiment, the magnet 23 formed in a substantially columnar shape is used, but the shape of the magnet 23 is not limited to such an aspect. For example, a magnet formed in a cross shape, a diamond shape, or a square shape may be used.

・上記実施の形態では、4つの磁気抵抗素子31〜34,35〜38を1つのパッケージとして一体に構成したが、個別にパッケージされた8つの磁気抵抗素子31〜34,35〜38を用いてもよい。   In the above embodiment, the four magnetoresistive elements 31 to 34 and 35 to 38 are integrally configured as one package, but the eight magnetoresistive elements 31 to 34 and 35 to 38 that are individually packaged are used. Also good.

・上記実施の形態では、磁気抵抗素子31〜34,35〜38を基板30の表側と裏側とに設けたが、同一平面上に配置してもよい。
・上記実施の形態では、各磁気抵抗素子31〜34,35〜38の間の間隔が一定となるように配置したが、このような態様に限定されず、シフトパターンに応じて適宜変更してもよい。
In the above embodiment, the magnetoresistive elements 31 to 34 and 35 to 38 are provided on the front side and the back side of the substrate 30, but may be arranged on the same plane.
In the above embodiment, the magnetic resistance elements 31 to 34 and 35 to 38 are arranged so that the distance between them is constant. However, the present invention is not limited to such an embodiment, and can be changed appropriately according to the shift pattern. Also good.

・上記実施の形態では、8つの磁気抵抗素子31〜38を用いたが、7つの磁気抵抗素子を用いてもよい。この場合、マグネット23の位置に対する二値化信号の組み合わせがハミング符号に準拠したものとなるように7つの磁気抵抗素子を配置すれば、マグネット23の位置に対する前記二値化信号の組み合わせの1つの誤りを訂正することができる。   In the above embodiment, eight magnetoresistive elements 31 to 38 are used, but seven magnetoresistive elements may be used. In this case, if seven magnetoresistive elements are arranged so that the combination of the binarized signals with respect to the position of the magnet 23 conforms to the Hamming code, one of the combinations of the binarized signals with respect to the position of the magnet 23 will be described. Errors can be corrected.

・上記実施の形態では、シフトレバー3がニュートラル位置Nにある場合に、マグネット23の中心Mと磁気センサモジュール24,25の中心位置とが一致するように設けたが、このような態様に限定されず、例えば、シフトレバー3が中立位置Tにある場合にマグネット23の中心Mと磁気センサモジュール24,25の中心位置とが一致するように設けてもよい。   In the above embodiment, when the shift lever 3 is in the neutral position N, the center M of the magnet 23 and the center position of the magnetic sensor modules 24 and 25 are provided so as to coincide with each other. For example, when the shift lever 3 is in the neutral position T, the center M of the magnet 23 and the center positions of the magnetic sensor modules 24 and 25 may be provided to coincide with each other.

・上記実施の形態では、マグネット23を移動平面Qに直交する方向に着磁したが、移動平面Qに交差する方向に着磁すれば、必ずしも移動平面Qに直交していなくてもよい。
・上記実施の形態では、マグネット23の磁気センサモジュール24側をS極、それとは反対側をN極としたが、逆方向に着磁してもよい。
In the above embodiment, the magnet 23 is magnetized in the direction orthogonal to the moving plane Q. However, as long as the magnet 23 is magnetized in the direction intersecting the moving plane Q, it does not necessarily have to be orthogonal to the moving plane Q.
In the above embodiment, the magnetic sensor module 24 side of the magnet 23 is the S pole and the opposite side is the N pole, but it may be magnetized in the opposite direction.

・上記実施の形態では、磁気センサモジュール24をスライダー22に固定したが、このような態様に限定されず、例えばケース7に固定してもよい。
・上記実施の形態では、スライダー22に保持された状態でマグネット23が平面(移動平面Q)上を移動するようにしたが、マグネット23は必ずしも平面上を移動するようにしなくてもよい。例えば、シフトレバー3にマグネット23を固定し、該マグネット23が、第1軸線L1若しくは第2軸線L2を中心とする円弧面上を移動するようにしてもよい。また、上記実施の形態では、シフトレバー3が第1軸線L1若しくは第2軸線L2を中心として傾動するシフト装置1に具体化したが、シフトレバー3がシフトゲート6に沿って平行移動するシフト装置に具体化してもよい。
In the above embodiment, the magnetic sensor module 24 is fixed to the slider 22, but is not limited to such a mode, and may be fixed to the case 7, for example.
In the above embodiment, the magnet 23 moves on the plane (moving plane Q) while being held by the slider 22, but the magnet 23 does not necessarily have to move on the plane. For example, the magnet 23 may be fixed to the shift lever 3, and the magnet 23 may move on an arc surface centered on the first axis L1 or the second axis L2. In the above embodiment, the shift lever 3 is embodied as the shift device 1 that tilts about the first axis L1 or the second axis L2. However, the shift device in which the shift lever 3 moves in parallel along the shift gate 6 is used. It may be embodied in.

・上記実施の形態では、シフトパターンがT型となるシフト装置1に具体化したが、例えばシフトパターンがh型、H型、十字型となるシフト装置1に具体化してもよい。
・上記実施の形態では、シフト装置1のシフトレバー3にパーキングスイッチ3bを設けたが、例えばインストルメントパネル等にパーキングスイッチを設けるようにしてもよい。
In the above-described embodiment, the shift device 1 is embodied in the T-type shift pattern. However, the shift pattern may be embodied in, for example, the shift device 1 in which the shift pattern is h-type, H-type, or cross-shaped.
In the above embodiment, the parking switch 3b is provided on the shift lever 3 of the shift device 1. However, for example, a parking switch may be provided on the instrument panel or the like.

・上記実施の形態では、コラムシフト装置に具体化したが、フロアシフト装置や、センターコンソールやインストルメントパネル等に設けられるシフト装置に具体化してもよい。また、シフト装置1以外の各種車載機器に対応する入力装置や、車載機器以外の装置に対応する入力装置に具体化してもよい。   In the above embodiment, the column shift device is embodied. However, the present invention may be embodied in a floor shift device, a shift device provided in a center console, an instrument panel, or the like. Moreover, you may materialize in the input device corresponding to various vehicle equipment other than the shift apparatus 1, and the input device corresponding to apparatuses other than vehicle equipment.

シフト装置の配設態様を示す斜視図。The perspective view which shows the arrangement | positioning aspect of a shift apparatus. シフトゲートとシフトポジションとの関係を概略的に示す模式図。The schematic diagram which shows schematically the relationship between a shift gate and a shift position. シフト装置の概略斜視図。The schematic perspective view of a shift apparatus. シフト装置本体を車両前側から見た平面図。The top view which looked at the shift apparatus main body from the vehicle front side. シフト装置本体の一部の断面図。Sectional drawing of a part of shift apparatus main body. 図5のE−E線断面図。EE sectional view taken on the line of FIG. 図5のF−F線断面図。FF sectional view taken on the line of FIG. 図7のG−G線断面図。GG sectional view taken on the line of FIG. シフト装置本体の一部の拡大図。The enlarged view of a part of shift device main body. シフト装置の動作を説明するための断面図。Sectional drawing for demonstrating operation | movement of a shift apparatus. シフト装置の動作を説明するための断面図。Sectional drawing for demonstrating operation | movement of a shift apparatus. (a)は磁気センサモジュールの平面図、(b)はマグネット及び磁気センサモジュールの位置関係を説明するための側面図。(A) is a top view of a magnetic sensor module, (b) is a side view for demonstrating the positional relationship of a magnet and a magnetic sensor module. シフト装置の電気的構成を示すブロック図。The block diagram which shows the electric constitution of a shift apparatus. 操作位置検出装置の作用を説明するための平面図。The top view for demonstrating the effect | action of an operation position detection apparatus. マグネットの位置と各磁気抵抗素子から出力される二値化信号の組み合わせとの関係(左)、及び、マグネットの位置と各磁気抵抗素子から出力される二値化信号をハミング符号に準拠するように割り当てたものとの関係(右)を示す説明図。The relationship between the position of the magnet and the combination of the binarized signals output from each magnetoresistive element (left), and the binarized signal output from the position of the magnet and each magnetoresistive element to conform to the Hamming code Explanatory drawing which shows the relationship (right) with what was allocated to. ハミング符号を説明するための説明図。Explanatory drawing for demonstrating a Hamming code | symbol. シンドロームと誤りベクトルとの関係を示す説明図。Explanatory drawing which shows the relationship between a syndrome and an error vector. シンドロームテーブルを説明するための説明図。Explanatory drawing for demonstrating a syndrome table. マグネットの位置に応じた適切な値の検出信号が出力されている場合のシンドロームを説明するための説明図。Explanatory drawing for demonstrating a syndrome when the detection signal of the appropriate value according to the position of a magnet is output. マグネットの位置に対する二値化信号の組み合わせに単一誤りがある場合のシンドロームを説明するための説明図。Explanatory drawing for demonstrating a syndrome in case there exists a single error in the combination of the binarization signal with respect to the position of a magnet.

符号の説明Explanation of symbols

1…シフト装置、3…操作部材としてのシフトレバー、6…シフトゲート、20…操作位置検出装置、23…被検出体としてのマグネット、31〜38…磁気検出手段としての第1〜第8磁気抵抗素子、39…演算手段としてのコントローラ、C1〜C3…誤り訂正符号としての第1〜第3チェックビット、D1〜D4…位置符号としてのデータビット、C4…誤り検知符号としてのパリティビット、P1〜P7…位置、S1〜S4…二値化信号。   DESCRIPTION OF SYMBOLS 1 ... Shift apparatus, 3 ... Shift lever as operation member, 6 ... Shift gate, 20 ... Operation position detection apparatus, 23 ... Magnet as to-be-detected body, 31-38 ... 1st-8th magnetism as magnetic detection means Resistor element 39... Controller as calculation means, C1 to C3... First to third check bits as error correction code, D1 to D4... Data bit as position code, C4. Parity bit as error detection code, P1 ~ P7 ... position, S1-S4 ... binarized signal.

Claims (4)

操作部材の操作に伴い複数の所定位置間を移動可能に設けられるとともにその移動方向に交差する方向に着磁された被検出体と、
前記着磁方向に対して交差する平面に沿って複数設けられるとともに前記被検出体の位置に応じてそれぞれに付与される磁束の方向に応じた検出信号を出力する磁気検出手段と、
前記検出信号に基づいて生成された二値化信号の組み合わせに基づいて前記被検出体の位置を求める演算手段とを備え、
前記複数の磁気検出手段は、前記二値化信号の組み合わせが、前記被検出体の位置情報である位置符号と、前記被検出体の各所定位置に固有の前記二値化信号の組み合わせの1つの二値化信号の誤りを訂正するための誤り訂正符号とを含むハミング符号に準拠したものとなるように設けられ、
前記演算手段は、前記二値化信号の組み合わせに基づいて、前記被検出体の各所定位置に対応する前記二値化信号の組み合わせの1つの誤り信号に一対一で対応する誤り信号位置情報を生成し、該誤り信号位置情報に基づいて、前記二値化信号の組み合わせの誤り信号位置を特定し、この特定された信号位置の二値化信号を訂正し、
複数の前記磁気検出手段は、前記被検出体の着磁方向から見て、重なるように配置された2つの磁気検出手段を含み、当該2つの磁気検出手段は、正負を反転した値の検出信号を出力することを特徴とする操作位置検出装置。
A detected body that is provided so as to be movable between a plurality of predetermined positions in accordance with the operation of the operation member and is magnetized in a direction crossing the moving direction;
A plurality of magnetic detection means provided along a plane intersecting the magnetization direction and outputting a detection signal corresponding to the direction of the magnetic flux respectively applied according to the position of the detected object;
Calculating means for determining the position of the detected object based on a combination of binarized signals generated based on the detection signal;
The plurality of magnetic detection means includes a combination of the binarized signals, a position code that is position information of the detected object, and a combination of the binarized signals unique to each predetermined position of the detected object. Provided to be compliant with a Hamming code including an error correction code for correcting an error of two binarized signals,
The arithmetic means, based on the combination of the binarized signals, provides error signal position information corresponding one-to-one to one error signal of the binarized signal combination corresponding to each predetermined position of the detected object. Generating and specifying the error signal position of the combination of the binarized signals based on the error signal position information, correcting the binarized signal of the specified signal position ,
The plurality of magnetic detection means include two magnetic detection means arranged so as to overlap each other when viewed from the magnetization direction of the detected object, and the two magnetic detection means are detection signals having values obtained by inverting the positive and negative values. Is output .
前記複数の磁気検出手段は、前記二値化信号の組み合わせが、前記被検出体の位置情報である位置符号と、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの1つの誤りを訂正するための誤り訂正符号と、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの2つの誤りを検知するための誤り検知符号とを含む拡張ハミング符号に準拠したものとなるように設けられ、
前記演算手段は、前記二値化信号の組み合わせに基づいて生成した前記誤り信号位置情報に基づいて、前記被検出体の各所定位置に対する前記二値化信号の組み合わせの2つの二値化信号の誤りを検知することを特徴とする請求項1に記載の操作位置検出装置。
The plurality of magnetic detection means may be configured such that a combination of the binarized signals includes a position code that is position information of the detected object and one error of a combination of the binarized signals for each predetermined position of the detected object. And an extended Hamming code including an error detection code for detecting two errors of a combination of the binary signals for each predetermined position of the detected object. Provided as
The calculation means is configured to calculate two binarized signals of the combination of the binarized signals with respect to each predetermined position of the detected object based on the error signal position information generated based on the combination of the binarized signals. The operation position detection device according to claim 1, wherein an error is detected.
前記被検出体は、第1の方向と、該第1の方向に直交する第2の方向とに移動可能に設けられ、
前記磁気検出手段は、前記第1の方向及び前記第2の方向に沿って、それぞれ複数設けられることを特徴とする請求項1又は2に記載の操作位置検出装置。
The detected object is provided to be movable in a first direction and a second direction orthogonal to the first direction,
The operation position detection device according to claim 1, wherein a plurality of the magnetic detection units are provided along the first direction and the second direction, respectively.
シフトゲートに沿って設定された複数の操作位置に操作される操作部材と、該操作部材の操作位置を検出する操作位置検出装置とを備え、該操作位置検出装置の検出結果に基づいて車両の変速機の接続状態を切り替えるシフト装置であって、
請求項1〜の何れか1項に記載の前記操作位置検出装置を採用したことを特徴とするシフト装置。
An operation member that is operated at a plurality of operation positions set along the shift gate, and an operation position detection device that detects an operation position of the operation member, and based on a detection result of the operation position detection device, A shift device for switching a connection state of a transmission,
A shift device comprising the operation position detection device according to any one of claims 1 to 3 .
JP2008102648A 2008-04-10 2008-04-10 Operation position detecting device and shift device Expired - Fee Related JP5048574B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008102648A JP5048574B2 (en) 2008-04-10 2008-04-10 Operation position detecting device and shift device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008102648A JP5048574B2 (en) 2008-04-10 2008-04-10 Operation position detecting device and shift device

Publications (2)

Publication Number Publication Date
JP2009248917A JP2009248917A (en) 2009-10-29
JP5048574B2 true JP5048574B2 (en) 2012-10-17

Family

ID=41310000

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008102648A Expired - Fee Related JP5048574B2 (en) 2008-04-10 2008-04-10 Operation position detecting device and shift device

Country Status (1)

Country Link
JP (1) JP5048574B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5353726B2 (en) * 2010-01-20 2013-11-27 トヨタ自動車株式会社 Steering device
JP5373654B2 (en) * 2010-02-04 2013-12-18 株式会社東海理化電機製作所 Operation position detector
JP5973892B2 (en) * 2012-11-27 2016-08-23 アルプス電気株式会社 Magnetic detection switch and shift lever device using the magnetic detection switch
US11371606B2 (en) * 2016-09-15 2022-06-28 Kongsberg Automotive Ab Arrangement for reading off predetermined positions of a gear lever in a gear selector in a vehicle
CN115384531B (en) * 2022-08-30 2024-05-28 深蓝汽车科技有限公司 Automobile hand-held gear position identification and diagnosis method and device, electronic equipment, and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4790378B2 (en) * 2005-11-08 2011-10-12 津田工業株式会社 Shift lever unit and transmission system for automobile
JP2007278720A (en) * 2006-04-03 2007-10-25 Tokai Rika Co Ltd Position detector and shift device

Also Published As

Publication number Publication date
JP2009248917A (en) 2009-10-29

Similar Documents

Publication Publication Date Title
JP5048574B2 (en) Operation position detecting device and shift device
US8004275B2 (en) Position sensor arrangement and method
CN100575753C (en) Control device and control method of gear switching mechanism
JP2011080839A (en) Position detecting device and shift device
ES2225619T3 (en) SYSTEM WITH A SENSOR TECHNOLOGY FOR THE CONTROL DEVICE OF AN AUTOMATIC SPEED GEARBOX.
JP5021563B2 (en) Operation position detecting device and shift device
JP6122440B2 (en) SENSOR DEVICE, POSITION DETECTION METHOD, AND MAGNETIC ELEMENT FOR SENSOR DEVICE
CN107209030A (en) For detecting the sensor device of selector positioning and the selection bar apparatus of motor vehicle
JP4629591B2 (en) Shift device
US6469642B1 (en) Method, selector switch and selector device for securely sensing a selector switch position
US10436605B2 (en) Apparatus and method for distinguishing data of a plurality of multidimensional magnetic field sensors
JP2011013187A (en) Position detection device and shift device
JP2007223384A (en) Shift lever unit
JP2007139741A (en) Rotation angle detector
CN109959331B (en) Multiple redundant position sensor apparatus
JP5276044B2 (en) Position detecting device and shift lever device
JP5033105B2 (en) Position detection device
JP2010018211A (en) Magnetic type position detection device, and shifting device
JP7281690B2 (en) Position detector
JP2007278720A (en) Position detector and shift device
JP4921398B2 (en) Operation position detecting device and shift device
JP2009016202A (en) Non-contact switch
JP2008101932A (en) Magnetic position sensor
JP5638900B2 (en) Magnetic sensor device
JP2008238944A (en) Vehicle control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101018

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120410

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120528

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120719

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

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5048574

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees