JPH0812065B2 - Position detector - Google Patents

Position detector

Info

Publication number
JPH0812065B2
JPH0812065B2 JP1189902A JP18990289A JPH0812065B2 JP H0812065 B2 JPH0812065 B2 JP H0812065B2 JP 1189902 A JP1189902 A JP 1189902A JP 18990289 A JP18990289 A JP 18990289A JP H0812065 B2 JPH0812065 B2 JP H0812065B2
Authority
JP
Japan
Prior art keywords
position detector
unit
constant
offset
data
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
JP1189902A
Other languages
Japanese (ja)
Other versions
JPH0354410A (en
Inventor
伸二 柴田
康一 林
Original Assignee
オ−クマ株式会社
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 オ−クマ株式会社 filed Critical オ−クマ株式会社
Priority to JP1189902A priority Critical patent/JPH0812065B2/en
Publication of JPH0354410A publication Critical patent/JPH0354410A/en
Publication of JPH0812065B2 publication Critical patent/JPH0812065B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、移動物の位置を電気的なデジタル値に変換
して出力する位置検出器に関する。
TECHNICAL FIELD The present invention relates to a position detector that converts a position of a moving object into an electric digital value and outputs the electric digital value.

(従来の技術) 第4図は、従来の位置検出器5をNC(数値制御)装置
などのシステム4に結合した場合のブロック構成を示し
ている。
(Prior Art) FIG. 4 shows a block configuration when a conventional position detector 5 is connected to a system 4 such as an NC (numerical control) device.

2相励磁回路34は励磁信号Vcosωt及びVsinωtをレ
ゾルバ31に供給すると主に、正弦波励磁信号Vsinωtを
コンパレータ33に入力する。レゾルバ31の回転軸は一般
にモータ軸などに結合されており、その回転角θをパラ
メータとするAC信号V′sin(ωt+θ)を出力してコ
ンパレータ32に入力する。コンパレータ32はAC信号V′
sin(ωt+θ)を所定のスレッショルドで矩形波STPに
して位相差カウンタ36に送る。一方、コンパレータ33
は、正弦波励磁信号Vsinωtを所定のスレッショルドで
矩形波STRにして位相差カウンタ36に送る。そして、位
相差カウンタ36は矩形波STRの立ち上りから矩形波STPの
立ち上りまでの時間をクロック等で計数し、その計数値
Pを出力ドライバ37を経てNC装置などのシステム4に送
る。この場合、位相差カウンタ36の計数値Pは回転角θ
に比例した値となるので、計数値Pはレゾルバ31の位置
検出値となる。
When the two-phase excitation circuit 34 supplies the excitation signals Vcosωt and Vsinωt to the resolver 31, it mainly inputs the sine wave excitation signal Vsinωt to the comparator 33. The rotary shaft of the resolver 31 is generally coupled to a motor shaft or the like, and outputs an AC signal V'sin (ωt + θ) having the rotational angle θ as a parameter and inputs it to the comparator 32. The comparator 32 outputs the AC signal V '
The sin (ωt + θ) is converted into a rectangular wave STP with a predetermined threshold and sent to the phase difference counter 36. On the other hand, the comparator 33
Sends the sine wave excitation signal Vsinωt to the phase difference counter 36 as a rectangular wave STR with a predetermined threshold. Then, the phase difference counter 36 counts the time from the rising of the rectangular wave STR to the rising of the rectangular wave STP with a clock or the like, and sends the count value P to the system 4 such as an NC device via the output driver 37. In this case, the count value P of the phase difference counter 36 is the rotation angle θ.
Therefore, the count value P becomes the position detection value of the resolver 31.

ここで、システム4に送られて来る位置検出値Pは、
一般に一回転を2n(nは自然数)分割するような演算処
理のし易い単位系に固定されているので、位置検出器5
の単位系をシステム4で使用する単位系に合せる必要が
ある。そのためにシステム4では、システム4内の演算
装置によって位置検出値Pに単位変換の為の定数を掛け
る。例えば、NCシステムなどでよく使用される回転角の
単位である。“度”に変換する場合、位置検出器5は一
回転を2n分割するので、入力される位置検出値Pに360/
2nという単位変換定数を掛けることになる。さらに、位
置検出器5の取付け等によって検出位置にオフセットが
発生することがあり、このような場合もシステム4の中
の演算装置によって、入力される位置検出値Pに検出位
置のオフセット量であるオフセット定数を加えている。
このようにして、位置検出器5より出力される位置検出
値Pは、システム4の中の演算装置により単位の変換と
オフセットの演算をされて最終的な位置検出値となる。
Here, the position detection value P sent to the system 4 is
In general, the position detector 5 is fixed because it is fixed to a unit system that is easy to perform arithmetic processing such that one rotation is divided into 2 n (n is a natural number).
It is necessary to match the unit system of No. 2 with the unit system used in the system 4. Therefore, in the system 4, the position detection value P is multiplied by a constant for unit conversion by the arithmetic unit in the system 4. For example, it is a unit of rotation angle that is often used in NC systems. When converting to “degrees”, the position detector 5 divides one rotation into 2 n, so the input position detection value P is 360 /
It will be multiplied by the unit conversion constant of 2 n . Further, an offset may occur in the detection position due to the attachment of the position detector 5, and in such a case, the position detection value P input by the arithmetic unit in the system 4 is the offset amount of the detection position. Offset constant is added.
In this way, the position detection value P output from the position detector 5 is converted into a unit by the arithmetic unit in the system 4 and the offset is calculated to be a final position detection value.

一方、位置検出器5の単位系をシステム4の単位系に
合せるのに、上記のようなシステム内の演算装置による
単位変換の方法の他に次のような方法が考えられる。1
つは位置検出器5の内部で電気的に行なう方法で、位相
差カウンタ36のカウントクロックの周波数及び励磁周波
数の比を変えることによってシステム4の単位系に合せ
るものであり、他の1つは検出物と位置検出器5との間
で機械的に行なう方法で、検出器入力軸とレゾルバ軸と
の間に変速機構を用い、その変速比によってシステム4
の単位系に合せるものである。
On the other hand, in order to match the unit system of the position detector 5 with the unit system of the system 4, the following method can be considered in addition to the unit conversion method by the arithmetic unit in the system as described above. 1
One is an electrical method inside the position detector 5, which is adapted to the unit system of the system 4 by changing the ratio of the count clock frequency and the excitation frequency of the phase difference counter 36, and the other one is A mechanical mechanism is used between the object to be detected and the position detector 5, a speed change mechanism is used between the detector input shaft and the resolver shaft, and the system 4 is controlled by the speed change ratio.
It matches the unit system of.

(発明が解決しようとする課題) 上述した位置検出器5では、この位置検出器5を使用
するシステム4内の演算装置で単位の変換やオフセット
の計算をさせているため、システム4内の演算装置に負
担を掛けることになる。すなわち、移動物の位置を電気
的なデジタル信号に変換する位置検出器では、位置検出
器より出力されるデジタル値と移動物の位置との関係が
固定されており、出力されたデジタル値は単位系や原点
オフセットなどの問題のため、この位置検出器を使用す
るシステムが本当に欲しい位置検出情報でない場合があ
る。この場合、システム内の演算装置によって単位変換
や原点オフセットなどの計算を行なっているので、この
演算装置に負担をかけることになる。
(Problems to be Solved by the Invention) In the position detector 5 described above, the arithmetic unit in the system 4 using the position detector 5 is used to perform unit conversion and offset calculation. It puts a strain on the device. That is, in a position detector that converts the position of a moving object into an electric digital signal, the relationship between the digital value output from the position detector and the position of the moving object is fixed, and the output digital value is a unit. Due to problems such as system and origin offset, the system using this position detector may not be the desired position detection information. In this case, since the unit conversion and the origin offset are calculated by the arithmetic unit in the system, the arithmetic unit is burdened.

又、位相差カウンタ36のカウントクロックの周波数と
励磁周波数との比を変えることによって単位系を合せる
方法の位置検出器は、それを使用するシステム毎に合せ
て作られるため、他の単位系のシステムと結合すること
ができない。したがって、この位置検出器はそれを使用
するシステムの専用位置検出器となり、全く汎用性のな
い位置検出器となってしまう。同様にして、変速機構に
よって単位系を合せる方法の位置検出器も、それを使用
するシステム毎に合せて変速機構を作るため、他の単位
系のシステムと結合することができない。従って、この
位置検出器はそれを使用するシステムの専用位置検出器
となり、全く汎用性のない位置検出器となってしまう。
Further, since the position detector of the method of adjusting the unit system by changing the ratio between the frequency of the count clock of the phase difference counter 36 and the excitation frequency is made in accordance with each system that uses it, the position detector is Cannot be combined with the system. Therefore, this position detector becomes a dedicated position detector for the system using it, and becomes a position detector having no general versatility. Similarly, the position detector of the method in which the unit system is adjusted by the speed change mechanism cannot be combined with the system of another unit system because the speed change mechanism is made for each system using it. Therefore, this position detector becomes a dedicated position detector for the system using it, and becomes a position detector having no general versatility.

本発明は上述のような事情から成されたものであり、
本発明の目的は、位置オフセットの品質バラツキを抑え
るための調整作業を容易にし、位置検出器を使用するシ
ステム内の演算装置に負担をかけることなく、単位系の
異なる種々のシステムと結合できる汎用性の高い位置検
出器を提供することにある。
The present invention has been made under the circumstances as described above,
It is an object of the present invention to facilitate adjustment work for suppressing the quality variation of position offset, and to combine it with various systems having different unit systems without burdening the arithmetic unit in the system using the position detector. It is to provide a highly reliable position detector.

(課題を解決するための手段) 本発明は、移動物の位置を検出してその検出位置デー
タP2を出力する位置検出器に関し、本発明の目的は、検
出位置データP0の単位変換定数とオフセット定数を外部
よりシリアルデータとして受信する受信手段と、前記受
信手段により受信した前記単位変換定数と前記オフセッ
ト定数を記憶する不揮発性メモリと、前記移動物の位置
をデジタルな検出位置データP0として検出する位置検出
部と、前記検出位置データP0に前記単位変換定数を掛
け、かつ前記オフセット定数を加え検出位置データP2を
得る演算手段と、前記検出位置データP2をデジタルシリ
アル通信によりデジタルシリアルデータTxDとして外部
へ出力する出力部とを具えることによって達成される。
(Means for Solving the Problem) The present invention relates to a position detector that detects the position of a moving object and outputs the detected position data P2, and an object of the present invention is to provide a unit conversion constant and an offset for the detected position data P0. Receiving means for receiving a constant from the outside as serial data, a non-volatile memory for storing the unit conversion constant and the offset constant received by the receiving means, and detecting the position of the moving object as digital detection position data P0. A position detecting section, a calculating means for multiplying the detected position data P0 by the unit conversion constant and adding the offset constant to obtain detected position data P2, and the detected position data P2 by digital serial communication as digital serial data TxD externally. And an output section for outputting to.

(作用) 本発明の位置検出器は、検出位置データP0の単位変換
定数とオフセット定数を外部よりシリアルデータとして
受信し、不揮発メモリに記憶し、位置検出部で検出する
検出位置データP0に単位変換定数を掛けて、かつオフセ
ット定数を加え検出位置データP2を得る。そして、検出
位置データP2をデジタルシリアル通信によりデジタルシ
リアルデータTxDとして外部へ出力している。
(Operation) The position detector of the present invention receives the unit conversion constant and offset constant of the detected position data P0 from the outside as serial data, stores them in the non-volatile memory, and converts them into the detected position data P0 detected by the position detection unit. The detected position data P2 is obtained by multiplying by a constant and adding an offset constant. Then, the detected position data P2 is output to the outside as digital serial data TxD by digital serial communication.

従って、本発明によれば、単位変換定数は、メートル
やインチなどにこだわらない自由なものが設定できる。
例えば、本発明の位置検出器は、検出位置データP0の単
位を、角度の単位に変換したり、外部に接続される歯車
やボールねじ等の変速機構の速度比を考慮した単位に変
換したりできる。
Therefore, according to the present invention, the unit conversion constant can be set freely regardless of meters or inches.
For example, the position detector of the present invention converts the unit of the detected position data P0 into the unit of angle, or into the unit considering the speed ratio of the speed change mechanism such as a gear or a ball screw connected to the outside. it can.

この為、位置検出器を使用するシステム内の演算装置
に負担を掛けることなく、しかも外部から入力される情
報を記憶することにより単位系の異なる種々のシステム
と結合でき、汎用性の高い位置検出器となる。又、記憶
手段の記憶素子を不揮発性メモリとすることで、外部か
ら位置検出器に情報を入力する専用の入力装置を用い
て、システムと位置検出器とを接続する前に単位変換定
数及びオフセット定数を位置検出器の不揮発性メモリに
格納することができる。この為、この位置検出器に単位
変換定数やオフセット定数を入力する手段を持たない従
来のシステムにも容易に結合でき、従来の位置検出器と
互換性のある更に汎用性の高い位置検出器となる。
Therefore, it can be combined with various systems with different unit systems by storing information input from the outside without burdening the arithmetic unit in the system that uses the position detector, and highly versatile position detection. Become a vessel. Further, by making the storage element of the storage means a non-volatile memory, a unit conversion constant and offset can be set before connecting the system and the position detector by using a dedicated input device for inputting information to the position detector from the outside. The constant can be stored in the non-volatile memory of the position detector. For this reason, this position detector can be easily coupled to a conventional system that does not have a means for inputting unit conversion constants and offset constants, and is a more versatile position detector compatible with conventional position detectors. Become.

(実施例) 以下、本発明を図面に示す実施例に基づいて説明す
る。
(Example) Hereinafter, the present invention will be described based on an example shown in the drawings.

第1図は本発明の位置検出器1をNC装置などのシステ
ム2と結合した場合のブロック構成を示し、第2図
(A)〜(E)は外部から情報を受信する場合のコント
ローラ15のタイミングチャートを、第3図(A)〜
(E)は位置検出時のコントローラ15のタイミングチャ
ートをそれぞれ示している。コンパレータ33からの矩形
波STR及びコンパレータ32からの矩形波STPは位相差カウ
ンタ35に入力され、位置検出値P0は乗算器11に、位置検
出完了信号STTはコントローラ15にそれぞれ入力されて
いる。コントローラ15からのラッチ信号LTA及びLTBは、
USART(Universal Synchronous/Asynchronous Receiver
/Transmitter)16から出力される単位変換定数A及びオ
フセット定数Bをそれぞれラッチ回路13及び14にラッチ
し、ラッチされたデータは更に乗算器11及び加算器12に
入力される。また、コントローラ15からの読出要求信号
RD及びデータ転送信号WRはUSART16に入力されており、U
SART16はトランスミッタ161及びレシーバ162を具備して
いる。さらにUSART16とシステム2とはインタフェースR
S232Cで接続されており、データR×D,T×Dが転送され
るようになっている。
FIG. 1 shows a block configuration when the position detector 1 of the present invention is connected to a system 2 such as an NC device, and FIGS. 2A to 2E show a controller 15 when receiving information from the outside. The timing chart is shown in FIG.
(E) is a timing chart of the controller 15 at the time of position detection. The rectangular wave STR from the comparator 33 and the rectangular wave STP from the comparator 32 are input to the phase difference counter 35, the position detection value P 0 is input to the multiplier 11, and the position detection completion signal STT is input to the controller 15. The latch signals LTA and LTB from the controller 15 are
USART (Universal Synchronous / Asynchronous Receiver
The unit conversion constant A and the offset constant B output from the / Transmitter) 16 are latched in the latch circuits 13 and 14, respectively, and the latched data are further input to the multiplier 11 and the adder 12. In addition, a read request signal from the controller 15
RD and data transfer signal WR are input to USART16, U
The SART 16 includes a transmitter 161 and a receiver 162. Furthermore, the interface R between the USART16 and the system 2
It is connected by S232C, and data R × D and T × D are transferred.

このような構成において、電源ON時に、外部からの情
報の受信手段であるUSART16のレシーバ162はシステム2
から第2図(A)の如くシリアルデータR×Dで送られ
て来る単位変換定数を受信し、受信が完了すると同図
(B)に示すような受信完了信号R×RDYを出力してコ
ントローラ15に入力する。コントローラ15は受信完了信
号R×RDYを受信して第2図(C)に示すような読出要
求信号RDをUSART16に対して出力し、USART16から単位変
換定数の読出要求をする。これによってUSARTA16はパラ
レルなデータとなった単位変換定数Aを出力し、ラッチ
回路13は第2図(D)に示すようなコントローラ15から
のラッチ信号LTAにより単位変換定数Aをラッチする。
同様にしてUSART16から次にオフセット定数Bが送ら
れ、第2図(B)の受信完了信号R×RDYによってコン
トローラ15から同図(C)の読出要求信号RDが出力さ
れ、同図(E)に示すラッチ信号LTBによりパラレルな
データとなったオフセット定数Bがラッチ回路14にラッ
チされる。
In such a configuration, when the power is turned on, the receiver 162 of the USART 16 which is a means for receiving information from the outside is the system 2
As shown in FIG. 2 (A), the unit conversion constant sent as serial data R × D is received, and when the reception is completed, a reception completion signal R × RDY as shown in FIG. Enter in 15. The controller 15 receives the reception completion signal R × RDY, outputs a read request signal RD as shown in FIG. 2C to the USART 16, and requests the USART 16 to read the unit conversion constant. As a result, the USART A16 outputs the unit conversion constant A which has become parallel data, and the latch circuit 13 latches the unit conversion constant A by the latch signal LTA from the controller 15 as shown in FIG. 2 (D).
Similarly, the offset constant B is sent from the USART 16 next, and the read request signal RD of FIG. 2C is output from the controller 15 by the reception completion signal R × RDY of FIG. 2B, and FIG. An offset constant B which has become parallel data by the latch signal LTB shown in FIG.

位置検出時には、2相励磁回路34によって励磁された
レゾルバ31は、回転角θをパラメータとするAC信号V′
sin(ωt+θ)を出力し、正弦波励磁信号Vsinωtは
コンパレータ33によって第3図(A)に示すような矩形
波STRに変換れ、AC信号V′sin(ωt+θ)はコンパレ
ータ32によって同図(B)の矩形波STPに変換され、そ
れぞれ位相差カウンタ35に入力される。位相差カウンタ
35は矩形波STRの立ち上りから矩形波STPの立ち上りまで
の時間を計数し、その回転角θに比例した計数値P0、つ
まり位置検出値P0を乗算器11に送ると共に、第3図
(C)に示す位置検出完了信号STTをコントローラ15に
送る。乗算器11は、位置検出値P0にラッチ回路13にラッ
チされた単位変換定数Aを掛け、その乗算結果P1を加算
器12に送る。加算器12は、入力された乗算結果P1にラッ
チ回路14にラッチされたオフセット定数Bを加算し、そ
の加算結果P2をUSART16のトランスミッタ161に送る。つ
まり、位置検出値P0と出力値P2の関係は下記(1)式で
表わされる。
At the time of position detection, the resolver 31 excited by the two-phase excitation circuit 34 has an AC signal V ′ with the rotation angle θ as a parameter.
sin (ωt + θ) is output, the sine wave excitation signal Vsinωt is converted by the comparator 33 into a rectangular wave STR as shown in FIG. ) Is converted into a rectangular wave STP and input to the phase difference counter 35, respectively. Phase difference counter
Reference numeral 35 counts the time from the rising of the rectangular wave STR to the rising of the rectangular wave STP, sends a count value P 0 proportional to the rotation angle θ, that is, the position detection value P 0 to the multiplier 11, and also FIG. The position detection completion signal STT shown in C) is sent to the controller 15. The multiplier 11 multiplies the position detection value P 0 by the unit conversion constant A latched in the latch circuit 13, and sends the multiplication result P 1 to the adder 12. The adder 12 adds the offset constant B latched by the latch circuit 14 to the input multiplication result P 1 and sends the addition result P 2 to the transmitter 161 of the USART 16. That is, the relationship between the position detection value P 0 and the output value P 2 is expressed by the following equation (1).

P2=P0・A+B ……(1) 一方、コントローラ15は位置検出完了信号STTが“1"
となってから上記乗算・加算にかかる時間分だけ遅れ
て、第3図(D)の如くデータ転送信号WRを“1"にし、
それを受けたUSART16のトランスミッタ161は出力値P
2を、同図(E)のようにシリアルデータT×Dとして
システム2へ転送する。このようにしてシステム2に転
送される出力値P2は、(1)式の如く単位の変換やオフ
セットの計算を済ませた位置検出値となる。
P 2 = P 0 · A + B (1) On the other hand, the controller 15 indicates that the position detection completion signal STT is “1”.
After that, the data transfer signal WR is set to "1" as shown in FIG.
Receiving it, the transmitter 161 of USART16 outputs P
2 is transferred to the system 2 as serial data T × D as shown in FIG. In this way, the output value P 2 transferred to the system 2 becomes a position detection value that has undergone unit conversion and offset calculation as shown in equation (1).

又、前記ラッチ回路13,14をEEPROMなどの不揮発性メ
モリとすることで、外部から位置検出器1にシリアルデ
ータを入力する専用の入力装置を用いて、位置検出器1
とシステム2とを接続する前に単位変換定数及びオフセ
ット定数をセットすることができ、位置検出器1に情報
を入力する手段を持たないシステムでも、本発明の位置
検出器を使用することができる。
Further, by using the non-volatile memory such as EEPROM for the latch circuits 13 and 14, the position detector 1 can be used by using a dedicated input device for inputting serial data to the position detector 1 from the outside.
The unit conversion constant and the offset constant can be set before connecting the position detector 1 and the system 2, and the position detector of the present invention can be used even in a system having no means for inputting information to the position detector 1. .

なお、乗算器11,加算器12,ラッチ回路13,14及びコン
トローラ15を1つのマイクロプロセッサに置き換えるこ
とが可能なことは明らかであり、さらにレゾルバ31から
位相差カウンタ36までの位置検出部が位置θに応じてパ
ルスを発生し、そのパルスをカウンタにより計数して位
置を検出するタイプであっても良いことはいうまでもな
い。
It is obvious that the multiplier 11, the adder 12, the latch circuits 13 and 14 and the controller 15 can be replaced by a single microprocessor, and the position detection unit from the resolver 31 to the phase difference counter 36 can be used for position detection. It goes without saying that a type in which a pulse is generated according to θ and the position is detected by counting the pulse with a counter may be used.

(発明の効果) 本発明は以上説明したように構成されているので、以
下のような効果を奏する。
(Effects of the Invention) Since the present invention is configured as described above, the following effects are achieved.

従来の装置では、オフセット定数の設定は、可変抵抗
器やディップスイッチまたは、機械的な取付け位置など
を作業者が位置検出器の出力を見ながら手作業で調整し
ており、多大な調整工数を費やしていた。
In the conventional device, the setting of the offset constant requires the operator to manually adjust the variable resistor, DIP switch, mechanical mounting position, etc. while observing the output of the position detector. I was spending.

本発明の効果は、外部より単位変換定数とオフセット
定数を自由に設定できるので、調整作業の手間を大幅に
削減できるという効果がある。
The effect of the present invention is that the unit conversion constant and the offset constant can be freely set from the outside, so that the time and effort of the adjustment work can be significantly reduced.

また、単位変換定数とオフセット定数とをシリアルデ
ータで入力する為、位置検出器とシステムとを結ぶ信号
線を殆ど増加すことなく、単位変換定数及びオフセット
定数を外部から自由に設定できる。そして、これら定数
と位置検出値とを演算することにより、単位の変換やオ
フセットの修正を行なった位置検出値を出力することが
できる。この為、この位置検出器を使用するシステム内
の演算装置に負担を掛けることなく、しかも外部から入
力される情報を記憶することにより、単位系の異なる種
々のシステムと結合でき、汎用性の高い位置検出器とな
る。また、ラッチ回路に不揮発性メモリを使用すること
で、単位変換定数及びオフセット定数を一度入力すれば
再び入力する必要がない為、システムは電源ON時毎の単
位変換定数とオフセット定数の入力を省くことができ
る。さらに、位置検出器とシステムを接続する前に単位
変換定数及びオフセット定数を入力するようにすれば、
システムはシリアルデータを送る装置を持たなくても良
く、本発明の位置検出器を従来のシステムに使用するこ
とができ、より汎用性の高い位置検出器となる。
Further, since the unit conversion constant and the offset constant are input as serial data, the unit conversion constant and the offset constant can be freely set from outside without increasing the number of signal lines connecting the position detector and the system. Then, by calculating these constants and the position detection value, it is possible to output the position detection value that has undergone unit conversion and offset correction. Therefore, it is possible to combine with various systems having different unit systems without imposing a burden on the arithmetic unit in the system using the position detector, and by storing the information inputted from the outside, which is highly versatile. It becomes a position detector. Also, by using a non-volatile memory for the latch circuit, once the unit conversion constant and offset constant are input, there is no need to input them again, so the system saves input of the unit conversion constant and offset constant each time the power is turned on. be able to. Furthermore, if the unit conversion constant and offset constant are input before connecting the position detector to the system,
The system need not have a device for sending serial data, and the position detector of the present invention can be used in a conventional system, resulting in a more versatile position detector.

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

第1図は本発明の実施例をNC装置などのシステムと結合
した例を示すブロック図、第2図及び第3図はその動作
を説明する為のコントローラのタイミングチャート、第
4図は従来の位置検出器をNC装置などのシステムと結合
した例を示すブロック図である。 1,5…位置検出器、2,4…システム、11…乗算器、12…加
算器、13,14…ラッチ回路、15…コントローラ、16…USA
RT(Universal Synchronous/Asychrous Receiver/Trans
mitter)、31…レゾルバ、32,33…コンパレータ、34…
2相励磁回路、35,36…位相差カウンタ、37…出力ドラ
イバ。
FIG. 1 is a block diagram showing an example in which the embodiment of the present invention is combined with a system such as an NC device, FIGS. 2 and 3 are timing charts of a controller for explaining the operation, and FIG. 4 is a conventional timing chart. FIG. 3 is a block diagram showing an example in which a position detector is combined with a system such as an NC device. 1,5 ... Position detector, 2,4 ... System, 11 ... Multiplier, 12 ... Adder, 13,14 ... Latch circuit, 15 ... Controller, 16 ... USA
RT (Universal Synchronous / Asychrous Receiver / Trans
mitter), 31 ... Resolver, 32, 33 ... Comparator, 34 ...
2-phase excitation circuit, 35, 36 ... Phase difference counter, 37 ... Output driver.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】移動物の位置を検出してその検出位置デー
タP2を出力する位置検出器において、検出位置データP0
の単位変換定数とオフセット定数を外部よりシリアルデ
ータとして受信する受信手段と、前記受信手段により受
信した前記単位変換定数と前記オフセット定数を記憶す
る不揮発性メモリと、前記移動物の位置をデジタルな検
出位置データP0として検出する位置検出部と、前記検出
位置データP0に前記単位変換定数を掛け、かつ前記オフ
セット定数を加え検出位置データP2を得る演算手段と、
前記検出位置データP2をデジタルシリアル通信によりデ
ジタルシリアルデータTxDとして外部へ出力する出力部
とを具備したことを特徴とする位置検出器。
1. A position detector for detecting the position of a moving object and outputting the detected position data P2, the detected position data P0
Receiving unit for receiving the unit conversion constant and the offset constant from the outside as serial data, a non-volatile memory storing the unit conversion constant and the offset constant received by the receiving unit, and digitally detecting the position of the moving object. A position detecting section for detecting the position data P0, a calculating means for multiplying the detected position data P0 by the unit conversion constant, and adding the offset constant to obtain the detected position data P2,
A position detector comprising: an output unit that outputs the detected position data P2 to the outside as digital serial data TxD by digital serial communication.
JP1189902A 1989-07-21 1989-07-21 Position detector Expired - Fee Related JPH0812065B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1189902A JPH0812065B2 (en) 1989-07-21 1989-07-21 Position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1189902A JPH0812065B2 (en) 1989-07-21 1989-07-21 Position detector

Publications (2)

Publication Number Publication Date
JPH0354410A JPH0354410A (en) 1991-03-08
JPH0812065B2 true JPH0812065B2 (en) 1996-02-07

Family

ID=16249114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1189902A Expired - Fee Related JPH0812065B2 (en) 1989-07-21 1989-07-21 Position detector

Country Status (1)

Country Link
JP (1) JPH0812065B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4555913B2 (en) * 2004-05-18 2010-10-06 多摩川精機株式会社 Fieldbus compatible resolver device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5673311A (en) * 1979-11-20 1981-06-18 Toshiba Corp Throat area measuring device for steam turbine nozzle
JPS60159606A (en) * 1984-01-31 1985-08-21 Mitsutoyo Mfg Co Ltd Digital display type measuring machine
JPS6141909A (en) * 1984-08-02 1986-02-28 Tokyo Rika Kogyosho:Kk Distance measuring instrument
JPS6326516A (en) * 1986-07-18 1988-02-04 Mitsutoyo Corp Remote operation type measuring instrument
JPS6367513A (en) * 1986-09-09 1988-03-26 Sekisui Jushi Co Ltd Length measuring instrument with data input/output for positioning

Also Published As

Publication number Publication date
JPH0354410A (en) 1991-03-08

Similar Documents

Publication Publication Date Title
US5677686A (en) Absolute position detection apparatus and error compensation methods therefor
EP0035900B1 (en) Apparatus for providing a demodulated synchro output signal
US4282468A (en) High speed position feedback and comparator system
US6281818B1 (en) Automatic auto-calibration system
JPH0346762B2 (en)
US4885515A (en) Velocity control apparatus
WO1984002619A1 (en) System for controlling synchronous motor
JPH0812065B2 (en) Position detector
JP3365063B2 (en) Rotation angle detection method
US4095158A (en) Position-controlling system
KR910003518B1 (en) Apparatus for detecting revolution using a synchronous electric machine
JP3072938B2 (en) Position detection device
US4890056A (en) Method and apparatus for error correction of phase measurement signals
JP2662900B2 (en) Serial encoder
JPH07229910A (en) Pulse counter circuit
US6175607B1 (en) Pulse counter
US3993993A (en) Digital-to-synchro converter
JPH08128855A (en) Speed detecting device
JPH11241927A (en) Position detecting device
JP2558752B2 (en) Motor rotation speed controller
KR0124337Y1 (en) A digital synchro converter generating position commands for constant speed
JP3228050B2 (en) Rotation angle detection method
JP2776972B2 (en) Rotation angle signal processing device
JP3054753B2 (en) Absolute value type multi-turn encoder
JPH0716313B2 (en) How to start a brushless motor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees