JPH0667729A - Pulse counting device - Google Patents

Pulse counting device

Info

Publication number
JPH0667729A
JPH0667729A JP21698992A JP21698992A JPH0667729A JP H0667729 A JPH0667729 A JP H0667729A JP 21698992 A JP21698992 A JP 21698992A JP 21698992 A JP21698992 A JP 21698992A JP H0667729 A JPH0667729 A JP H0667729A
Authority
JP
Japan
Prior art keywords
interpolator
output
counter
split rate
pulse
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.)
Pending
Application number
JP21698992A
Other languages
Japanese (ja)
Inventor
Naoki Kawamata
直樹 川又
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP21698992A priority Critical patent/JPH0667729A/en
Publication of JPH0667729A publication Critical patent/JPH0667729A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To control a position or a rotation angle of an object to be controlled with high accuracy and with high throughput by constituting the device so that a split rate of an interpolating means is varied in accordance with a specific expression by using a detecting means and a counter, and the lower bit of an output is not used by synchronizing with a variation of this split rate. CONSTITUTION:An incremental encoder 1 generates a sine wave-like signal in accordance with a displacement amount of position information or a rotation angle information. An interpolator (N-th power folds of 2) generates a pulse signal by splitting this sine wave, and a second counter 4 counts a pulse from this interpolator 2, and outputs a position signal by a binary bit train. According to this invention, a split rate of the interpolator 2 is varied to an N-the power (N: a natural number) of 2, and it is possible to constitute it so that th lower bit of an output is not used by synchronizing with a variation of this split rate. By setting the split rate of the interpolator 2 to N-th power folds of 2, and executing a variation of the split rate and a shift of the output, a moving speed can be increased, while holding high accuracy.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば位置決め装置の
位置検出に好適な、パルスカウント装置に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse counting device suitable for detecting the position of a positioning device.

【0002】[0002]

【従来の技術】従来から、位置決め制御を行うために、
この種のパルスカウント装置が使われている。
2. Description of the Related Art Conventionally, in order to perform positioning control,
This kind of pulse counting device is used.

【0003】内挿器を持つパルスカウント装置は、図5
のように構成される。ここで1は検出器、2は内挿器、
3はパルスカウンタである。また図6は、図5中のそれ
ぞれのポイントにおける信号であって、(a) は90度の
位相差を持つサイン波状の信号、(b) は内挿器で分割し
たパルス、(c) はカウントした結果のビット列である。
A pulse counting device having an interpolator is shown in FIG.
It is configured like. Where 1 is the detector, 2 is the interpolator,
3 is a pulse counter. Further, FIG. 6 shows signals at respective points in FIG. 5, where (a) is a sine wave signal having a phase difference of 90 degrees, (b) is a pulse divided by an interpolator, and (c) is It is a bit string of the counting result.

【0004】ここで内挿器2は基の信号の何倍のパルス
を出すかが予め固定されていて、変化させることはでき
ない。
Here, the interpolator 2 is fixed in advance how many times the pulse of the original signal should be output, and cannot be changed.

【0005】[0005]

【発明が解決しようとする課題】しかしながら上記従来
例では、内挿器の分割率が固定されているため、以下の
ような欠点があった。
However, in the above conventional example, since the division ratio of the interpolator is fixed, there are the following drawbacks.

【0006】すなわち、高精度の位置決めを行なう場
合、検出器自体の分解能を上げると共に、内挿器の分割
率を上げることで検出精度を高めている。その結果、変
位量あたりのパルス数は増大する。
That is, when performing highly accurate positioning, the resolution of the detector itself is increased and the division rate of the interpolator is increased to improve the detection accuracy. As a result, the number of pulses per displacement amount increases.

【0007】一方、パルスカウント装置を用いた位置決
め装置としてのスループットを上げるためには、移動速
度を上げて移動時間を短縮することが要求される。例え
ば、精度を2倍にしたときに、移動時間を同じにするた
めにはパルスカウント速度を2倍にしなければならな
い。
On the other hand, in order to increase the throughput as a positioning device using a pulse counting device, it is necessary to increase the moving speed and shorten the moving time. For example, when the precision is doubled, the pulse count speed must be doubled in order to make the movement time the same.

【0008】従って、高精度と高スループットという2
つの目標を達成するためには、カウンタのパルスカウン
ト速度がネックになり、精度を重視するかスループット
を重視するかのトレードオフに陥る欠点があった。
Therefore, high accuracy and high throughput are required.
In order to achieve one of the two goals, the pulse count speed of the counter becomes a bottleneck, and there is a drawback in that there is a trade-off between emphasis on accuracy and throughput.

【0009】よって本発明の目的は上述の点に鑑み、被
制御対象物の位置あるいは回転角を高精度かつ高スルー
プットにて制御し得るよう構成したカウンタ装置を提供
することにある。
Therefore, in view of the above points, an object of the present invention is to provide a counter device configured to control the position or rotation angle of a controlled object with high accuracy and high throughput.

【0010】[0010]

【課題を解決するための手段】かかる目的を達成するた
めに本発明は、位置情報または回転角情報の変位量に応
じてサイン波状の信号を発生する検出手段と、前記サイ
ン波を分割してパルス信号を生成する内挿手段と、前記
内挿手段からのパルスをカウントして位置信号を2進の
ビット列で出力するカウンタとを備え、前記内挿手段の
分割率を2のN乗(N:自然数)に変化させ、該分割率
の変化に同期して出力の下位ビットを使用しないようし
たものである。
In order to achieve the above object, the present invention divides the sine wave by a detecting means for generating a sine wave signal according to a displacement amount of position information or rotation angle information. An interpolation means for generating a pulse signal and a counter for counting the pulses from the interpolation means and outputting a position signal as a binary bit string are provided, and the division ratio of the interpolation means is 2 N (N). : Natural number), and the lower bits of the output are not used in synchronization with the change of the division ratio.

【0011】[0011]

【作用】本発明では、内挿手段による分割率を可変とす
ることにより、位置決めの精度向上ならびに被制御対象
物の移動時間の短縮化を両立でき、高精度の位置決めと
高いスループットを必要とする位置決め装置等の位置検
出に利用することができる。
In the present invention, by changing the division ratio by the interpolating means, it is possible to improve the positioning accuracy and shorten the moving time of the controlled object, and it is necessary to perform highly accurate positioning and high throughput. It can be used for position detection of positioning devices and the like.

【0012】すなわち上記課題を解決するため本発明で
は、被制御対象物の移動中の速度に対する精度の要求は
位置の精度要求に対して低いことを利用して、移動速度
に応じて内挿手段の分割率を可変にし、高速時は低精度
とすることによりパルスカウント速度の制限を軽減して
移動時間の短縮を計り、低速時は高精度でカウントを行
ない位置決め精度を保持する。これにより、相反する目
標である高精度と高スループットを併せて実現するもの
である。さらに、内挿手段の分割率を2のN乗とすれ
ば、2進の出力ビット列においては、下位ビットを使用
しないことで分割率の変化を吸収できるため、カウンタ
の情報を利用する側にとっては分割率の変化を考慮する
必要がない。
That is, in order to solve the above-mentioned problems, the present invention utilizes the fact that the accuracy requirement for the speed of the controlled object during movement is lower than the accuracy requirement for the position, and the interpolation means is adapted according to the moving speed. The dividing ratio is made variable and the accuracy is low at high speed to reduce the limitation of the pulse count speed to shorten the moving time, and at low speed, counting is performed with high accuracy to maintain the positioning accuracy. As a result, the contradictory goals of high accuracy and high throughput are realized together. Furthermore, if the division ratio of the interpolation means is set to the Nth power of 2, the change in the division ratio can be absorbed by not using the lower bits in the binary output bit string. Therefore, for the side using the information of the counter. There is no need to consider changes in the division ratio.

【0013】[0013]

【実施例】以下、本発明の実施例を詳細に説明する。EXAMPLES Examples of the present invention will be described in detail below.

【0014】実施例1 図1は、検出器としてインクリメンタルエンコーダを用
いた本発明の一実施例を示す。本図において、1はイン
クリメンタルエンコーダ、2は内挿器(2のN乗倍)、
3は内挿器の出力をカウントする第1のカウンタ、4は
エンコーダ出力の元信号をカウントする第2のカウン
タ、5は第1のカウンタの出力レジスタ(Nビット)、
6は第2のカウンタの出力レジスタ(5,6で斜線の部
分は全体のビット列の長さを示すためのもので実際は存
在しない)、7は第1の出力レジスタと第2の出力レジ
スタの和をとる加算器、8はこのパルスカウント装置の
出力レジスタ、9はパルスの時間変化率を調べて切り替
え信号を発生する切り替え器、10は切り替え器9から
の信号で第1のカウンタのカウント結果を加算器7に加
えるか否かを決定するスイッチである。
Embodiment 1 FIG. 1 shows an embodiment of the present invention in which an incremental encoder is used as a detector. In this figure, 1 is an incremental encoder, 2 is an interpolator (2 times the Nth power),
3 is a first counter for counting the output of the interpolator, 4 is a second counter for counting the original signal of the encoder output, 5 is an output register (N bits) of the first counter,
6 is the output register of the second counter (the hatched portion in 5, 6 is for indicating the length of the entire bit string and does not actually exist), and 7 is the sum of the first output register and the second output register. , 8 is an output register of this pulse counting device, 9 is a switcher which checks the time change rate of the pulse and generates a switching signal, and 10 is a signal from the switcher 9 which indicates the count result of the first counter. This is a switch for determining whether to add to the adder 7.

【0015】次に、図2を参照して本実施例の動作を説
明する。ここでは、AからBに加速減速して移動し位置
決めすることを考える。速度はa)のように時間変化す
る。アの速度で切り替え器9が切り替え信号を出し、ア
より速い速度ではスイッチ10を開き(図では下側)、
第1のカウンタ出力を使わないようにする。従って、イ
からウまでの間は第2のカウンタ出力のみを使う。図2
のb)は、このときの位置変化を示す。AからCの間は
第1と第2のカウンタ出力を使う高精度領域、CからD
の間は移動速度が高いため第2のカウンタ出力のみを使
う低精度領域である。ウでスイッチ10が切り替わるの
で、DからA間での最終的な位置決めは高精度領域で行
われる。
Next, the operation of this embodiment will be described with reference to FIG. Here, it is considered to perform acceleration and deceleration from A to B for movement and positioning. The speed changes with time as in a). At the speed of A, the switch 9 outputs a switching signal, and at a speed faster than A, the switch 10 is opened (lower side in the figure),
Do not use the first counter output. Therefore, only the second counter output is used from a to u. Figure 2
B) indicates the position change at this time. Between A and C, a high-precision region using the first and second counter outputs, C to D
During the period, the moving speed is high, and thus the low-accuracy region uses only the second counter output. Since the switch 10 is switched by c, the final positioning between D and A is performed in the high precision area.

【0016】実施例2 図3は、本発明の第2の実施例を示す。図1と同一の部
分には同一番号を付加して説明は省略する。図3におい
て、11はパルス時間変化に応じて内挿器2の分割率と
第1のカウンタ3の出力のシフト量を変化させる切り替
え器である。内挿器2は図のように元信号を2倍ずつ分
割するユニットから成り、切り替え器11からの信号に
よって入力から出力に至るユニット数を1ユニットずつ
変化させることができる。
Embodiment 2 FIG. 3 shows a second embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. In FIG. 3, reference numeral 11 is a switcher which changes the division ratio of the interpolator 2 and the shift amount of the output of the first counter 3 according to the change of the pulse time. The interpolator 2 is composed of a unit that divides the original signal by two as shown in the figure, and the number of units from the input to the output can be changed by one unit by the signal from the switcher 11.

【0017】これにより、図2におけるCD間の分割率
(全体では倍率)を何段階かに分けることができ、移動
中の速度制御の精度を増すことができる。
As a result, the division ratio (magnification as a whole) between CDs in FIG. 2 can be divided into several stages, and the accuracy of speed control during movement can be increased.

【0018】実施例3 図4は本発明の第3の実施例を示す。図1と同一の部分
には同一番号を付加して説明は省略する。この構成によ
り、上記実施例2の特性を有しながら、第2のカウンタ
4と加算器7は不要となる。
Embodiment 3 FIG. 4 shows a third embodiment of the present invention. The same parts as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. With this configuration, the second counter 4 and the adder 7 are unnecessary while having the characteristics of the second embodiment.

【0019】[0019]

【発明の効果】以上説明したとおり本発明によれば、内
挿手段の分割率を2のN乗倍とし、分割率の変化とカウ
ント出力のシフトを行うことにより位置検出器としての
精度を損なうことなく、移動速度を上げることができ、
高精度かつ高スループットという要求を満たすことがで
きる。また倍率の変化を出力のビットシフトで吸収する
ため、この信号を受け取る側では倍率の変化について考
慮する必要がない。
As described above, according to the present invention, the division ratio of the interpolating means is set to the N-th power of 2, and the accuracy of the position detector is impaired by changing the division ratio and shifting the count output. You can increase the moving speed without
It is possible to meet the requirements of high accuracy and high throughput. Further, since the change in magnification is absorbed by the bit shift of the output, it is not necessary for the side receiving this signal to consider the change in magnification.

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

【図1】本発明の第1の実施例を示すブロック構成図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の実施例の動作を説明する線図である。FIG. 2 is a diagram for explaining the operation of the embodiment of the present invention.

【図3】本発明の第2の実施例を示すブロック構成図で
ある。
FIG. 3 is a block diagram showing a second embodiment of the present invention.

【図4】本発明の第3の実施例を示すブロック構成図で
ある。
FIG. 4 is a block diagram showing a third embodiment of the present invention.

【図5】従来技術の説明図である。FIG. 5 is an explanatory diagram of a conventional technique.

【図6】従来技術の説明図である。FIG. 6 is an explanatory diagram of a conventional technique.

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

1 インクリメンタルエンコーダ 2 内挿器(2のN乗倍) 3 内挿器の出力をカウントする第1のカウンタ 4 エンコーダ出力の元信号をカウントする第2のカウ
ンタ 5 第1のカウンタの出力レジスタ(Nビット) 6 第2のカウンタの出力レジスタ(斜線の部分は全体
のビット列の長さを示すためのもので実際は存在しな
い) 7 第1の出力レジスタと第2の出力レジスタの和をと
る加算器 8 パルスカウント装置の出力レジスタ 9 パルスの時間変化率を調べて切り替え信号を発生す
る切り替え器 10 切り替え器9からの信号で第1のカウンタのカウ
ント結果を加算器7に加えるか否かを決めるスイッチ
1 Incremental encoder 2 Interpolator (N 2 times) 3 First counter for counting output of interpolator 4 Second counter for counting original signal of encoder output 5 Output register of first counter (N (Bit) 6 Output register of the second counter (the hatched portion is for indicating the length of the entire bit string and does not actually exist) 7 Adder for taking the sum of the first output register and the second output register 8 Output register 9 of pulse counting device 9 Switch for checking the time change rate of pulses and generating a switching signal 10 Switch for deciding whether to add the count result of the first counter to the adder 7 by the signal from the switch 9

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 位置情報または回転角情報の変位量に応
じてサイン波状の信号を発生する検出手段と、 前記サイン波を分割してパルス信号を生成する内挿手段
と、 前記内挿手段からのパルスをカウントして位置信号を2
進のビット列で出力するカウンタとを備え、 前記内挿手段の分割率を2のN乗(N:自然数)に変化
させ、該分割率の変化に同期して出力の下位ビットを使
用しないようしたことを特徴とするパルスカウント装
置。
1. A detection means for generating a sine wave signal according to a displacement amount of position information or rotation angle information, an interpolation means for dividing the sine wave to generate a pulse signal, and the interpolation means. The position signal is counted by counting 2 pulses
And a counter for outputting a binary bit string, changing the division ratio of the interpolation means to the Nth power of 2 (N: natural number), and not using the lower bit of the output in synchronization with the change of the division ratio. A pulse counting device characterized in that
JP21698992A 1992-08-14 1992-08-14 Pulse counting device Pending JPH0667729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21698992A JPH0667729A (en) 1992-08-14 1992-08-14 Pulse counting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21698992A JPH0667729A (en) 1992-08-14 1992-08-14 Pulse counting device

Publications (1)

Publication Number Publication Date
JPH0667729A true JPH0667729A (en) 1994-03-11

Family

ID=16697072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21698992A Pending JPH0667729A (en) 1992-08-14 1992-08-14 Pulse counting device

Country Status (1)

Country Link
JP (1) JPH0667729A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004005031A1 (en) * 2002-07-08 2004-01-15 Sharp Kabushiki Kaisha Ink jet printer, ink jet printing method, ink jet print program, and medium recording that program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004005031A1 (en) * 2002-07-08 2004-01-15 Sharp Kabushiki Kaisha Ink jet printer, ink jet printing method, ink jet print program, and medium recording that program
US7314260B2 (en) 2002-07-08 2008-01-01 Sharp Kabushiki Kaisha Ink jet printer, ink jet printing method, ink jet print program, and medium recording that program

Similar Documents

Publication Publication Date Title
JPH0667729A (en) Pulse counting device
US4599600A (en) Conversion of quadrature signals into counter control pulses
JP3589527B2 (en) Displacement measuring device
SU1383288A1 (en) Servodrive controller
KR970072704A (en) Counter circuit for controller
JPH07190807A (en) Pulse count circuit of encoder
JPH0728542B2 (en) Actuator control device
SU1029192A1 (en) Device for simulating sine-cosine rotary transformer
SU1434405A1 (en) Interpolator of periodical structure pitch
SU960882A1 (en) Displacement-to-code converter
RU2017156C1 (en) Method for measuring speed of shaft rotation and device for implementation of said method
SU1695233A2 (en) Shaft angle position and rotation velocity transducer
SU1129635A1 (en) Position encoder
SU459856A1 (en) Logical element
JPH04247735A (en) Frame synchronizing circuit
SU720452A1 (en) Shaft angular position-to-code converter
KR100186315B1 (en) Programmable counter
SU790210A1 (en) Multiphase digital phase shifter
JPH02114732A (en) Frame conversion circuit
RU2019032C1 (en) Travel-to-code converter
JP3321998B2 (en) Displacement detector
SU543945A1 (en) Pulse frequency function converter
SU941926A1 (en) Digital servo drive
SU470845A1 (en) Code-angle converter
SU1203558A1 (en) Device for controlling output of graphic information