JPS63308567A - Speed detector - Google Patents

Speed detector

Info

Publication number
JPS63308567A
JPS63308567A JP14336887A JP14336887A JPS63308567A JP S63308567 A JPS63308567 A JP S63308567A JP 14336887 A JP14336887 A JP 14336887A JP 14336887 A JP14336887 A JP 14336887A JP S63308567 A JPS63308567 A JP S63308567A
Authority
JP
Japan
Prior art keywords
pulse
contents
counter
scan
latch buffer
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
JP14336887A
Other languages
Japanese (ja)
Other versions
JPH0726973B2 (en
Inventor
Junichi Horikiri
堀切 淳一
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 JP62143368A priority Critical patent/JPH0726973B2/en
Publication of JPS63308567A publication Critical patent/JPS63308567A/en
Publication of JPH0726973B2 publication Critical patent/JPH0726973B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

PURPOSE:To enable accurate detection of speed even for an apparatus vary frequency in the starting and stopping of a pulse generator, by latching the contents of a counter according to a scan pulse or a synchronization demand signal. CONSTITUTION:An N' latch buffer 9 is added between a counter 6 and an O latch buffer 8 to latch the contents of the counter 6 according to an input of a scan pulse P1 or a synchronization demand signal P2. The pulse P1 is outputted from a scan pulse generator 2 at each fixed cycle set with a scan time setter 3, but when the signal P1 is inputted through an OR circuit OR1, the pulse P1 is generated in a specified time after the inputting thereof to synchronize a scanning. An N latch buffer 7 latches counting contents at each pulse P1 while the buffer 9 latches the contents of the counter 6 at a time of the pulse P1 or the signal P2 and moreover, a buffer 8 latches the contents of the buffer 9 at each pulse P1. This enables accurate detection of revolutions of a pulse generator 4 even in a circuit having a scan synchronization.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパルスジェネレータを起動停止が著しい装置に
装備した場合でも正しい速度検出が行なわれるように配
慮したデジタル速度検出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital speed detection device that is designed to ensure correct speed detection even when a pulse generator is installed in a device that frequently starts and stops.

〔従来の技術〕[Conventional technology]

第1図は従来の速度(又は回転数)検出装置のブロック
図を示すもので、1はクロックパルス発生器、2はスキ
ャン時間設定器3によって指定された時間毎にスキャン
パルスP、を送出するDOWNカウンタ、4は電動機等
の駆動源によって駆動されるパルスジェネレータ、5は
前記パルスジェネレータ4の回転方向に応じて正又は負
のパルス信号に変換するパルス波形変換器、6は前記パ
ルス波形変換器5の出力パルスをカウントするIJP 
−DOWNカウンタから成るカウンタ、7はスキャンパ
ルスP、が入力する毎にカウンタ6の内容をラッチする
Nラッチバッファ、8は同じくスキャンパルスP1が入
力する毎に前記Nラッチバッファ7の内容をラッチする
Oラッチバッファ、11はスキャンパルスP、の入力毎
にNラッチバッファと0ラツチバツフアから夫々の内容
を読み出し、速度(又は回転数)の演算を行う演算処理
装置、1゜は水晶発振器である。
FIG. 1 shows a block diagram of a conventional speed (or rotational speed) detection device, in which 1 is a clock pulse generator, 2 is a scan pulse P that is sent out at every time specified by a scan time setting device 3. DOWN counter; 4 is a pulse generator driven by a drive source such as an electric motor; 5 is a pulse waveform converter that converts into a positive or negative pulse signal depending on the rotational direction of the pulse generator 4; 6 is the pulse waveform converter. IJP counting 5 output pulses
- A counter consisting of a DOWN counter, 7 a N latch buffer that latches the contents of the counter 6 every time a scan pulse P is input, and 8 a latch buffer 8 that latches the contents of the N latch buffer 7 every time a scan pulse P1 is input. 0 latch buffer, 11 is an arithmetic processing unit that reads the contents of the N latch buffer and 0 latch buffer each time the scan pulse P is input, and calculates the speed (or number of revolutions); 1° is a crystal oscillator.

第2図はタイムチャートを示すもので、本発明はスキャ
ン時間設定器3によって設定された一定周期毎にカウン
タ2からスキャンパルスP1(割込パルス)が送出され
、演算処理装置IIにおいてパルスジェネレータ4の速
度(又は回転数)を演算されるものであるが、スキャン
パルス発生器2は設定時間Ts毎にスキャンパルスP、
を出力し、再設定される。
FIG. 2 shows a time chart, and in the present invention, a scan pulse P1 (interrupt pulse) is sent out from the counter 2 at regular intervals set by the scan time setter 3, and the pulse generator 4 is sent out in the arithmetic processing unit II. The scan pulse generator 2 calculates the speed (or rotational speed) of the scan pulse P,
is output and reconfigured.

Nラッチバッファ7はカウンタ6の内容をスキャンパル
スP、のタイミングでラッチする。
The N latch buffer 7 latches the contents of the counter 6 at the timing of the scan pulse P.

例えばA点のスキャンパルスでカウンタ6の内容n1が
ラッチされ、次回のB点まではn、にのまま保っている
For example, the content n1 of the counter 6 is latched by the scan pulse at point A, and is maintained at n until the next point B.

同様にB点でnz、C点でn2.B点でn4のように変
わる。
Similarly, nz at point B, n2 at point C. At point B, it changes like n4.

0ラツチバツフア8はNラッチバッファ7の内容をスキ
ャンパルスP1のタイミングでラッチする。従って0ラ
ツチバツフア8にはNラッチバッファ7の1スキヤン前
のデータが残ることになる。
The 0 latch buffer 8 latches the contents of the N latch buffer 7 at the timing of the scan pulse P1. Therefore, the data from the N latch buffer 7 one scan ago remains in the 0 latch buffer 8.

演算処理装置11は、スキャンパルスP、が入力(スキ
ャン割込)する都度第3図のフローチャートに示すよう
な演算が行なわれる。
The arithmetic processing unit 11 performs arithmetic operations as shown in the flowchart of FIG. 3 each time a scan pulse P is input (scan interruption).

即ち次式に示すような速度(又は回転数)Nの演算が行
なわれる。
That is, the speed (or rotational speed) N is calculated as shown in the following equation.

但し、nN :Nラッチバッファの読込値n、:0ラツ
チバツフア8の読込値 K :比例定数 TSニスキャン時間 N :パルスジェネレータ4の回転数 〔発明が解決しようとする問題点〕 製品の製造上運転モード(速度制御、トルク制御、位置
制御)の切替を頻繁に行う装置にこの種の速度検出装置
を装備した場合、運転モードの切替時にスキャンの同期
化のため、スキャンパルス発生器2に点線図示のように
同期化要求信号を与えることが有効である。ところが、
−瞬スキャン時間が変化するため、速度検出が不正確と
なり、製品にバラツキが生ずるという問題がある。
However, nN: N latch buffer read value n, :0 latch buffer 8 read value K: Proportionality constant TS Niscan time N: Number of revolutions of pulse generator 4 [Problem to be solved by the invention] Operating mode in manufacturing of the product When this type of speed detection device is installed in a device that frequently switches between speed control, torque control, and position control, the scan pulse generator 2 has a It is effective to provide a synchronization request signal like this. However,
- Since the instantaneous scan time changes, there is a problem that speed detection becomes inaccurate and product variations occur.

これを第4図に示すタイムチャートを使って説明すれば
次の通りである。
This can be explained using the time chart shown in FIG. 4 as follows.

即ち、令弟4図に示すように、スキャンパルスのCとD
の間で同期化要求信号P2が与えられたとすると、スキ
ャンパルス発生器2が再セットされ、その時点よりTs
後にスキャンパルスDが発生することになる。従ってス
キャンパルス間隔Tは、Tsより大きくなる。このよう
なスキャンの同期化がある場合、速度(又は回転数)N
′は次式で表わされ、前記(1)式〇Nとは N≠N′ の関係にあるので、N′を制御に使用すると、製造装置
で作られる製品にバラツキが生ずることになる。
That is, as shown in Figure 4, the scan pulses C and D
If synchronization request signal P2 is given between
Scan pulse D will be generated later. Therefore, the scan pulse interval T is larger than Ts. If there is such scan synchronization, the speed (or number of rotations) N
' is expressed by the following equation, and has the relationship N≠N' with equation (1) (1). Therefore, if N' is used for control, variations will occur in the products manufactured by the manufacturing equipment.

そこで本発明は、同期化要求信号を与える場合でも(1
)式の演算が演算処理装置11において行なわれるよう
なものを提供しようとするものである。
Therefore, in the present invention, even when a synchronization request signal is given (1
) is intended to be performed in the arithmetic processing unit 11.

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

本発明は上記の問題点を解決するために、前記0ラツチ
パ゛ツフア8にNラッチバッファ7の内容をラッチする
方法を採らずに、前記スキャンパルスP1又は同期化要
求信号P2の入力に応じてカウンタ6の内容をラッチす
るN′ラッチバッファを新たにカウンタ6とOラッチバ
ッファ8の間に付加し、同期化要求信号P2が与えられ
た時でも0ラツチバツフア8にはスキャン設定時間Ts
分のカウンタ6の内容分がラッチされるように構成して
、演算処理装置11において(2)式ではなく(1)式
の演算が行なわれるようにしたものである。
In order to solve the above-mentioned problems, the present invention does not use the method of latching the contents of the N latch buffer 7 in the 0 latch buffer 8, but instead latches the contents of the N latch buffer 7 in the 0 latch buffer 8. An N' latch buffer that latches the contents of the counter 6 is newly added between the counter 6 and the O latch buffer 8, and even when the synchronization request signal P2 is applied, the 0 latch buffer 8 has a scan setting time Ts.
The content of the minute counter 6 is configured to be latched so that the arithmetic processing unit 11 calculates the equation (1) instead of the equation (2).

〔実施例〕〔Example〕

第5図は本発明の実施例を示すもので、第1図に示す従
来装置と相違する点は同期化要求信号P2をオア回路O
R,を介してスキャンパルス発生器2に与えるようにし
たことと、スキャンパルスP。
FIG. 5 shows an embodiment of the present invention, which differs from the conventional device shown in FIG.
The scan pulse P is applied to the scan pulse generator 2 via the scan pulse P.

又は同期化要求信号P2の入力に応じてカウンタ6の内
容をラッチするN′ラッチバッファ9を新たにカウンタ
6とOラッチバッファ8の間に付加したことである。
Alternatively, an N' latch buffer 9 is newly added between the counter 6 and the O latch buffer 8, which latches the contents of the counter 6 in response to the input of the synchronization request signal P2.

このように構成すると、同期化要求信号P2を与えた場
合でも。0ラツチバツフア8に第1図に示す従来装置と
同様のカウンタ値がラッチされる。
With this configuration, even when the synchronization request signal P2 is given. A counter value similar to that of the conventional device shown in FIG. 1 is latched in the 0 latch buffer 8.

第6図は第5図において各部の信号及びカウンタ値のタ
イムチャートを示すもので、このタイムチャートを参照
し乍ら実施例装置の動作を説明すると次の通りである。
FIG. 6 shows a time chart of signals and counter values of each part in FIG. 5, and the operation of the embodiment apparatus will be explained with reference to this time chart as follows.

スキャンパルス発生器2は第1図に示した従来装置と同
様、一定時間Ts毎にスキャンパルスP。
The scan pulse generator 2 generates a scan pulse P every fixed time Ts, similar to the conventional device shown in FIG.

を出力しているが、同期化要求信号P2が入力されると
両セットされ、その時間からTs後にスキャンパルスを
発生しスキャンを同期化する。
However, when the synchronization request signal P2 is input, both are set, and a scan pulse is generated Ts after that time to synchronize the scan.

一方Nラッチバッファ7は毎スキャンパルス毎にカウン
ト6の内容をラッチし、N′ラッチバッファ9は毎スキ
ャンパルス又は同期化要求信号のタイミングでカウンタ
6の内容をラッチし、0ラツチバツフア8はN′ラッチ
バッファ9の内容をスキャンパルス毎にラッチする。
On the other hand, the N latch buffer 7 latches the contents of the counter 6 at every scan pulse, the N' latch buffer 9 latches the contents of the counter 6 at every scan pulse or synchronization request signal timing, and the 0 latch buffer 8 latches the contents of the counter 6 at every scan pulse or synchronization request signal timing. The contents of the latch buffer 9 are latched every scan pulse.

そのため、スキャンの時間が延びたCD間のパルスジェ
ネレータの回転数は s で計算されるので、 第3図の演算フローチャートによる計算s が成立し、スキャンの同期化のある回路においてもパル
スジェネレータ40回転数を正しく検出することができ
ることになる。
Therefore, the number of rotations of the pulse generator between CDs where the scan time is extended is calculated as s, so the calculation s according to the calculation flowchart in Figure 3 holds true, and even in a circuit with scan synchronization, the pulse generator rotates at 40 rotations. This means that the number can be detected correctly.

なお、上記の実施例ではパルスジェネレータが正逆転す
る場合のものを例に採って説明したが、一方向回転のみ
の場合はパルス波形変換器を使用しなくともよい。
In the above embodiment, the case where the pulse generator rotates in forward and reverse directions was taken as an example and explained, but if the pulse generator rotates only in one direction, the pulse waveform converter may not be used.

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

以上のように、本発明によれば同期化要求信号を与える
必要がある装置にこの種のデジ速度検出装置を適用した
場合でも正確な速度検出が行なわれる効果があり、運転
モードが頻繁に変わるような装置に使用する場合のデジ
タル速度検出装置として優れたものである。
As described above, according to the present invention, even when this type of digital speed detection device is applied to a device that needs to provide a synchronization request signal, accurate speed detection can be performed, and the operation mode changes frequently. This is an excellent digital speed detection device for use in such devices.

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

第1図は従来装置のブロック図、第2図は、第1図にお
ける各部の信号及びカウンタ値のタイムチャート、第3
図は第1図における演算処理装置の演算フローチャート
、第4図は第1図に示す従来装置でスキャン同期化を行
った場合の問題を説明するためのタイムチャート、第5
図は本発明の実施例のブロック図、第6図は実施例にお
ける各部の信号及びカウンタ値のタイムチャートである
。 1・・・クロックパルス発生器 2・・・スキャンパルス発生器 3・・・スキャン時間設定器 4・・・パルスゼネレータ 5・・・パルス波形変換器 6・・・カウンタ 7・・・Nラッチバッファ 8・・・0ラツチバツフア 9・・・N′ラッチバッファ 10・・・水晶発振器 11・・・演算処理装置。 へ    ヘ    ヘ づ    暢     U QQ
Fig. 1 is a block diagram of the conventional device, Fig. 2 is a time chart of signals and counter values of each part in Fig. 1, and Fig. 3 is a time chart of the signals and counter values of each part in Fig. 1.
The figure shows an operation flowchart of the arithmetic processing device in FIG. 1, FIG.
The figure is a block diagram of an embodiment of the present invention, and FIG. 6 is a time chart of signals and counter values of various parts in the embodiment. 1... Clock pulse generator 2... Scan pulse generator 3... Scan time setter 4... Pulse generator 5... Pulse waveform converter 6... Counter 7... N latch buffer 8...0 latch buffer 9...N' latch buffer 10...Crystal oscillator 11... Arithmetic processing unit. He He Hezu Nobu U QQ

Claims (1)

【特許請求の範囲】 クロックパルスを入力信号としてスキャンパルスを送出
し、このスキャンパルスと同期化要求信号によりセット
されるDOWNカウンタと、パルスジェネレータから送
出される出力パルスをカウントするカウンタと、 前記スキャンパルスの入力に応じて、前記カウンタの内
容をラッチするNラッチバッファと、前記スキャンパル
ス又は同期化要求信号の入力に応じて、前記カウンタの
内容をラッチするN′ラッチバッファと、 前記スキャンパルスの入力に応じて前記N′ラッチバッ
ファの内容をラッチするOラッチバッファと、 前記NラッチバッファとOラッチバッファの内容を読み
出して速度を演算する演算処理装置を具備したことを特
徴とする速度検出装置。
[Scope of Claims] A DOWN counter that sends a scan pulse using a clock pulse as an input signal and is set by the scan pulse and a synchronization request signal, and a counter that counts output pulses sent from a pulse generator; an N latch buffer that latches the contents of the counter in response to an input of a pulse; an N' latch buffer that latches the contents of the counter in response to an input of the scan pulse or a synchronization request signal; A speed detection device comprising: an O latch buffer that latches the contents of the N' latch buffer according to an input; and an arithmetic processing device that reads the contents of the N latch buffer and the O latch buffer to calculate a speed. .
JP62143368A 1987-06-10 1987-06-10 Speed detector Expired - Lifetime JPH0726973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62143368A JPH0726973B2 (en) 1987-06-10 1987-06-10 Speed detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62143368A JPH0726973B2 (en) 1987-06-10 1987-06-10 Speed detector

Publications (2)

Publication Number Publication Date
JPS63308567A true JPS63308567A (en) 1988-12-15
JPH0726973B2 JPH0726973B2 (en) 1995-03-29

Family

ID=15337158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62143368A Expired - Lifetime JPH0726973B2 (en) 1987-06-10 1987-06-10 Speed detector

Country Status (1)

Country Link
JP (1) JPH0726973B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53111768A (en) * 1977-03-11 1978-09-29 Hitachi Ltd Frequency detecting system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53111768A (en) * 1977-03-11 1978-09-29 Hitachi Ltd Frequency detecting system

Also Published As

Publication number Publication date
JPH0726973B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
JPS63308567A (en) Speed detector
JPS59100866A (en) Digital type speed detector
JPH04233467A (en) Method and apparatus for measuring speed of motor
JPH049266B2 (en)
JP3364954B2 (en) Drive control device
JPH01219672A (en) Pulse converter circuit
JPS62281795A (en) Pulse motor step-out detection device
JPH05322909A (en) Rotating-speed detecting apparatus
JPH0340847B2 (en)
JP2698280B2 (en) Servo reference setting device
JPH03100473A (en) Pulse train input processor
JPH11295332A (en) Speed detecting device
JPH05188068A (en) Servo motor speed detecting device
JPS63163281A (en) Digital speed indicator
JPH0515184A (en) Speed detector
JP3227712B2 (en) Digital servo method for rotating body
JPS6193959A (en) Speed detecting device
JPH01174982A (en) Detection of acceleration
JPH0327787A (en) Pulse frequency measuring apparatus
JPS62106372A (en) Number-of-rotation detecting circuit
JPS62236191A (en) Magnetic recording and reproducing device
JPH0376118B2 (en)
JPS59153480A (en) Detecting circuit
JPH0222709A (en) Numerical controller
JPH05130789A (en) Digital speed detecting circuit