JPH0465986B2 - - Google Patents

Info

Publication number
JPH0465986B2
JPH0465986B2 JP27079184A JP27079184A JPH0465986B2 JP H0465986 B2 JPH0465986 B2 JP H0465986B2 JP 27079184 A JP27079184 A JP 27079184A JP 27079184 A JP27079184 A JP 27079184A JP H0465986 B2 JPH0465986 B2 JP H0465986B2
Authority
JP
Japan
Prior art keywords
pulse
output
count value
circuit
speed signal
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
Application number
JP27079184A
Other languages
Japanese (ja)
Other versions
JPS61148921A (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 JP27079184A priority Critical patent/JPS61148921A/en
Publication of JPS61148921A publication Critical patent/JPS61148921A/en
Publication of JPH0465986B2 publication Critical patent/JPH0465986B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サーボシステム等においてパルスエ
ンコーダ(以下、PGとする)のパルスレートを
速度信号に変換する速度信号発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a speed signal generation circuit that converts the pulse rate of a pulse encoder (hereinafter referred to as PG) into a speed signal in a servo system or the like.

〔従来の技術〕[Conventional technology]

従来、モータ等の回転速度を検出するには、速
度検出用小型直流発電機(タコジエネレータ)を
用いていたが、装置の小型化、軽量化のために、
タコジエネレータを省略し、位置検出に用いるパ
ルスエンコーダの出力パルスをF/Vコンバータ
で電圧に変換するようになつた。ところが、F/
Vコンバータを用いたサーボシステムは低速時の
出力電圧のリツプル成分が大きいのでNC等に用
いるには不可能とされていた。
Conventionally, a small DC generator (tachogenerator) was used to detect the rotational speed of a motor, etc., but in order to make the device smaller and lighter,
The tachogenerator was omitted, and the output pulses of the pulse encoder used for position detection were converted into voltage by an F/V converter. However, F/
A servo system using a 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の出力パルス間隔の1/16の周期を
持つクロツクパルスを発生させてPGの出力パル
ス間を補間した後、これらのパルスをアナログ的
に積分することにより出力電圧のリツプル成分を
減少させる速度信号発生回路が考案されている
(実願昭58−118297号公報)。
Therefore, by generating clock pulses with a period of 1/16 of the PG output pulse interval and interpolating between the PG output pulses, we integrate these pulses in an analog manner to reduce the ripple component of the output voltage. A signal generating circuit has been devised (Utility Application No. 118297/1983).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、パルスをアナログ的に積分する
上記従来の装置では、出力電圧に少なからずリツ
プル成分が含まれてしまい、また装置内のほとん
どの回路がアナログ回路で構成されているので、
温度ドリフト等による精度の劣化が発生するとい
う欠点があつた。
However, in the above-mentioned conventional device that integrates pulses in an analog manner, the output voltage contains a considerable ripple component, and most of the circuits in the device are constructed of analog circuits.
The drawback was that accuracy deteriorated due to temperature drift, etc.

本発明の目的は、リツプル成分が除去され、精
度の高い速度信号を発生する速度信号発生回路を
提供することにある。
An object of the present invention is to provide a speed signal generation circuit that removes ripple components and generates a highly accurate speed signal.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の速度信号発生回路は、パルスエンコー
ダの出力パルスを計数する可逆カウンタと、可逆
カウンタの計数値に比例する可逆のパルスレート
を出力する積分手段とを有し、積分手段の出力が
可逆カウンタの2つの入力端子のうち計数の絶対
値を減ずる側の入力端子に接続されている。
The speed signal generating circuit of the present invention has a reversible counter that counts output pulses of a pulse encoder, and an integrating means that outputs a reversible pulse rate proportional to the count value of the reversible counter, and the output of the integrating means is provided as a reversible counter. Of the two input terminals, the one that reduces the absolute value of the count is connected to the one that reduces the absolute value of the count.

〔作用〕[Effect]

本発明は、PGから出力されるパルスレートに
比例した可逆のパルスレートを作り、これらパル
スレートを可逆カウンタで追従比較するものであ
る。
The present invention creates a reversible pulse rate proportional to the pulse rate output from the PG, and tracks and compares these pulse rates with a reversible counter.

可逆カウンタの計数値(デジタルの速度信号)
をD/Aコンバータによつてアナログ電圧に変換
した場合、低速時におけるパルスのリツプルが全
く問題とならず、速度に対する出力は完全な直線
性を得ることが可能となり、温度ドリフト等の精
度はD/Aコンバータのみの特性によるものとな
る。
Count value of reversible counter (digital speed signal)
When converted into an analog voltage by a D/A converter, pulse ripple at low speeds will not be a problem at all, the output with respect to speed can be perfectly linear, and the accuracy of temperature drift etc. is D. This is due to the characteristics of the /A converter only.

なお、可逆カウンタの計数値をCPU等に入力
して、他のデジタル演算に用いることができる。
Note that the count value of the reversible counter can be input to a CPU or the like and used for other digital calculations.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の追従比較型速度信
号発生回路の構成図である。
FIG. 1 is a block diagram of a follow-up comparison type speed signal generation circuit according to an embodiment of the present invention.

可逆カウンタ1はアツプ端子UP、ダウン端子
DOWNにパルスを入力してそれぞれインクリメ
ント、デクリメントされ、最上位ビツト(以下、
MSBとする)に正負符号(正のときに“0”、負
のときに“1”)がつけられた計数値Nをデータ
バス12に出力する。D/Aコンバータ2はデー
タバス12上の計数値Nをアナログ電圧Vに変換
して出力する。演算回路(以下、ALUとする)
3はデータバス12上の計数値Nとデータバス1
4に出力されたD・フリツプフロツプ4の出力値
との加算を行ない、演算結果をデータバス13に
出力するとともに、演算の結果発生したキヤリー
Cをキヤリー端子COから出力する。D・フリツ
プフロツプ4はクロツクパルスCPが印加された
ときのデータバス13上のデータをデータバス1
4に出力する。アンド回路5はデータバス12上
の計数値NのMSBとクロツクパルスCPのインバ
ータ11による反転信号とALU3からのキヤ
リーCのインバータ7による反転信号との論理積
をとり、アツプパルスPUを出力する。アンド回
路6はデータバス12上の計数値NのMSBのイ
ンバータ8による反転信号とクロツクパルスCP
のインバータ11による反転信号とALU3か
らのキヤリーCとの論理積をとり、ダウンパルス
PDを出力する。ノア回路9,10はそれぞれ不
図示のPGから発生される正方向のパルス+Pと
アツプパルスPU、負方向のパルス−Pとダウン
パルスPDとのノアをとる。ここで、ALU3、
D・フリツプフロツプ4、インバータ7,8,1
1、アンド回路5,6は積分手段を構成してい
る。
Reversible counter 1 has up terminal UP and down terminal
By inputting a pulse to DOWN, it is incremented and decremented respectively, and the most significant bit (hereinafter referred to as
A count value N in which a plus/minus sign (“0” when positive and “1” when negative) is attached to the MSB is output to the data bus 12. The D/A converter 2 converts the count value N on the data bus 12 into an analog voltage V and outputs it. Arithmetic circuit (hereinafter referred to as ALU)
3 is the count value N on data bus 12 and data bus 1
4 is added to the output value of the D flip-flop 4, and the calculation result is output to the data bus 13, and the carry C generated as a result of the calculation is output from the carry terminal CO . The D flip-flop 4 transfers the data on the data bus 13 when the clock pulse CP is applied to the data bus 1.
Output to 4. The AND circuit 5 performs a logical product of the MSB of the count value N on the data bus 12, the inverted signal of the clock pulse CP by the inverter 11, and the inverted signal of the carry C from the ALU 3 by the inverter 7, and outputs an up pulse PU . The AND circuit 6 outputs the inverted signal from the inverter 8 of the MSB of the count value N on the data bus 12 and the clock pulse CP.
The inverted signal from inverter 11 and the carry C from ALU 3 are ANDed and a down pulse is generated.
Output P D. NOR circuits 9 and 10 take a NOR between a positive pulse +P and an up pulse P U and a negative pulse -P and a down pulse PD generated from a PG (not shown), respectively. Here, ALU3,
D flip-flop 4, inverter 7, 8, 1
1. AND circuits 5 and 6 constitute an integrating means.

次に、本実施例の動作を説明する。 Next, the operation of this embodiment will be explained.

まず、PGから正方向のパルス+Pが連続して
ノア回路9に入力されると可逆カウンタ1の計数
値Nは増加される。このとき計数値Nは正である
のでMSBは“0”となつている。この計数値N
はALU3でデータバス14上のデータと加算さ
れ、さらにこの加算結果はクロツクパルスCP毎
にD・フリツプフロツプ4によりデータバス14
に出力されて再び計数値Nと加算される。このよ
うにして、ALU3で加算された結果、キヤリー
Cが発生すると、このキヤリーCはキヤリー端子
COからアンド回路6に入力し、ダウンパルスPD
としてノア回路10を経て可逆カウンタ1のダウ
ン端子DOWNに入力するので、可逆カウンタ1
の計数値Nは1だけデクリメントされる。
First, when positive direction pulses +P are continuously input from PG to the NOR circuit 9, the count value N of the reversible counter 1 is increased. At this time, since the count value N is positive, the MSB is "0". This count value N
is added to the data on the data bus 14 by the ALU 3, and the result of this addition is added to the data bus 14 by the D flip-flop 4 at every clock pulse CP.
It is outputted to the count value N and added to the count value N again. In this way, when a carry C is generated as a result of addition in ALU3, this carry C is a carry terminal.
Input from C O to AND circuit 6, down pulse P D
is input to the down terminal DOWN of the reversible counter 1 through the NOR circuit 10, so the reversible counter 1
The count value N is decremented by 1.

PGからのパルス+Pのパルスレートが増すほ
ど、計数値Nが増してALU3から頻繁にキヤリ
ーCが出力されるので、ダウンパルスPDのパル
スレートも増加する。このようにして、計数値N
は平衡状態になり、D/Aコンバータ2から安定
した出力電圧が得られる。
As the pulse rate of the pulse +P from PG increases, the count value N increases and the carry C is output more frequently from the ALU 3, so the pulse rate of the down pulse P D also increases. In this way, the count value N
is in a balanced state, and a stable output voltage can be obtained from the D/A converter 2.

また、PGから負方向のパルス−Pが入力され
る場合には、計数値Nが負となるのでMSBは
“1”となり、アンド回路5からアツプパルスPU
がノア回路9を経て可逆カウンタ1のアツプ端子
UPに入力される。従つて、PGから正方向のパル
ス+Pが入力された場合と同様にして計数値Nが
平衡状態になる。
Furthermore, when a negative direction pulse -P is input from PG, the count value N becomes negative, so the MSB becomes "1", and the up pulse P U is input from the AND circuit 5.
passes through the NOR circuit 9 to the up terminal of the reversible counter 1.
Entered into UP. Therefore, the count value N becomes balanced in the same way as when the positive direction pulse +P is input from PG.

ところで、アツプパルスPUおよびダウンパル
スPDのパルスレートはクロツクパルスCPの周波
数に比例するので、この周波数を変化させること
によつて出力電圧のゲインを変えることができ
る。
Incidentally, since the pulse rates of the up pulse PU and the down pulse PD are proportional to the frequency of the clock pulse CP, the gain of the output voltage can be changed by changing this frequency.

なお、本実施例において、ALU3、D・フリ
ツプフロツプ、アンド回路5,6、インバータ
7,8,11によつてアツプパルスPU、ダウン
パルスPDを作り出す代わりに、第2図のように、
実願昭58−56266号公報に開示されている双方向
BRM回路15およびD・フリツプフロツプ16
によつてアツプパルスPU、ダウンパルスPDを作
つても同様の効果が得られる。双方向BRM回路
15およびD・フリツプフロツプ16は積分手段
を構成している。ここで、D・フリツプフロツプ
16は、双方向BRM回路15が一周期終了する
までにバイナリレートマルチパライヤ15aへの
入力データが変化することを防ぐために設けられ
ている。
In this embodiment, instead of generating the up pulse P U and the down pulse PD using the ALU 3, D flip-flop, AND circuits 5, 6, and inverters 7, 8, and 11, as shown in FIG.
Bidirectional as disclosed in Utility Application No. 58-56266
BRM circuit 15 and D flip-flop 16
A similar effect can be obtained by creating an up pulse P U and a down pulse PD using The bidirectional BRM circuit 15 and the D flip-flop 16 constitute an integrating means. Here, the D flip-flop 16 is provided to prevent the input data to the binary rate multiplier 15a from changing before one cycle of the bidirectional BRM circuit 15 is completed.

また、第1図、第2図のD/Aコンバータ2の
前段にデジタルパルス幅変換回路を設置すること
によりデジタル部とアナログ回路とのアイソレー
シヨンを行なうことが可能となるほか、D/Aコ
ンバータ2を省略しデジタルの速度信号を直接取
り出し、これをCPU等で他のデジタル演算に用
いることも可能である。
In addition, by installing a digital pulse width conversion circuit before the D/A converter 2 shown in FIGS. 1 and 2, it becomes possible to isolate the digital part and analog circuit, and also to It is also possible to omit the converter 2 and directly take out the digital speed signal and use it for other digital calculations by the CPU or the like.

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

以上説明したように本発明は、PGから出力さ
れるパルスレートに比例した可逆のパルスレート
を作り、これらパルスレートを可逆カウンタで追
従比較することにより、D/Aコンバータにより
アナログの速度信号を得る場合に、リツプル成分
が除去された、高精度の速度信号を発生すること
ができ、また、デジタルの速度信号を他の演算に
用いることができる効果がある。
As explained above, the present invention creates a reversible pulse rate proportional to the pulse rate output from the PG, and by tracking and comparing these pulse rates with a reversible counter, an analog speed signal is obtained using a D/A converter. In this case, it is possible to generate a highly accurate speed signal from which ripple components have been removed, and the digital speed signal can also be used for other calculations.

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

第1図は本発明の一実施例の追従比較型速度信
号発生回路の構成図、第2図は他の実施例の構成
図である。 1……可逆カウンタ、2……D/Aコンバー
タ、3……ALU、4,16……D・フリツプフ
ロツプ、5,6……アンド回路、7,8,11…
…インバータ、9,10……ノア回路、12,1
3,14……データバス、15……双方向BRM
回路、15a……バイナリレートマルチプライ
ヤ、15b……デマルチプレクサ。
FIG. 1 is a block diagram of a follow-up comparison type speed signal generation circuit according to one embodiment of the present invention, and FIG. 2 is a block diagram of another embodiment. 1... Reversible counter, 2... D/A converter, 3... ALU, 4, 16... D flip-flop, 5, 6... AND circuit, 7, 8, 11...
...Inverter, 9,10...NOR circuit, 12,1
3, 14...Data bus, 15...Bidirectional BRM
Circuit, 15a...Binary rate multiplier, 15b...Demultiplexer.

Claims (1)

【特許請求の範囲】 1 パルスエンコーダから出力されるパルスレー
トを速度信号に変換する速度信号発生回路であつ
て、 前記パルスエンコーダの出力パルスを計数する
可逆カウンタと、 該可逆カウンタの計数値に比例する可逆のパル
スレートを出力する積分手段とを有し、 前記積分手段の出力が前記可逆カウンタの2つ
の入力端子のうち計数の絶対値を減ずる側の入力
端子に接続されている追従比較型速度信号発生回
路。
[Claims] 1. A speed signal generation circuit that converts a pulse rate output from a pulse encoder into a speed signal, comprising: a reversible counter that counts output pulses of the pulse encoder; and a speed signal that is proportional to the count value of the reversible counter. and an integrating means for outputting a reversible pulse rate, the output of the integrating means being connected to one of the two input terminals of the reversible counter that reduces the absolute value of the count. Signal generation circuit.
JP27079184A 1984-12-24 1984-12-24 Servo-balancing type speed voltage generating circuit Granted JPS61148921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27079184A JPS61148921A (en) 1984-12-24 1984-12-24 Servo-balancing type speed voltage generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27079184A JPS61148921A (en) 1984-12-24 1984-12-24 Servo-balancing type speed voltage generating circuit

Publications (2)

Publication Number Publication Date
JPS61148921A JPS61148921A (en) 1986-07-07
JPH0465986B2 true JPH0465986B2 (en) 1992-10-21

Family

ID=17491049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27079184A Granted JPS61148921A (en) 1984-12-24 1984-12-24 Servo-balancing type speed voltage generating circuit

Country Status (1)

Country Link
JP (1) JPS61148921A (en)

Also Published As

Publication number Publication date
JPS61148921A (en) 1986-07-07

Similar Documents

Publication Publication Date Title
JPH0465986B2 (en)
JPH035160B2 (en)
JPH0611450Y2 (en) High-precision tracking comparison type speed voltage generator
JPH0376311A (en) Pulse width modulation circuit
JPS63170701A (en) High-speed response tracking comparison type speed voltage generation circuit
SU1211749A1 (en) Device for functional transformation of pulse-width modulated signals
JP3994231B2 (en) Data conversion circuit
JPS61251328A (en) Pwm circuit
JPS62247263A (en) High-speed response tracking comparison type speed voltage generation circuit
JPS5815979B2 (en) Analog to digital converter
SU1383474A1 (en) Frequency-pulse device for converting signal from bridge-type transducer
SU1176435A1 (en) Digital d.c.drive
SU1432556A1 (en) Device for solving equations
SU1068951A1 (en) Function generator
JPH0119597Y2 (en)
JP3270554B2 (en) Measuring equipment
JPS63310221A (en) D/a converting circuit
KR900011231Y1 (en) Position Control Circuit with Feed Forward Loop
KR0183747B1 (en) Frequency conversion method and circuit of clock pulse
SU1310988A1 (en) Multimotor electric drive
JPS62259101A (en) Speed arithmetic system
JPS63105529A (en) A/d conversion circuit
JPS63179213A (en) data conversion circuit
JPH0336236Y2 (en)
SU1282333A1 (en) Shaft turn angle-to-digital converter

Legal Events

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