JP2758324B2 - Encoder - Google Patents

Encoder

Info

Publication number
JP2758324B2
JP2758324B2 JP4315677A JP31567792A JP2758324B2 JP 2758324 B2 JP2758324 B2 JP 2758324B2 JP 4315677 A JP4315677 A JP 4315677A JP 31567792 A JP31567792 A JP 31567792A JP 2758324 B2 JP2758324 B2 JP 2758324B2
Authority
JP
Japan
Prior art keywords
power supply
oscillator
signal
mode
external device
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
JP4315677A
Other languages
Japanese (ja)
Other versions
JPH06147924A (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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo 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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP4315677A priority Critical patent/JP2758324B2/en
Publication of JPH06147924A publication Critical patent/JPH06147924A/en
Application granted granted Critical
Publication of JP2758324B2 publication Critical patent/JP2758324B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Position Or Direction (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、エンコーダに関するも
ので、特に主電源モードとバックアップ電源モードとの
切替手段に関する。
The present invention relates to a relates to the encoder, on the switching means of the particular main power mode and a backup power supply mode.

【0002】[0002]

【従来の技術】検出対象である外部装置の絶対位置を検
出するエンコーダ、例えばアブソリュートエンコーダで
は、本来の使用状態ではない例えば運搬時などでも常時
外部装置の動きを検出するようにしておく必要がある。
そこで、本来の使用状態ではない場合は外部装置の位置
を検出する外部信号検出手段にバックアップ電源から電
源を供給し、常時外部装置の位置を検出するようにして
いる。
2. Description of the Related Art In an encoder for detecting the absolute position of an external device to be detected , for example, an absolute encoder, it is necessary to always detect the movement of the external device even when the device is not in a normal use state, for example, during transportation. .
Therefore, when the device is not in the original use state, power is supplied from the backup power supply to the external signal detecting means for detecting the position of the external device, and the position of the external device is always detected.

【0003】一般のエンコーダ、例えば磁気式ロータリ
ーエンコーダでは、外部装置と一体回転する磁気ドラム
の周面を周方向に一定間隔で異極着磁し、この磁気ドラ
ムの周面に対向させて磁気センサー、例えば磁気抵抗素
子(以下「MR素子」という)を配置し、MR素子の検
出出力を波形整形して信号処理回路に入力するようにな
っている。信号処理回路はカウンタその他各種論理回路
からなる。一般にはこれら論理回路はゲートアレイを用
いている。以下「ゲートアレイ」という用語を使用する
が、論理素子を構築して作成した論理回路においても本
発明の主旨は失われない。ゲートアレイによって信号処
理を行うには一定周波数のクロックパルスを必要とする
ため、従来のエンコーダにおけるゲートアレイには発振
子を接続して、必要なクロックパルスを得るようにして
いる。
In a general encoder, for example, a magnetic rotary encoder, the peripheral surface of a magnetic drum that rotates integrally with an external device is magnetized with different polarities at a constant interval in the circumferential direction, and the magnetic sensor is opposed to the peripheral surface of the magnetic drum. For example, a magnetoresistive element (hereinafter, referred to as “MR element”) is arranged, and a detection output of the MR element is shaped into a waveform and input to a signal processing circuit. The signal processing circuit includes a counter and other various logic circuits. Generally, these logic circuits use a gate array. Hereinafter, the term “gate array” is used, but the gist of the present invention is not lost in a logic circuit created by constructing a logic element. Since signal processing by the gate array requires a clock pulse of a constant frequency, an oscillator is connected to the gate array in the conventional encoder to obtain the required clock pulse.

【0004】従来のアブソリュートエンコーダでは、ゲ
ートアレイに供給するクロックパルスを得るために1個
の発振子を用いている。クロックパルスの周波数は、外
部装置が考えられる最高速度で動いてもゲートアレイが
対応できるように予め高い周波数に設定する必要があ
り、そのために発振子の発振周波数も例えば4Mzとい
うように高く設定しておく必要がある。
In a conventional absolute encoder, one oscillator is used to obtain a clock pulse to be supplied to a gate array. It is necessary to set the frequency of the clock pulse to a high frequency in advance so that the gate array can cope even when the external device operates at the highest possible speed. Therefore, the oscillation frequency of the oscillator is set to a high value, for example, 4 Mz. Need to be kept.

【0005】[0005]

【発明が解決しようとする課題】エンコーダ装置でバッ
クアップを必要とする状況は様々であることを考える
と、できるだけ長時間にわたってバックアップできるこ
とが望ましい。しかるに、従来のアブソリュートエンコ
ーダによれば、主電源モードでも、バックアップ電源モ
ードでも、1個の発振子によってクロックパルスを得る
ようになっており、長時間にわたってバックアップする
ことはできない。何故なら、上記のように外部装置が考
えられる最高速度で動いてもゲートアレイが対応できる
ように、発振子の発振周波数を予め高く設定して、クロ
ックパルスの周波数を高く設定しているが、ゲートアレ
イ等の論理素子の消費電流はクロックパルスの周波数が
高くなればなるほど大きくなるため、バックアップ電源
モードの場合であっても主電源モードの場合と同様に消
費電流が大きく、バックアップ電源の消費が早くなるか
らである。
Considering that there are various situations in which backup is required in the encoder device, it is desirable that backup can be performed for as long a time as possible. However, according to the conventional absolute encoder, a clock pulse is obtained by one oscillator in both the main power supply mode and the backup power supply mode, and the backup cannot be performed for a long time. Because, as described above, the oscillation frequency of the oscillator is set high in advance and the frequency of the clock pulse is set high so that the gate array can respond even when the external device moves at the highest possible speed as described above. Since the current consumption of the logic elements such as the gate array increases as the frequency of the clock pulse increases, the current consumption is large even in the backup power supply mode as in the main power supply mode. Because it will be faster.

【0006】本発明はこのような従来の問題点を解消す
るためになされたもので、バックアップ時は一般に外部
装置の動きが緩慢であることに着目し、本来の使用状態
である主電源モードでは発振周波数の高い発振子を使用
することにより外部装置の迅速な動きに対してゲートア
レイが充分に応答することができるようにする一方、バ
ックアップ電源モードでは発振周波数の低い発振子を使
用してゲートアレイによる消費電流を小さくすることに
より、長時間にわたってバックアップすることを可能に
たエンコーダを提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem. At the time of backup, attention has been paid to the fact that the movement of an external device is generally slow. Using a high-oscillation frequency oscillator allows the gate array to respond sufficiently to rapid movements of external devices, while using a low-oscillation frequency oscillator in the backup power mode. by reducing the current consumption by the array, and to provide the possibility to <br/> the encoder to back for a long time.

【0007】本発明の他の目的は、電源モードがどのよ
うなモードであるかにかかわりなく、外部装置が低速移
動しているときは発振周波数の高い方の発振子の駆動を
停止させて消費電流を小さくしたエンコーダを提供する
ことにある。
Another object of the present invention is to stop driving the oscillator having the higher oscillating frequency when the external device is moving at a low speed, irrespective of the power supply mode. to provide a reduced the encoder current.

【0008】本発明のさらに他の目的は、外部装置が高
速で移動しているにもかかわらず発振周波数の低い方の
発振子が動作している場合は、外部装置の高速移動に追
随した検出ができず、外部装置の絶対位置を検出するこ
とができなくなるので、そのような場合にはエラー情報
信号を出力して使用者に知らせるようにしたエンコーダ
を提供することにある。
Still another object of the present invention is to provide a detection method that follows the high-speed movement of an external device when an oscillator having a lower oscillation frequency is operating despite the external device moving at a high speed. can not, because it is impossible to detect the absolute position of the external device, in such a case it is to provide a encoder which is adapted inform the user with an error information signal.

【0009】[0009]

【課題を解決するための手段】請求項1記載の発明は、
バックアップ電源モードと主電源モードを有する電源
と、第1の発振子と、上記電源により常時起動している
と共に、上記第1の発振子よりも低周波数のパルスを発
生する第2の発振子と、上記電源の電源モードを判別す
る電源モード判別手段と、外部装置の動きを検出する外
信号検出手段と、上記電源モード判別手段から入力さ
れる判別信号と上記外部信号検出手段から入力される検
出信号に基づき、上記電源が主電源モードであると判断
した場合、または上記外部信号がゼロを除く一定の設定
値以上で移動していると判断した場合、上記第1の発振
子を起動させる判断部とを備えたことを特徴とする。
According to the first aspect of the present invention,
A power supply having a backup power supply mode and a main power supply mode, a first oscillator, and being constantly activated by the power supply
At the same time, a pulse having a lower frequency than the first oscillator is generated.
A second oscillator for raw, a power supply mode discriminating means for discriminating the power mode of the power source, external to detect movement of the external device
A Department signal detecting means, based on a detection signal inputted from the discrimination signal and the external signal detecting means is inputted from the power supply mode determining means, determines that the power supply is a main power mode
Or when the above external signal is set to a certain value except zero.
If it is determined that the first oscillation has occurred, the first oscillation
A determination unit for activating the child .

【0010】請求項2記載の発明は、請求項1記載のエ
ンコーダの判断部において、外部装置が一定の設定値よ
り低速で移動していると判断した場合、電源のモードに
かかわらず第1の発振子の起動を停止させることを特徴
とし、請求項3記載の発明は、請求項1記載のエンコー
ダにおいて、外部装置が一定の設定値よりも高速で移動
していることが外部信号検出手段で検出され、かつその
際第1の発振子が動作していないときに、エラー情報信
号を出力するエラー情報発生部を備えたことを特徴とす
る。
[0010] The invention described in claim 2 is an invention according to claim 1.
In the judgment part of the encoder, the external device
Power mode.
Regardless, the start of the first oscillator is stopped
And then, the third aspect of the present invention, the encoder according to claim 1, wherein
External device moves faster than a certain set value
Is detected by the external signal detection means, and
Error information signal when the first oscillator is not operating.
An error information generating section for outputting a signal.
You.

【0011】[0011]

【作用】請求項1記載の発明によれば、主電源モードで
は、判断部が発振周波数の高い方の発振子を起動させ
る。バックアップモードでは、判断部が発振周波数の低
い方の発振子を起動させ、バックアップ電源の消費を抑
制する。バックアップモードでも、外部装置が高速移動
すると、外部信号検出手段から入力される検出信号に基
づき判断部が発振周波数の高い方の発振子を起動させ、
外部装置の高速移動に対応した検出動作を行わせる。
According to the first aspect of the present invention, in the main power supply mode, the determination section activates the oscillator having the higher oscillation frequency. In the backup mode, the determination unit activates the oscillator having the lower oscillation frequency to suppress the consumption of the backup power. Even in the backup mode, when the external device moves at a high speed, the determination unit starts the oscillator having the higher oscillation frequency based on the detection signal input from the external signal detection unit,
A detection operation corresponding to the high-speed movement of the external device is performed.

【0012】請求項2記載の発明は、主電源モードであ
るかバックアップ電源モードであるかにかかわらず、外
部装置が低速移動しているときは、発振周波数の高い方
の発振子の駆動が停止させられ、発振周波数の低い方の
発振子が駆動され、消費電流の節約が図られる。
According to a second aspect of the present invention, the driving of the oscillator having the higher oscillation frequency is stopped when the external device is moving at a low speed, irrespective of the main power mode or the backup power mode. As a result, the oscillator having the lower oscillation frequency is driven, thereby saving current consumption.

【0013】請求項3記載の発明では、外部装置が高速
移動しているにもかかわらず、発振周波数の低い方の発
振子が動作していると、外部装置の高速移動に対応した
検出動作を行うことができず、外部装置の絶対位置を検
出することができないため、エラー情報信号を出力す
る。エラー情報信号に基づき、使用者は必要な処置をと
ることができる。
According to the third aspect of the present invention, if the oscillator having the lower oscillation frequency operates even though the external device is moving at a high speed, the detecting operation corresponding to the high speed movement of the external device is performed. Since this cannot be performed and the absolute position of the external device cannot be detected, an error information signal is output. Based on the error information signal, the user can take a necessary action.

【0014】[0014]

【実施例】以下、アブソリュートエンコーダとして構成
した図示の実施例について説明する。図1において、モ
ータ等の外部装置の回転軸に結合される回転軸11に
は、信号源としての磁気ドラム12が一体に設けられて
いる。磁気ドラム12は周方向に一定間隔で異極着磁さ
れることにより複数の信号が記録されている。磁気ドラ
ム12の周面に対向させて磁気センサであるMR素子1
3が配設され、磁気ドラム12の磁極を検出するように
なっている。MR素子13からは2相の検出信号が出力
され、これらの検出信号は波形整形回路14で波形整形
されて矩形波信号A,Bとされる。MR素子13と波形
整形回路14を含む回路部分は、磁気ドラム12が結合
された外部装置の動きを検出することにより外部装置の
移動速度(回転速度)を検出する外部信号検出手段を構
成している。波形整形回路14はコンパレータその他適
宜の回路で構成することができる。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an absolute encoder. In FIG. 1, a rotating shaft 11 coupled to a rotating shaft of an external device such as a motor is integrally provided with a magnetic drum 12 as a signal source. A plurality of signals are recorded on the magnetic drum 12 by being magnetized with different polarities at regular intervals in the circumferential direction. An MR element 1 which is a magnetic sensor and faces the peripheral surface of the magnetic drum 12
3 is provided to detect the magnetic pole of the magnetic drum 12. Two-phase detection signals are output from the MR element 13, and these detection signals are subjected to waveform shaping by the waveform shaping circuit 14 to become rectangular wave signals A and B. The circuit portion including the MR element 13 and the waveform shaping circuit 14 detects the movement of the external device to which the magnetic drum 12 is coupled, and detects the movement of the external device.
It constitutes an external signal detecting means for detecting the moving speed (rotation speed) . The waveform shaping circuit 14 can be composed of a comparator and other appropriate circuits.

【0015】波形整形回路14からの矩形波信号A,B
は、ゲートアレイ20を経て信号伝送装置であるライン
ドライバ28に入力されるとともに、ゲートアレイ20
内のカウンタ27でカウントされてアブソリュート信号
Abとして出力され、ラインドライバ28に入力され
る。ラインドライバ28の出力信号はケーブルを介して
上位装置に入力され、外部装置の位置制御、速度制御、
その他各種制御等に供される。上記矩形波信号A,Bは
またゲートアレイ20内の速度検出部23に入力され
る。速度検出部23は単位時間当たりの矩形波信号A,
Bを常時カウントし、その結果をゲートアレイ20内の
判断部24とエラー情報発生部36に入力する。
The rectangular wave signals A and B from the waveform shaping circuit 14
Is input to a line driver 28 which is a signal transmission device via a gate array 20 and
, And is output as an absolute signal Ab and input to the line driver 28. The output signal of the line driver 28 is input to a higher-level device via a cable, and the position control, speed control,
It is also used for various other controls. The rectangular wave signals A and B are also input to the speed detector 23 in the gate array 20. The speed detector 23 outputs a rectangular wave signal A per unit time,
B is always counted, and the result is input to the judgment unit 24 and the error information generation unit 36 in the gate array 20.

【0016】上記ゲートアレイ20には次に述べるよう
な電源回路から電源が供給される。上位装置に設けられ
た電源回路31は主電源を構成しており、商用交流電源
30からたとえば5V程度の直流電源を作る。電源回路
31で作られた主電源は主電源ラインを経て主電源監視
部22に入力されるとともに、上記主電源ラインを経た
あとダイオード34を経てゲートアレイ20に供給され
る。外部装置が本来の使用状態以外の例えば運搬されて
いるときなどには商用交流電源30を使うことができな
い。そこで、外部装置と一体の磁気ドラム12の絶対位
置を常時検出するために、上位装置に設けたバックアッ
プ電源32からダイオード33とバックアップ電源ライ
ンを経て上記ゲートアレイ20に電源を供給する。ダイ
オード33はバックアップ電源32への主電源の流入防
止用である。主電源ラインとバックアップ電源ラインと
の間に接続された上記ダイオード34は、バックアップ
電源32の主電源ラインへの流入防止用である。電源回
路31およびバックアップ電源32からは前記MR素子
13、波形整形回路14、ラインドライバ28にも電源
が供給されるが、図示は省略されている。
Power is supplied to the gate array 20 from a power supply circuit described below. A power supply circuit 31 provided in the host device constitutes a main power supply, and generates a DC power supply of, for example, about 5 V from the commercial AC power supply 30. The main power generated by the power circuit 31 is input to the main power monitor 22 via the main power line, and is also supplied to the gate array 20 via the diode 34 after passing through the main power line. The commercial AC power supply 30 cannot be used when the external device is in a state other than the intended use, for example, when being transported. Therefore, in order to constantly detect the absolute position of the magnetic drum 12 integrated with the external device, power is supplied from the backup power supply 32 provided in the host device to the gate array 20 via the diode 33 and the backup power supply line. The diode 33 is for preventing the main power supply from flowing into the backup power supply 32. The diode 34 connected between the main power supply line and the backup power supply line is for preventing the backup power supply 32 from flowing into the main power supply line. Power is also supplied from the power supply circuit 31 and the backup power supply 32 to the MR element 13, the waveform shaping circuit 14, and the line driver 28, but they are not shown.

【0017】上記電源回路において、通常の使用状態で
は電源回路31から商用交流電源30を所定電圧(例え
ば5V)の直流に変換し電源として供給する。これを主
電源モードとする。通常の使用状態ではなく、例えば運
搬時など商用交流電源30を使用することができない場
合は、電源回路31からの出力がなく、その代わりにバ
ックアップ電源32から電源が供給される。また、通常
の使用状態においても、商用交流電源30が停電した
り、何らかの原因で電源回路31の電圧が一定以下に低
下したときは、バックアップ電源32からダイオード3
3、バックアップ電源ラインを介して電源が供給され
る。
In the above-mentioned power supply circuit, in a normal use state, the commercial AC power supply 30 is converted from a power supply circuit 31 into a DC of a predetermined voltage (for example, 5 V) and supplied as power. This is the main power mode. When the commercial AC power supply 30 cannot be used in a normal use state, for example, during transportation, there is no output from the power supply circuit 31 and power is supplied from the backup power supply 32 instead. Further, even in a normal use state, when the commercial AC power supply 30 loses power or the voltage of the power supply
3. Power is supplied via the backup power line.

【0018】前記主電源監視部22は主電源ラインの電
圧を常時監視し、電源が主電源モードかバックアップモ
ードかを判別する。より具体的には、主電源ラインの電
圧が所定の値以上、例えばバックアップ電源32の電圧
以上になっている場合は主電源モードになっているもの
として前記判断部24に信号を入力するようになってい
る。判断部24は、主電源監視部22から入力される判
別信号と、速度検出手段23から入力される検出信号に
基づいて信号を出力し、この信号によってゲート回路3
7のゲートが開閉されるようになっている。主電源監視
部22は、電源モードを判別する電源モード判別手段を
構成している。
The main power supply monitoring unit 22 constantly monitors the voltage of the main power supply line and determines whether the power supply is in a main power supply mode or a backup mode. More specifically, when the voltage of the main power supply line is equal to or higher than a predetermined value, for example, the voltage of the backup power supply 32, a signal is input to the determination unit 24 assuming that the main power supply mode is set. Has become. The determination unit 24 outputs a signal based on the determination signal input from the main power supply monitoring unit 22 and the detection signal input from the speed detection unit 23, and the gate circuit 3
Gate 7 is opened and closed. The main power supply monitoring unit 22 constitutes a power supply mode determination unit that determines a power supply mode.

【0019】前記ゲートアレイ20内には二つの発振回
路があり、それぞれの発振回路で所定の周波数のパルス
を発生させるための第1の発振子25、第2の発振子2
6がゲートアレイ20に外付けされている。第1の発振
子25による発振周波数は外部回路が最大速度で移動し
てもこれに対応することができるように高い発振周波数
になっている。一方、第2の発振子26による発振周波
数は低い発振周波数になっている。第2の発振子26は
常時起動されてその発振出力がクロック切替回路35に
入力される。第1の発振子25はゲート回路37のゲー
トが開かれたとき起動され、その発振出力がクロック切
替回路35に入力される。ゲート回路37のゲートを開
くために判断部24から信号を出力する条件は、主電源
監視部22からの判別信号が主電源モードである旨の信
号である場合、および速度検出部23からの検出信号が
一定の速度以上である旨の信号である場合である。もっ
とも、速度検出部23からの検出信号が一定の速度以上
である旨の信号である場合にのみゲート回路37を開く
ようにしてもよい。
There are two oscillation circuits in the gate array 20, and a first oscillator 25 and a second oscillator 2 for generating a pulse of a predetermined frequency in each oscillation circuit.
6 is externally attached to the gate array 20. The oscillation frequency of the first oscillator 25 is high so that it can cope with the external circuit moving even at the maximum speed. On the other hand, the oscillation frequency of the second oscillator 26 is a low oscillation frequency. The second oscillator 26 is always started and its oscillation output is input to the clock switching circuit 35. The first oscillator 25 is activated when the gate of the gate circuit 37 is opened, and its oscillation output is input to the clock switching circuit 35. The condition for outputting a signal from the determination unit 24 to open the gate of the gate circuit 37 is as follows: the determination signal from the main power supply monitoring unit 22 is a signal indicating that the main power supply mode is set; This is a case where the signal is a signal indicating that the speed is higher than a certain speed. However, the gate circuit 37 may be opened only when the detection signal from the speed detection unit 23 is a signal indicating that the speed is equal to or higher than a certain speed.

【0020】上記クロック切替回路35は、第1の発振
子25または第2の発振子26により発生したクロック
信号を取り込み、第1の発振子25が起動されていると
きは第1の発振子25で発生した高い周波数のクロック
信号をゲートアレイ20内の各回路部およびエラー情報
発生部36に入力し、第1の発振子25が起動されてい
ないときは第2の発振子26で発生した低い周波数のク
ロック信号をゲートアレイ20内の各回路部およびエラ
ー情報発生部36に入力する。エラー情報発生部36
は、速度検出部23からの信号により外部装置が高速移
動しているものと判断され、かつ、第1の発振子25が
動作しないで発振周波数の低い第2の発振子26が動作
してその発振信号が入力されているときはエラー信号を
出力するようになっている。このエラー信号はラインド
ライバ28を介して上位装置に入力され、ディスプレ
イ、各種アラーム等によって使用者側に伝達されるよう
になっている。
The clock switching circuit 35 receives a clock signal generated by the first oscillator 25 or the second oscillator 26, and when the first oscillator 25 is activated, the first oscillator 25 is activated. The high frequency clock signal generated in step (1) is input to each circuit section in the gate array 20 and the error information generating section 36, and when the first oscillator 25 is not activated, the low frequency generated in the second oscillator 26 is output. The clock signal of the frequency is input to each circuit unit in the gate array 20 and the error information generating unit 36. Error information generator 36
Is determined by the signal from the speed detector 23 that the external device is moving at high speed, and the second oscillator 26 having a low oscillation frequency operates without the first oscillator 25 operating. When an oscillation signal is input, an error signal is output. This error signal is input to the host device via the line driver 28, and is transmitted to the user through a display, various alarms, and the like.

【0021】上記実施例において、いま、主電源ライン
から主電源電圧が正常に供給されているものとすると、
主電源ラインの電圧は一定値以上になっているため、主
電源監視部22は電源が主電源モードに対応した信号を
出力して判断部24に入力する。この信号によって判断
部24はゲート回路37のゲートを開き、第1の発振子
25を起動して高い周波数のクロックパルスを発生させ
ゲートアレイ20の各部に供給する。クロックパルスの
周波数が高い場合は、外部装置の移動速度が速くてもこ
れに対応することができる反面、ゲートアレイ20によ
る消費電流は大きい。しかし、主電源モードでは主電源
から充分な電流が供給される。
In the above embodiment, assuming that the main power supply voltage is normally supplied from the main power supply line,
Since the voltage of the main power supply line is equal to or higher than a certain value, the main power supply monitoring unit 22 outputs a signal corresponding to the main power supply mode of the power supply and inputs the signal to the determination unit 24. In response to this signal, the determination unit 24 opens the gate of the gate circuit 37, activates the first oscillator 25, generates a high-frequency clock pulse, and supplies it to each unit of the gate array 20. When the frequency of the clock pulse is high, it can cope with a high moving speed of the external device, but the current consumption by the gate array 20 is large. However, in the main power supply mode, a sufficient current is supplied from the main power supply.

【0022】エンコーダが本来の使用状態ではない例え
ば運搬時など商用交流電源30を使用することができな
い場合とか、商用交流電源30が停電した場合などは、
主電源ラインの電圧はバックアップ電源32の電圧より
も低くなるため、バックアップ電源32から電源が供給
されるバックアップ電源モードになる。上記のように主
電源ラインの電圧がバックアップ電源32の電圧よりも
低くなると、これを主電源監視部22がバックアップモ
ードに対応した信号を出力して判断部24に入力する。
この信号によって判断部24はゲート回路37のゲート
を閉じ、第1の発振子25の動作を停止させ、第2の発
振子26のみを動作させて低い周波数のクロックパルス
を発生させ、ゲートアレイ20の各部に供給する。クロ
ックパルスの周波数が低い場合は、外部装置の移動速度
が遅い場合にしか対応することができないが、バックア
ップ時は一般に外部装置は緩慢に動く場合が多いため、
支障はない。クロックパルスの周波数が低い場合は、ゲ
ートアレイ20による消費電流が小さくなるため、バッ
クアップ電源32により、長時間にわたってバックアッ
プすることが可能になるという利点がある。
When the commercial AC power supply 30 cannot be used, for example, during transportation, when the encoder is not in its original use state, or when the commercial AC power supply 30 is cut off,
Since the voltage of the main power supply line is lower than the voltage of the backup power supply 32, the power supply line enters the backup power supply mode in which power is supplied from the backup power supply 32. As described above, when the voltage of the main power supply line becomes lower than the voltage of the backup power supply 32, the main power supply monitoring unit 22 outputs a signal corresponding to the backup mode and inputs the signal to the determination unit 24.
In response to this signal, the determination unit 24 closes the gate of the gate circuit 37, stops the operation of the first oscillator 25, and operates only the second oscillator 26 to generate a low-frequency clock pulse. Supply to each part. When the frequency of the clock pulse is low, it is possible to cope only with the case where the moving speed of the external device is slow, but since the external device generally moves slowly during backup,
No problem. When the frequency of the clock pulse is low, the current consumption by the gate array 20 is reduced, and thus there is an advantage that the backup power supply 32 allows the backup to be performed for a long time.

【0023】もっとも、バックアップ時であっても、外
部装置に大きな衝撃が加わった場合などには外部装置が
急速に動くことがありえる。そのような場合に発振周波
数の低い第2の発振子26のみが動作しているとすれ
ば、外部装置の急速な動きを検出することができない場
合があり、アブソリュートエンコーダとしての機能を果
たすことができないことになる。しかるに、図1に示す
実施例では、外部装置の移動速度が一定値以上になると
これを速度検出部23が検出し、判断部24の判断によ
りゲート回路37のゲートを開き、発振周波数の高い第
1の発振子25を起動するため、ゲートアレイ20は外
部装置の高速移動に対応することができ、外部装置の位
置を的確に検出することができる。外部装置の移動速度
が一定値以下に低下すると、判断部24がゲート回路3
7を閉じ、第1の発振子25の動作を停止させ、第2の
発振子26のみを動作させる。
However, even at the time of backup, when a large shock is applied to the external device, the external device may move rapidly. In such a case, if only the second oscillator 26 having a low oscillation frequency is operating, it may not be possible to detect a rapid movement of the external device, and may function as an absolute encoder. You can't. However, in the embodiment shown in FIG. 1, when the moving speed of the external device becomes equal to or higher than a predetermined value, the speed detecting unit 23 detects the moving speed and opens the gate of the gate circuit 37 according to the judgment of the judging unit 24. Since one oscillator 25 is activated, the gate array 20 can cope with a high-speed movement of the external device, and can accurately detect the position of the external device. When the moving speed of the external device falls below a certain value, the judging unit 24 sets the gate circuit 3
7, the operation of the first oscillator 25 is stopped, and only the second oscillator 26 is operated.

【0024】速度検出部23からの信号により外部装置
が高速移動しているものと判断され、かつ、発振周波数
の高い第1の発振子が動作しないで発振周波数の低い第
2の発振子26が動作してその発振信号が入力されてい
る場合は、ゲートアレイ20は外部装置の高速移動に対
応することができず、アブソリュートエンコーダとして
の機能を果たすことができない。しかし、このようなと
きはエラー情報発生部36がエラー信号を出力し、使用
者側に伝達されるため、使用者は必要な処置をとること
ができる。
The signal from the speed detector 23 determines that the external device is moving at a high speed, and the first oscillator having a high oscillation frequency does not operate and the second oscillator 26 having a low oscillation frequency operates. When the oscillation signal is input during operation, the gate array 20 cannot cope with the high-speed movement of the external device and cannot function as an absolute encoder. However, in such a case, the error information generating section 36 outputs an error signal and is transmitted to the user side, so that the user can take necessary measures.

【0025】このように、本発明にかかるエンコーダの
実施例によれば、発振周波数の異なる発振子を2個設
け、バックアップモードでは発振周波数の低い方の第2
の発振子26を利用するようにしたため、消費電流が小
さくなり、バックアップ電源32の消費を抑制してバッ
クアップ電源32によるバックアップ期間を長くするこ
とができる。また、バックアップ時であっても、何らか
の原因で外部装置の移動速度が一定値以上になると、こ
れを速度検出部23で検出して発振周波数の高い方の第
1の発振子25を起動するようにしたため、外部装置の
位置を的確に検出することができる。
[0025] Thus, according to an embodiment of the Rue encoder written present invention, provided two different oscillator oscillation frequency, a second lower oscillation frequency is the backup mode
Is used, the current consumption is reduced, the consumption of the backup power supply 32 is suppressed, and the backup period by the backup power supply 32 can be lengthened. Further, even during the backup, if the moving speed of the external device becomes higher than a certain value for some reason, the speed is detected by the speed detector 23 and the first oscillator 25 having the higher oscillation frequency is started. Therefore, the position of the external device can be accurately detected.

【0026】以上説明した実施例は磁気式エンコーダの
場合であったが、光学式エンコーダにも適用可能であ
る。また、ロータリーエンコーダだけでなく、リニアエ
ンコーダにも適用可能である。何れの方式のエンコーダ
にせよ、本発明を適用することにより上記のような作用
効果を得ることができる。
Although the embodiment described above is for a magnetic encoder, it can be applied to an optical encoder. Further, the present invention can be applied to not only a rotary encoder but also a linear encoder. Regardless of the type of encoder, the effects described above can be obtained by applying the present invention.

【0027】本発明の技術思想は、発振子を必要とし、
かつ、バックアップモードで発振周波数を低くしても差
し支えない装置であれば、アブソリュートエンコーダ以
外にも適用可能である。
The technical idea of the present invention requires an oscillator,
In addition, as long as the device can safely lower the oscillation frequency in the backup mode, it can be applied to devices other than the absolute encoder.

【0028】外部装置の移動速度を例えば停止時、低速
移動時、高速移動時の3段階に分け、それぞれの段階に
対応させて発振周波数を異ならせた発振子をそれぞれ1
個ずつ設けてもよい。また、バックアップ電源、主電源
は上位装置に設けるものに限定されない。さらに、バッ
クアップ電源モード時と、主電源モード時とで電源電圧
が異なる場合は、ダイオード34のカソード側の電圧を
電源監視部22で監視してもよい。
The moving speed of the external device is divided into, for example, three stages of stopping, moving at a low speed, and moving at a high speed, and each of the oscillators having a different oscillation frequency corresponding to each stage has one oscillator.
It may be provided individually. Also, backup power supply, main power supply
Is not limited to those provided in the host device. In addition,
Power supply voltage in backup power mode and main power mode
Are different, the voltage on the cathode side of the diode 34 is
The power may be monitored by the power monitoring unit 22.

【0029】[0029]

【発明の効果】請求項1記載の本発明によれば、バック
アップ電源モードと主電源モードを有する電源と、第1
の発振子と、上記電源により常時起動していると共に、
上記第1の発振子よりも低周波数のパルスを発生する第
2の発振子と、上記電源の電源モードを判別する電源モ
ード判別手段と、外部装置の動きを検出する外部信号検
出手段と、上記電源モード判別手段から入力される判別
信号と上記外部信号検出手段から入力される検出信号に
基づき、上記電源が主電源モードであると判断した場
合、または上記外部信号がゼロを除く一定の設定値以上
で移動していると判断した場合、上記第1の発振子を起
動させる判断部とを備えたため、主電源モードでは判断
部が発振周波数の高い方の第1の発振子を起動させ、バ
ックアップ電源モードでは判断部が発振周波数の低い方
の第2の発振子を起動させ、バックアップ電源の消費を
抑制することができ、バックアップ期間を長くすること
が可能となります。しかも、バックアップ電源モードで
あっても、外部装置が一定の設定値よりも高速で移動す
ると、判断部の判断によって第1の発振子を起動させ、
外部装置の高速移動に対応した検出動作を行わせること
ができる。
According to the first aspect of the present invention, the back
A power source having an up power mode and a main power mode;
Oscillator and the above-mentioned power supply,
A pulse generating a lower frequency pulse than the first oscillator
And a power supply mode for determining the power supply mode of the power supply.
Mode determination means and an external signal detection for detecting the movement of an external device.
Output means and a determination input from the power mode determination means.
Signal and the detection signal input from the external signal detection means.
If the above power source is determined to be in the main power mode,
Or the above external signal is above a certain set value excluding zero
If it is determined that the first oscillator is moving, the first oscillator is started.
The main power supply mode determines
Section activates the first oscillator having the higher oscillation frequency, and
In the backup power supply mode, the judgment unit
To activate the second oscillator to reduce the consumption of backup power.
Can be suppressed and the backup period lengthened
Is possible. And in backup power mode
External device moves faster than a certain set value.
Then, the first oscillator is activated by the judgment of the judgment unit,
Perform detection operation corresponding to high-speed movement of external devices.
Can be.

【0030】請求項2記載の本発明によれば、請求項1
記載のエンコーダの判断部において、外部装置が一定の
設定値より低速で移動していると判断した場合、電源の
モードにかかわらず第1の発振子の起動を停止するよう
にしたため、電源モードが主電源モードであってもバッ
クアップモードであっても、電源の消費電流を小さくす
ることができる。
According to the second aspect of the present invention, the first aspect is provided.
In the determination unit of the described encoder, the external device is fixed
If it is determined that it is moving at a speed lower than the set value,
Since the activation of the first oscillator is stopped regardless of the mode , the power consumption of the power supply can be reduced regardless of whether the power supply mode is the main power supply mode or the backup mode.

【0031】外部装置が高速移動し、かつ、そのとき発
振周波数の高い方の発振子が動作していない場合は、エ
ンコーダは外部装置の高速移動に対応することができな
いが、請求項3記載の本発明では、請求項1記載のエン
コーダにおいて、外部装置が一定の設定値よりも高速で
移動していることが外部信号検出手段で検出され、かつ
その際第1の発振子が動作していないときに、エラー情
報信号を出力するエラー情報発生部を備えたため、使用
者はこのエラー情報信号に基づき必要な処置をとること
ができる。
If the external device moves at a high speed and the oscillator having the higher oscillation frequency is not operating at that time, the encoder cannot cope with the high speed movement of the external device. In the present invention, the engine described in claim 1 is used.
In the coder, the external device is faster than a certain set value.
The movement is detected by the external signal detection means, and
At that time, when the first oscillator is not operating, an error message is displayed.
The provision of the error information generating section for outputting the information signal allows the user to take necessary measures based on the error information signal .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明にかかるエンコーダの実施例を示すブロ
ック図。
Block diagram illustrating an embodiment of Rue encoder written to the present invention; FIG.

【符号の説明】[Explanation of symbols]

13 外部信号検出手段としてのMR素子 14 外部信号検出手段としての波形整形回路 22 電源モード判別手段としての主電源監視部 24 判断部 25 発振子 26 発振子 31 主電源 32 バックアップ電源 36 エラー情報発生手段 Reference Signs List 13 MR element as external signal detecting means 14 Waveform shaping circuit as external signal detecting means 22 Main power monitoring section as power mode determining means 24 Judging section 25 Oscillator 26 Oscillator 31 Main power supply 32 Backup power supply 36 Error information generating means

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 バックアップ電源モードと主電源モード
を有する電源と、第1の発振子と、 上記電源により常時起動していると共に、上記第1の発
振子よりも低周波数のパルスを発生する第2の発振子
と、 上記 電源の電源モードを判別する電源モード判別手段
と、 外部装置の動きを検出する外部信号検出手段と、 上記電源モード判別手段から入力される判別信号と上記
外部信号検出手段から入力される検出信号に基づき、上
記電源が主電源モードであると判断した場合、または上
記外部信号がゼロを除く一定の設定値以上で移動してい
ると判断した場合、上記第1の発振子を起動させる判断
部と、を備えたエンコーダ。
And 1. A power supply with backup power mode and the main power supply mode, the first oscillator, with which constantly activated by the power source, the first origination
A second oscillator that generates a lower frequency pulse than the pendulum
When a power supply mode discriminating means for discriminating the power mode of the power source, an external signal detecting means for detecting a movement of an external device, the determination signal and the <br/> external signal detecting means which is inputted from the power supply mode judging means Based on the detection signal input from
If the power supply is determined to be in main power mode, or
The external signal is moving above a certain set value excluding zero.
If it is determined that the first oscillator is activated,
And an encoder comprising:
【請求項2】 上記判断部は、上記外部装置が上記一定
の設定値より低速で移動していると判断した場合、上記
電源のモードにかかわらず上記第1の発振子の起動を停
止させることを特徴とする請求項1記載のエンコーダ。
Wherein said determination unit, the external device is above a certain
If it is determined that the robot is moving at a lower speed than
2. The encoder according to claim 1, wherein the activation of the first oscillator is stopped regardless of a power supply mode .
【請求項3】 上記外部装置が上記一定の設定値よりも
高速で移動していることが上記外部信号検出手段で検出
され、かつその際上記第1の発振子が動作していないと
きに、エラー情報信号を出力するエラー情報発生部を備
えたことを特徴とする請求項1記載のエンコーダ。
Wherein said external device than the predetermined set value
High-speed movement is detected by the external signal detection means.
And at this time the first oscillator is not operating
2. The encoder according to claim 1, further comprising an error information generating unit that outputs an error information signal when the error occurs.
JP4315677A 1992-10-30 1992-10-30 Encoder Expired - Fee Related JP2758324B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4315677A JP2758324B2 (en) 1992-10-30 1992-10-30 Encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4315677A JP2758324B2 (en) 1992-10-30 1992-10-30 Encoder

Publications (2)

Publication Number Publication Date
JPH06147924A JPH06147924A (en) 1994-05-27
JP2758324B2 true JP2758324B2 (en) 1998-05-28

Family

ID=18068241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4315677A Expired - Fee Related JP2758324B2 (en) 1992-10-30 1992-10-30 Encoder

Country Status (1)

Country Link
JP (1) JP2758324B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2582102Y2 (en) * 1993-01-08 1998-09-30 多摩川精機株式会社 Multi-turn absolute encoder
JP4518833B2 (en) * 2004-02-03 2010-08-04 矢崎総業株式会社 Rotation angle sensor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076807B2 (en) * 1989-06-14 1995-01-30 株式会社ミツトヨ Displacement detector
JP3068014U (en) * 1999-10-06 2000-04-21 株式会社フェリシモ Case cover and storage goods

Also Published As

Publication number Publication date
JPH06147924A (en) 1994-05-27

Similar Documents

Publication Publication Date Title
JP2758324B2 (en) Encoder
JPH07107774A (en) Lock alarm apparatus of brushless motor
JPH0723577A (en) Motor control circuit
JP2000132226A (en) Disconnection detection circuit for sensor
EP1343184B1 (en) Circuit and method for detecting the state of a switch
JP2000316289A (en) Motor drive device and image forming device
JP2925813B2 (en) Motor drive
KR20010068827A (en) Apparatus and method for driving control of single phase switched reluctance motor
JP2001061297A (en) Image forming device, control method, and recording medium
JPS63237101A (en) Clock actuating device
JPH06105589A (en) Drive controller for dc brushless motor
JP3452722B2 (en) Printer
JPH0556560A (en) Apparatus for reducing power consumption
JP2983702B2 (en) Power supply for backup
JP3331630B2 (en) Sensorless motor driving method and device thereof
JP2821034B2 (en) Inverter
JPH07163043A (en) Motor controller
JPH037088A (en) Controlling method for spindle motor
JP2002193578A (en) Operation detecting device for safety device for passenger conveyor
JP2674768B2 (en) Digital frequency control device for power converter
JPH09297957A (en) Power saving device for magnetic disk device
JPH02241384A (en) Controller for motor
JPS60204289A (en) Self-diagnosing device of copying machine
JPS6266341A (en) Runaway detecting circuit for cpu
JPH06169594A (en) Motor drive control circuit

Legal Events

Date Code Title Description
S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080313

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090313

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100313

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100313

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110313

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees