JPS6078352A - Varying device of output pulse number - Google Patents

Varying device of output pulse number

Info

Publication number
JPS6078352A
JPS6078352A JP58187494A JP18749483A JPS6078352A JP S6078352 A JPS6078352 A JP S6078352A JP 58187494 A JP58187494 A JP 58187494A JP 18749483 A JP18749483 A JP 18749483A JP S6078352 A JPS6078352 A JP S6078352A
Authority
JP
Japan
Prior art keywords
phase
pulse
output
ppr
converts
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
JP58187494A
Other languages
Japanese (ja)
Other versions
JPH0412406B2 (en
Inventor
Kenji Hara
憲二 原
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Manufacturing 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP58187494A priority Critical patent/JPS6078352A/en
Publication of JPS6078352A publication Critical patent/JPS6078352A/en
Publication of JPH0412406B2 publication Critical patent/JPH0412406B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • G01P13/02Indicating direction only, e.g. by weather vane
    • G01P13/04Indicating positive or negative direction of a linear movement or clockwise or anti-clockwise direction of a rotational movement

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Electric Motors In General (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To improve the flexibility of a device by varying optionally the number of two-phase pulses (PPR), which are outputted from a pulse oscillator (PG), per one rotation in a range smaller than the number of slits of the PG. CONSTITUTION:A pulse processing circuit part 1 converts the two-phase pulse outputs Ai and Bi of the PG to binary data SIGMA1 and SIGMA0, to obtain (0, 1) for the forward rotation of the PG and (1, 1) for backward rotation and (0, 0) for stop. A PPR setting part 4 can set freely a number <=1,023. An integrating circuit part 2 adds or subtracts a value, which is set by the setting part 4, to or from the preceding value held in a DFF2-d in accordance with the timing of the output of the processing circuit part 1. An overflow generated in B1-B10 by addition or subtraction appears in BX-1 and BX. A two-phase converting circuit part 3 converts the binary data BX-1 and BX to two-phase outputs. Thus, the number of the two-phase pulses is varied to an optional number to improve the flexibility of the device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パルスジェネレータの1回転あたりの出力パ
ルス数をそのスリット数以下で仁君に可変できる出力パ
ルス数可変装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an output pulse number variable device that can freely vary the number of output pulses per revolution of a pulse generator within the number of slits.

〔背景技術」 従来サーボモータ等の回転数を検出するために用いられ
るパルスジェネレータ(以下、PGと称する)は、その
1回転あたりの出力パルス数(以下、PI”Rと称する
)が固定されている。ところが、NC工作機等のサーボ
系の回転数フィードバックに用いられるPGのPPRは
、ボールネジのピッチやギヤ比、又は、パルス処理部の
逓倍比などから決定きれるのが実情である。
[Background Art] Conventionally, a pulse generator (hereinafter referred to as PG) used to detect the rotation speed of a servo motor, etc. has a fixed number of output pulses per revolution (hereinafter referred to as PI"R). However, the reality is that the PPR of a PG used for feedback of the rotation speed of a servo system such as an NC machine tool can be determined from the pitch and gear ratio of a ball screw, or the multiplication ratio of a pulse processing section.

そのため、各種条件にあったPGを提供するために、前
記P P Rの異なる機種を多数備えておかなければな
らないという欠点があった。
Therefore, in order to provide PGs that meet various conditions, it is necessary to have a large number of different types of PPRs.

〔発明の目的〕[Purpose of the invention]

本発明は、上記欠点を解消し、PGから出力される2相
パルスのPPRをそのPGのスリット数以下の範囲で任
意に可変できる装置を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and provide a device that can arbitrarily vary the PPR of a two-phase pulse output from a PG within a range equal to or less than the number of slits in the PG.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を参照して本発明の具体的実施例を説明する
。第1図は、本発明の具体的回路図でるり、■はパルス
処理回路部、2は積分回路部、3は2相化回路部、4は
PP几設定部である。ただし、ここでは、PGのスリッ
ト数を1024 <=21.0)として説明する。従来
であれば、スリット数イコールPPRである。
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a specific circuit diagram of the present invention. 2 is a pulse processing circuit section, 2 is an integration circuit section, 3 is a two-phase circuit section, and 4 is a PP setting section. However, here, the description will be made assuming that the number of slits in the PG is 1024 <=21.0). Conventionally, the number of slits equals PPR.

さて、パルス処理回路部1は、EXOB、1−a、イン
バータ 1−b、FULL ADDER1−C,Dフリ
ップフロップ 1.−dからなっており、PGの2相パ
ルス出力Ai 、Biを2進数データΣ1、Σ0に変換
するものである。すなわち、図示した回路かられかるよ
うに、PGが正転時は(Σ1、Σ0)−(0、■)、逆
転時は(Σ1、Σ0)=(1,1)、浮止時は(Σ1、
Σ0)=(0,0)と々るよう構成されている。
Now, the pulse processing circuit section 1 includes EXOB, 1-a, inverter 1-b, FULL ADDER 1-C, D flip-flop 1. -d, which converts the two-phase pulse outputs Ai and Bi of the PG into binary data Σ1 and Σ0. That is, as can be seen from the circuit shown in the figure, when the PG rotates in the normal direction, (Σ1, Σ0) - (0, ■), when the PG rotates in the reverse direction, (Σ1, Σ0) = (1, 1), and when it is floating, (Σ1 ,
It is configured so that Σ0)=(0,0).

PPR設定部4は、10個のスイッチからなし、102
8(=210−’1 )以下の数が自由に設定できる。
The PPR setting unit 4 has 10 switches, none, 102
A number of 8 (=210-'1) or less can be freely set.

積分回路部2は、パルス処理回路部1の出力Σ0のタイ
ミングにしたがって、Dフリップフロップ2−dが保持
する前回値に、PP几設定部4で設定した値を加算又は
減算する。Σ0とともに出力をれるΣ1が0′のとき加
算、1′のとき減算となる。
The integrating circuit section 2 adds or subtracts the value set by the PP value setting section 4 to the previous value held by the D flip-flop 2-d in accordance with the timing of the output Σ0 of the pulse processing circuit section 1. When Σ1, which is output together with Σ0, is 0', addition is performed, and when it is 1', it is subtraction.

すなわち、Dフリップフロップの出力B1〜B10がF
ULL ADDER2−Cに入力されるので、アキュム
レータとして機能するのである。
That is, the outputs B1 to B10 of the D flip-flops are F
Since it is input to ULL ADDER2-C, it functions as an accumulator.

なお、B1−B10 の加減等によって生ずる桁必ふれ
(オーバーフロー又はアンダーフロー)は、ηx−1、
BXに現われる。
Incidentally, the digit deviation (overflow or underflow) caused by the addition or subtraction of B1-B10 is calculated by ηx-1,
Appears on BX.

2相化回路部3は、2進数データBx−1、BXを2相
出力に変換する。
The two-phase circuit section 3 converts the binary data Bx-1 and BX into two-phase output.

〔動 作」 さて、ここで、要求出力PPRを500とし、すなわち
500= I F4 (11) = 11111010
0(2)をPPR設定部4に設定し、Dフリップフロッ
プ2−dの初期状態を仮りに、BIO(:El)として
動作させた場合を第2図に示す。
[Operation] Now, let us assume that the required output PPR is 500, that is, 500 = IF4 (11) = 11111010
FIG. 2 shows a case where 0(2) is set in the PPR setting section 4 and the initial state of the D flip-flop 2-d is temporarily operated as BIO(:El).

すなわち初期状iB 10 (H)の最上位2桁BXB
x−1は1′、0′で=Th、りAo −Boは・・1
・、1′となる。
In other words, the most significant two digits BXB of the initial state iB 10 (H)
x-1 is 1', 0' = Th, riAo -Bo is...1
・, 1′.

次にPPR設定部4で設定されたIF4(H)を加算す
ると、BX、’BXIは・1・、・1・となりAo 、
BOは0′、1′となる。
Next, when IF4 (H) set in the PPR setting unit 4 is added, BX, 'BXI becomes ・1・, ・1・Ao,
BO becomes 0' and 1'.

このようにして、くり返し加算したものをタイムチャー
トに示している。
The time chart shows what has been repeatedly added in this way.

Pi”R=1024の2相パルスA’i、Biから変換
された2相パルスAO、BOはPPR500となってい
ることがわかる。
It can be seen that the two-phase pulses AO and BO converted from the two-phase pulses A'i and Bi of Pi''R=1024 have a PPR of 500.

つ丑り積分回路への入力比が5007210であるので
、オーバーフロー不がそのまま500/210となり1
周1024個のパルスに対して500パルスが出力され
るのである。
Since the input ratio to the cross-integrator circuit is 5007210, the overflow ratio becomes 500/210, which is 1
500 pulses are output for every 1024 pulses.

〔発明の効果」 以上述べたように本発明によれば、PGのスリット数以
下であれば任意の数に2相パルスを変換することができ
、融通性の高い装置を提供できる。
[Effects of the Invention] As described above, according to the present invention, a two-phase pulse can be converted into any number of slits as long as the number is equal to or less than the number of slits in the PG, and a highly flexible device can be provided.

なお、本発明の装置はPG本体に組み込んでもよく、別
個に設けても良い。
Note that the device of the present invention may be incorporated into the PG main body, or may be provided separately.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明の具体的実施例、第2図は1、本発明
の詳細な説明する図である。
FIG. 1 shows a specific embodiment of the present invention, and FIG. 2 shows a detailed explanation of the present invention.

Claims (1)

【特許請求の範囲】 fa) パルスジェネレータの出力である2相パルスを
該パルスジェネレータの回転方向によって定まる所定の
2進数データに変換するパルス処理回路部と、 (b)1回転あたりの所望の出力パルス数(ただしパル
スジェネレータのスリット数以下)を設定するP’PR
設定部と、(C1前記PPR設足部で設定された定数を
、 前記2相パルスの少なくとも一方が立ち上がりまたは立
ち下がシするタイミングに同期して前記パルス処理回路
部の出方信号(2進数データ)にもとづいて加算または
減算を行う積分回路部と、(dl 前記積分回路部の上
位の桁あふれ分の2桁の2進数データを2相パルスに変
換する2相什回路とを、 備えることを特徴とする出力パルス数可変装置。
[Claims] fa) a pulse processing circuit unit that converts a two-phase pulse that is the output of a pulse generator into predetermined binary data determined by the rotational direction of the pulse generator; (b) a desired output per rotation; P'PR to set the number of pulses (but not more than the number of slits of the pulse generator)
The setting section (C1) sets the constant set in the PPR setting section to the output signal (binary number) of the pulse processing circuit section in synchronization with the timing at which at least one of the two-phase pulses rises or falls. an integrator circuit section that performs addition or subtraction based on data); and a two-phase circuit that converts two-digit binary data corresponding to the upper overflow of the integrator circuit section into a two-phase pulse. An output pulse number variable device featuring:
JP58187494A 1983-10-05 1983-10-05 Varying device of output pulse number Granted JPS6078352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58187494A JPS6078352A (en) 1983-10-05 1983-10-05 Varying device of output pulse number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58187494A JPS6078352A (en) 1983-10-05 1983-10-05 Varying device of output pulse number

Publications (2)

Publication Number Publication Date
JPS6078352A true JPS6078352A (en) 1985-05-04
JPH0412406B2 JPH0412406B2 (en) 1992-03-04

Family

ID=16207041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58187494A Granted JPS6078352A (en) 1983-10-05 1983-10-05 Varying device of output pulse number

Country Status (1)

Country Link
JP (1) JPS6078352A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009096635A (en) * 2007-03-30 2009-05-07 Masasada Yokota Tape cutter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009096635A (en) * 2007-03-30 2009-05-07 Masasada Yokota Tape cutter

Also Published As

Publication number Publication date
JPH0412406B2 (en) 1992-03-04

Similar Documents

Publication Publication Date Title
EP0127988B1 (en) A normalizing circuit
US4225934A (en) Multifunctional arithmetic and logic unit in semiconductor integrated circuit
US4872128A (en) High speed data processing unit using a shift operation
US4992969A (en) Integer division circuit provided with a overflow detector circuit
US4503511A (en) Computing system with multifunctional arithmetic logic unit in single integrated circuit
CN1146764C (en) Synchronous controller
JPS6078352A (en) Varying device of output pulse number
US3729625A (en) Segmented straight line function generator
US3801803A (en) Electronic conversion system
JPH0420126B2 (en)
JPH0869372A (en) Binary multiplier
JP2629737B2 (en) accumulator
JPH0619700B2 (en) Arithmetic unit
JPS6134298B2 (en)
US4936179A (en) Electronic musical instrument
SU490150A1 (en) Angle Code Transducer
SU1086428A1 (en) Digital scaler
SU676986A1 (en) Digital function generator
SU591863A1 (en) Device for computing random process second conditional moment
JPS61177504A (en) Emergency stop device
US5563814A (en) Reduced circuitry implementation for coverting two equal values to non-equal values
JP3189552B2 (en) Arithmetic unit
SU570047A1 (en) Device for reproducing of function
SU1361557A1 (en) Device for checking parallel binary code by modulus k
SU1205151A1 (en) Digital function generator