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
JP3595302B2 - Switch device - Google Patents
[go: Go Back, main page]

JP3595302B2 - Switch device - Google Patents

Switch device Download PDF

Info

Publication number
JP3595302B2
JP3595302B2 JP2001387851A JP2001387851A JP3595302B2 JP 3595302 B2 JP3595302 B2 JP 3595302B2 JP 2001387851 A JP2001387851 A JP 2001387851A JP 2001387851 A JP2001387851 A JP 2001387851A JP 3595302 B2 JP3595302 B2 JP 3595302B2
Authority
JP
Japan
Prior art keywords
switch
output
sensor
operation position
identification information
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
JP2001387851A
Other languages
Japanese (ja)
Other versions
JP2003188701A (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.)
Yazaki Corp
Original Assignee
Yazaki Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yazaki Corp filed Critical Yazaki Corp
Priority to JP2001387851A priority Critical patent/JP3595302B2/en
Publication of JP2003188701A publication Critical patent/JP2003188701A/en
Application granted granted Critical
Publication of JP3595302B2 publication Critical patent/JP3595302B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、自動車のステアリングコラムに装備されるコンビネーションスイッチ(コラムスイッチとも呼ばれる)等のスイッチ装置に係り、特に、ホール素子等のセンサを用いることにより、無接点で多点切り換え(多点検出)ができるようにしたスイッチ装置に関する。
【0002】
【従来の技術】
自動車のステアリングコラムには、走行に関わる付属機器を操作するための多種のスイッチが装備されている。これらのスイッチとしては、例えば、ライトスイッチ、ワイパスイッチ、ウォッシャスイッチ等が存在する。これらのスイッチは、ステアリングコラムという制約された条件下で全数を配備する必要があることから、一般にコンビネーションスイッチ(コラムスイッチ)という形で集約的に装備されている。
【0003】
これらのスイッチは通常、多点切り換え(多点検出)が必要であることから、特開平11−265639号公報等に示される接点式の場合は、例えば、複数の固定接点を固定側基板に形成し、それに対して操作部側の可動接点を接触させる構成にしている。また、特開平8−273492号公報等に示される無接点式の場合は、例えば、操作部の動きに応じたセンサ(フォトセンサやホール素子等)の出力変化を多段階に分けて検出し、スイッチ操作位置を判定する構成にしている。
【0004】
【発明が解決しようとする課題】
ところで、コラムスイッチには、スイッチの種類だけでも、ライトスイッチ、フォグランプスイッチ、ハイビームスイッチ、ターンスイッチ、フロントワイパスイッチ、フロントワイパ間欠スイッチ、リアワイパスイッチ、ウォッシャスイッチなどがある上、主立った各スイッチ毎に機能の区別がある。
【0005】
例えば、ライトスイッチの場合を例にとると、図11に示すように、機能Aのスイッチは、「ヘッドライト/スモール/OFF」の3位置の切り換えがこの順に可能となっており、機能Bのスイッチは、「AUTO/ヘッドライト/スモール/OFF」の4位置の切り換えがこの順に可能となっており、機能Cのスイッチは、「ヘッドライト/スモール/AUTO/OFF」の4位置の切り換えがこの順に可能となっている。
【0006】
また、ワイパスイッチの場合を例にとると、図12に示すように、機能Aのスイッチは、「OFF/LO/HI」の3位置の切り換えがこの順に可能となっており、機能Bのスイッチは、「MIST/OFF/INT/LO/HI」の5位置の切り換えがこの順に可能となっており、機能Cのスイッチは、「OFF/INT可変/LO/HI」の4位置の切り換えがこの順に可能となっている。
【0007】
このように、機能別の多種のバリエーションが存在する。しかも、車種やグレードあるいはオプション装備の違いなどによってもバリエーシンが増えるため、出荷段階では膨大な種類が存在することになる。
【0008】
従来の接点式のスイッチの場合は、この多種類のスイッチを実現するために、個別に可動接点や固定接点の設計を行っていた。例えばワイパーレバーにおいて間欠機能の有無がある場合には、その機能毎に接点基板を設計していた。また、ライトスイッチにおいてAUTOの有無や位置の区別がある場合には、その種類毎に可動接点や固定接点を個別に設計していた。従って、製作コストが嵩む問題があった。
【0009】
一方、ホール素子等のセンサを使用した従来の無接点式スイッチの場合は、接点の設計を個別に行わずに済む点で極めて有利であるが、例えば機能毎に、センサ出力に応じたスイッチ操作位置の認識の仕方等をソフトウエアで区別しなくてはならないことから、機能毎にソフトウエアの書き換えを行わなくてはならず、ソフトウエアの種類が多数存在することになって、全体として十分なコストダウンが図れないという問題があった。
【0010】
本発明は、上記事情を考慮し、センサ出力を受け取ってスイッチ操作位置を認識する制御手段側でスイッチの種類や機能等の違いを判別できるようにし、それにより制御手段に書き込むソフトウエアの共通化を図れるようにしたスイッチ装置を提供することを目的とする。
【0011】
【課題を解決するための手段】
請求項1の発明は、スイッチの操作位置に応じた出力を発生するセンサと、該センサの出力に基づいてスイッチの操作位置を判定し、その判定した操作位置に対応した制御信号を出力する制御手段とを有するスイッチ装置において、前記センサに記憶手段を付設し、該記憶手段に前記スイッチの識別情報を書き込むことで、前記制御手段が、前記記憶手段から前記識別情報を読み出して当該スイッチがどのようなスイッチかを認識した上で、前記センサの出力に基づいてスイッチの操作位置を判定し、その判定した操作位置に対応した制御信号を出力することを特徴とする。
【0012】
このスイッチ装置では、制御手段が、センサに付設した記憶手段の情報(スイッチの識別情報)に基づいて当該スイッチがどのようなスイッチか(スイッチの種類や機能等)を認識する。そして、その認識の上で、センサの出力に基づいてスイッチの操作位置を判定し、その操作位置に応じた制御信号を出力する。従って、制御手段に、予め全種類に共通して対応できるソフトウエアを格納しておくことで、センサ側から送られる識別情報に応じて、スイッチの種類や機能に応じたスイッチ操作位置の判定を行うことができる。
【0013】
請求項2の発明は、請求項1に記載のスイッチ装置であって、前記識別情報の中に、前記センサの出力からスイッチの操作位置を判定するためのルール情報を含ませておくことで、前記制御手段が、前記記憶手段から前記識別情報を読み出して当該スイッチがどのようなスイッチかを認識した上で、前記センサの出力と前記ルール情報とに基づいてスイッチ操作位置を判定し、判定した操作位置に対応した制御信号を出力することを特徴とする。
【0014】
このスイッチ装置では、スイッチの識別情報の中に、センサの出力に基づく判定ルール情報を含ませているので、検出ポイント数の違いや検出ポイントの位置の違いにもソフトウエア側で容易に対応することができる。
【0015】
請求項3の発明は、請求項1または2に記載のスイッチ装置であって、前記センサとしてホール素子を設け、このホール素子に、該ホール素子のアナログ出力をデジタル変換するA/D変換器と、前記記憶手段と、電源ON時の初回の処理だけ記憶手段に書き込まれた識別情報を外部に出力させ且つ次回の処理からA/D変換器の出力データを外部に出力させる出力制御部とを付設したことを特徴とする。
【0016】
このスイッチ装置では、制御手段が、電源ON時の初回の処理において、センサ側から送られてくる識別情報に基づいて当該スイッチやセンサの役割を認識することができ、次回の処理からは、その認識の上で、通常のセンサ出力に基づく制御を行うことができる。また、センサとしてホール素子を使用するので、ホール素子を固定側に設けた場合、可動側に磁石を設けるだけで、多点検出が可能となる。
【0017】
【発明の実施の形態】
以下、本発明の実施形態を図面に基づいて説明する。
【0018】
図1は実施形態のスイッチ装置を含むシステムの全体構成を示す概略ブロック図である。このシステムは、制御手段としてマイコン(マイクロコンピュータ)1を中心とした制御回路2を備えている。マイコン1には、ソフトウエアを格納するメモリとしてEEPROM3が内蔵されている。制御回路2には検出側の要素4から信号が送信され、制御回路2はその入力信号に基づいて駆動側の要素5に所定の制御信号を出力する。
【0019】
このシステムでは、ライトスイッチやワイパスイッチ等の各スイッチ毎に当該スイッチの操作位置を検出するホールIC6が検出側の要素5として設けられている。また、操作対象である駆動側の要素5として、ライトやターンランプ等の駆動系7が設けられている。
【0020】
図2はホールIC6の構成を示すブロック図である。ホールIC6には、スイッチの操作位置に対応した出力を発生するセンサとしてのホール素子11と、ホール素子11のアナログ出力をデジタル変換するA/D変換器12と、各スイッチの識別情報を格納する記憶手段13と、電源ON時の初回の処理だけ記憶手段13に書き込まれた識別情報を外部に出力させ且つ次回の処理からA/D変換器12の出力データを外部に出力させる出力制御部14とが含まれている。記憶手段13としては、システムに組み込んだ後でデータの書き込みができるEEPROM等の不揮発性メモリが用いられている。
【0021】
ホールIC6は、例えば各スイッチのセンシング部に組み込まれており、スイッチ操作に応じて動く可動側に磁石が設けられている。そして、スイッチ操作を行うと、スイッチ操作部(レバーやノブ等)に連動する磁石からホール素子11に入る磁束量が変化し、それにより、ホール素子11がスイッチの操作位置に応じた検出データを発生するようになっている。
【0022】
図3はホールIC6の処理フローを示し、図4はホールIC6から出力されるビットデータの内容を示している。
【0023】
各スイッチ毎に設けたホールIC6の中の記憶手段13には、後で詳しく述べるようなスイッチ番号(Part NO.)が、スイッチの種別・機能等の情報を含む識別情報として書き込んであり、ホールIC6は、図3のフローに示すように、電源ON時の初回の処理(ステップ101、102)だけ、記憶手段13に書き込まれたスイッチ番号(Part NO.)を外部に送信し、次回の処理(ステップS103、104)からは、磁界検出してデジタル変換した検出データを送信する。ホールIC6の出力制御部14は、そのような動作を行うようにプログラムされている。従って、受信側の制御回路2は、電源ON後、まず、各ホールIC6から送信されるスイッチ番号を受信し、この受信したスイッチ番号から、そのスイッチがどの種類・機能を持ったスイッチかを判断し、判断した結果に従い、ライトやワイパなど関連する装置に対する制御信号を出力する。
【0024】
ここで、図4に示すように、ホールIC6から出力されるビットデータは、スイッチ番号(Part NO.)と検出データの2種類存在し、いずれも16ビットデータとして送信される。ビット番号15はSYNCで値「0」に固定し、ビット番号00はSTOPで値「1」に固定してある。また、スイッチ番号(Part NO.)のデータの場合は、ビット番号14の値を「1」、検出データの場合はビット番号14の値を「0」として区別してある。従って、受信側の制御回路2は、ビット番号14の値=1のデータならばスイッチ番号(Part NO.)と判断し、ビット番号14の値=0のデータならば検出データと判断する。
【0025】
図5は、16ビットデータのスイッチ番号(Part NO.)における各ビットの振り分けを示している。ビット番号14〜11はスイッチの種別を表し、ビット番号10、09はスイッチの機能を表し、ビット番号08〜01はスイッチの検出ポイント設定内容を表すように、ビットが振り分けられている。
【0026】
ビット番号14〜11のスイッチの種別としては、図6に示すようにライト(ヘッドライト)、フォグ(フォグランプ)、ハイビーム(ハイビームライト)、ターン(ターンランプ)、フロントワイパ、フロントワイパ間欠、リアワイパ、ウォッシャが用意されており、それぞれを区別するためのビットデータが割り当てられている。
【0027】
また、ビット10、09のスイッチの機能としては、図7、図8に示すようなビットデータの割り当てがなされている。図7はワイパスイッチの機能分けの例を示し、図8はライトスイッチの機能分けの例を示している。
【0028】
図7のワイパスイッチの例では、「OFF/LO/HI」、「OFF/INT/LO/HI」、「MIST/OFF/INT/LO/HI」の3種の機能分けに従い、ビットデータが割り当てられている。また、図8のライトスイッチの例では、「ヘッドライト/スモール/OFF」、「AUTO/ヘッドライト/スモール/OFF」、「ヘッドライト/スモール/AUTO/OFF」の3種の機能分けに従い、ビットデータが割り当てられている。
【0029】
また、ビット番号08〜01は検出ポイントの設定のために使用されており、各ビット番号の値によって、ホール素子11の検出データの範囲毎に検出ポイントが有るかどうかの組み合わせが定義されている。
【0030】
範囲分けは、図9に示すように、
「1024〜2047」
「2048〜3071」
「3072〜4095」
「4096〜5119」
「5120〜6143」
「6144〜7167」
「7168〜8191」
になっており、各範囲毎にビット番号「08〜01」の1ビット分が割り当てられている。この図9では、検出ポイント有りの場合、つまり、スイッチがONとなる位置のビット番号の値を「1」としてある。
【0031】
図10は検出ポイントの設定例としてワイパスイッチの場合を示している。この図10に示す内容は、ホール素子11の検出データからスイッチの操作位置を判定するためのルール情報である。例えば、図10の「OFF/LO/HI(例1)」の場合について見てみると、ビット番号07の値=1、ビット番号06の値=1であるから、ホールIC6からの検出データが1024〜2047のときにスイッチはLOであり、2048〜3071のときにスイッチはHIであると判定することを示している。他の場合も同様である。
【0032】
なお、LO、HIの2つの切り換え(スイッチング)があるという認識は、図6、図7の種別・機能の定義に基づき、ビット番号14〜09の値が「110101」となっていることをもって行われる。
【0033】
制御回路2には、送信されるビットデータが何を表しているかを判別するための比較表がマイコン内のEEPROM3などに格納して用意されている。この場合、全種類のスイッチの判別が行えるように、共通化したソフトウエア(全種類の比較表を含む)が用意されており、制御回路2は、電源ON時に各スイッチの役割(どのような種類・機能を持ったスイッチであるか)を認識し、その認識の上で、各ホールIC6からの検出データと検出ポイント設定ルールとに基づいてスイッチの操作位置を判定し、判定した操作位置に対応した制御信号を外部の各駆動系7に出力する。
【0034】
従って、車種やグレードあるいはオプション装備が違ったとしても、マイコン1内の統一したソフトウエアによって適正な制御が行われることになり、スイッチ装置の標準化が可能となってコストダウンが図れる。また、スイッチ自体(厳密にはホールIC6)にスイッチ番号を記憶させるため、このシステムに対応しているならば(互換性があるならば)、ユーザーが任意の意匠のスイッチを選定して取り付けることも可能となるため、デザインの自由度を大幅に拡大することもできる。
【0035】
なお、上記実施形態では、スイッチの個々に識別番号を持たせることにより、制御回路2におけるソフトウエアの統一ができるものとしたが、ソフトウエアを機能毎に用意すれば、間違ったスイッチが取り付けられていないかのセルフチェック機能として活用することも可能である。
【0036】
また、上記実施形態では、センサとしてホール素子を用いた場合を示したが、スイッチ操作位置に応じた出力を発生することのできるものであれば、フォトセンサ等の他のセンサを使用してもよい。
【0037】
【発明の効果】
以上説明したように、請求項1の発明によれば、スイッチの操作位置を検出するセンサにそれぞれスイッチの識別情報を付与するようにしたので、制御手段側でスイッチの種類や機能等の違いを自動的に判別しながら、スイッチの操作位置を判定し、その判定した操作位置に対応した制御信号を出力することができる。従って、制御手段に書き込むソフトウエアの共通化が図れ、標準化によるコストダウンが可能となる。
【0038】
請求項2の発明によれば、請求項1の発明の効果に加えて、スイッチの識別情報の中に、センサの出力に基づく判定ルール情報を含ませているので、検出ポイント数の違いや検出ポイントの位置の違いにも、ソフトウエア側で容易に対応することができ、標準化によるコストダウンを図ることができる。
【0039】
請求項3の発明によれば、センサ側に記憶手段の他にA/D変換器や出力制御部を設けたので、制御手段側の負担を減らしながら、標準化によるコストダウンが図れる。また、センサとしてホール素子を使用するので、ホール素子を固定側に設けた場合、可動側に磁石を設けるだけで、多点検出が可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態のスイッチ装置を含むシステムの概略構成を示すブロック図である。
【図2】図1のシステムにおけるホールICの構成を示すブロック図である。
【図3】前記ホールICで行われるデータ処理の内容を示すフローチャートである。
【図4】前記ホールICの出力するビットデータの説明図である。
【図5】前記ホールICの出力するスイッチ番号のビットデータにおけるビットの振り分け内容を示す説明図である。
【図6】前記ビットデータの中のスイッチの種別に関する内容の説明図である。
【図7】前記ビットデータの中のスイッチの機能に関する内容の説明図である。
【図8】前記ビットデータの中のスイッチの機能に関する内容の説明図である。
【図9】前記ビットデータの中のスイッチ検出ポイントの設定内容の説明図である。
【図10】前記ビットデータの中のスイッチ検出ポイントの設定例の説明図である。
【図11】従来のライトスイッチの機能例の説明図である。
【図12】従来のワイパスイッチの機能例の説明図である。
【符号の説明】
2 制御回路(制御手段)
11 ホールIC
12 A/D変換器
13 記憶手段
14 出力制御部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a switch device such as a combination switch (also referred to as a column switch) mounted on a steering column of an automobile. In particular, the present invention relates to non-contact multipoint switching (multipoint detection) by using a sensor such as a hall element. The present invention relates to a switch device capable of performing the following.
[0002]
[Prior art]
2. Description of the Related Art A steering column of an automobile is equipped with various switches for operating ancillary devices related to traveling. These switches include, for example, a light switch, a wiper switch, a washer switch, and the like. Since all of these switches need to be deployed under the restricted conditions of the steering column, they are generally provided collectively in the form of a combination switch (column switch).
[0003]
Since these switches usually require multipoint switching (multipoint detection), in the case of a contact type disclosed in Japanese Patent Application Laid-Open No. H11-265639, for example, a plurality of fixed contacts are formed on a fixed substrate. The movable contact on the operation unit side is brought into contact therewith. Further, in the case of a non-contact type disclosed in Japanese Patent Application Laid-Open No. 8-273492, for example, an output change of a sensor (a photo sensor, a hall element, or the like) according to the movement of an operation unit is detected in multiple stages, The switch operation position is determined.
[0004]
[Problems to be solved by the invention]
By the way, column switches include light switches, fog lamp switches, high beam switches, turn switches, front wiper switches, front wiper intermittent switches, rear wiper switches, washer switches, and the like. There is a distinction of function.
[0005]
For example, taking the case of a light switch as an example, as shown in FIG. 11, the switch of the function A can switch between three positions of "headlight / small / OFF" in this order, and the switch of the function B The switch can switch between four positions of “AUTO / headlight / small / OFF” in this order, and the switch of function C can switch between four positions of “headlight / small / AUTO / OFF”. It is possible in order.
[0006]
Taking the case of a wiper switch as an example, as shown in FIG. 12, the function A switch can be switched between three positions of “OFF / LO / HI” in this order, and the function B switch Can switch five positions of “MIST / OFF / INT / LO / HI” in this order, and switch of function C can switch four positions of “OFF / INT variable / LO / HI” in this order. It is possible in order.
[0007]
As described above, there are various kinds of variations for each function. In addition, since the number of variasins increases depending on the type of vehicle, the grade, and the optional equipment, there are enormous types at the shipping stage.
[0008]
In the case of a conventional contact type switch, a movable contact and a fixed contact are individually designed in order to realize these various types of switches. For example, if the wiper lever has an intermittent function, a contact board is designed for each function. Also, when there is a distinction between the presence or absence and the position of AUTO in the light switch, the movable contact and the fixed contact are individually designed for each type. Therefore, there is a problem that the manufacturing cost increases.
[0009]
On the other hand, in the case of a conventional non-contact switch using a sensor such as a Hall element, it is extremely advantageous in that it is not necessary to individually design contacts, but for example, for each function, a switch operation according to the sensor output Since the method of recognizing the position must be distinguished by software, software must be rewritten for each function, and there are many types of software. There was a problem that cost reduction could not be achieved.
[0010]
In view of the above circumstances, the present invention enables a control means that receives a sensor output and recognizes a switch operation position to determine a difference in a switch type, a function, and the like, thereby sharing software written in the control means. It is an object of the present invention to provide a switch device capable of achieving the above.
[0011]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a sensor for generating an output corresponding to an operation position of a switch, and a control for determining an operation position of the switch based on an output of the sensor and outputting a control signal corresponding to the determined operation position Means, a storage means is attached to the sensor, and the identification information of the switch is written in the storage means, whereby the control means reads the identification information from the storage means and determines which switch After recognizing whether the switch is such, the operation position of the switch is determined based on the output of the sensor, and a control signal corresponding to the determined operation position is output.
[0012]
In this switch device, the control unit recognizes what kind of switch the switch is (type and function of the switch) based on information (switch identification information) of the storage unit attached to the sensor. Then, based on the recognition, the operation position of the switch is determined based on the output of the sensor, and a control signal corresponding to the operation position is output. Therefore, by storing in advance in the control means software that can deal with all types in common, it is possible to determine the switch operation position according to the type and function of the switch according to the identification information sent from the sensor side. It can be carried out.
[0013]
The invention according to claim 2 is the switch device according to claim 1, wherein the identification information includes rule information for determining an operation position of a switch from an output of the sensor. The control unit reads out the identification information from the storage unit and recognizes what kind of switch the switch is, and then determines a switch operation position based on the output of the sensor and the rule information, and determines the switch operation position. A control signal corresponding to the operation position is output.
[0014]
In this switch device, the determination rule information based on the sensor output is included in the switch identification information, so that the software can easily cope with a difference in the number of detection points and a difference in the position of the detection point. be able to.
[0015]
A third aspect of the present invention is the switch device according to the first or second aspect, wherein a Hall element is provided as the sensor, and the Hall element has an A / D converter that converts an analog output of the Hall element into a digital signal. An output control unit that outputs the identification information written in the storage unit to the outside only during the first processing when the power is turned on, and outputs the output data of the A / D converter to the outside from the next processing. It is characterized by being attached.
[0016]
In this switch device, the control unit can recognize the role of the switch or the sensor based on the identification information sent from the sensor side in the first processing at the time of power ON, and from the next processing, After recognition, control based on normal sensor output can be performed. Further, since a Hall element is used as a sensor, when the Hall element is provided on the fixed side, multipoint detection can be performed only by providing a magnet on the movable side.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0018]
FIG. 1 is a schematic block diagram illustrating the overall configuration of a system including the switch device according to the embodiment. This system includes a control circuit 2 mainly including a microcomputer (microcomputer) 1 as control means. The microcomputer 1 has an EEPROM 3 as a memory for storing software. A signal is transmitted from the detection-side element 4 to the control circuit 2, and the control circuit 2 outputs a predetermined control signal to the drive-side element 5 based on the input signal.
[0019]
In this system, a Hall IC 6 for detecting an operation position of each switch such as a light switch and a wiper switch is provided as a detection-side element 5. A drive system 7 such as a light or a turn lamp is provided as a drive-side element 5 to be operated.
[0020]
FIG. 2 is a block diagram showing the configuration of the Hall IC 6. The Hall IC 6 stores a Hall element 11 as a sensor for generating an output corresponding to the operation position of the switch, an A / D converter 12 for digitally converting an analog output of the Hall element 11, and identification information of each switch. A storage unit 13 and an output control unit 14 for outputting the identification information written in the storage unit 13 to the outside only during the first processing when the power is turned on, and outputting the output data of the A / D converter 12 to the outside from the next processing. And are included. As the storage means 13, a non-volatile memory such as an EEPROM in which data can be written after being incorporated in the system is used.
[0021]
The Hall IC 6 is incorporated in, for example, a sensing unit of each switch, and a magnet is provided on a movable side that moves according to a switch operation. When a switch is operated, the amount of magnetic flux entering the Hall element 11 from a magnet interlocking with a switch operation unit (a lever, a knob, or the like) changes, whereby the Hall element 11 generates detection data corresponding to the switch operation position. Is to occur.
[0022]
FIG. 3 shows the processing flow of the Hall IC 6, and FIG. 4 shows the contents of the bit data output from the Hall IC 6.
[0023]
A switch number (Part No.), which will be described in detail later, is written in the storage means 13 in the Hall IC 6 provided for each switch as identification information including information such as the type and function of the switch. As shown in the flow of FIG. 3, the IC 6 transmits the switch number (Part No.) written in the storage unit 13 to the outside only in the first processing (steps 101 and 102) when the power is turned on, and performs the next processing. From (Steps S103 and S104), the detection data obtained by digitally converting the detected magnetic field is transmitted. The output control unit 14 of the Hall IC 6 is programmed to perform such an operation. Therefore, after the power is turned on, the control circuit 2 on the receiving side first receives the switch number transmitted from each Hall IC 6, and determines from the received switch number which type and function the switch has. Then, according to the result of the judgment, a control signal for a related device such as a light or a wiper is output.
[0024]
Here, as shown in FIG. 4, there are two types of bit data output from the Hall IC 6, a switch number (Part No.) and detection data, both of which are transmitted as 16-bit data. Bit number 15 is fixed to a value “0” by SYNC, and bit number 00 is fixed to a value “1” by STOP. In the case of the data of the switch number (Part No.), the value of the bit number 14 is “1”, and in the case of the detection data, the value of the bit number 14 is “0”. Therefore, the control circuit 2 on the receiving side determines that the data is the switch number (Part No.) if the value of the bit number 14 is 1, and determines the detected data if the data of the bit number 14 is 0.
[0025]
FIG. 5 shows the distribution of each bit in the switch number (Part No.) of 16-bit data. Bit numbers 14 to 11 indicate the type of the switch, bit numbers 10 and 09 indicate the function of the switch, and bit numbers 08 to 01 indicate the bits so as to indicate the detection point setting contents of the switch.
[0026]
As shown in FIG. 6, the types of switches having bit numbers 14 to 11 are light (headlight), fog (fog lamp), high beam (high beam light), turn (turn lamp), front wiper, intermittent front wiper, rear wiper, Washers are prepared, and bit data for distinguishing the washers is allocated.
[0027]
As the function of the switch for bits 10 and 09, bit data is allocated as shown in FIGS. FIG. 7 shows an example of the function division of the wiper switch, and FIG. 8 shows an example of the function division of the light switch.
[0028]
In the example of the wiper switch shown in FIG. 7, bit data is allocated according to three types of functions, “OFF / LO / HI”, “OFF / INT / LO / HI”, and “MIST / OFF / INT / LO / HI”. Have been. Further, in the example of the light switch in FIG. 8, the bit is determined according to three types of functions of “headlight / small / OFF”, “AUTO / headlight / small / OFF”, and “headlight / small / AUTO / OFF”. Data is allocated.
[0029]
The bit numbers 08 to 01 are used for setting detection points, and the combination of whether or not there is a detection point for each range of the detection data of the Hall element 11 is defined by the value of each bit number. .
[0030]
The range is divided as shown in FIG.
"1024-2047"
"2048-3071"
"3072-4095"
"4096-5119"
"5120-6143"
"6144-1167"
"7168-8191"
, And one bit of bit numbers “08 to 01” is assigned to each range. In FIG. 9, when there is a detection point, that is, the value of the bit number at the position where the switch is turned on is “1”.
[0031]
FIG. 10 shows a case of a wiper switch as an example of setting a detection point. The contents shown in FIG. 10 are rule information for determining the operation position of the switch from the detection data of the Hall element 11. For example, looking at the case of “OFF / LO / HI (Example 1)” in FIG. 10, since the value of bit number 07 = 1 and the value of bit number 06 = 1, the detection data from Hall IC 6 It indicates that the switch is determined to be LO when 1024 to 2047, and to be HI when 2048 to 3071. The same applies to other cases.
[0032]
Recognition that there are two switchings (switching) between LO and HI is performed based on the definition of the type and function in FIGS. 6 and 7 that the values of the bit numbers 14 to 09 are “110101”. Is
[0033]
In the control circuit 2, a comparison table for determining what the transmitted bit data represents is stored in the EEPROM 3 or the like in the microcomputer. In this case, common software (including all types of comparison tables) is prepared so that all types of switches can be determined, and the control circuit 2 determines the role of each switch when power is turned on (what kind of switch). Type and function), and based on the recognition, determines the switch operation position based on the detection data from each Hall IC 6 and the detection point setting rule. A corresponding control signal is output to each of the external drive systems 7.
[0034]
Therefore, even if the vehicle type, grade, or optional equipment is different, appropriate control is performed by the unified software in the microcomputer 1, so that the switch device can be standardized and the cost can be reduced. In addition, since the switch number is stored in the switch itself (strictly, the Hall IC 6), if the system is compatible (if compatible), the user can select and install a switch of any design. This also makes it possible to greatly increase the degree of freedom in design.
[0035]
In the above embodiment, it is assumed that the software in the control circuit 2 can be unified by giving each switch an identification number. However, if the software is prepared for each function, an incorrect switch can be attached. It can also be used as a self-check function.
[0036]
Further, in the above embodiment, the case where the Hall element is used as the sensor has been described. However, as long as it can generate an output corresponding to the switch operation position, another sensor such as a photo sensor may be used. Good.
[0037]
【The invention's effect】
As described above, according to the first aspect of the present invention, the identification information of the switch is given to each of the sensors for detecting the operation position of the switch. The switch operation position can be determined while automatically determining, and a control signal corresponding to the determined operation position can be output. Therefore, the software written in the control means can be shared, and the cost can be reduced by standardization.
[0038]
According to the second aspect of the present invention, in addition to the effect of the first aspect of the present invention, the determination rule information based on the output of the sensor is included in the switch identification information. The software can easily cope with the difference in the point position, and the cost can be reduced by standardization.
[0039]
According to the third aspect of the present invention, since the A / D converter and the output control unit are provided on the sensor side in addition to the storage unit, the cost can be reduced by standardization while reducing the load on the control unit side. Further, since a Hall element is used as a sensor, when the Hall element is provided on the fixed side, multipoint detection can be performed only by providing a magnet on the movable side.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a system including a switch device according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration of a Hall IC in the system of FIG. 1;
FIG. 3 is a flowchart showing the contents of data processing performed by the Hall IC.
FIG. 4 is an explanatory diagram of bit data output from the Hall IC.
FIG. 5 is an explanatory diagram showing the distribution of bits in bit data of a switch number output from the Hall IC.
FIG. 6 is an explanatory diagram of contents related to a switch type in the bit data.
FIG. 7 is an explanatory diagram of contents related to a switch function in the bit data.
FIG. 8 is an explanatory diagram of contents relating to a switch function in the bit data.
FIG. 9 is an explanatory diagram of setting contents of a switch detection point in the bit data.
FIG. 10 is an explanatory diagram of an example of setting a switch detection point in the bit data.
FIG. 11 is an explanatory diagram of a function example of a conventional light switch.
FIG. 12 is an explanatory diagram of a function example of a conventional wiper switch.
[Explanation of symbols]
2 control circuit (control means)
11 Hall IC
12 A / D converter 13 Storage means 14 Output control unit

Claims (3)

スイッチの操作位置に応じた出力を発生するセンサと、該センサの出力に基づいてスイッチの操作位置を判定し、その判定した操作位置に対応した制御信号を出力する制御手段とを有するスイッチ装置において、
前記センサに記憶手段を付設し、該記憶手段に前記スイッチの識別情報を書き込むことで、前記制御手段が、前記記憶手段から前記識別情報を読み出して当該スイッチがどのようなスイッチかを認識した上で、前記センサの出力に基づいてスイッチの操作位置を判定し、その判定した操作位置に対応した制御信号を出力することを特徴とするスイッチ装置。
A switch device comprising: a sensor that generates an output corresponding to an operation position of a switch; and a control unit that determines an operation position of the switch based on an output of the sensor and outputs a control signal corresponding to the determined operation position. ,
By attaching storage means to the sensor and writing the identification information of the switch to the storage means, the control means reads the identification information from the storage means and recognizes what kind of switch the switch is. A switch device that determines an operation position of the switch based on an output of the sensor, and outputs a control signal corresponding to the determined operation position.
請求項1に記載のスイッチ装置であって、
前記識別情報の中に、前記センサの出力からスイッチの操作位置を判定するためのルール情報を含ませておくことで、前記制御手段が、前記記憶手段から前記識別情報を読み出して当該スイッチがどのようなスイッチかを認識した上で、前記センサの出力と前記ルール情報とに基づいてスイッチ操作位置を判定し、判定した操作位置に対応した制御信号を出力することを特徴とするスイッチ装置。
The switch device according to claim 1, wherein
By including rule information for determining the operation position of the switch from the output of the sensor in the identification information, the control unit reads the identification information from the storage unit and determines which switch A switch device that recognizes whether the switch is such a switch, determines a switch operation position based on the output of the sensor and the rule information, and outputs a control signal corresponding to the determined operation position.
請求項1または2に記載のスイッチ装置であって、
前記センサとしてホール素子を設け、このホール素子に、該ホール素子のアナログ出力をデジタル変換するA/D変換器と、前記記憶手段と、電源ON時の初回の処理だけ前記記憶手段に書き込まれた識別情報を外部に出力させ且つ次回の処理から前記A/D変換器の出力データを外部に出力させる出力制御部とを付設したことを特徴とするスイッチ装置。
The switch device according to claim 1 or 2,
A Hall element was provided as the sensor, an A / D converter for converting an analog output of the Hall element into a digital signal, the storage means, and the first processing at the time of power-on were written in the storage means. An output control unit for outputting identification information to the outside and outputting the output data of the A / D converter to the outside from the next processing.
JP2001387851A 2001-12-20 2001-12-20 Switch device Expired - Fee Related JP3595302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001387851A JP3595302B2 (en) 2001-12-20 2001-12-20 Switch device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001387851A JP3595302B2 (en) 2001-12-20 2001-12-20 Switch device

Publications (2)

Publication Number Publication Date
JP2003188701A JP2003188701A (en) 2003-07-04
JP3595302B2 true JP3595302B2 (en) 2004-12-02

Family

ID=27596555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001387851A Expired - Fee Related JP3595302B2 (en) 2001-12-20 2001-12-20 Switch device

Country Status (1)

Country Link
JP (1) JP3595302B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005135530A (en) 2003-10-30 2005-05-26 Toshiba Corp Head positioning control system, disk storage device and servo writing method
JP2022174982A (en) * 2021-05-12 2022-11-25 株式会社東海理化電機製作所 Switching system and connection equipment

Also Published As

Publication number Publication date
JP2003188701A (en) 2003-07-04

Similar Documents

Publication Publication Date Title
US5090269A (en) System for automatically controlling transmission for vehicles
US8963364B2 (en) Vehicle-mounted device and key switch identification method
US20200248795A1 (en) Device and method for determining a position of an actuating element for a transmission of a vehicle and system for effecting shifting operations of a transmission of a vehicle
KR100187739B1 (en) Control systems for automotive air conditioning systems
JP3595302B2 (en) Switch device
US6226602B1 (en) Electric circuit arrangement
US7903539B2 (en) Electronic control unit
JP4947493B2 (en) Vehicle air conditioner control device with sensor identification function
JP4327723B2 (en) Control device
US12319195B2 (en) Headlamp for a vehicle
CN101278526A (en) Communication systems for technical equipment, especially motor vehicles
JP2020061323A (en) Switch device and switch system
JP3748514B2 (en) Sensor state detection device
US20210231089A1 (en) Programmable non-contact switch and method of emulating high-reliability switch
US20190171614A1 (en) Arithmetic unit
JP3799471B2 (en) Microcomputer direction setting method and microcomputer direction setting system
US7496437B2 (en) Protective device for a vehicle
JP3820135B2 (en) Printed wiring board
KR100299789B1 (en) How to detect the steering neutral position of the vehicle
US7257473B2 (en) Steering column switch system comprising an emergency operation function
KR100234321B1 (en) Method for processing limit signal
KR100374862B1 (en) Circuit for controlling failure of MICOM
JPH08186Y2 (en) Vehicle display
WO2022239564A1 (en) Switch system and connection apparatus
JPH1027010A (en) RUN / STOP input signal processing method for programmable controller

Legal Events

Date Code Title Description
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: 20040831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040902

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20080910

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090910

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100910

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees