JP4060133B2 - Pulse encoder - Google Patents

Pulse encoder Download PDF

Info

Publication number
JP4060133B2
JP4060133B2 JP2002188257A JP2002188257A JP4060133B2 JP 4060133 B2 JP4060133 B2 JP 4060133B2 JP 2002188257 A JP2002188257 A JP 2002188257A JP 2002188257 A JP2002188257 A JP 2002188257A JP 4060133 B2 JP4060133 B2 JP 4060133B2
Authority
JP
Japan
Prior art keywords
rotating body
pulse
sensor
circuit
output
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
JP2002188257A
Other languages
Japanese (ja)
Other versions
JP2004028894A (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.)
Nippon Cable System Inc
Hi Lex Corp
Original Assignee
Nippon Cable System Inc
Hi Lex 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 Nippon Cable System Inc, Hi Lex Corp filed Critical Nippon Cable System Inc
Priority to JP2002188257A priority Critical patent/JP4060133B2/en
Publication of JP2004028894A publication Critical patent/JP2004028894A/en
Application granted granted Critical
Publication of JP4060133B2 publication Critical patent/JP4060133B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、回転体の回転数および回転角を検出するロータリエンコーダなどに用いられるパルスエンコーダに関する。
【0002】
【従来の技術】
従来より、自動車の電動開閉式のスライドドアの位置を検出してドア位置制御を行ったり、ドアミラーの角度を調節する装置などでは、回転駆動部の回転数や回転角を検出するロータリエンコーダが用いられている。そのようなロータリエンコーダには、回転体の所定回転角度ごとにパルスを発生する光学式、磁気式などの非接触式のセンサが用いられている。この種の非接触式のセンサは、通常、主電源をオフにしたときに待ち受け状態を維持するため、バックアップ用電池で電源を供給する必要があるが、そのときの消費電流(暗電流)が大きい。そのため、バックアップ用電池の消費電流を低減して電池の寿命を向上させるべく、種々の提案がなされている。
【0003】
たとえば、特開平5−79853号公報には、回路全体の主電源がオフされたときに、消費電力が大きい発光素子に対しては回転ディスクが原点位置近辺にあるときのみ通電し、消費電力が少ない磁気抵抗検出素子およびカウンタ回路を含む回転数計数用の電気回路には、バッテリ電源により連続通電を行なう技術が開示されている。これにより、電源停止後の電池等によるバックアップ作動時に多くの消費電流を費やすことなくバックアップ電池の寿命が長くなる。
【0004】
また、特開平7−35574号公報においては、A・B相磁気抵抗効果素子の電源を外部電源と電池の2系統を切り換えて供給するダイオードを用いた電源回路にし、また、Z相磁気抵抗効果素子の電源を外部電源のみから供給する電源回路にした構成が開示されている。このものは、停電時の電池駆動の場合には、A・B相磁気抵抗効果素子のみへ電源が供給されるので、バックアップ用電池の消費電流が低減する。
【0005】
さらに、特開平10−73458号公報に開示されているロータリエンコーダでは、主電源のオン時は、全体の回路と、発光体と、1回転検出素子及び多回転検出素子に主電源から電源が供給され、停電等による主電源のオフ時は、バックアップ用電池から発光体制御回路、発光体、および受光体の一方の多回転検出用素子及び多回転データ検出回路へ電源を供給するようにしている。これにより、主電源オフ時における消費電流を低減させてバックアップ用電池の寿命が長くなる。
【0006】
【発明が解決しようとする課題】
しかしながらかかる従来例においては、電源の停電や主電源のオフ時においてバックアップ電源の電池から特定の回路や素子のみに電源を供給して消費電流の低減化を図っているものの、回転体が停止していて検出用パルスが発生していない時(パルス停止時)でも特定の回路や素子に電源を供給し続けている。すなわち、非接触式センサを用いたパルスエンコーダにおいては、バックアップ用の電池から特定の回路や素子にだけ電源を供給するようにしても、消費電流が数mA〜数10mAと大きく、自動車のようにバッテリを用いた機器では、バッテリ上がりが懸念されるという問題がある。
【0007】
本発明は上述の問題点に鑑みてなされたものであって、回転体が停止しているときの非接触式のセンサの暗電流を大幅に低減させることができるパルスエンコーダを提供することを目的としている。さらに本発明は、回転体の正確な回転状態と共に、大まかな回転状態をも同時に検出しうるパルスエンコーダを提供することを第2の技術課題としている。
【0008】
【課題を解決するための手段】
本発明のパルスエンコーダ(請求項1)は、第1の回転体と、その第1の回転体と同期して回転すると共に、N極とS極が交互に着磁された環状のマグネットを備えた第2の回転体と、前記第1の回転体の一定角度の回転ごとにパルスを発生する非接触式のセンサと、前記第2の回転体の回転状態/停止状態を検出する検出手段と、電源と前記センサとの間に介在され、前記検出手段が第2の回転体の停止状態を検出したときに前記電源からセンサへの電源供給を遮断し、回転状態を検出したときに電源供給を行うスイッチ素子と、前記回転体が停止したとき、そのときの前記センサの出力を保持するラッチ手段とを備えており、前記検出手段が、第2の回転体に隣接して設けられ、第2の回転体の一定角度の回転ごとにオン/オフするリードスイッチを備えていることを特徴としている。
【0009】
前記ラッチ手段は、CMOSデバイスからなるラッチ回路によって構成するのが好ましい(請求項)。
【0011】
このようなパルスエンコーダにおいては、前記非接触式のセンサがホール素子を備えており、前記第1の回転体が第2の回転体を兼ねているものが好ましい(請求項)。
【0012】
【作用および発明の効果】
本発明のパルスエンコーダ(請求項1)は、回転体が回転している間は検出手段がその回転を検出し、スイッチ素子が作動して電源からセンサへ電源供給する。そのため非接触式のセンサに電源が供給されて作動を開始し、回転体の回転に伴ってパルスを発生ないし出力する。そして回転体の回転が停止したときは、検出手段が回転の停止を検出し、スイッチ素子がセンサへの電源供給を遮断する。
【0013】
また、回転体が停止状態から回転を開始すると、検出手段が回転を検出し、スイッチ素子が電源からセンサへの電源供給を開始し、センサが再びパルスを発生し始める。このように本発明のパルスエンコーダでは、必要なときのみ、すなわち回転体が回転しているときのみセンサへの電源供給が行われるので、センサの暗電流がほとんど不要である。そのため消費電力を大幅に減少させることができる。
【0014】
また、前記回転体が停止したとき、そのときの前記センサの出力を保持するラッチ手段をさらに備えているので、回転体の停止時にセンサへの電源が遮断されても、遮断される直前ないし遮断された瞬間のセンサ出力を保持する。そのため、センサの正常な出力信号を維持することができ、センサの不安定な作動による誤ったパルス発生を防止することができる。
さらに第1の回転体の回転に伴って非接触式のセンサが正確にパルスを発生する。それにより回転体の回転とパルスの発生が正確に対応し、回転体の回転状態、すなわち回転数や回転角度を正確に検出することができる。他方、第2の回転体が回転すると、リードスイッチに対向するマグネットの磁極が変わるたびにリードスイッチがオン/オフ動作する。そのためそのオン/オフの接点信号で第2の回転体のおおまかな回転状態、たとえば回転中か、停止中かを検出することができる。また前記非接触センサと合わせて回転方向を検出させることもできる。さらにリードスイッチは作動させるための暗電流が不要であるので、電力を節約することができる。
【0015】
前記ラッチ手段をCMOSデバイスからなるラッチ回路で構成する場合(請求項)は、センサ出力を保持するラッチ手段の消費電流を大幅に低減できる。そのため前述の必要なときのみセンサへの電源を供給する構成と相まって、一層、消費電流を低減することができる。
【0017】
前記非接触式のセンサがホール素子を備えている場合は、前記第1の回転体が第2の回転体を兼ねることが可能となる(請求項)。この交互に着磁されている回転体のマグネットは、ホール素子の作動とリードスイッチの作動の両方に作用する。そのため部品点数を少なくすることができ、しかも両者の作動の連携が確実である。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して詳細に説明する。図1は本発明のパルスエンコーダの一実施形態を示す全体の回路図、図2aおよび図2bはそれぞれ図1のパルスエンコーダの動作説明図、図3は本発明に関わる起動回路の一実施形態を示す回路図、図4は本発明に関わるラッチ回路の一実施形態を示す回路図である。
【0019】
図1に示すパルスエンコーダ10は、たとえば自動車の電動式スライドドアの駆動用ケーブルのドラムなどと連動する回転体(ドラム自体、ギヤなど)の回転数や回転角度を検出し、その出力に基づいてドアの位置を検出し、図示していないモータの回転速度、オン/オフなどを制御するために用いられるものである。また、手動操作でスライドドアを開閉するとき、その動きを検出して自動的に自動開閉に切り換えるためなどにも用いられる。ただし他の用途、たとえばドアミラーの開閉モータの制御、ウインドレギュレータのガラス昇降用モータの制御、サンルーフの窓開閉用モータの制御など、パルスエンコーダを適用することができるシステム全般に用いることができる。
【0020】
このパルスエンコーダ10の回路全体への電源は、例えば自動車のバッテリ11から供給されており、回転体12にはマグネット13が同調回転するように連結されている。マグネット13は周方向にN極とS極を交互に着磁させたものであり、この実施形態では簡単のために2個のN極と2個のS極が交互に設けられている。そしてマグネット13と共に非接触のセンサを構成するホール素子(ホールIC)14が設けられている。それにより回転体12の回転によりマグネット13も回転し、そのマグネット13の1/4回転ごとにホール素子14の出力端子からパルスが出力されるようにしている。
【0021】
前記ホール素子14への電源は起動回路15からのシャットダウン信号によりオン、オフされる制御用トランジスタTrを介して供給されるようにしている。また、前記マグネット13に隣接して、そのSN極の境界が接点に来るとオンになり、それ以外はオフになるリードスイッチ16が設けられている。そしてリードスイッチ16の接点信号が起動回路に供給され、SN極の境界が接点に来てオンになるときのパルス信号で起動回路に起動信号を発生させるようにしている。なお、トランスファータイプのリードスイッチを用いてもよく、その場合は逆に常時オンで、SN極の境界が接点にくるとオフになるノルマルオープンリードに接続してもよい。
【0022】
なお、オン/オフ両方検出する目的で、図3の符号21、22に示すように、極性をそれぞれ反転入力させた2つの74シリーズのCMOSデバイス、たとえば74HC123を搭載するようにしてもよい。
【0023】
さらにこの実施形態では、一定時間内にリードスイッチのオン/オフが切り換わらず、それにより起動回路15にパルスが入力しない場合に前記トランジスタTrをオフさせるオフタイマーの機能を備えている。すなわち図3を参照して、起動回路15にパルスが入力していない状態で一定時間が経過するとオフタイマがアップする。そしてQバー出力がHになり、トランジスタTrがオフになる。それによりシャットダウンとなる。シャットダウン中にリードスイッチのオン/オフによるパルスが発生して起動回路15に入力すると、タイマがリセットされると共にQバー出力がLとなり、図1のトランジスタTrがオンし、ホール素子14に電源が供給される。それ以降は一定時間内(タイマ作動中)に、次々とパルス入力があれば電源が供給され続けるが、一定時間内にパルス入力がなければ、シャットダウンされる。
【0024】
前記ホール素子14からの出力パルスは、その出力パルスをラッチするラッチ回路17のD入力端に入力されている。そして起動回路15からインバータゲートGを介した反転信号がイネーブル端子ENに入力されており、このイネーブル端子ENがHレベルの時に、ラッチ回路17のD入力端からパルスが入力したとき、その出力端Qからパルス信号が出力される。このラッチ回路17の出力端Qからのパルス信号が回転体12の検出信号として、図外の制御回路などのアップダウンカウンタなどに入力され、回転体12の回転数や回転角度を算出してスライドドアなどの位置を検出するために用いられる。
【0025】
なお、図1において、R1は電源オフ時のプルダウン抵抗であり、R2はプルアップ抵抗である。また前述の起動回路15からイネーブル端子ENに入力する回路は、たとえば図3の符号24、25に示すように、極性をそれぞれ反転入力させた2つの74シリーズのCMOSデバイス(たとえば74HC123)によって構成することができる。
【0026】
つぎに図1および図2a、図2bを参照して非接触式センサ10の制御動作について説明する。図2aの最上段は回転体の回転状態と停止状態を示している。回転体12が回転しているときは、マグネット13も回転しているので、図2aのリードスイッチのライン(2段目)に示すようにリードスイッチ4がオン/オフを交互に繰り返し、それによりオフタイマ回路の設定時間T内に次々と起動回路15にパルスを送る。それにより、起動回路15をオン駆動した状態を維持する(3段目の起動回路のライン参照)。この起動回路15がオン駆動されていると、起動回路15の出力はLレベルとなり(起動回路出力のライン参照)、PNP型のトランジスタTrをオンさせてホール素子14へ電源を供給し続けると共に(制御用トランジスタおよびホール素子電源のライン参照)、インバータゲートGを介してラッチ回路17のイネーブル端子ENをHレベルに維持させる。これにより、ホール素子14からの信号はラッチ回路17のD入力端を介して出力端Qより、そのままパルス信号として出力される(Dラッチ出力のライン参照)。
【0027】
つぎに回転体の回転が停止すると、マグネット13の回転も停止してリードスイッチ4がオンまたはオフで一定になり、パルスを発生しなくなる(リードスイッチのライン参照)。そしてオフタイマの設定時間T内につぎのパルスが入力されないときは、起動回路のオフタイマ機能により、シャットダウン信号が出され(起動回路のライン参照)、トランジスタTrをオフ状態にする。それによりホール素子14への電源の供給が遮断される。そのため電気消費量が大幅に減少する。なお、起動回路15からのシャットダウン信号はリードスイッチの最後のパルスより一定時間T遅れて出されることになる。また起動回路15やラッチ回路17には常時電源が供給されているが、ホール素子14の電気消費量に比して遙かに少ないため、全体としての電気消費量は大幅に少なくなる。
【0028】
さらにトランジスタTrがオフ作動するとき、ラッチ回路17のイネーブル端子ENはHレベルとなっているので、ラッチ回路17のD入力端に入力されたパルスエンコーダが停止した時の信号の状態のホール素子14の出力がそのまま出力されている(Dラッチ出力のライン参照)。
【0029】
このようにホール素子14の電源供給が停止されてもラッチ回路17では、ホール素子14からの信号をラッチしており、ラッチ回路17の出力端Qからは例えば、Lレベルの信号を出力し続けている。すなわち、回転体12(あるいはパルスエンコーダ)の回転の停止と同時にトランジスタTrをオフさせてホール素子14への電源供給を停止すると、ホール素子14の出力が不定となり、出力信号を正常に保持することができなくなる。そのため、回転体(パルスエンコーダ)が作動していないにも関わらず、センサ出力(ホール素子14出力)が変化する場合がある。そこで、この非接触センサ10では、ホール素子14の出力後にラッチ回路17を設けてホール素子14の電源がオフしても以前の出力状態を保持して安定させている。
【0030】
前記図2aのホール素子出力およびDラッチ出力のラインは、ホール素子の出力がLの状態で回転体が停止した場合を示しており、ホール素子の電源がシャットオフされている間はDラッチ出力がLの状態が維持されている。他方、図2bはホール素子の出力がHの状態で回転が停止した状態であり、電源がシャットオフされてホール素子の出力がLになっても、ラッチ回路17の出力はHの状態が維持されていることを示している。
【0031】
なお、ラッチ回路の構成要素には、図4の符号26、27に示すように、74シリーズのCMOSデバイス(たとえば、74HC74)を用いることができ、これにより、パルスエンコーダが停止している状態では、ホール素子14への電源をオフとし、ラッチ回路17の消費電流はμAオーダの電源電流レベルを実現することができる。なお、ホール素子14の消費電流は通常、数mA〜数10mAである。したがって、回転体の回転停止時には、電池の消費電流を大幅に低減することができ、バッテリの寿命を大幅に向上させることができる。
【0032】
つぎに回転体12が回転を始めると、その回転によりマグネット13を介してリードスイッチ4がオン/オフを切り換えるようになり、パルスを起動回路15に送る。それにより起動回路15がオン駆動される。起動回路15がオン駆動されると、起動回路15の出力はLレベルとなり、トランジスタTrをオンしてホール素子14に電源の供給を開始すると同時に、インバータゲートGを介してラッチ回路17のイネーブル端子ENをHレベルにし、D入力端に入力されるホール素子14からのパルス信号を出力端Qよりそのまま出力する。すなわち図2aの場合はLレベルで出力し、図2bの場合はHレベルで出力する。
【0033】
前記実施形態では回転体12と磁石13とを別個のものとしているが、回転体12の外周にN極とS極とが交互に配列されるように、複数個のマグネットを設けるようにしてもよい。また、ホール素子用のマグネット付きの第1の回転体と、リードスイッチ用のマグネット付きの第2の回転体とを別個に設け、両者を軸などで一体に連結したり、ギヤを介して連結してもよい。その場合は第1の回転体の磁極の数と第2の回転体の磁極の数が異なっていてもよい。
【0034】
さらに前述の実施形態では、非接触式のセンサとして磁気検出式のホール素子を採用しているが、ホトトランジスタなどの光学式の非接触式のセンサを用い、回転体に光を通す部分(たとえば貫通孔あるいは透明部)と通さない部分とを交互に設けるようにしてもよい。その場合もホトトランジスタ用の第1の回転体とリードスイッチ用の磁極を備えた第2の回転体とを1個の回転体で兼用させることができる。その場合もホトトランジスタとリードスイッチの作動のタイミングをずらせることができる。
【図面の簡単な説明】
【図1】 本発明のパルスエンコーダの一実施形態を示す全体の回路図である。
【図2】 図2aおよび図2bはそれぞれ図1のパルスエンコーダの動作説明図である。
【図3】 本発明に関わる起動回路の一実施形態を示す回路図である。
【図4】 本発明に関わるラッチ回路の一実施形態を示す回路図である。
【符号の説明】
10 パルスエンコーダ
11 バッテリ
12 回転体
13 マグネット
14 ホール素子
15 起動回路
Tr トランジスタ
16 リードスイッチ
17 ラッチ回路
21、22、24、25、26、27 CMOSデバイス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a pulse encoder used for a rotary encoder that detects the number of rotations and a rotation angle of a rotating body.
[0002]
[Prior art]
Conventionally, a rotary encoder that detects the number of rotations and the rotation angle of a rotary drive unit has been used in devices that control the position of a door by detecting the position of an electric open / close slide door of an automobile or adjust the angle of a door mirror. It has been. In such a rotary encoder, a non-contact type sensor such as an optical type or a magnetic type that generates a pulse at every predetermined rotation angle of a rotating body is used. This kind of non-contact type sensor usually needs to be supplied with a backup battery in order to maintain a standby state when the main power supply is turned off, but the current consumption (dark current) at that time is large. Therefore, various proposals have been made to reduce the current consumption of the backup battery and improve the battery life.
[0003]
For example, in Japanese Patent Laid-Open No. 5-79853, when the main power supply of the entire circuit is turned off, a light-emitting element with large power consumption is energized only when the rotating disk is near the origin position, and the power consumption is reduced. A technique for continuously energizing a battery power source is disclosed for an electric circuit for counting the number of revolutions including a small number of magnetoresistive detection elements and counter circuits. This extends the life of the backup battery without consuming a large amount of current consumption during the backup operation with the battery after the power is stopped.
[0004]
In Japanese Patent Laid-Open No. 7-35574, the power source of the A / B phase magnetoresistive effect element is a power source circuit using a diode that switches between two systems of an external power source and a battery, and the Z phase magnetoresistive effect A configuration is disclosed in which a power supply circuit that supplies power from only an external power supply is used. In this case, in the case of battery driving at the time of a power failure, power is supplied only to the A / B phase magnetoresistive effect element, so the current consumption of the backup battery is reduced.
[0005]
Further, in the rotary encoder disclosed in Japanese Patent Application Laid-Open No. 10-73458, when the main power is turned on, power is supplied from the main power to the entire circuit, the light emitter, the single rotation detection element, and the multiple rotation detection element. When the main power supply is turned off due to a power failure or the like, power is supplied from the backup battery to the multi-rotation detection element and the multi-rotation data detection circuit of the light emitter control circuit, the light emitter, and the light receiver. . This reduces the current consumption when the main power is off, and extends the life of the backup battery.
[0006]
[Problems to be solved by the invention]
However, in such a conventional example, the power source is supplied from the backup power source battery to only a specific circuit or element in the event of a power failure or the main power source is turned off to reduce current consumption, but the rotating body stops. Even when no detection pulse is generated (when the pulse is stopped), power is continuously supplied to a specific circuit or element. That is, in a pulse encoder using a non-contact type sensor, even if power is supplied only to a specific circuit or element from a backup battery, the current consumption is as large as several mA to several tens of mA, which is similar to an automobile. In the apparatus using a battery, there exists a problem that a battery runs out.
[0007]
The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a pulse encoder that can greatly reduce the dark current of a non-contact sensor when a rotating body is stopped. It is said. Furthermore, a second technical problem of the present invention is to provide a pulse encoder capable of simultaneously detecting a rough rotational state as well as an accurate rotational state of a rotating body.
[0008]
[Means for Solving the Problems]
A pulse encoder according to the present invention (Claim 1) includes a first rotating body and an annular magnet that rotates in synchronization with the first rotating body and is alternately magnetized with N and S poles. A second rotating body, a non-contact type sensor that generates a pulse every rotation of the first rotating body at a certain angle, and a detecting means for detecting a rotating state / stopped state of the second rotating body. , Interposed between the power source and the sensor, the power supply from the power source to the sensor is cut off when the detecting means detects the stop state of the second rotating body, and the power source is supplied when the rotating state is detected. A switching element that holds the output of the sensor when the rotating body is stopped, and the detecting means is provided adjacent to the second rotating body, Lee which turns on / off every rotation of a certain angle of the rotating body of 2 It is characterized in that it comprises a switch.
[0009]
It said latch means, to configure a latch circuit consisting of CMOS devices good preferable (claim 2).
[0011]
In such a pulse encoder, the non-contact type sensor is provided with a Hall element, which the first rotating body also serves as the second rotating member is preferably (claim 3).
[0012]
[Operation and effect of the invention]
In the pulse encoder of the present invention (Claim 1), while the rotating body is rotating, the detecting means detects the rotation, and the switch element is activated to supply power from the power source to the sensor. Therefore, power is supplied to the non-contact type sensor to start operation, and pulses are generated or output as the rotating body rotates. When the rotation of the rotating body is stopped, the detecting means detects the stop of the rotation, and the switch element cuts off the power supply to the sensor.
[0013]
When the rotating body starts rotating from the stopped state, the detecting means detects the rotation, the switch element starts supplying power from the power source to the sensor, and the sensor starts to generate pulses again. As described above, in the pulse encoder of the present invention, the power supply to the sensor is performed only when necessary, that is, when the rotating body is rotating, so that the dark current of the sensor is almost unnecessary. Therefore, power consumption can be greatly reduced.
[0014]
Further, when the rotating body stops, it further includes a latch means for holding the output of the sensor at that time, so even if the power to the sensor is interrupted when the rotating body is stopped, Holds the sensor output at the moment. Therefore, a normal output signal of the sensor can be maintained, and erroneous pulse generation due to an unstable operation of the sensor can be prevented.
Further, the non-contact sensor accurately generates a pulse as the first rotating body rotates. As a result, the rotation of the rotating body and the generation of pulses correspond accurately, and the rotating state of the rotating body, that is, the rotation speed and the rotation angle can be accurately detected. On the other hand, when the second rotating body rotates, the reed switch is turned on / off every time the magnetic pole of the magnet facing the reed switch changes. Therefore, it is possible to detect the rough rotation state of the second rotating body, for example, whether it is rotating or stopped, with the ON / OFF contact signal. Also, the rotation direction can be detected together with the non-contact sensor. Furthermore, since the reed switch does not require dark current to operate, power can be saved.
[0015]
When the latch means is constituted by a latch circuit made of a CMOS device (claim 2 ), the consumption current of the latch means for holding the sensor output can be greatly reduced. Therefore, the current consumption can be further reduced in combination with the configuration in which the power is supplied to the sensor only when necessary.
[0017]
When the non-contact sensor includes a Hall element, the first rotating body can also serve as the second rotating body (Claim 3 ). The magnets of the rotating body that are alternately magnetized act on both the operation of the Hall element and the operation of the reed switch. As a result, the number of parts can be reduced, and the cooperation between the two operations is reliable.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is an overall circuit diagram showing an embodiment of a pulse encoder of the present invention, FIGS. 2a and 2b are diagrams for explaining the operation of the pulse encoder of FIG. 1, and FIG. 3 is an embodiment of an activation circuit according to the present invention. FIG. 4 is a circuit diagram showing an embodiment of a latch circuit according to the present invention.
[0019]
The pulse encoder 10 shown in FIG. 1 detects the number of rotations and rotation angle of a rotating body (drum itself, gear, etc.) interlocked with, for example, a drive cable drum of an electric sliding door of an automobile, and based on the output. It is used to detect the position of the door and control the rotational speed, on / off, etc. of a motor (not shown). Further, when the sliding door is opened and closed by manual operation, it is also used for detecting the movement and automatically switching to automatic opening and closing. However, it can be used for all systems to which the pulse encoder can be applied, such as control of door mirror opening / closing motors, control of window regulator motors for window regulators, control of sunroof window opening / closing motors.
[0020]
Power to the entire circuit of the pulse encoder 10 is supplied from, for example, a battery 11 of an automobile, and a magnet 13 is connected to the rotating body 12 so as to rotate in synchronization. The magnet 13 is obtained by alternately magnetizing N poles and S poles in the circumferential direction. In this embodiment, two N poles and two S poles are alternately provided for simplicity. A Hall element (Hall IC) 14 that constitutes a non-contact sensor together with the magnet 13 is provided. Thereby, the magnet 13 is also rotated by the rotation of the rotating body 12, and a pulse is output from the output terminal of the Hall element 14 every ¼ rotation of the magnet 13.
[0021]
The power to the Hall element 14 is supplied through a control transistor Tr that is turned on / off by a shutdown signal from the start circuit 15. Adjacent to the magnet 13, a reed switch 16 is provided which is turned on when the boundary of the SN pole comes to the contact point and turned off otherwise. Then, the contact signal of the reed switch 16 is supplied to the starting circuit, and the starting signal is generated in the starting circuit by a pulse signal when the boundary of the SN pole comes to the contact and turns on. Note that a transfer type reed switch may be used, and in that case, it may be connected to a normally open lead that is always on and is turned off when the boundary of the SN pole reaches the contact.
[0022]
For the purpose of detecting both on and off, as shown by reference numerals 21 and 22 in FIG. 3, two 74 series CMOS devices, for example, 74HC123, each having an inverted polarity, may be mounted.
[0023]
Furthermore, in this embodiment, a function of an off timer is provided that turns off the transistor Tr when the reed switch is not switched on / off within a certain time and no pulse is input to the starter circuit 15. That is, referring to FIG. 3, the off-timer is increased when a predetermined time elapses without a pulse being input to start circuit 15. Then, the Q bar output becomes H, and the transistor Tr is turned off. This will cause a shutdown. When a pulse due to ON / OFF of the reed switch is generated during shutdown and input to the start circuit 15, the timer is reset and the Q bar output becomes L, the transistor Tr in FIG. Supplied. After that, if there are pulse inputs one after another within a certain time (during timer operation), the power continues to be supplied, but if there is no pulse input within a certain time, it is shut down.
[0024]
The output pulse from the Hall element 14 is input to the D input terminal of a latch circuit 17 that latches the output pulse. An inversion signal from the start circuit 15 through the inverter gate G is input to the enable terminal EN. When the enable terminal EN is at the H level, when a pulse is input from the D input terminal of the latch circuit 17, the output terminal A pulse signal is output from Q. A pulse signal from the output terminal Q of the latch circuit 17 is input as a detection signal of the rotating body 12 to an up / down counter or the like such as a control circuit (not shown), and the number of rotations and the rotation angle of the rotating body 12 are calculated to slide Used to detect the position of a door or the like.
[0025]
In FIG. 1, R1 is a pull-down resistor when the power is off, and R2 is a pull-up resistor. The circuit that is input from the starter circuit 15 to the enable terminal EN is constituted by two 74 series CMOS devices (for example, 74HC123) having the polarities inverted, as indicated by reference numerals 24 and 25 in FIG. be able to.
[0026]
Next, the control operation of the non-contact sensor 10 will be described with reference to FIGS. 1, 2a, and 2b. The uppermost part of FIG. 2a shows the rotating state and the stopped state of the rotating body. When the rotating body 12 is rotating, the magnet 13 is also rotating. Therefore, as shown in the reed switch line (second stage) in FIG. Pulses are sent one after another within the set time T of the off-timer circuit. Thereby, the start-up circuit 15 is kept on (see the start-up circuit line in the third stage). When the starter circuit 15 is turned on, the output of the starter circuit 15 becomes L level (see the starter circuit output line), and the PNP transistor Tr is turned on to continue supplying power to the hall element 14 ( Through the inverter gate G, the enable terminal EN of the latch circuit 17 is maintained at the H level via the control transistor and Hall element power supply line. As a result, the signal from the Hall element 14 is directly output as a pulse signal from the output terminal Q via the D input terminal of the latch circuit 17 (see the line of the D latch output).
[0027]
Next, when the rotation of the rotating body is stopped, the rotation of the magnet 13 is also stopped, and the reed switch 4 becomes constant when turned on or off, and no pulse is generated (see the reed switch line). When the next pulse is not input within the set time T of the off timer, a shutdown signal is output by the off timer function of the starting circuit (see the starting circuit line), and the transistor Tr is turned off. Thereby, the supply of power to the Hall element 14 is cut off. Therefore, electricity consumption is greatly reduced. Note that the shutdown signal from the activation circuit 15 is output after a certain time T from the last pulse of the reed switch. In addition, power is always supplied to the starter circuit 15 and the latch circuit 17, but since the amount of electricity consumed is much smaller than the amount of electricity consumed by the Hall element 14, the overall amount of electricity consumed is greatly reduced.
[0028]
Further, when the transistor Tr is turned off, the enable terminal EN of the latch circuit 17 is at the H level. Therefore, the Hall element 14 in the signal state when the pulse encoder input to the D input terminal of the latch circuit 17 is stopped. Are output as they are (see the D latch output line).
[0029]
Thus, even if the power supply to the Hall element 14 is stopped, the latch circuit 17 latches the signal from the Hall element 14, and continues to output an L level signal from the output terminal Q of the latch circuit 17, for example. ing. That is, if the transistor Tr is turned off simultaneously with the stop of the rotation of the rotating body 12 (or pulse encoder) to stop the power supply to the Hall element 14, the output of the Hall element 14 becomes indefinite and the output signal is normally held. Can not be. Therefore, the sensor output (Hall element 14 output) may change even though the rotating body (pulse encoder) is not operating. Therefore, in this non-contact sensor 10, a latch circuit 17 is provided after the output of the Hall element 14, and the previous output state is maintained and stabilized even when the Hall element 14 is powered off.
[0030]
The Hall element output and D latch output lines of FIG. 2a show the case where the rotating body is stopped while the Hall element output is L, and the D latch output while the Hall element power supply is shut off. Is maintained in the L state. On the other hand, FIG. 2b shows a state in which the rotation of the Hall element is stopped while the output of the Hall element is H. Even when the power supply is shut off and the output of the Hall element becomes L, the output of the latch circuit 17 remains in the H state. It has been shown.
[0031]
As a component of the latch circuit, a 74 series CMOS device (for example, 74HC74) can be used as shown by reference numerals 26 and 27 in FIG. 4, so that the pulse encoder is in a stopped state. The power supply to the Hall element 14 is turned off, and the current consumption of the latch circuit 17 can realize a power supply current level on the order of μA. The current consumption of the Hall element 14 is usually several mA to several tens mA. Therefore, when the rotation of the rotating body is stopped, the current consumption of the battery can be greatly reduced, and the life of the battery can be greatly improved.
[0032]
Next, when the rotating body 12 starts rotating, the reed switch 4 is switched on / off via the magnet 13 by the rotation, and a pulse is sent to the starting circuit 15. As a result, the starting circuit 15 is turned on. When the starter circuit 15 is turned on, the output of the starter circuit 15 becomes L level, the transistor Tr is turned on to start supplying power to the Hall element 14, and at the same time, the enable terminal of the latch circuit 17 is connected via the inverter gate G. EN is set to H level, and the pulse signal from the Hall element 14 input to the D input terminal is output as it is from the output terminal Q. That is, in the case of FIG. 2a, it outputs at L level, and in the case of FIG.
[0033]
In the above-described embodiment, the rotating body 12 and the magnet 13 are separated from each other. However, a plurality of magnets may be provided on the outer periphery of the rotating body 12 so that N poles and S poles are alternately arranged. Good. Also, a first rotating body with a magnet for the hall element and a second rotating body with a magnet for the reed switch are provided separately, and both are connected together by a shaft or connected via a gear. May be. In that case, the number of magnetic poles of the first rotating body may be different from the number of magnetic poles of the second rotating body.
[0034]
Furthermore, in the above-described embodiment, a magnetic detection type Hall element is adopted as the non-contact type sensor. However, an optical non-contact type sensor such as a phototransistor is used to transmit light to the rotating body (for example, You may make it provide alternately the part which does not let a through-hole or a transparent part pass. In this case as well, the first rotating body for the phototransistor and the second rotating body provided with the magnetic pole for the reed switch can be shared by one rotating body. In this case, the operation timing of the phototransistor and the reed switch can be shifted.
[Brief description of the drawings]
FIG. 1 is an overall circuit diagram showing an embodiment of a pulse encoder of the present invention.
FIGS. 2a and 2b are operation explanatory diagrams of the pulse encoder of FIG. 1, respectively.
FIG. 3 is a circuit diagram showing an embodiment of a startup circuit according to the present invention.
FIG. 4 is a circuit diagram showing an embodiment of a latch circuit according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Pulse encoder 11 Battery 12 Rotor 13 Magnet 14 Hall element 15 Starting circuit Tr Transistor 16 Reed switch 17 Latch circuit 21, 22, 24, 25, 26, 27 CMOS device

Claims (3)

第1の回転体と、
その第1の回転体と同期して回転すると共に、N極とS極が交互に着磁された環状のマグネットを備えた第2の回転体と、
前記第1の回転体の一定角度の回転ごとにパルスを発生する非接触式のセンサと、
前記第2の回転体の回転状態/停止状態を検出する検出手段と、
電源と前記センサとの間に介在され、前記検出手段が第2の回転体の停止状態を検出したときに前記電源からセンサへの電源供給を遮断し、回転状態を検出したときに電源供給を行うスイッチ素子と
前記回転体が停止したとき、そのときの前記センサの出力を保持するラッチ手段
とを備えており、
前記検出手段が、第2の回転体に隣接して設けられ、第2の回転体の一定角度の回転ごとにオン/オフするリードスイッチを備えているパルスエンコーダ。
A first rotating body;
A second rotating body that rotates in synchronization with the first rotating body and includes an annular magnet in which N and S poles are alternately magnetized;
A non-contact sensor that generates a pulse every rotation of the first rotating body at a constant angle;
Detecting means for detecting a rotation state / stop state of the second rotating body;
It is interposed between a power source and the sensor, and when the detection means detects the stop state of the second rotating body, the power supply from the power source to the sensor is cut off, and when the rotation state is detected, the power supply is supplied. A switch element to perform ,
Latching means for holding the output of the sensor at that time when the rotating body stops
And
A pulse encoder provided with a reed switch in which the detection means is provided adjacent to the second rotating body and is turned on / off every rotation of the second rotating body at a constant angle .
前記ラッチ手段がCMOSデバイスからなるラッチ回路によって構成されている請求項に記載のパルスエンコーダ。2. The pulse encoder according to claim 1 , wherein the latch means is constituted by a latch circuit made of a CMOS device. 前記非接触式のセンサがホール素子を備えており、前記第1の回転体が第2の回転体を兼ねている請求項1または2記載のパルスエンコーダ。The pulse encoder according to claim 1 or 2, wherein the non-contact sensor includes a Hall element, and the first rotating body also serves as a second rotating body.
JP2002188257A 2002-06-27 2002-06-27 Pulse encoder Expired - Fee Related JP4060133B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002188257A JP4060133B2 (en) 2002-06-27 2002-06-27 Pulse encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002188257A JP4060133B2 (en) 2002-06-27 2002-06-27 Pulse encoder

Publications (2)

Publication Number Publication Date
JP2004028894A JP2004028894A (en) 2004-01-29
JP4060133B2 true JP4060133B2 (en) 2008-03-12

Family

ID=31183065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002188257A Expired - Fee Related JP4060133B2 (en) 2002-06-27 2002-06-27 Pulse encoder

Country Status (1)

Country Link
JP (1) JP4060133B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4703141B2 (en) * 2004-07-22 2011-06-15 株式会社荏原製作所 Polishing apparatus, substrate processing apparatus, and substrate jumping detection method
CN108474673B (en) * 2016-01-18 2021-04-16 株式会社尼康 Encoder device, drive device, stage device, and robot device
CN112462306B (en) * 2020-11-02 2024-02-20 天地(常州)自动化股份有限公司 Anti-interference method for detecting on-off of coal mine electromechanical equipment

Also Published As

Publication number Publication date
JP2004028894A (en) 2004-01-29

Similar Documents

Publication Publication Date Title
JP4719218B2 (en) Opening and closing body drive device
JP2009147778A (en) Pulse signal generating apparatus, rotating machine, controller, and power window controller
JP6870915B2 (en) Open / close body control device
JP2008160941A (en) Wiper motor
CN105871296B (en) Apparatus and method for detecting and preventing motor movement in a device or system
JP4060133B2 (en) Pulse encoder
JP7140340B2 (en) ENCODING DEVICE, MOTOR AND ENCODING DEVICE CONTROL METHOD
JP2011139624A (en) Motor
JP6005936B2 (en) Encoder and control method of encoder
TWI757879B (en) Encoding device, motor and controlling method of encoding device
JP2007247286A (en) Opening/closing body driving control device
JP4652610B2 (en) Step motor rotation control device
JP2010110084A (en) Dc motor apparatus and window switching device equipped with the same
JP2004254455A (en) Electric motor equipped with reduction mechanism
JP2517473Y2 (en) Camera shutter
US20150357949A1 (en) System and method for determining the position of a moving part driven by an electric motor
JP5394658B2 (en) Stepping motor control circuit and analog electronic timepiece
EP1036247A1 (en) A drive and control system for power generation and pulse generation in an electronic lock
JP2020507076A (en) Method and apparatus for maintaining a detected absolute position of an electric motor acting as an actuator during critical operation
JP2005151625A (en) Governor switch
CN114256955A (en) Encoder, motor, and control method for encoder
JP4351193B2 (en) Electronic clock
JPH04138397U (en) Toilet seat/toilet lid automatic opening/closing device
JP2546325B2 (en) Multi-rotation rotary encoder
JP2002223584A (en) Controller for dc motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071219

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees