JPH0551104B2 - - Google Patents

Info

Publication number
JPH0551104B2
JPH0551104B2 JP8996486A JP8996486A JPH0551104B2 JP H0551104 B2 JPH0551104 B2 JP H0551104B2 JP 8996486 A JP8996486 A JP 8996486A JP 8996486 A JP8996486 A JP 8996486A JP H0551104 B2 JPH0551104 B2 JP H0551104B2
Authority
JP
Japan
Prior art keywords
count value
reversible counter
output
value
count
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 - Lifetime
Application number
JP8996486A
Other languages
Japanese (ja)
Other versions
JPS62247263A (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 Corp
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 Corp filed Critical Yaskawa Electric Corp
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)

Description

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

〔従来の技術〕[Conventional technology]

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

そこでPGから出力されるパルスを可逆カウン
タで計数して、その計数値に比例する可逆のパル
スレートを積分手段により生成して前記可逆カウ
ンタの二つの入力端子のうち計数値の絶対値を減
ずる側の入力端子に入力されることにより可逆カ
ウンタから出力される計数値を追従平衡させ、そ
の平衡した計数値をD/Aコンバータによりアナ
ログ電圧に変換する回路が特願昭59−270791「追
従比較型速度電圧発生回路」に示されている。
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 side that reduces the absolute value of the counted value of the two input terminals of the reversible counter A circuit that follows and balances the count value output from a reversible counter by inputting it to the input terminal of , and converts the balanced count value into an analog voltage using a D/A converter is disclosed in Japanese Patent Application No. 59-270791 ``Following Comparison Type''. "Speed Voltage Generating Circuit".

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

上述した従来の回路は、PGからのパルスをデ
ジタル処理して最後にD/Aコンバータによつて
アナログ電圧に変換しているので、低速時におけ
るパルスのリツプルが全く問題とならず、速度に
対する出力は完全な直線性を得ることが可能とな
り、温度ドリフト等の精度は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 low relative to the speed. It is now possible to obtain perfect linearity, and the accuracy of temperature drift, etc. depends only on the characteristics of the D/A converter. However, since this circuit has a first-order lag circuit configuration, increasing the number of bits to improve accuracy has the disadvantage that responsiveness deteriorates.

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

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

〔作用〕[Effect]

このように、PGから入力されたパルスの数を
第2のカウンタおよびDフリツプフロツプにより
一定の時間単位でサンプリングし、かつサンプリ
ング値をある倍率だけ増大させた計数値が定常状
態において第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 number of pulses input from the first counter in a steady state. The sampling period is set so that it is the same as the output count value, and when the two count values are compared and the two count values are significantly different, the first
Since the counted value counted by the counter is replaced with the counted value obtained by multiplying the sampled calculated value by the multiplication factor, the response becomes 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 high-speed response follow-up comparison type speed voltage generating circuit according to the present invention.

本実施例はお前述した特願昭59−277091「追従
比較型速度電圧発生回路」の回路に一点鎖線内に
示した可逆カウンタ1と、Dフリツプフロツプ2
と、コンパレータ3と、インバータ4,5を追加
して構成されたものである。
This embodiment is based on the circuit of the above-mentioned Japanese Patent Application No. 59-277091 "Follow-up Comparison Type Speed Voltage Generating Circuit" with a reversible counter 1 shown within the dashed line and a D flip-flop 2.
It is constructed by adding a comparator 3 and inverters 4 and 5.

可逆カウンタ1は不図示のPGから出力された
正方向または負方向のパルス+P,−Pを可逆カ
ウンタ6と並列に、インバータ4,5を介してそ
れぞれアツプ端子UP、ダウン端子DOWNに入力
してカウントし、予め設定された一定周期T毎に
カウントした計数値N0を出力するとともにクリ
ヤされる。Dフリツプフロツプ2は、可逆カウン
タ1より入力された計数値N0を、定常時のカウ
ンタ6から出力される計数値N2に等しくする倍
率に対応する桁だけ高位にシフトして計数値N1
として前記周期T毎に出力する。コンパレータ3
は、Dフリツプフロツプ2から出力された計数値
N1を入力し、両計数値N1,N2を比較して両計数
値N1,N2の差がある設定値を超過したとき、可
逆カウンタ6に信号LOADを出力して可逆カウ
ンタ6の計数値N2をそのときの計数値N1で置換
する。可逆カウンタ6は前記特願昭59−270791に
示された可逆カウンタで、正負方向のパルス+
P,−Pをカウントして計数値N2を出力する。
The reversible counter 1 inputs positive or negative pulses +P and -P output from a PG (not shown) in parallel with the reversible counter 6 to the up terminal UP and down terminal DOWN via inverters 4 and 5, respectively. It counts, and outputs the counted value N 0 at every preset constant period T, and is also cleared. The D flip-flop 2 shifts the count value N 0 inputted from the reversible counter 1 to a higher position by a digit corresponding to the magnification that makes it equal to the count value N 2 output from the counter 6 in the steady state, and converts it to the count value N 1 .
is outputted every cycle T. Comparator 3
is the count value output from D flip-flop 2
When N 1 is input and both count values N 1 and N 2 are compared, and the difference between both count values N 1 and N 2 exceeds a set value, a signal LOAD is output to the reversible counter 6 and the reversible counter 6 Replace the count value N 2 with the count value N 1 at that time. The reversible counter 6 is a reversible counter shown in the above-mentioned Japanese Patent Application No. 59-270791.
Count P and -P and output the 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 period T and the multiplying factor of the D flip-flop output count value N0 , a calculation is generated by multiplying the multiplying factor in the steady state. Numeric value N 1 and count value of reversible counter 6
It is possible to make N 2 the same.

例えば8ビツト構成の場合、クロツクパルス
CP=512KHzに対する正方向のパルスレートは最
大254Kppsとなり、その時の可逆カウンタ6は計
数値N2=7Fを出力する。もし前記周期をT8KHz
とすればDフリツプフロツプの出力計数値N0
1Fとなり、これを4倍、すなわち2ビツトだけ
上位にシフトさせることにより両計数値N1と計
数値N2がコンパレータ3で比較されて、PGの速
さが急変した場合のように両計数値N1,N2の差
がある設定値を超過したとき、信号LOADがコ
ンパレータ3から可逆カウンタ6に出力されて、
可逆カウンタ1の計数値N0が4倍された計数値
N1で可逆カウンタ6の計数値N2が置換される。
このため125μsecでの応答が可能となる。これに
対して従来の回路では8ビツト構成の場合は数
msecの応答速度となり、12ビツト構成となると
使用に堪えなかつた。
For example, in the case of an 8-bit configuration, the clock pulse
The pulse rate in the positive direction for CP=512KHz is a maximum of 254Kpps, and the reversible counter 6 at that time outputs a count value N 2 =7F. If the period is T8KHz
Then, the output count value N 0 of the D flip-flop is
1F, by multiplying this by 4 times, that is, by shifting it upwards by 2 bits, both count values N1 and N2 are compared by comparator 3, and both count values are changed as in the case where the speed of PG suddenly changes. When the difference between N 1 and N 2 exceeds a certain set value, the signal LOAD is output from the comparator 3 to the reversible counter 6,
Count value N 0 of reversible counter 1 is multiplied by 4
The count value N2 of the reversible counter 6 is replaced by N1 .
Therefore, response time of 125 μsec is possible. On the other hand, in the case of a conventional circuit with an 8-bit configuration, the number of
The response speed was msec, and the 12-bit configuration was unusable.

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

以上説明したように本発明は、パルスエンコー
ダから出力された正方向または負方向のパルスを
それぞれアツプカウントまたはダウンカウントす
る可逆カウンタと、Dフリツプフロツプと、コン
パレータを用いて、設定された周期毎に計数値を
サンプリングし、この計数値に適当な倍率を乗じ
て定常時に出力される計数値と等しくして両計数
値を比較し、両計数値の差がある値以上に拡大し
たとき、サンプリング計数値を優先して出力させ
ることにより、入力パレスレートが急変したとき
の高速応答ができる、精度の高い追従比較型速度
電圧発生回路を得ることができる効果がある。
As explained above, the present invention uses a reversible counter that counts up or down, respectively, pulses in the positive direction or negative direction output from a pulse encoder, a D flip-flop, and a comparator to count the pulses at each set period. Sample a numerical value, multiply this counted value by an appropriate multiplier to make it equal to the counted value output during steady state, compare both counted values, and when the difference between both counted values is expanded to a certain value or more, the sampling counted value By preferentially outputting the following, it is possible to obtain a highly accurate follow-up comparison type speed voltage generating circuit that can respond quickly when the input pulse 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 according to the present invention. 1, 6... Reversible counter, 2... D flip-flop, 3... Comparator, 4, 5... Inverter, +P... Positive direction pulse, -P... Negative direction pulse, T... Period, LOAD... Control signal.

Claims (1)

【特許請求の範囲】 1 パルスエンコーダから出力されたパルスを第
1の可逆カウンタで計数して、その計数値に比例
する可逆のパルスレートを積分手段により発生
し、前記可逆カウンタの二つの入力端子のうち計
数値の絶対値を減ずる側の入力端子に入力させる
ことにより可逆カウンタから出力される計数値を
追従平衡させ、平衡した計数値をD/Aコンバー
タによりアナログ電圧に変換する追従比較型速度
電圧発生回路において パルスエンコーダから出力された正方向、負方
向のパルスをそれぞれアツプカウントまたはダウ
ンカウントして計数値を出力し、設定された周期
毎にクリアされる第2の可逆カウンタと、 第2の可逆カウンタより計数値を入力して前記
周期毎にそのときの計数値を、前記周期に対応す
る倍率だけ増大させて定常時の第1の可逆カウン
タの出力した計数値に等しくして出力するDフリ
ツプフロツプと、 Dフリツプフロツプより出力された計数値と第
1の可逆カウンタの出力した計数値を比較して、
両計数値の差が設定値を超えたとき第1の可逆カ
ウンタの計数値を、Dフリツプフロツプの出力し
た計数値で置換させる制御信号を出力するコンパ
レータを有することを特徴とする高速応答追従比
較型速度電圧発生回路。
[Claims] 1. 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 connected to each other. 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 to be reduced, and converts the balanced count value into an analog voltage using the D/A converter. In the voltage generation circuit, a second reversible counter outputs a counted value by up-counting or down-counting the positive direction and negative direction pulses outputted from the pulse encoder, and is cleared at every set cycle; The count value is inputted from the reversible counter of the first reversible counter, and the count value at that time is increased by a multiplier corresponding to the cycle for each cycle, and outputted by making it equal to the count value output by the first reversible counter in a steady state. Compare the count value output from the D flip-flop and the count value output from the first reversible counter,
A high-speed response follow-up comparison type characterized by having a comparator that outputs a control signal to replace the count value of the first reversible counter with the count value output from the D flip-flop when the difference between the two count values exceeds a set value. Speed voltage generation circuit.
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 JPS62247263A (en) 1987-10-28
JPH0551104B2 true 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
JPS62247263A (en) 1987-10-28

Similar Documents

Publication Publication Date Title
US4794551A (en) Rotation speed detecting apparatus
JP2760267B2 (en) Motor drive
JP2001352773A (en) Online autotuning servo controller
EP0562452B1 (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
JPH0551104B2 (en)
JPH0611450Y2 (en) High-precision tracking comparison type speed voltage generator
US5268628A (en) Phase voltage measuring device of an AC motor and a measuring method thereof
JPS59117478A (en) Speed detecting system for servo motor
JPH0311990A (en) A/d converter and motor controller using same
JPS63170701A (en) Quick response servo-balacing type speed voltage generating circuit
SU1661955A1 (en) Dc electric drive
JPS5815979B2 (en) Analog to digital converter
SU964936A1 (en) Device for regulating electric motor speed
JP3530246B2 (en) Digital signal output device
JPS61274815A (en) Electric discharge machining control device
JPS61148921A (en) Servo-balancing type speed voltage generating circuit
JPS6179165A (en) Analog speed detecting method using rotary encoder
JPS58177236A (en) Controller of electric discharge machining
JPS63268011A (en) Follow-up control method between two servo systems
SU1239616A1 (en) Device for measuring power
SU955506A1 (en) Gate converter control method
SU1610476A1 (en) Active current consumer with digital conductivity control
JPS58192480A (en) Speed controller for motor
SU738091A2 (en) Device for control of m-phase stepping motor
JPH0530773A (en) Servomotor controller