JPS62247263A - High speed response followup comparison type speed voltage generation circuit - Google Patents

High speed response followup comparison type speed voltage generation circuit

Info

Publication number
JPS62247263A
JPS62247263A JP8996486A JP8996486A JPS62247263A JP S62247263 A JPS62247263 A JP S62247263A JP 8996486 A JP8996486 A JP 8996486A JP 8996486 A JP8996486 A JP 8996486A JP S62247263 A JPS62247263 A JP S62247263A
Authority
JP
Japan
Prior art keywords
reversible counter
count value
value
count
output
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
JP8996486A
Other languages
Japanese (ja)
Other versions
JPH0551104B2 (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 JP8996486A priority Critical patent/JPS62247263A/en
Publication of JPS62247263A publication Critical patent/JPS62247263A/en
Publication of JPH0551104B2 publication Critical patent/JPH0551104B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To enable a high speed response even in an increase in the number of bits for a higher accuracy, by providing a comparator which compares a count value outputted from a D flip flop with a count value outputted from a reversible counter and outputs a control signal when the difference between both the count values exceeds a set value. CONSTITUTION:A reversible counter 1 inputs a positive or negative pulse +P or -P outputted from a PG into an up terminal UP and a down terminal DOWN respectively to count through inverters 4 and 5 in parallel with a reversible counter 6 and outputs a count valve N0 counted at each fixed cycle T preset while being cleared. A comparator 3 receives an input of a count value N1 outputted from a D flip flop 2 to compare both the count values N1 and N2 and outputs a signal LOAD to the reversible counter 6 when the difference between both the count values N1 and N2 exceeds a certain set value to replace the count value N2 of the reversible counter 6 with the current count value N1 as measured at this time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サーボシステム等においてパルスエンコーダ
(以下、PGと称する)の出力周波数Fをアナログ電圧
■に変換するF/Vコンバータに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an F/V converter that converts an output frequency F of a pulse encoder (hereinafter referred to as PG) into an analog voltage (2) in a servo system or the like.

〔従来の技術〕[Conventional technology]

従来、モータ等の回転速度を検出するには、速度検出用
小型直流発″rrL機(タコジェネレータ)を用いてい
たが、装置の小型化、軽賃化のためタコジェネレータに
代え、位置検出に用いるPGの出力パルスをF/Vコン
/ヘータで電圧に変換するようになった。ところが、F
/Vコンバータを用いたサーボシステムは低速時の出力
電圧のリップル成分が大きいのでNC等に用いるには不
可能とされていた。
Conventionally, a small DC generator (tacho generator) was used to detect the rotational speed of a motor, etc., but in order to make the device more compact and cost-effective, the tacho generator was replaced with a tacho generator for position detection. The output pulse of the PG to be used is now converted to voltage by an F/V converter/capacitor.
Since a servo system using a /V converter has a large ripple component in the output voltage at low speeds, it has been considered impossible to use it for NC or the like.

そこでPGから出力されるパルスを可逆カウンタで計数
して、その計数値に比例する可逆のパルスレートを積分
手段により生成して前記可逆カウンタの二つの入力端子
のうち計数値の絶対値を減する側の入力端子に入力させ
ることにより可逆カウンタから出力される計数値を追従
平衡させ、その平衡した計数値をD/Aコンバータによ
りアナログ電圧に変換する回路が特願昭59−2707
91  r追従比較型速度電圧発生回路」に示されてい
る。
Therefore, the pulses output from the PG are counted by a reversible counter, a reversible pulse rate proportional to the counted value is generated by an integrating means, and the absolute value of the counted value of the two input terminals of the reversible counter is reduced. Patent application No. 59-2707 discloses a circuit that tracks and balances the count value output from a reversible counter by inputting it to the side input terminal, and converts the balanced count value into an analog voltage using a D/A converter.
91 r-Following Comparison Type Speed Voltage Generating Circuit”.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

■−述した従来の回路は、PGからのパルスをデジタル
処理して最後にD/Aコンバータによってアナログ電圧
に変換しているので、低速時におけるパルスのリップル
が全く問題とならず、速度に対する出力は完全な直線性
を得ることが可能となり、温度ドリフl−等の精度はD
/Aコンバータのみの特性によるものとなっている。し
かしながらこの回路は一次遅れの回路構成となっている
ので、精度を!−げるためビット数を上げると応答性が
悪くなるという欠点があった。
- In the conventional circuit described above, the pulses from the PG are digitally processed and finally converted to analog voltage by the D/A converter, so pulse ripples at low speeds are not a problem at all, and the output is proportional to the speed. It is now possible to obtain perfect linearity, and the accuracy of temperature drift l- etc. is D
This is due to the characteristics of the /A converter only. However, this circuit has a first-order lag circuit configuration, so accuracy is important! However, when the number of bits is increased to increase the speed, the response becomes poor.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の高速応答追従比較型速度電圧発生回路は、PG
から出力された正方向、負方向のパルスをそれぞれアッ
プカウントまたはダウンカウントして計数値を出力し、
設定された周期毎にクリアされる第2のり逆カウンタと
、第2の可逆カウンタより計数イ1を入力して前記周期
毎にそのときの計数値を、前記周期に対応する倍率だけ
増大させて定常時の第1の可逆カウンタの出力した計数
値に等しくして出力するDフリップフロップと、Dフリ
ップフロップより出力された計数値と第1の117逆カ
ウンタの出力した計数値を比較して1両計数値の差があ
る設定値を超えたとき第1の可逆カウンタの計数値を、
Dフリ7プフロツプの出力したlit数値で置換させる
制御信号を出力するコンパレータを有している。
The high-speed response follow-up comparison type speed voltage generation circuit of the present invention has a PG
It counts up or down the positive direction and negative direction pulses output from and outputs the counted value,
A second reversible counter that is cleared at each set cycle and a count I1 are input from the second reversible counter, and each cycle the current count value is increased by a magnification corresponding to the cycle. The D flip-flop outputs a count equal to the count output by the first reversible counter in steady state, and the count output from the D flip-flop is compared with the count output by the first 117 reversible counter. When the difference between the two counts exceeds a certain set value, the count value of the first reversible counter is
It has a comparator that outputs a control signal to be replaced with the lit value output from the D flip-flop.

〔作用〕[Effect]

このように、PGから入力されたパルスの数を第2のカ
ウンタおよびDフリップフロップにより一定の時間単位
でサンプリングし、かつサンプリング値をある倍率だけ
増大させた計数値が定常状IEにおいて第1のカウンタ
が出力する計数値と同一となるようにサンプリング周期
を定め、両針数値を比較して両針数値が大きく相違した
とき第1のカウンタのカウントした計数値をサンプリン
グした計数値に前記倍率を乗じた計数値で置換するので
、精度を上げるためビット数を上げた場合でも応答性が
迅速となる。
In this way, the number of pulses input from the PG is sampled in a fixed time unit by the second counter and the D flip-flop, and the counted value obtained by increasing the sampling value by a certain factor is the first one in the steady state IE. The sampling period is set to be the same as the count value output by the counter, and when the values of both hands are compared and the values of both hands are significantly different, the above-mentioned multiplier is applied to the count value counted by the first counter and the sampled count value. Since it is replaced by the multiplied count value, the response is quick even when the number of bits is increased to improve accuracy.

〔実施例〕〔Example〕

本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の高速応答追従比較型速度電圧発生回路
の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a fast response follow-up comparison type speed voltage generating circuit of the present invention.

本実施例は前述した特願昭59−270791  r追
従比較型速度電圧発生回路」の回路に一点鎖線内に示し
た可逆カウンタ1と、Dフリップフロップ2と、コンパ
レータ3と、インバータ4.5を追加して構成されたも
のである。
This embodiment includes a reversible counter 1, a D flip-flop 2, a comparator 3, and an inverter 4.5 shown in the dashed line in the circuit of the above-mentioned Japanese Patent Application No. 59-270791 "R-Following Comparison Type Speed Voltage Generation Circuit". This is an additional configuration.

可逆カウンタlは不図示のPGから出力された+F力方
向たは負方向のパルス+p、−pを可逆カウンタ6と並
列に、インバータ4.5を介してそれぞれアップ端子U
P、ダウン端子DOWNに入力してカウントし、予め設
定された一定周期T毎にカウントした計数値Noを出力
するとともにクリヤされる。Dフリップフロップ2は、
可逆カウンタlより入力された計a値Noを、定常時の
カウンタ6から出力される計数flfl)hに等しくす
る倍率に対応する桁だけ高位にシフトして計数値N、 
として前記周期T毎に出力する。コンパレータ3は、D
フリップフロップ2から出力された計数値N1を人力し
、両針数値Ml  *  N2を比較して両針数値N、
  、  N2の差がある設定値を超過したとき、可逆
カウンタ6に信号LO^Dを出力して可逆カウンタ6の
計数値N?をそのときの計数値N、で置換する。II丁
逆方ウンタ6は前記特願昭59−270791に示され
た可逆カウンタで、正負方向のパルス+p、−pをカウ
ントして計数値N2を出力する。
A reversible counter 1 receives pulses +F force direction or negative direction pulses +p and -p outputted from a PG (not shown) in parallel with a reversible counter 6 and connects them to up terminals U through inverters 4.5, respectively.
P is input to the down terminal DOWN for counting, and the counted value No. is output at every preset period T and is cleared. D flip-flop 2 is
The count a value No inputted from the reversible counter l is shifted to a higher position by the digit corresponding to the magnification that makes it equal to the count flfl)h output from the counter 6 in the steady state, and the count value N is obtained.
is outputted every cycle T. Comparator 3 is D
The count value N1 output from the flip-flop 2 is manually input, and the two-hand value Ml * N2 is compared to obtain the two-hand value N,
, When the difference between N2 exceeds a certain set value, a signal LO^D is output to the reversible counter 6 and the count value N? of the reversible counter 6 is output. is replaced with the count value N at that time. The second reverse counter 6 is a reversible counter shown in the above-mentioned Japanese Patent Application No. 59-270791, which counts pulses +p and -p in the positive and negative directions and outputs a count value N2.

このようにしてDフリップフロップ2は一種の周波数カ
ウンタの作用をしており、周期TとDクリップフロップ
出力計数値N0の倍率を適当に選定することにより、定
常時において該倍率を乗じて生成した計数値N1と可逆
カウンタ6の計数値N2を同じにすることが可能である
In this way, the D flip-flop 2 acts as a kind of frequency counter, and by appropriately selecting the multiplying factor of the period T and the D clip-flop output count value N0, the D flip-flop 2 is generated by multiplying by the multiplying factor in the steady state. It is possible to make the count value N1 and the count value N2 of the reversible counter 6 the same.

例えば8ビツト構成の場合、クロックパルスCP= 5
12KHzに対する正方向のパルスレートは最大254
Kpps となり、その時の可逆カウンタ6は計数値N
2=7Fを出力する。もし前記周期をT = 8KHz
とすればDフリップフロップの出力計数値NoはIFと
なり、これを4倍、すなわち2ビツトだけ上位にシフト
させることにより再計数値N、と計数値N2がコンパレ
ータ3で比較されて、PGの速さが急変した場合のよう
に再計数値”I  +  N2の差がある設定値を超過
したとき、信号LOADがコンパレータ3から可逆カウ
ンタ6に出力されて、可逆カウンタ1の計数値Noが4
倍された計数イ1M1で可逆カウンタ6の計数値N2が
置換される。このため1252 secでの応答が可能
となる。
For example, in the case of 8-bit configuration, clock pulse CP=5
Positive pulse rate up to 254 for 12KHz
Kpps, and the reversible counter 6 at that time has a count value N
Outputs 2=7F. If the period is T = 8KHz
Then, the output count value No. of the D flip-flop becomes IF, and by shifting this 4 times higher, that is, by 2 bits, the recount value N and count value N2 are compared in the comparator 3, and the PG speed is When the recount value ``I + N2'' exceeds a set value, such as when the number suddenly changes, the signal LOAD is output from the comparator 3 to the reversible counter 6, and the count value No. of the reversible counter 1 becomes 4.
The counted value N2 of the reversible counter 6 is replaced by the multiplied count I1M1. Therefore, a response in 1252 seconds is possible.

これに対して従来の回路では8ビツト構成の場合は数m
 Secの応答速度となり、12ビツト構成となると使
用に堪えなかった。
On the other hand, in the case of a conventional circuit with an 8-bit configuration, the number of
The response speed was Sec, and the 12-bit configuration was unusable.

〔発明の効果〕〔Effect of the invention〕

以!−説明したように本−5i!!明は、パルスエンコ
ーダから出力された正方向または負方向のパルスをそれ
ぞれアップカウントまたはダウンカウントするn)逆カ
ウンタと、Dフリップフロップと、コンパレータを用い
て、設定された周期毎に計数値をサンプリングし、この
計数値に適当な倍率を乗じて定常時に出力される計数値
と等しくして再計数値を比較し1両計数値の差がある値
以上に拡大したとき、サンプリング計数イ1を優先して
出力させることにより、入カバレスレートが急変したと
きの高速応答ができる、精度の高い追従比較型速度電圧
発生回路を得ることができる効果がある。
Here it is! -As explained in the book-5i! ! The method is to up-count or down-count the positive or negative pulses output from the pulse encoder, respectively. n) Sample the count value at each set period using an inverse counter, D flip-flop, and comparator. Then, multiply this count value by an appropriate multiplier to make it equal to the count value output during normal operation, and then compare the re-count values. If the difference between the 1-car count values increases to a certain value or more, priority is given to sampling count A1. By outputting the same voltage, it is possible to obtain a highly accurate follow-up comparison type speed voltage generating circuit that can respond quickly when the input coverage rate suddenly changes.

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

第1図は本発明の高速応答追従比較型速度電圧発生回路
の一実施例を示すブロック図である。 1.6・・・可逆カウンタ、 2・・・・・・・・・Dフリップフロップ、3・・・・
・・・・・コンパレータ。 4.5・・・インバータ、 十P・・・・・・正方向パルス、 −P・・・・・・負方向パルス、 T・・・・・・・・・周期、 LOAD・・・・・・制御信号。
FIG. 1 is a block diagram showing an embodiment of a fast response follow-up comparison type speed voltage generating circuit of the present invention. 1.6...Reversible counter, 2...D flip-flop, 3...
·····comparator. 4.5...Inverter, 10P...Positive pulse, -P...Negative pulse, T...Period, LOAD... ·Control signal.

Claims (1)

【特許請求の範囲】 パルスエンコーダから出力されたパルスを第1の可逆カ
ウンタで計数して、その計数値に比例する可逆のパルス
レートを積分手段により発生し、前記可逆カウンタの二
つの入力端子のうち計数値の絶対値を減する側の入力端
子に入力させることにより可逆カウンタから出力される
計数値を追従平衡させ、平衡した計数値をD/Aコンバ
ータによりアナログ電圧に変換する追従比較型速度電圧
発生回路において、 パルスエンコーダから出力された正方向、負方向のパル
スをそれぞれアップカウントまたはダウンカウントして
計数値を出力し、設定された周期毎にクリアされる第2
の可逆カウンタと、 第2の可逆カウンタより計数値を入力して前記周期毎に
そのときの計数値を、前記周期に対応する倍率だけ増大
させて定常時の第1の可逆カウンタの出力した計数値に
等しくして出力するDフリップフロップと、 Dフリップフロップより出力された計数値と第1の可逆
カウンタの出力した計数値を比較して、両計数値の差が
ある設定値を超えたとき第1の可逆カウンタの計数値を
、Dフリップフロップの出力した計数値で置換させる制
御信号を出力するコンパレータを有することを特徴とす
る高速応答追従比較型速度電圧発生回路。
[Claims] Pulses output from a pulse encoder are counted by a first reversible counter, a reversible pulse rate proportional to the counted value is generated by an integrating means, and two input terminals of the reversible counter are Follow-up comparison type speed that follows and balances the count value output from the reversible counter by inputting the absolute value of the count value to the input terminal on the side that reduces it, and converts the balanced count value into an analog voltage using the D/A converter. In the voltage generation circuit, the positive direction and negative direction pulses output from the pulse encoder are counted up or down respectively to output the counted value, and the second pulse is cleared at every set period.
A reversible counter inputs a count value from a second reversible counter, increases the current count value for each cycle by a multiplier corresponding to the cycle, and calculates the count output from the first reversible counter during steady state. When the D flip-flop outputs a value equal to the numerical value and the count value output from the D flip-flop and the count value output from the first reversible counter, the difference between the two count values exceeds a set value. A high-speed response follow-up comparison type speed voltage generation circuit comprising a comparator that outputs a control signal for replacing the count value of the first reversible counter with the count value output from the D flip-flop.
JP8996486A 1986-04-21 1986-04-21 High speed response followup comparison type speed voltage generation circuit Granted JPS62247263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8996486A JPS62247263A (en) 1986-04-21 1986-04-21 High speed response followup comparison type speed voltage generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8996486A JPS62247263A (en) 1986-04-21 1986-04-21 High speed response followup comparison type speed voltage generation circuit

Publications (2)

Publication Number Publication Date
JPS62247263A true JPS62247263A (en) 1987-10-28
JPH0551104B2 JPH0551104B2 (en) 1993-07-30

Family

ID=13985370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8996486A Granted JPS62247263A (en) 1986-04-21 1986-04-21 High speed response followup comparison type speed voltage generation circuit

Country Status (1)

Country Link
JP (1) JPS62247263A (en)

Also Published As

Publication number Publication date
JPH0551104B2 (en) 1993-07-30

Similar Documents

Publication Publication Date Title
US4772996A (en) Load current detecting device for pulse width modulation inverter
US4872127A (en) Ripple rejection filter
EP0562452A1 (en) An interface circuit for generating an analogue signal to control the speed of rotation of a direct-current electric motor, particularly a brushless motor
JPS62247263A (en) High speed response followup comparison type speed voltage generation circuit
JPH0611450Y2 (en) High-precision tracking comparison type speed voltage generator
JPS63170701A (en) Quick response servo-balacing type speed voltage generating circuit
SU969109A1 (en) Digital control servo system
JP2775101B2 (en) Deviation direction discrimination circuit in positioning system using incremental encoder
JPH0311990A (en) A/d converter and motor controller using same
JPS5815979B2 (en) Analog to digital converter
SU1383474A1 (en) Frequency-pulse device for converting signal from bridge-type transducer
SU1307383A2 (en) Device for measuring phase error signal
JPS61148921A (en) Servo-balancing type speed voltage generating circuit
SU718832A1 (en) Follow-up system
JPS6196811A (en) Signal converting circuit
JPS61274815A (en) Electric discharge machining control device
JPS58177236A (en) Controller of electric discharge machining
RU2057346C1 (en) Device measuring movement speed
JPS6179165A (en) Analog speed detecting method using rotary encoder
SU734607A1 (en) Digital follow-up drive
SU1125722A2 (en) Device for measuring rotational speed and current of armature of d.c. motor with pulse control
RU2099722C1 (en) Low-resistance meter
SU1610476A1 (en) Active current consumer with digital conductivity control
SU1598096A1 (en) Shaper of multiphase sine voltage for frequency-controlled electric drive
JPS63132510A (en) Programmable gain-controlled amplifier