JP2001255109A - Position-measuring apparatus - Google Patents

Position-measuring apparatus

Info

Publication number
JP2001255109A
JP2001255109A JP2000068715A JP2000068715A JP2001255109A JP 2001255109 A JP2001255109 A JP 2001255109A JP 2000068715 A JP2000068715 A JP 2000068715A JP 2000068715 A JP2000068715 A JP 2000068715A JP 2001255109 A JP2001255109 A JP 2001255109A
Authority
JP
Japan
Prior art keywords
transducer
error
grid
detection
scale
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.)
Granted
Application number
JP2000068715A
Other languages
Japanese (ja)
Other versions
JP3442025B2 (en
Inventor
Nobuyuki Hayashi
伸行 林
Koji Sasaki
康二 佐々木
Yoshiaki Shiraishi
吉昭 白石
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.)
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Original Assignee
Mitutoyo Corp
Mitsutoyo Kiko Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitutoyo Corp, Mitsutoyo Kiko Co Ltd filed Critical Mitutoyo Corp
Priority to JP2000068715A priority Critical patent/JP3442025B2/en
Priority to US09/804,300 priority patent/US6636035B2/en
Priority to DE10111975A priority patent/DE10111975B9/en
Publication of JP2001255109A publication Critical patent/JP2001255109A/en
Application granted granted Critical
Publication of JP3442025B2 publication Critical patent/JP3442025B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce power consumption associated with the detection of errors in a position-measuring apparatus, such as an electronic caliper. SOLUTION: In an electronic caliper, the displacement of a grid is detected with respect to a scale with a detection circuit 12, based on a signal of a transducer 10. A CPU14 displays the position detected on a display device 24. The CPU14 executes detection of errors in the transducer, only when the relative speed of the grip with respect to the scale is zero or lower than a prescribed value. Since the detection of errors is performed only at a prescribed timing, thereby reducing the power consumption.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は位置計測装置、特に
2つの部材間の変位を検出する位置計測装置の消費電力
低減に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position measuring device, and more particularly to a method for detecting a displacement between two members, which reduces power consumption of the position measuring device.

【0002】[0002]

【従来の技術】電子ノギス等の計測機器は製造工業にお
いて物体の厚さや他の物理的寸法を測定する場合に広く
用いられており、計測機器の主要な構成要素としてトラ
ンスデューサが用いられている。
2. Description of the Related Art Measuring instruments, such as electronic calipers, are widely used in the manufacturing industry to measure the thickness and other physical dimensions of objects, and transducers are used as a major component of the measuring instruments.

【0003】トランスデューサには、容量型トランスデ
ューサと誘導型トランスデューサが知られている。容量
型トランスデューサにおいては、送信電極と受信電極が
グリッド(スライダ)に設けられ、このグリッドに対向
するスケール上に信号電極が設けられる。グリッド上の
送信電極及び受信電極はスケール上の信号電極と容量結
合する。送信電極に駆動信号を供給し、グリッドとスケ
ールとの相対位置に応じて受信電極に生じる検出信号を
処理回路で処理しスケールに対するグリッドの移動又は
位置を検出する。
[0003] As transducers, a capacitive transducer and an inductive transducer are known. In a capacitive transducer, a transmission electrode and a reception electrode are provided on a grid (slider), and a signal electrode is provided on a scale facing the grid. The transmitting and receiving electrodes on the grid are capacitively coupled to the signal electrodes on the scale. A drive signal is supplied to the transmission electrode, and a detection signal generated at the reception electrode is processed by a processing circuit in accordance with a relative position between the grid and the scale to detect a movement or a position of the grid with respect to the scale.

【0004】一方、誘導型トランスデューサにおいて
は、グリッドとスケール間の電磁誘導に基づき相対位置
を検出する。例えば、グリッドに励磁コイルを設けて磁
束を発生させ、スケールコイルに誘導電流を生じさせ
る。誘導電流は磁束を生じ、グリッドに設けられた検出
コイルに誘導電流(誘起電圧)が生じる。検出コイルに
生じる誘起電圧はグリッドとスケール間の変位に応じて
変化するから、誘起電圧信号に基づいて変位を検出する
ことができる。
On the other hand, in an inductive transducer, a relative position is detected based on electromagnetic induction between a grid and a scale. For example, an excitation coil is provided on the grid to generate magnetic flux, and an induced current is generated in the scale coil. The induced current generates a magnetic flux, and an induced current (induced voltage) is generated in a detection coil provided on the grid. Since the induced voltage generated in the detection coil changes according to the displacement between the grid and the scale, the displacement can be detected based on the induced voltage signal.

【0005】そして、トランスデューサが確実に作動し
ていることを担保すべく、従来の計測機器においては、
各サンプリングタイミングにおいてトランスデューサか
らの信号をCPUで監視し、正常か否かを判定してい
た。
[0005] In order to ensure that the transducer is operating reliably, in a conventional measuring instrument,
At each sampling timing, the signal from the transducer is monitored by the CPU to determine whether the signal is normal.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、各サン
プリングタイミングにおいてCPUを動作させてトラン
スデューサが正常か否かのエラー検出を行う構成では、
消費電力が増大してしまい、例えば電源として電池を用
いている場合には電池寿命が低下する問題があった。
However, in the configuration in which the CPU is operated at each sampling timing to detect an error as to whether the transducer is normal or not,
The power consumption increases, and for example, when a battery is used as a power supply, there is a problem that the battery life is shortened.

【0007】特に、トランスデューサとして誘導型トラ
ンスデューサを用いた場合、容量結合型と比べて汚染度
の高い環境においても使用できる利点がある一方、容量
結合型よりも消費電力が大きいという問題があり、さら
なる消費電力の増大は好ましくない。
In particular, when an inductive transducer is used as a transducer, there is an advantage that it can be used in an environment with a high degree of contamination as compared with the capacitive coupling type, but there is a problem that power consumption is larger than that of the capacitive coupling type. An increase in power consumption is not desirable.

【0008】本発明は、上記従来技術の有する課題に鑑
みなされたものであり、その目的は、トランスデューサ
のエラーを検出でき、かつ、低消費電力の位置計測装置
を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the related art, and an object of the present invention is to provide a position measuring device which can detect a transducer error and consumes low power.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、2つの部材間の変位を検出する位置計測
装置であって、前記2つの部材間の変位を電気信号とし
て出力するトランスデューサと、前記2つの部材間の相
対速度が所定値以下の場合に前記トランスデューサの誤
作動を検出する検出手段とを有することを特徴とする。
所定時間毎に毎回トランスデューサの誤作動検出(エラ
ー検出)を行うのではなく、相対速度が所定値以下の場
合に誤作動検出を行うことで、誤作動検出に伴う消費電
力を低減することができる。
In order to achieve the above object, the present invention is a position measuring device for detecting a displacement between two members, and outputs the displacement between the two members as an electric signal. It has a transducer and a detecting means for detecting a malfunction of the transducer when a relative speed between the two members is equal to or less than a predetermined value.
The power consumption associated with the malfunction detection can be reduced by performing the malfunction detection when the relative speed is equal to or less than a predetermined value, instead of performing the malfunction detection (error detection) of the transducer every predetermined time. .

【0010】ここで、2つの部材間の相対速度がゼロの
場合に前記誤作動を検出することが好適である。相対速
度がゼロの場合には特にその位置を高精度に検出する必
要があり、その位置でトランスデューサの誤作動を検出
することで、効率的な誤作動検出が可能となるととも
に、位置検出精度を確実に担保できる。
Here, it is preferable that the malfunction is detected when the relative speed between the two members is zero. Especially when the relative velocity is zero, it is necessary to detect the position with high accuracy.Detecting the malfunction of the transducer at that position enables efficient malfunction detection and improves the position detection accuracy. Secure.

【0011】前記トランスデューサは、例えば誘導型ト
ランスデューサとすることができる。誘導型トランスデ
ューサは、それ自体消費電力が比較的大きいため、誤作
動検出に伴う消費電力を低減することで、誘導型トラン
スデューサの使い勝手が向上する。また、電池で駆動す
る場合には、電池寿命を増大させることも可能となる。
[0011] The transducer may be, for example, an inductive transducer. Since the power consumption of the inductive transducer itself is relatively large, the usability of the inductive transducer is improved by reducing the power consumption due to the malfunction detection. In addition, when driven by a battery, it is possible to extend the battery life.

【0012】また、前記トランスデューサは、所定の基
準位置からの変位、すなわち絶対位置を検出するアブソ
リュート型電子ノギスのトランスデューサとすることが
できる。インクリメント型電子ノギスにおいては逐次変
位量を検出するが、アブソリュート型電子ノギスにおい
ては、スケールに対してグリッドを静止させてその絶対
位置を計測する場合が多い。したがって、グリッドの相
対速度が所定速度以下となった場合、あるいは相対速度
がゼロとなった場合にトランスデューサの誤作動を検出
することで、位置検出タイミングと誤作動検出タイミン
グを同期させることができ、効率的な処理が可能とな
る。
Further, the transducer may be an absolute type electronic caliper transducer for detecting a displacement from a predetermined reference position, that is, an absolute position. In the incremental type electronic caliper, the displacement amount is sequentially detected, but in the case of the absolute type electronic caliper, the absolute position of the grid is measured with the grid stationary with respect to the scale in many cases. Therefore, when the relative speed of the grid becomes equal to or less than the predetermined speed or when the relative speed becomes zero, the malfunction detection of the transducer is detected, so that the position detection timing and the malfunction detection timing can be synchronized, Efficient processing becomes possible.

【0013】また、前記検出手段は、前記変位を検出す
るための電気信号の正常時に対する振幅比を用いて前記
誤作動を検出することが好適である。トランスデューサ
自体の故障あるいはスケールとグリッド間の間隔の変化
や異物混入が生じると、検出信号の振幅が正常時の振幅
から変化する。そこで、検出信号の振幅と正常時の振幅
の比を用いることで、確実にトランスデューサの誤作動
を検出することができる。
Preferably, the detecting means detects the malfunction by using an amplitude ratio of an electric signal for detecting the displacement to a normal state. If a failure of the transducer itself, a change in the interval between the scale and the grid, or the intrusion of foreign matter occurs, the amplitude of the detection signal changes from the normal amplitude. Therefore, by using the ratio between the amplitude of the detection signal and the amplitude at the normal time, it is possible to reliably detect the malfunction of the transducer.

【0014】[0014]

【発明の実施の形態】以下、図面に基づき本発明の実施
形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1には、本実施形態に係る絶対位置検出
用(アブソリュートタイプ)電子ノギスの構成ブロック
図が示されている。検出部としてトランスデューサ10
及び検出回路12が設けられ、制御部及び表示部として
CPU14、ROM16、RAM18、スイッチ20、
ジャンパ22、表示器24が設けられる。
FIG. 1 is a block diagram showing the configuration of an absolute position detecting (absolute type) electronic caliper according to this embodiment. Transducer 10 as detector
And a detection circuit 12, and a CPU 14, a ROM 16, a RAM 18, a switch 20,
A jumper 22 and a display 24 are provided.

【0016】トランスデューサ10は例えば誘導型トラ
ンスデューサが用いられ、スケールに対するグリッド
(スライダ)の変位を電気信号として検出回路12に出
力する。所定の基準位置(ゼロ位置)からの変位を検出
するためには、波長(ピッチ)がλ1、λ2と異なる2
つのスケールコイルを設け、これらのスケールコイルの
誘導電流により生じた波長がそれぞれλ1、λ2の誘起
電圧信号の強度差を検出すればよい。検出回路12は、
トランスデューサ10からの誘起電圧信号を入力し、上
述した強度差を用いて絶対位置を検出しCPU14に出
力する。
The transducer 10 is, for example, an inductive transducer, and outputs a displacement of a grid (slider) with respect to a scale to a detection circuit 12 as an electric signal. To detect a displacement from a predetermined reference position (zero position), the wavelength (pitch) is different from λ1 and λ2.
It is sufficient to provide two scale coils and detect the intensity difference between the induced voltage signals having wavelengths λ1 and λ2 generated by the induced currents of these scale coils, respectively. The detection circuit 12
An induced voltage signal from the transducer 10 is input, an absolute position is detected using the intensity difference described above, and the absolute position is output to the CPU 14.

【0017】CPU14は、検出回路12から供給され
た検出データをLCDなどの表示器24に表示する。R
OM16には、CPU14の動作に必要な処理プログラ
ムあるいはデータが記憶されている。RAM18には、
検出データが記憶される。トランスデューサ10のエラ
ー検出を行う際には、正常時のデータがRAM18に記
憶され、検出したデータと比較される。スイッチ20は
基準位置を設定するスイッチであり、ジャンパ22はC
PU14がトランスデューサ10のエラー検出を行うタ
イミングを決定するために用いられる。
The CPU 14 displays the detection data supplied from the detection circuit 12 on a display 24 such as an LCD. R
The OM 16 stores processing programs or data necessary for the operation of the CPU 14. In the RAM 18,
The detection data is stored. When an error is detected in the transducer 10, data in a normal state is stored in the RAM 18 and compared with the detected data. The switch 20 is a switch for setting a reference position, and the jumper 22 is
The PU 14 is used to determine a timing at which the error detection of the transducer 10 is performed.

【0018】図2には、本実施形態における全体処理フ
ローチャートが示されている。まず、予め設定した、あ
るいはユーザが設定し直したジャンパ22の状態に基づ
いて、エラー検出タイミングを決定する(S101)。
本実施形態においては、スケールに対してグリッドが静
止した場合、すなわちスケールとグリッドの相対速度が
ゼロとなった場合にトランスデューサ10のエラー検出
を行うべく、ジャンパ22でグリッドが静止したか否か
を判定するためのパラメータを設定する。このパラメー
タαは、具体的にはトランスデューサ10及び検出回路
12で検出したグリッドの絶対位置に変化がないと判定
される回数を規定するものであり、グリッドの絶対位置
に変化がない回数がαに達すると、グリッドが静止して
いると判定してエラー検出を行う。
FIG. 2 shows a flowchart of the overall processing in this embodiment. First, an error detection timing is determined based on the state of the jumper 22 set in advance or reset by the user (S101).
In the present embodiment, when the grid is stationary with respect to the scale, that is, when the relative speed between the scale and the grid becomes zero, it is determined whether or not the grid is stationary with the jumper 22 in order to detect an error of the transducer 10. Set parameters for determination. This parameter α specifically defines the number of times that it is determined that there is no change in the absolute position of the grid detected by the transducer 10 and the detection circuit 12, and the number of times that there is no change in the absolute position of the grid is α. When it reaches, it is determined that the grid is stationary and error detection is performed.

【0019】ジャンパを設定した後、各変数を初期化す
る(S102)。ここで、X方向がスケールに対してグ
リッドが変位する方向であり、X0は所定の基準位置
(ゼロ位置)、Xaは検出された絶対位置、nは静止状
態を判定するための回数変数、Origin Flag
は所定の基準点を設定するためのフラグである。また、
エラーフラグはトランスデューサ10のエラーを検出し
たときに1にセットされるフラグである。
After setting the jumpers, each variable is initialized (S102). Here, the X direction is the direction in which the grid is displaced with respect to the scale, X0 is a predetermined reference position (zero position), Xa is the detected absolute position, n is the number variable for determining the stationary state, Origin Flag
Is a flag for setting a predetermined reference point. Also,
The error flag is a flag that is set to 1 when an error of the transducer 10 is detected.

【0020】各変数を初期化した後、トランスデューサ
10のエラーを検出する際の基準となる検出値MA0及
びMB0を測定する(S103)。MA0及びMB0
は、電源を投入した直後の波長λ1及びλ2の誘起電圧
信号の振幅値である。トランスデューサ10が正常に動
作する場合、この振幅値は一定である。一方、グリッド
とスケールとの間に異物が侵入した場合やグリッドとス
ケール間の距離(エアギャップ)が変化した場合、ある
いはトランスデューサ10自体が故障した場合などエラ
ーが生じた場合には、この振幅値は正常時の値に比べて
変化する。そこで、本実施形態では、電源投入直後にお
いて基準振幅値を測定し、その値をRAM18に格納し
ておく(S104)。
After initializing each variable, the detected values MA0 and MB0, which are references when detecting an error of the transducer 10, are measured (S103). MA0 and MB0
Is the amplitude value of the induced voltage signal of the wavelengths λ1 and λ2 immediately after the power is turned on. When the transducer 10 operates normally, the amplitude value is constant. On the other hand, when an error occurs, such as when a foreign substance enters between the grid and the scale, when the distance (air gap) between the grid and the scale changes, or when the transducer 10 itself breaks down, the amplitude value Changes compared to the normal value. Therefore, in this embodiment, the reference amplitude value is measured immediately after the power is turned on, and the measured value is stored in the RAM 18 (S104).

【0021】次に、CPU14を休止状態とするための
ウオッチドッグタイマをリセットし(S105)、Or
igin Flagが1か否かを判定する(S10
6)。初期状態においては0に設定されているため、さ
らに現在のグリッド位置Xa+1を測定する(S10
7)。測定された位置はRAM18に記憶されており、
CPU14は前回の位置Xaと今回の位置Xa+1が同
一か否かを判定する(S108)。同一である場合に
は、nが0であるか否かを判定し(S109)、未だ0
でなければnを1だけ減じ(S110)、nが0となっ
たか否かを判定する(S111)。前回の位置と今回の
位置が同一である回数がαに達した場合には(静止状態
が一定時間継続したと言うこともできる)nは0とな
り、未だ達していない場合にはn>0となる。n>0で
ある場合には、次に絶対位置としてXa−X0を算出し
て表示器24に表示し(S119)、Originスイ
ッチ20が操作されたか否かを判定する(S120)。
ここで、Originスイッチ20が操作されていない
場合は、CPU14を休止状態とする(S121)。休
止状態は、所定時間tだけ継続する。従来のように、サ
ンプリング毎にCPU14を動作させるのではなく、休
止状態とすることで、電力の消費を抑制することができ
る。
Next, a watchdog timer for bringing the CPU 14 into a sleep state is reset (S105), and
It is determined whether or not the iin Flag is 1 (S10).
6). Since it is set to 0 in the initial state, the current grid position Xa + 1 is further measured (S10).
7). The measured position is stored in the RAM 18,
The CPU 14 determines whether or not the previous position Xa and the current position Xa + 1 are the same (S108). If they are the same, it is determined whether or not n is 0 (S109).
If not, n is reduced by 1 (S110), and it is determined whether or not n is 0 (S111). When the number of times the previous position and the current position are the same reaches α (it can be said that the stationary state has continued for a certain period of time), n becomes 0, and when it has not yet reached n> 0. Become. If n> 0, then Xa-X0 is calculated as an absolute position and displayed on the display 24 (S119), and it is determined whether or not the Origin switch 20 has been operated (S120).
Here, when the Origin switch 20 is not operated, the CPU 14 is set to the sleep state (S121). The pause state continues for a predetermined time t. Power consumption can be suppressed by setting the CPU 14 to a sleep state instead of operating the CPU 14 for each sampling as in the related art.

【0022】一方、Originスイッチ20が操作さ
れた場合には、Origin Flagを1にセットし
(S123)、再びS106の処理に戻る。この処理で
は、フラグが0から1にセットされているため、再びエ
ラー検出の際に用いる基準値(基準振幅値)MA0及び
MB0を入力する(S112)。この処理については後
述する。基準値を再設定した後は、ウオッチドッグタイ
マをリセットし、再び前回の位置と現在の位置が同一か
否か、すなわちグリッドが一定時間静止しているか否か
を判定する。
On the other hand, when the Origin switch 20 is operated, the Origin Flag is set to 1 (S123), and the process returns to S106. In this process, since the flag is set from 0 to 1, the reference values (reference amplitude values) MA0 and MB0 used for error detection are input again (S112). This processing will be described later. After resetting the reference value, the watchdog timer is reset, and it is again determined whether or not the previous position is the same as the current position, that is, whether or not the grid has been stationary for a certain period of time.

【0023】また、S108の判定処理にて前回の位置
Xaと現在の位置Xa+1が同一ではない、すなわちス
ケールに対してグリッドが移動している場合には、エラ
ーフラグが1である場合には0にリセットし(エラーフ
ラグが0である場合にはそのまま維持する)(S11
4)、nを1だけインクリメントし(S115)、現在
の位置をXaとして(S116)RAM18に記憶する
(S117)。なお、S115の処理において、nをα
に再設定してもよい。
Further, in the determination processing of S108, the previous position Xa and the current position Xa + 1 are not the same, that is, if the grid is moving with respect to the scale, 0 if the error flag is 1. (If the error flag is 0, it is maintained as it is) (S11)
4) Then, n is incremented by 1 (S115), and the current position is stored in the RAM 18 as Xa (S116) (S117). In the processing of S115, n is set to α
May be reset.

【0024】そして、前回の位置と現在の位置が同一と
なった回数がαに達し(あるいは静止状態が一定時間継
続した場合)にはn=0となり、CPU14はこの場合
に限って所定のエラー検出処理を実行する(S11
3)。
If the number of times the previous position and the current position have become the same has reached α (or if the stationary state has continued for a certain period of time), n = 0, and the CPU 14 issues a predetermined error only in this case. Execute detection processing (S11
3).

【0025】エラー検出処理の結果、トランスデューサ
10のエラーが検出された場合には、エラーフラグが1
にセットされるので、エラー検出後再びS105以降の
処理を繰り返した際にS118の判定処理でYESと判
定され、現在の位置を表示器24に表示することなく
(S119の処理不実行)エラー表示が行われる(S1
22)。エラー表示を行った後、CPU14を休止状態
とする(S121)。
If an error in the transducer 10 is detected as a result of the error detection processing, the error flag is set to 1
Therefore, when the processing after S105 is repeated again after the error is detected, the determination in S118 is YES, and the error display is performed without displaying the current position on the display 24 (the processing in S119 is not performed). Is performed (S1
22). After the error is displayed, the CPU 14 is put into a sleep state (S121).

【0026】図3には、図2における基準値入力処理
(S113)の詳細フローチャートが示されている。O
riginスイッチ20が操作されると、検出回路12
はそのときの波長λ1及びλ2の誘起電圧信号の振幅値
を算出し(S201)、RAM18に記憶する(S20
2)。電源投入時に算出してRAM18に記憶された基
準値に上書きして記憶してもよい。そして、スイッチ2
0を操作したときの位置をX0としてRAM18に記憶
する(S203、S204)。新たな基準位置(ゼロ位
置)及び基準振幅値MA0、MB0を記憶した後、Or
igin Flagを再び0にセットする(S20
5)。
FIG. 3 is a detailed flowchart of the reference value input process (S113) in FIG. O
When the regin switch 20 is operated, the detection circuit 12
Calculates the amplitude values of the induced voltage signals of the wavelengths λ1 and λ2 at that time (S201) and stores them in the RAM 18 (S20).
2). The reference value calculated at power-on and stored in the RAM 18 may be overwritten and stored. And switch 2
The position when 0 is operated is stored in the RAM 18 as X0 (S203, S204). After storing the new reference position (zero position) and the reference amplitude values MA0 and MB0, Or
The iin Flag is set to 0 again (S20).
5).

【0027】また、図4には、図2におけるエラー検出
(S113)の詳細フローチャートが示されている。ま
ず、CPU14は正常時の振幅値MA0、MB0と現在
の振幅値MA、MBの比MA/MA0、MB/MB0を
算出する。そして、これらの振幅比の比(MA/MA
0)/(MB/MB0)をさらに算出する(S30
1)。そして、この比が1を含む所定範囲内にあるか否
か、具体的にはZaを1より小さい所定値として計算値
がZaと1/Zaの間にあるか否かを判定する(S30
2)。トランスデューサ10が正常に動作している場合
には、MAとMA0はほぼ等しく、かつ、MBとMB0
はほぼ等しいから計算値は1に近い値となり、計算値は
上記の範囲内となる。したがって、計算値が上記の範囲
外となった場合には、MAあるいはMBのいずれかが正
常ではなく、トランスデューサ10にエラーが生じたと
判定してCPU14は表示器24にエラー表示する(S
303)。
FIG. 4 is a detailed flowchart of the error detection (S113) in FIG. First, the CPU 14 calculates the ratios MA / MA0 and MB / MB0 between the amplitude values MA0 and MB0 in the normal state and the current amplitude values MA and MB. Then, the ratio of these amplitude ratios (MA / MA
0) / (MB / MB0) is further calculated (S30).
1). Then, it is determined whether or not this ratio is within a predetermined range including 1, specifically, whether or not the calculated value is between Za and 1 / Za with Za being a predetermined value smaller than 1 (S30).
2). When the transducer 10 is operating normally, MA and MA0 are almost equal, and MB and MB0
Are approximately equal, the calculated value is close to 1, and the calculated value is within the above range. Therefore, if the calculated value is out of the above range, either the MA or the MB is not normal, and it is determined that an error has occurred in the transducer 10 and the CPU 14 displays an error on the display 24 (S
303).

【0028】そして、エラーフラグを0から1にセット
する(S304)。なお、エラーフラグが1にセットさ
れた場合には、上述したように図2のS122でエラー
表示が維持されることになる。エラーフラグを1にセッ
トすると、nをαに戻し(S309)、図2のS105
以降の処理に復帰する。
Then, the error flag is set from 0 to 1 (S304). When the error flag is set to 1, the error display is maintained in S122 of FIG. 2 as described above. When the error flag is set to 1, n is returned to α (S309), and S105 in FIG.
It returns to the subsequent processing.

【0029】一方、計算値が上記範囲内である場合には
正常であると判定することができるが、MA及びMBが
ともに振幅値が同程度変化した場合もあり得る。そこ
で、MAとMBの変化の度合いを確認すべく、CPU1
4は(MA*MB)/(MA0*MB0)を算出する
(S305)。MA及びMBが同程度だけ変化した場合
には、MA*MBによりその変化の度合いが乗算されて
拡大されるため、その値は1から遠ざかる。そこで、こ
の値が所定の範囲内、具体的には1より小さい所定値Z
bに対してZbと1/Zbの間にあるか否かを判定し
(S306)、範囲外であればCPU14はトランスデ
ューサ10にエラーが生じたと判定して表示器24にエ
ラー表示する(S303)。そして、このときもエラー
フラグを0から1にセットする(S304)。また、こ
の値が所定範囲内である場合には、CPU14はトラン
スデューサ10は正常であると判定し、表示器24に正
常表示する(S307)。具体的には、現在の絶対位置
Xa+1−X0を表示器24に表示し、正常に作動する
ことをユーザに報知する。そして、正常であると判定さ
れた場合には、エラーフラグを0にセットする(S30
8)。エラーフラグを0にセットした後、nをαに戻し
(S309)、図2のS105以降の処理に復帰する。
On the other hand, when the calculated value is within the above range, it can be determined to be normal. However, there is a possibility that the amplitude values of both MA and MB have changed by the same degree. Therefore, in order to confirm the degree of change between MA and MB, CPU 1
4 calculates (MA * MB) / (MA0 * MB0) (S305). When MA and MB change by the same degree, the value is away from 1 because MA * MB is multiplied by the degree of change and expanded. Therefore, this value falls within a predetermined range, specifically, a predetermined value Z smaller than 1.
It is determined whether or not b is between Zb and 1 / Zb (S306). If it is outside the range, the CPU 14 determines that an error has occurred in the transducer 10 and displays an error on the display 24 (S303). . Then, also at this time, the error flag is set from 0 to 1 (S304). If this value is within the predetermined range, the CPU 14 determines that the transducer 10 is normal, and displays a normal display on the display 24 (S307). Specifically, the current absolute position Xa + 1-X0 is displayed on the display 24 to notify the user of normal operation. If it is determined that the status is normal, the error flag is set to 0 (S30).
8). After setting the error flag to 0, n is returned to α (S309), and the process returns to S105 and subsequent steps in FIG.

【0030】このように、本実施形態では、グリッドが
静止状態にあるときに限ってトランスデューサ10のエ
ラー検出を行うので、エラー検出に伴う電力消費を低減
できる。また、本実施形態のように絶対位置を検出する
電子ノギスにおいては、グリッドを静止させたときがユ
ーザにとって位置を検出すべきときであるため、静止状
態となったときにトランスデューサ10のエラー検出を
行うことで効率的なエラー検出が可能となる。
As described above, in the present embodiment, the error detection of the transducer 10 is performed only when the grid is in a stationary state, so that the power consumption accompanying the error detection can be reduced. Further, in the electronic caliper for detecting the absolute position as in the present embodiment, when the grid is stopped, the position is to be detected for the user. By doing so, efficient error detection becomes possible.

【0031】なお、図2の処理において、αを1、すな
わち前回の位置と現在の位置が同一となったときに直ち
にエラー検出処理(S113)を実行することも可能で
ある。また、静止状態が長時間継続する場合においてエ
ラー検出処理が複数回実行されることを防止すべく、S
309でn=0(すなわちn=αの再設定をしない)と
すれば静止状態において1回だけエラー検出処理を実行
することになり、一層の消費電力低減が図れる。
In the process of FIG. 2, it is also possible to execute the error detection process (S113) immediately when α is 1, that is, when the previous position and the current position become the same. Further, in order to prevent the error detection processing from being executed a plurality of times when the stationary state continues for a long time, S
If n = 0 (that is, n = α is not reset) in 309, the error detection process is executed only once in the stationary state, and the power consumption can be further reduced.

【0032】さらに、図4の処理において、MA/MA
0及びMB/MB0を算出した後、それぞれの値が1を
含む所定範囲内にあるか否かを判定し、MA/MA0及
びMB/MB0がともに所定範囲内にある場合に正常、
そうでなければエラーと判定するようにしてもよい。
Further, in the processing of FIG.
After calculating 0 and MB / MB0, it is determined whether or not each value is within a predetermined range including 1, and if both MA / MA0 and MB / MB0 are within the predetermined range, it is normal,
Otherwise, an error may be determined.

【0033】図5には、他の実施形態の処理フローチャ
ートが示されている。本実施形態では、グリッドがスケ
ールに対して静止したときにトランスデューサ10のエ
ラー検出を行うのではなく、グリッドの相対速度が所定
値以下となり、やがて静止すると予想されるときにエラ
ー検出を行う。
FIG. 5 shows a processing flowchart of another embodiment. In the present embodiment, the error detection of the transducer 10 is not performed when the grid is stationary with respect to the scale, but the error is detected when the relative speed of the grid is equal to or less than a predetermined value and it is expected that the grid will eventually stop.

【0034】図において、S401〜S407の処理は
図2のS101〜S107と同様であるが、現在の位置
Xa+1を測定した後、前回の位置Xaとの差分の大き
さが所定値a以上か否かを判定する(S408)。スケ
ールに対するグリッドの相対速度が所定値以下である場
合には、現在の位置Xa+1と前回の位置Xaとの差分
値は所定値a以下となり、相対速度が所定値を超える場
合には差分値は所定値を超えることになる。したがっ
て、差分値が所定値aを超える場合には、測定した位置
を表示器24に表示しCPU14を休止状態とする(S
409〜S415)。なお、相対速度が所定値以上であ
るため、S411において表示器24に位置を表示しな
くてもよい。なお、aの値は、例えば、位置測定の周期
(サンプリング周期)が0.1秒のとき、10〜20μ
m程度が好ましい。
In the drawing, the processing of S401 to S407 is the same as that of S101 to S107 of FIG. Is determined (S408). If the relative speed of the grid with respect to the scale is equal to or less than a predetermined value, the difference value between the current position Xa + 1 and the previous position Xa is equal to or less than a predetermined value a, and if the relative speed exceeds the predetermined value, the difference value is equal to a predetermined value. Value will be exceeded. Therefore, when the difference value exceeds the predetermined value a, the measured position is displayed on the display 24, and the CPU 14 is set to the rest state (S
409-S415). Since the relative speed is equal to or higher than the predetermined value, the position does not have to be displayed on the display 24 in S411. The value of a is, for example, 10 to 20 μm when the position measurement period (sampling period) is 0.1 second.
m is preferable.

【0035】一方、スケールに対するグリッドの相対速
度が所定値a以下となった場合(S408でNOと判
定)には、次に前回の位置と同一か否かを判定する(S
416)。
On the other hand, when the relative speed of the grid with respect to the scale is equal to or less than the predetermined value a (NO in S408), it is next determined whether or not the position is the same as the previous position (S408).
416).

【0036】グリッドの速度が低下し、所定値以下とな
った時点では現在の値と前回の値は同一ではなく、NO
と判定されて現在の値をRAMに記憶し(S419、S
420)、現在の絶対位置を表示器24に表示したのち
のエラー検出処理を実行する(S422)。エラー検出
処理は、図4に示された処理と同様である。但し、本実
施形態においては変数nは不要であるため、S309の
処理を省くことができる。ここで、S421で絶対位置
を表示するのではなく、S422でエラー検出を実行
し、トランスデューサ10が正常と判定された場合に4
21で算出した絶対位置を表示器24に表示することも
好適である。また、差分値が所定値a以下である間は、
繰り返しエラー検出処理を実行することになるが、所定
値aを十分小さくすることで、エラー検出処理を1回、
あるいは数回程度に限定できる。
When the speed of the grid decreases and falls below a predetermined value, the current value and the previous value are not the same, and NO
Is determined and the current value is stored in the RAM (S419, S
420), an error detection process is performed after the current absolute position is displayed on the display 24 (S422). The error detection processing is the same as the processing shown in FIG. However, in the present embodiment, since the variable n is unnecessary, the processing in S309 can be omitted. Here, instead of displaying the absolute position in S421, error detection is performed in S422, and when it is determined that the transducer 10 is normal, 4
It is also preferable to display the absolute position calculated at 21 on the display 24. Also, while the difference value is equal to or less than the predetermined value a,
The error detection process is repeatedly performed, but by making the predetermined value a sufficiently small, the error detection process is performed once.
Alternatively, it can be limited to about several times.

【0037】そして、グリッドがスケールに対して静止
した場合には、S416でYESと判定され、エラーフ
ラグを確認する(S417)。エラー検出処理でエラー
と判定された場合にはエラーフラグは1にセットされて
おり、正常と判定された場合には0にセットされてい
る。エラーフラグが1である場合には、エラー表示を継
続して実行する(S418)。エラーフラグが0である
場合には、正常であるため現在の位置を表示する(S4
11)。
If the grid is stationary with respect to the scale, YES is determined in S416, and an error flag is confirmed (S417). The error flag is set to 1 when it is determined that an error has occurred in the error detection processing, and is set to 0 when it is determined that the error is normal. If the error flag is 1, the error display is continuously performed (S418). If the error flag is 0, the current position is displayed because it is normal (S4).
11).

【0038】このように、本実施形態ではスケールに対
する相対速度が所定値以下となった場合にのみトランス
デューサ10のエラー検出を実行するので、エラー検出
処理に伴う電力消費を低減することができる。
As described above, in the present embodiment, the error detection of the transducer 10 is executed only when the relative speed with respect to the scale becomes equal to or less than the predetermined value, so that the power consumption accompanying the error detection processing can be reduced.

【0039】なお、本実施形態では現在位置と前回位置
の差分を所定値と比較することでスケールに対するグリ
ッドの相対速度が所定値以下であるか否かを判定し、所
定値以下と判定された場合にエラー検出を行っている
が、相対速度が所定値以下であるか否かは他の方法、例
えば速度センサを設けて直接的に相対速度を検出する。
あるいは誘起電圧信号のパターンから相対速度を推定す
るなどの方法でも可能である。
In this embodiment, the difference between the current position and the previous position is compared with a predetermined value to determine whether or not the relative speed of the grid with respect to the scale is equal to or less than a predetermined value. In such a case, error detection is performed. However, whether or not the relative speed is equal to or less than a predetermined value is detected by another method, for example, by providing a speed sensor and directly detecting the relative speed.
Alternatively, a method of estimating the relative speed from the pattern of the induced voltage signal is also possible.

【0040】[0040]

【発明の効果】以上説明したように、本発明によれば、
エラー検出に伴う電力消費を低減することができる。
As described above, according to the present invention,
Power consumption due to error detection can be reduced.

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

【図1】 実施形態の構成ブロック図である。FIG. 1 is a configuration block diagram of an embodiment.

【図2】 実施形態の全体処理フローチャートである。FIG. 2 is an overall processing flowchart of the embodiment.

【図3】 図2における基準値入力処理フローチャート
である。
FIG. 3 is a flowchart of a reference value input process in FIG. 2;

【図4】 図2におけるエラー検出処理フローチャート
である。
FIG. 4 is a flowchart of an error detection process in FIG. 2;

【図5】 他の実施形態の全体処理フローチャートであ
る。
FIG. 5 is an overall processing flowchart of another embodiment.

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

10 トランスデューサ、12 検出回路、14 CP
U、16 ROM、18 RAM、20 スイッチ、2
2 ジャンパ、24 表示器。
10 transducer, 12 detection circuit, 14 CP
U, 16 ROM, 18 RAM, 20 switches, 2
2 jumpers, 24 indicators.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 白石 吉昭 神奈川県川崎市高津区坂戸1丁目20番1号 株式会社ミツトヨ内 Fターム(参考) 2F063 AA02 CA02 CA15 DA09 DA23 DD02 EA05 GA23 KA03 LA10 LA23 LA24 LA25 LA29 MA04 MA10  ────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yoshiaki Shiraishi 1-20-1 Sakado, Takatsu-ku, Kawasaki-shi, Kanagawa F-term (reference) 2F063 AA02 CA02 CA15 DA09 DA23 DD02 EA05 GA23 KA03 LA10 LA23 LA24 LA25 LA29 MA04 MA10

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 2つの部材間の変位を検出する位置計測
装置であって、 前記2つの部材間の変位を電気信号として出力するトラ
ンスデューサと、 前記2つの部材間の相対速度が所定値以下の場合に前記
トランスデューサの誤作動を検出する検出手段と、 を有することを特徴とする位置計測装置。
1. A position measuring device for detecting a displacement between two members, wherein the transducer outputs a displacement between the two members as an electric signal, and a relative speed between the two members is equal to or less than a predetermined value. And a detecting means for detecting a malfunction of the transducer in such a case.
【請求項2】 請求項1記載の装置において、 前記検出手段は、前記2つの部材間の相対速度がゼロの
場合に前記誤作動を検出することを特徴とする位置計測
装置。
2. The position measuring device according to claim 1, wherein the detecting means detects the malfunction when the relative speed between the two members is zero.
【請求項3】 請求項1、2のいずれかに記載の装置に
おいて、 前記トランスデューサは、誘導型トランスデューサであ
ることを特徴とする位置計測装置。
3. The position measuring device according to claim 1, wherein the transducer is an inductive transducer.
【請求項4】 請求項1〜3のいずれかに記載の装置に
おいて、 前記トランスデューサは、所定の基準位置からの変位を
検出する電子ノギスのトランスデューサであることを特
徴とする位置計測装置。
4. The position measuring device according to claim 1, wherein the transducer is an electronic caliper transducer for detecting a displacement from a predetermined reference position.
【請求項5】 請求項4記載の装置において、 前記検出手段は、前記変位を検出するための電気信号の
正常時に対する振幅比を用いて前記誤作動を検出するこ
とを特徴とする位置計測装置。
5. The position measuring apparatus according to claim 4, wherein said detecting means detects said malfunction by using an amplitude ratio of an electric signal for detecting said displacement to a normal state. .
JP2000068715A 2000-03-13 2000-03-13 Position measurement device Expired - Fee Related JP3442025B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2000068715A JP3442025B2 (en) 2000-03-13 2000-03-13 Position measurement device
US09/804,300 US6636035B2 (en) 2000-03-13 2001-03-13 Position measuring device and error detecting method for the same, and electromagnetic induction position detecting device
DE10111975A DE10111975B9 (en) 2000-03-13 2001-03-13 Method for fault detection for a device for position detection with electromagnetic induction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000068715A JP3442025B2 (en) 2000-03-13 2000-03-13 Position measurement device

Publications (2)

Publication Number Publication Date
JP2001255109A true JP2001255109A (en) 2001-09-21
JP3442025B2 JP3442025B2 (en) 2003-09-02

Family

ID=18587729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000068715A Expired - Fee Related JP3442025B2 (en) 2000-03-13 2000-03-13 Position measurement device

Country Status (1)

Country Link
JP (1) JP3442025B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145329A (en) * 2006-12-12 2008-06-26 Mitsutoyo Corp Measuring instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145329A (en) * 2006-12-12 2008-06-26 Mitsutoyo Corp Measuring instrument

Also Published As

Publication number Publication date
JP3442025B2 (en) 2003-09-02

Similar Documents

Publication Publication Date Title
US6636035B2 (en) Position measuring device and error detecting method for the same, and electromagnetic induction position detecting device
EP2821897A1 (en) Finger detection on touch screens for mobile devices
US20120001859A1 (en) Device and method for detecting noise
TWI596523B (en) Carrier Touch Sensing System Capable of Performing Phase Calibration and Carrier Signal Demodulation
WO2003007139A3 (en) Control indicators for data processing systems
WO2008041490A1 (en) Electronic balance
US7805277B2 (en) Step number measuring apparatus
US20120191414A1 (en) Equipment state detection apparatus, equipment state detection method, and computer-readable recording medium
JP3442025B2 (en) Position measurement device
EP3211380A1 (en) Rotation detection device
JP2008145329A (en) Measuring instrument
JPH0360365B2 (en)
JP2004192362A (en) Body motion detection device
JP2007304816A (en) Power saving method for electronic equipment, transmission unit for customer flow line analysis system, and pedometer
JP5172771B2 (en) Distance measuring device
KR20050035233A (en) Double edge time interval counter and its frequency count methode and oscillator test device using the same
WO2018181836A1 (en) Magnetic body detection device, program for causing computer to perform magnetic body detection function, and computer-readable recording medium for recording program
US11921143B2 (en) Apparatus, methods, and techniques of display for obscured feature detection with live wire detection
JP4961050B2 (en) Magnetic field detection device for ball game apparatus and ball game apparatus using the same
JP2603335Y2 (en) Digitizer
JP2001349722A (en) Displacement measuring apparatus
JP2009180630A (en) Measuring device
JP2008199408A (en) Touch sensing device and adjusting method thereof
JPH054254U (en) Input device
TWI601941B (en) Electronic device and weighing method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3442025

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20150620

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees