JPH03112388A - Rotary direction detector for rotary body - Google Patents

Rotary direction detector for rotary body

Info

Publication number
JPH03112388A
JPH03112388A JP1246802A JP24680289A JPH03112388A JP H03112388 A JPH03112388 A JP H03112388A JP 1246802 A JP1246802 A JP 1246802A JP 24680289 A JP24680289 A JP 24680289A JP H03112388 A JPH03112388 A JP H03112388A
Authority
JP
Japan
Prior art keywords
pulse
capstan motor
input
output
detected
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.)
Pending
Application number
JP1246802A
Other languages
Japanese (ja)
Inventor
Hiroyuki Makuta
幕田 裕行
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1246802A priority Critical patent/JPH03112388A/en
Publication of JPH03112388A publication Critical patent/JPH03112388A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To detect inversion of the rotary direction of a rotary body before the rotary body rotates by 360/N (N is the number of pulse) at most by providing two or more types of different rotary direction detecting means. CONSTITUTION:Rotary direction of a capstan motor 1 is detected by providing a High level signal to the output terminal 53 of a microcomputer 5 during clockwise rotation of the capstan motor 1 and a Low level signal during counter clockwise rotation of the capstan motor 1. Consequently, the rotary direction is detected at the rising and falling times of a FG pulse (b) which is the output pulse from one FG3 of two frequency pulse generators(FG) 2, 3 generating output pulses having mutual phase shift of 90 deg.. By such arrangement, inversion of the rotary direction of the capstan motor 1 can be detected before the capstan motor 1 rotates by 180/N at most.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気録画再生装置(以下、VTRと称す。)
のキャプスタンモータの回転方向検出装置等、回転体の
回転方向検出装置に関するものである。
[Detailed Description of the Invention] Industrial Field of Application The present invention relates to a magnetic recording and reproducing device (hereinafter referred to as VTR).
The present invention relates to a rotational direction detection device for a rotating body, such as a rotational direction detection device for a capstan motor.

従来の技術 第7図は、従来のVTRにおけるキャプスタンモータの
回転方向検出装置のブロック図である。
BACKGROUND OF THE INVENTION FIG. 7 is a block diagram of a capstan motor rotation direction detection device in a conventional VTR.

第7図において、1は磁気テープを移送させるだめのキ
ャプスタンモータ、2及び3は共にキャプスタンモータ
1に設けられ、キャプスタンモータ1の回転速度に比例
した周波数の周波数パルス信号(以下、FGパルスと称
す。)を発生する周波数パルス発生器(以下、FG2及
びFG3と称す。)であり、FG2.FG3からは互い
に90度位相の異なるFGパルスが得られるように構成
されている。4はD形フリップフロップ回路であって、
データ入力端子41に入力される入力データを、クロッ
クパルス入力端子42に入力されるクロックパルスの立
ち上がり時に出力端子43に伝送する。そして、前記デ
ータ入力端子41には、FG2から発生されるFGパル
ス(以下、FGパルスaと称す。)が、また、前記クロ
ックパルス入力端子42には、FG3から発生されるF
Gパルス(以下、FGパルスbと称す。)が、各々入力
されている。
In FIG. 7, 1 is a capstan motor for transporting the magnetic tape, 2 and 3 are both provided in the capstan motor 1, and a frequency pulse signal (hereinafter referred to as FG) with a frequency proportional to the rotational speed of the capstan motor 1 is provided. FG2. The FG3 is configured so that FG pulses having phases different by 90 degrees from each other can be obtained. 4 is a D-type flip-flop circuit,
Input data input to the data input terminal 41 is transmitted to the output terminal 43 at the rising edge of the clock pulse input to the clock pulse input terminal 42. The data input terminal 41 receives an FG pulse (hereinafter referred to as FG pulse a) generated from FG2, and the clock pulse input terminal 42 receives an FG pulse generated from FG3.
A G pulse (hereinafter referred to as FG pulse b) is input.

以上のように構成された従来のキャプスタンモータの回
転方向検出装置について、以下その動作を説明する。
The operation of the conventional capstan motor rotation direction detection device configured as described above will be described below.

キャプスタンモータ1に設けられたFG2.FG3より
各々発生されるFGパルスa+FGパルスbは互いに9
0度位相が異なり、第6図に示すように、例えば、キャ
プスタンモータ1の時計回り方向(以下、CW力方向称
す。)回転時には、FGパルスbに対してFGパルスa
が90度位相が進み、キャプスタンモータ1の反時計回
り方向(以下、CC,方向と称す。)回転時には、FG
パルスbに対してFGパルスaが90度位相が遅れる。
FG2 provided in the capstan motor 1. FG pulse a+FG pulse b generated from FG3 are each 9
As shown in FIG. 6, for example, when the capstan motor 1 rotates in the clockwise direction (hereinafter referred to as CW force direction), the FG pulse a is different from the FG pulse b.
is advanced by 90 degrees in phase, and when the capstan motor 1 rotates in a counterclockwise direction (hereinafter referred to as CC direction), FG
The phase of FG pulse a is delayed by 90 degrees with respect to pulse b.

そして、D形フリップフロップ回路では、データ入力端
子41に入力されるFGパルス2Iの信号レベル(Hi
ghレベル、Lowレベル)が、クロックパルス入力端
子42に入力されるFGパルスbの立ち上がり時に出力
端子43に伝送されるから、D形フリップフロップ回路
4の出力端子43には、キャプスタンモータ1のCW方
向回転時にはHighレベルが、またキャプスタンモー
タ1のCCW方向回転+B、にはLowレベルが、各々
出力される。
In the D-type flip-flop circuit, the signal level (Hi
gh level, Low level) are transmitted to the output terminal 43 at the rising edge of the FG pulse b input to the clock pulse input terminal 42. A high level is output when the capstan motor 1 rotates in the CW direction, and a low level is output when the capstan motor 1 rotates in the CCW direction +B.

よって、D形フリップフロップ回路4の出力端子43に
出力される信号が、HtghレベルであるかLowレベ
ルであるかにより、キャプスタンモータエの回転方向を
検出することができる。
Therefore, the rotation direction of the capstan motor can be detected depending on whether the signal output to the output terminal 43 of the D-type flip-flop circuit 4 is at High level or Low level.

発明が解決しようとする課題 しかしながら上記した従来のキャプスタンモータの回転
方向検出装置は、キャプスタンモータ1の回転方向を、
−°出力パルスの位相が互いに9.0変異なる2個のF
G(FG2.FG3)のうちの−方のFG (FG3)
の出力パルス(FGパルスb)の立ち上がり時にのみ検
出するものである。よって、ある時点でキャプスタンモ
ータ1の回転方向が変わっても、一方のFG (FG3
)の出力パルス(FGパルスb)の立ち上がりエツジが
くるまでの間は、キャプスタンモータ1の回転方向が変
わったことが検出されない。すなわち、キャプスタンモ
ータ1の1回転中に一方のFGより得られるFGパルス
のパルス数をNとすれば、前述のキャプスタンモータの
回転方向検出装置においては、ある時点でキャプスタン
モータ1の回転方向が変わっても、回転方向変化後、キ
ャプスタンモータ1が最大360/N度回転するまでの
間、キャプスタンモータ1の回転方向の変わったことが
検出されない、という課題を有していた。
Problems to be Solved by the Invention However, the above-mentioned conventional capstan motor rotation direction detection device detects the rotation direction of the capstan motor 1,
- Two F whose output pulse phases differ by 9.0 degrees from each other
- FG (FG3) of G (FG2.FG3)
It is detected only at the rising edge of the output pulse (FG pulse b). Therefore, even if the rotation direction of the capstan motor 1 changes at a certain point, one FG (FG3
) until the rising edge of the output pulse (FG pulse b) arrives, it is not detected that the rotation direction of the capstan motor 1 has changed. That is, if the number of FG pulses obtained from one FG during one rotation of the capstan motor 1 is N, then in the above-mentioned capstan motor rotation direction detection device, the rotation of the capstan motor 1 at a certain point Even if the direction changes, there is a problem in that the change in the rotation direction of the capstan motor 1 is not detected until the capstan motor 1 rotates by a maximum of 360/N degrees after the rotation direction change.

本発明はかかる点に鑑み、出力パルス信号の位相が互い
に略90変異なる2個の周波数パルス信号発生手段が少
なくとも設けられている回転体の回転方向を検出するに
際し、2個の周波数パルス信号発生手段のうちの一方の
周波数パルス信号発生手段より回転体の1回転中に得ら
れるパルス数をNとしたとき、回転体の回転方向に変化
が生じてから、回転方向の変化が検出されるまでの間の
、回転体の最大の回転角を360/N度よりも小さくす
る回転体の回転方向検出装置を提供することを目的とす
る。
In view of this point, the present invention provides a method for generating two frequency pulse signals when detecting the rotational direction of a rotating body in which at least two frequency pulse signal generation means are provided, the phases of which output pulse signals differ from each other by approximately 90 degrees. When the number of pulses obtained during one rotation of the rotating body by one of the frequency pulse signal generating means of the means is N, the number of pulses obtained during one rotation of the rotating body from the time when a change occurs in the rotational direction of the rotating body until the change in the rotational direction is detected. An object of the present invention is to provide a rotational direction detection device for a rotating body that makes the maximum rotational angle of the rotating body smaller than 360/N degrees.

課題を解決するための手段 上記目的を達成するために本発明は、回転体の回転速度
に応じた周波数の第1の周波数パルス信号を発生する第
1の周波数パルス信号発生手段と、前記回転体の回転速
度に応じた周波数で前記第1の周波数パルス信号と位相
の異なる第2の周波数パルス信号を発生する第2の周波
数パルス信号発生手段とを備え、且つ、前記第1の周波
数パルス信号の立ち上がり時に前記第2の周波数パルス
信号の信号レベルを判別することにより前記回転体□ の回転方向を検出する回転方向検出手段を第1の回転方
向検出手段とし、前記第1の周波数パルス信号の立ち下
がり時に前記第2の周波数パルス信号の信号レベルを判
別することにより前記回転体の回転方向を検出する回転
方向検出手段を第2の回転方向検出手段とし、前記第2
の周波数パルス信号の立ち上がり時に前記第1の周波数
パルス信号の信号レベルを判別することにより前記回転
体の回転方向を検出する回転方向検出手段を第3の回転
方向検出手段とし、前記第2の周波数パルス信号の立ち
下がり時に前記第1の周波数パルス信号の信号レベルを
判別することにより前記回転体の回転方向を検出する回
転方向検出手段を第4の回転方向検出手段としたとき、
前記第1.第2゜第3または第4の回転方向検出手段の
うちの少なくとも2つの回転方向検出手段を備えたもの
であ作用 本発明は、第1.第2.第3または第4の回転方向検出
手段のうちの異なる2種類以上の回転方向検出手段を備
えた構成により、キャプスタンモータ1の1回転中に一
方のFGより得られるFGパルスのパルス数をNとすれ
ば、キャプスタンモータ1が同一方向に360/N度回
転する間に、キャプスタン舌−夕1の回転方向が2回以
上検出される。
Means for Solving the Problems In order to achieve the above object, the present invention provides first frequency pulse signal generating means for generating a first frequency pulse signal having a frequency corresponding to the rotational speed of a rotating body; a second frequency pulse signal generating means for generating a second frequency pulse signal having a phase different from the first frequency pulse signal at a frequency corresponding to the rotational speed of the first frequency pulse signal; The rotational direction detection means detects the rotational direction of the rotating body □ by determining the signal level of the second frequency pulse signal at the rising edge thereof, and the rotational direction detection means detects the rotational direction of the rotating body □ by determining the signal level of the second frequency pulse signal at the rising edge of the first frequency pulse signal. A rotational direction detection means for detecting the rotational direction of the rotating body by determining the signal level of the second frequency pulse signal when falling is a second rotational direction detection means;
A third rotation direction detection means is a rotation direction detection means for detecting the rotation direction of the rotating body by determining the signal level of the first frequency pulse signal at the rising edge of the frequency pulse signal, and When a fourth rotation direction detection means is used as a rotation direction detection means for detecting the rotation direction of the rotating body by determining the signal level of the first frequency pulse signal at the falling edge of the pulse signal,
Said 1st. 2nd degree: The present invention is equipped with at least two rotational direction detection means of the third or fourth rotational direction detection means. Second. With the configuration including two or more different types of rotational direction detection means among the third or fourth rotational direction detection means, the number of FG pulses obtained from one FG during one rotation of the capstan motor 1 can be reduced to N. Then, while the capstan motor 1 rotates 360/N degrees in the same direction, the rotation direction of the capstan tongue 1 is detected two or more times.

実施例 第1図は、本発明の回転体の回転方向検出装置の第1の
実施例であるVTRのキャプスタンモータの回転方向検
出装置のブロック図を示すものである。
Embodiment FIG. 1 shows a block diagram of a rotational direction detection device for a capstan motor of a VTR, which is a first embodiment of the rotational direction detection device for a rotating body according to the present invention.

第1図において、1は磁気テープを移送させるためのキ
ャプスタンモータ、2及び3は共にキャプスタンモータ
1に設けられ、キャプスタンモータ1の回転速度に比例
した周波数の周波数パルス信号(以下、FGパルスと称
す。)を発生する周波数パルス発生器(以下、FG2及
びFG3と称す。)であり、FG2.FG3からは互い
に90度位相の異なるFGパルスが得られるように構成
されている。5はワンチップマイクロコンピュータ(以
下、マイコン5と称す。)であって、外部割り込みパル
ス入力端子51には、前記FG3から発生されるFGパ
ルス(以下、FGパルスbと称す。)が、2.入カポ、
−ト端子52には、 FG2から発生されるFGパルス
(以下、FGパルスaと称す。)が、各々入力されてい
る。ここで、マイコン5は、外部割り込みパルス入力端
子51に入力されるパルスの立ち上がりエツジ、立ち下
がりエツジの両エツジにて割り込みがかけられるように
用いるものとし、マイコン5は、外部割り込みパルス入
力端子51に入力されるFGパルスbの立ち上がりエツ
ジ及び立ち下がりエツジにて割り込みがかけられ、キャ
プスタンモータ1の回転方向を検出するための外部割り
込み処理を行う。
In FIG. 1, 1 is a capstan motor for transporting a magnetic tape, 2 and 3 are both provided in the capstan motor 1, and a frequency pulse signal (hereinafter referred to as FG) with a frequency proportional to the rotational speed of the capstan motor 1 is provided. FG2. The FG3 is configured so that FG pulses having phases different by 90 degrees from each other can be obtained. 5 is a one-chip microcomputer (hereinafter referred to as microcomputer 5), and an external interrupt pulse input terminal 51 receives the FG pulse (hereinafter referred to as FG pulse b) generated from the FG3; Entering capo,
An FG pulse (hereinafter referred to as FG pulse a) generated from FG2 is input to the -G terminal 52, respectively. Here, the microcomputer 5 is used so that an interrupt is generated at both the rising edge and the falling edge of the pulse input to the external interrupt pulse input terminal 51. An interrupt is generated at the rising edge and falling edge of the FG pulse b input to the FG pulse b, and external interrupt processing for detecting the rotational direction of the capstan motor 1 is performed.

第2図は、マイコン5にて1テわれる外部割り込み処理
の処理手順を示すフローチャートである。
FIG. 2 is a flowchart showing the procedure of external interrupt processing performed by the microcomputer 5. As shown in FIG.

第2図において、処理501は、外部割り込みパルス入
力端子51に入力されるFGパルスbの割り込みエツジ
が立ち上がりエツジであるか立ち下がりエツジであるか
を、外部割り込みパルス入力端子51がHighレベル
であるかLowレベルであるかにより判別する処理であ
る。処理502は、前記処理501にて外部割り込みパ
ルス入力端子51がHighレベルすなわち割り込みエ
ツジが立ち上がりエツジであると判別された場合に行わ
れる処理であり、FGパルスaが入力されている入力ポ
ート端子52がHighレベルであるかLowレベルで
あるかを検出する処理である。
In FIG. 2, processing 501 determines whether the interrupt edge of the FG pulse b input to the external interrupt pulse input terminal 51 is a rising edge or a falling edge. This is a process for determining whether the level is low or low. Process 502 is a process performed when it is determined in the process 501 that the external interrupt pulse input terminal 51 is at High level, that is, the interrupt edge is a rising edge, and the input port terminal 52 to which the FG pulse a is input is This is a process of detecting whether the signal is at a high level or a low level.

処理503は、前記処理501にて外部割り込みパルス
入力端子51がLowレベルすなわち割り込みエツジが
立ち下がりエツジであると判別された場合に行われる処
理で、あり、FGパルスaが入力されている入力ボート
端子52がHi g hレベルであるかLowレベルで
あるかを検出する処理である。処理504は、処理50
2にて入力ボート端子52がHighレベルであると検
出された場合、及び処理503にて入力ポート端子52
がLowレベルであると検出された場合に行われる処理
であり、出力ポート端子53をセットしHighレベル
を出力する。処理505は、処理502にて入力ポート
端子52がLowレベルであると検出された場合、及び
処理503にて入力ポート端子52がHighレベルで
あると検出された場合に行われる処理であり、出力ポー
ト端子53をクリアしLowレベルを出力する。
Process 503 is a process that is performed when it is determined in the process 501 that the external interrupt pulse input terminal 51 is at a low level, that is, the interrupt edge is a falling edge, and the input port to which the FG pulse a is input is This is a process of detecting whether the terminal 52 is at High level or Low level. Processing 504 is processing 50
If the input port terminal 52 is detected to be at a high level in step 2, and in step 503, the input port terminal 52 is detected to be at a high level.
This process is performed when it is detected that the output port terminal 53 is at a low level, and the output port terminal 53 is set to output a high level. Process 505 is a process that is performed when the input port terminal 52 is detected to be at a low level in process 502 and when the input port terminal 52 is detected to be at high level in process 503, and the output The port terminal 53 is cleared and a low level is output.

以上のように構成された本実施例のキャプスタンモータ
の回転方向検出装置について、以下その動作を説明する
The operation of the capstan motor rotation direction detection device of this embodiment configured as described above will be described below.

第1図において、キャプスタンモータ1に設けられたF
G2.FG3より各々発生されるFGパルスa+FGパ
ルスbは互いに90度位相が異なる。例えば、第6図に
示したようにキャプスタンモータ1の時計方向(以下、
CW力方向称す。)回転時には、FGパルスbに対して
FGパルスaが80度位相進み、また、キャプスタンモ
ータ1の反時計方向(以下、CCW方向と称す。)回転
11− 時には、FGパルスbに対してFGパルスaが90度位
相遅れる。すなわち、第6図から明らかなようにキャプ
スタンモータ1のCW方向回転時には、FGパルスbの
立ち上がり時、立ち下がり時におけるFGパルスaの信
号レベルは、各々Highレベルt  Lowレベルで
あり、キャプスタンモータ1のCCW方向回転時には、
FGパルスbの立ち上がり時、立ち下がり時におけるF
Gパルスaの信号レベルは、各々LowレベルrH1g
hレベルである。
In FIG. 1, the F provided in the capstan motor 1
G2. FG pulse a+FG pulse b generated from FG3 have phases different from each other by 90 degrees. For example, as shown in FIG. 6, the capstan motor 1 is rotated clockwise (hereinafter referred to as
CW force direction. ) When the capstan motor 1 rotates in a counterclockwise direction (hereinafter referred to as CCW direction), the FG pulse a has a phase advance of 80 degrees with respect to the FG pulse b. Pulse a is delayed in phase by 90 degrees. That is, as is clear from FIG. 6, when the capstan motor 1 rotates in the CW direction, the signal level of the FG pulse a at the rise and fall of the FG pulse b is respectively High level t and Low level, and the capstan motor 1 is rotated in the CW direction. When motor 1 rotates in the CCW direction,
F at the rise and fall of FG pulse b
The signal level of each G pulse a is Low level rH1g.
It is h level.

そして、マンコシ5の外部割り込みパルス入力端子51
に入力されるFGパルスbの立ち上がりエツジ及び立ち
下がりエツジの到来毎に、マイコン5により第2図のフ
ローチャートに示した外部割り込み処理が行われる。ま
ず、処理501にて、外部割り込みパルス入力端子51
に入力されるFGパルスbの割り込みエツジが立ち上が
りエツジであるかが判別される。前記処理501にてF
Gパルスbの立ち上がりエツジであると判別されると、
処理502が行われ、また、前記処理50112− にてFGパルスbの立ち下がりエツジであると判別され
ると、処理503が行われる。
And the external interrupt pulse input terminal 51 of Mankosi 5
Each time a rising edge or a falling edge of the FG pulse b input to the FG pulse b arrives, the microcomputer 5 performs the external interrupt processing shown in the flowchart of FIG. First, in process 501, the external interrupt pulse input terminal 51
It is determined whether the interrupt edge of the FG pulse b input to the FG pulse b is a rising edge. In the process 501, F
When it is determined that it is the rising edge of G pulse b,
Process 502 is performed, and if it is determined in the process 50112-- that it is the falling edge of FG pulse b, process 503 is performed.

例えば、キャプスタンモータ1のcW方向回転時にFG
パルスbの立ち上がりエツジが到来すると、前記処理5
02が行われ、FGパルスaが入力されている入力ポー
ト端子52がHighレベルであると検出されるので、
処理504が行われ、出力ポート端子53がセットされ
Highレベルが出力される。また、キャプスタンモー
タ1のCW方向回転時εεFG°パルスbの立ち下がり
エツジが到来すると、処理503が行われ、FGパルス
aが入力されている入力ポート端子52がLowレベル
であると検出されるので、処理504が行われ、出力ポ
ート端子53がセットされHighレベルが出力される
For example, when the capstan motor 1 rotates in the cW direction, the FG
When the rising edge of pulse b arrives, the process 5
02 is performed and the input port terminal 52 to which the FG pulse a is input is detected to be at a high level.
Process 504 is performed, the output port terminal 53 is set, and a high level is output. Further, when the falling edge of the εεFG° pulse b arrives when the capstan motor 1 rotates in the CW direction, processing 503 is performed, and it is detected that the input port terminal 52 to which the FG pulse a is input is at a low level. Therefore, processing 504 is performed, the output port terminal 53 is set, and a high level is output.

一方、キャプスタンモータ1のccw方向回転時にFG
パルスbの立ち上がりエツジが到来すると処理502が
行われ、FGパルスaが入力されている入力ポート端子
52がLowレベルであると検出されるから、処理50
5が行われ、出力ポート端子53がクリアされLowレ
ベルが出力される。また、キャプスタンモータ1のCC
W方向回転時にFGパルスbの立ち下がりエツジが到来
すると処理503が行われ、FGパルスaが入力されて
いる入力ポート端子52がHighレベルであると検出
されるから、処理505が行われ、用カポート端子S3
がクリアされLowレベルが出力される。
On the other hand, when the capstan motor 1 rotates in the ccw direction, the FG
When the rising edge of pulse b arrives, processing 502 is performed, and since it is detected that the input port terminal 52 to which FG pulse a is input is at a low level, processing 50 is performed.
5 is performed, the output port terminal 53 is cleared, and a low level is output. Also, the CC of capstan motor 1
When the falling edge of FG pulse b arrives during rotation in the W direction, processing 503 is performed, and since the input port terminal 52 to which FG pulse a is input is detected to be at a high level, processing 505 is performed, and the Capo terminal S3
is cleared and a low level is output.

すなわち、マイコン5の出力ポート端子53には、キャ
プスタンモータ1のCW方向回転時にはHighレベル
が、また、キャプスタンモータlのCCW方向回転時に
はLowレベルが各々出力される。
That is, a high level is output to the output port terminal 53 of the microcomputer 5 when the capstan motor 1 rotates in the CW direction, and a low level is output when the capstan motor 1 rotates in the CCW direction.

よって、本実施例のキャプスタンモータの回転方向検出
装置によれば、マイコン5の出力ポート端子53に出力
される信号が、Ht g hレベルであるかLowレベ
ルであるかにより、キャプスタンモータ1の回転方向を
検出することができる。
Therefore, according to the capstan motor rotation direction detection device of this embodiment, the capstan motor 1 is detected depending on whether the signal output to the output port terminal 53 of the microcomputer 5 is at the Ht g h level or the Low level. The direction of rotation can be detected.

そして、本実施例のキャプスタンモータの回転方向検出
装置は、キャプスタンモータ1の回転方向を、出力パル
スの位相が互いに90度変異る2個のFGのうちの一方
のFGの出力パルスであるFGパルスbの立ち上がり時
及び立ち下がり時に検出するものである。よって、キャ
プスタンモータ1の1回転中に一方のFGより得られる
FGパルスのパルス数をNとすれば、キャプスタンモー
タ1が同一方向に3E30/(2・N)度すなわち18
0/N度回転する毎に1回、キャプスタンモータ1の回
転方向が検出される。したがって、本実施例のキャプス
タンモータの回転方向検出装置によれば、ある時点でキ
ャプスタンモータ1の回転方向が変わった場合、回転方
向変化後、キャプスタンモータ1が最大180/N度回
転するまでの間に、キャプスタンモータ1の回転方向の
変わったことが検出される。
The capstan motor rotation direction detection device of this embodiment determines the rotation direction of the capstan motor 1 by the output pulse of one of the two FGs whose output pulse phases differ by 90 degrees from each other. This is to detect when the FG pulse b rises and falls. Therefore, if the number of FG pulses obtained from one FG during one rotation of the capstan motor 1 is N, then the capstan motor 1 moves 3E30/(2・N) degrees in the same direction, or 18
The rotation direction of the capstan motor 1 is detected once every 0/N degrees of rotation. Therefore, according to the capstan motor rotation direction detection device of this embodiment, if the rotation direction of the capstan motor 1 changes at a certain point in time, the capstan motor 1 rotates by a maximum of 180/N degrees after the rotation direction changes. Until then, a change in the rotational direction of the capstan motor 1 is detected.

以上のように本実施例によれば、キャプスタンモータ1
の回転方向を、出力パルスの位相が互いに90度変異る
2個のFGのうちの一方のFGの出力パルスであるFG
パルスbの立ち上がり時及び立ち下がり時す検出する構
成とすることにより、15− キャプスタンモータ1の回転方向に変化が生じてから回
転方向の変化が検出されるまでの間の回転体の最大の回
転角を180/N度とし、360/N度よりも小さくす
ることができる。
As described above, according to this embodiment, the capstan motor 1
FG, which is the output pulse of one of the two FGs whose output pulse phases differ by 90 degrees from each other.
By adopting a configuration that detects the rise and fall of pulse b, it is possible to reduce the maximum The rotation angle is 180/N degrees, which can be smaller than 360/N degrees.

第3図は、本発明の回転体の回転方向検出装置の第2の
実施例であるVTRのキャプスタンモータの回転方向検
出装置のブロック図を示すものである。
FIG. 3 is a block diagram of a device for detecting the rotational direction of a VTR capstan motor, which is a second embodiment of the device for detecting the rotational direction of a rotating body according to the present invention.

第3図において、檜成要素1. 2. 3は第1図にお
ける同一符号のものと同一のものを示す。6はワンチッ
プマイクロコンピュータ(以下、マイコン6と称す。)
であって、外部割り込みパルス入力端子61.63には
各々FG3から発生されるFGパルス(以下、FGパル
スbと称す。)。
In FIG. 3, Hinoki element 1. 2. 3 indicates the same components as those with the same reference numerals in FIG. 6 is a one-chip microcomputer (hereinafter referred to as microcomputer 6).
The external interrupt pulse input terminals 61 and 63 each receive an FG pulse (hereinafter referred to as FG pulse b) generated from FG3.

FG2から発生されるFGパルス(以下、FGパルスa
と称す。)が入力されており、入力ポート端子E32,
64には各々FGパルスa、FQパルスbが入力されて
いる。ここで、マイコン6は、外部割り込みパルス入力
端子61に入力されるパルスの立ち上がりエツジ、立ち
下がりエツジの両16− エツジにて割り込みがかけられるように用いるものとし
、マイコン6は、外部割り込みパルス入力端子61に入
力されるFGパルスbの立ち上がりエツジ及び立ち下が
りエツジにて割り込みがかけられ、キャプスタンモータ
1の回転方向を検出するための外部割り込み処理を行う
。また、マイコン6は、外部割り込みパルス入力端子6
3に入力されるパルスの立ち上がりエツジ、立ち下がり
エツジの両エツジにても割り込みがかけられるように用
いるものとし、マイコン6は外部割り込みパルス入力端
子63に入力されるFGパルスaの立ち上がりエツジ及
び立ち下がりエツジにても割り込みがかけられ、キャプ
スタンモータ1の回転方向を検出するための外部割り込
み処理を行う。
FG pulse generated from FG2 (hereinafter referred to as FG pulse a)
It is called. ) is input, and input port terminal E32,
FG pulse a and FQ pulse b are input to 64, respectively. Here, the microcomputer 6 is used so that an interrupt is generated at both the rising edge and the falling edge of the pulse input to the external interrupt pulse input terminal 61. An interrupt is generated at the rising edge and falling edge of the FG pulse b input to the terminal 61, and external interrupt processing for detecting the rotational direction of the capstan motor 1 is performed. The microcomputer 6 also has an external interrupt pulse input terminal 6.
The microcomputer 6 uses the rising edge and the falling edge of the FG pulse a input to the external interrupt pulse input terminal 63 so that an interrupt can be applied to both the rising edge and the falling edge of the pulse input to the external interrupt pulse input terminal 63. An interrupt is also generated at the falling edge, and external interrupt processing for detecting the rotational direction of the capstan motor 1 is performed.

第4図は、FGパルスbの立ち上がりエツジ及び立ち下
がりエツジ到来毎にマイコン6にて行われる外部割り込
み処理の処理手順を示すフローチャートである。
FIG. 4 is a flowchart showing the processing procedure of external interrupt processing performed by the microcomputer 6 each time the rising edge and falling edge of the FG pulse b arrive.

第4図において、処理601は、外部割り込みパルス入
力端子61に入力されるFGパルスbの割り込みエツジ
が立ち上がりエツジであるか立ち下がりエツジであるか
を、外部割り込みパルス入力端子61がHighレベル
であるかLowレベルであるかにより判別する処理であ
る。処理602は、処理601にて外部割り込みパルス
入力端子61がHighレベルすなわち割り込みエツジ
が立ち上がりエツジであると判別された場合に行われる
処理であり、FGパルスaが入力されている入力ポート
端子62がHighレベルであるかLowレベルである
かを検出する処理である。処理603は、処理601に
て外部割り込みパルス入力端子61がLowレベルすな
わち割り込みエツジが立ち下がりエツジであると判別さ
れた場合に行われる処理であり、FGパルスaが入力さ
れている入力ボート端子62がHighレベルであるか
Lowレベルであるかを検出する処理である。
In FIG. 4, processing 601 determines whether the interrupt edge of the FG pulse b input to the external interrupt pulse input terminal 61 is a rising edge or a falling edge. This is a process for determining whether the level is low or low. Process 602 is a process performed when it is determined in process 601 that the external interrupt pulse input terminal 61 is at High level, that is, the interrupt edge is a rising edge, and the input port terminal 62 to which the FG pulse a is input is This is a process of detecting whether the level is High level or Low level. Process 603 is a process performed when it is determined in process 601 that the external interrupt pulse input terminal 61 is at a low level, that is, the interrupt edge is a falling edge, and the input port terminal 62 to which the FG pulse a is input is processed. This is a process of detecting whether the signal is at a high level or a low level.

処理604は、処理602にて入力ポート端子62がH
ighレベルであると検出された場合、及び処理603
にて入力ポート端子62がLowレベルであると検出さ
れた場合に行われる処理であリ、出力ポート端子65を
セットしHighレベルを出力する。処理605は、処
理602にて入力ボート端子62が50wレベルである
と検出された場合、及び処理603にて入力ボート端子
62がHighレベルであると検出された場合に行われ
る処理であり、出方ポート端子65をクリアし50wレ
ベルを出力する。
In the process 604, the input port terminal 62 is set to H in the process 602.
If it is detected that the level is high, and processing 603
This process is performed when the input port terminal 62 is detected to be at a low level, and the output port terminal 65 is set to output a high level. Process 605 is a process that is performed when the input port terminal 62 is detected to be at the 50W level in process 602 and when the input port terminal 62 is detected to be at the High level in process 603. Clears the side port terminal 65 and outputs the 50W level.

第5図は、FGパルスaの立ち上がりエツジ及び立ち下
がりエツジ到来毎にマイコン6にて行われる外部割り込
み処理の処理手順を示すフローチャートである。
FIG. 5 is a flowchart showing the procedure of external interrupt processing performed by the microcomputer 6 each time the rising edge and falling edge of the FG pulse a arrive.

第5図において、処理606は、外部割り込みパルス入
力端子63に入力されるFGパルスaの割り込みエツジ
が立ち上がりエツジであるか立ち下がりエツジであるか
を、外部割り込みパルス入力端子63がHighレベル
であるか50wレベルであるかにより判別する処理であ
る。処理607は、処理606にて外部割り込みパルス
入力端子63がHighレベルすなわち割り込みエツジ
が立ち上がりエツジであると判別された場合に行19− われる処理であり、FGパルスbが入力されている入力
ポート端子64がHighレベルであるか50wレベル
であるかを検出する処理である。処理608は、処理6
06にて外部割り込みパルス入力端子63が50wレベ
ルすなわち割り込みエツジが立ち下がりエツジであると
判別された場合に行われる処理であり、FGパルスbが
入力されている入力ボート端子64がHighレベルで
あるか50wレベルであるかを検出する処理である。
In FIG. 5, processing 606 determines whether the interrupt edge of the FG pulse a input to the external interrupt pulse input terminal 63 is a rising edge or a falling edge. This is a process for determining whether the power is at the 50W level or the 50W level. Processing 607 is performed when it is determined in processing 606 that the external interrupt pulse input terminal 63 is at High level, that is, the interrupt edge is a rising edge. This process detects whether 64 is at High level or 50W level. Processing 608 is processing 6
This process is performed when it is determined that the external interrupt pulse input terminal 63 is at the 50W level, that is, the interrupt edge is a falling edge in 06, and the input port terminal 64 to which the FG pulse b is input is at a high level. This is a process of detecting whether the power is at the 50w level or not.

処理609は、処理607にて入力ボート端子64がH
ighレベルであると検出された場合、及び処理608
にて入力ボート端子64が50wレベルであると検出さ
れた場合に行われる処理であり、出力ポート端子65を
クリアし50wレベルを出力する。処理610は、処理
607にて入力ボート端子64が50wレベルであると
検出された場合、及び処理608にて入力ボート端子6
4がHighレベルであると検出された場合に行われる
処理であり、出力ポート端子65をセットし)(igh
レベルを出力する。
In the process 609, the input port terminal 64 is set to H in the process 607.
If it is detected that the level is high, and processing 608
This process is performed when the input port terminal 64 is detected to be at the 50W level, and the output port terminal 65 is cleared and the 50W level is output. Processing 610 is performed when it is detected that the input port terminal 64 is at the 50W level in processing 607, and when it is detected that the input port terminal 64 is at the 50W level in processing 608.
4 is detected to be at High level, and the output port terminal 65 is set to
Output the level.

20− 以上のように構成された本実施例のキャプスタンモータ
の回転方向検出装置について、以下その動作を説明する
20- The operation of the capstan motor rotation direction detection device of this embodiment configured as described above will be described below.

第3図において、キャプスタンモータ1に設けられたF
G2.FG3より各々発生されるFGパルスa+FGパ
ルスbは互いに90度位相が異なり、第6図に示したよ
うに、例えば、キャプスタンモータ1のCW方向回転時
には、FGパルスbに対してFGパルスaが90度位相
進み、キャプスタンモータ1のCCW方向回転時には、
FGパルスbに対してFGパルスaが90度位相遅れる
In FIG. 3, the F provided in the capstan motor 1
G2. FG pulse a+FG pulse b generated from FG3 have a phase difference of 90 degrees from each other, and as shown in FIG. 6, for example, when the capstan motor 1 rotates in the CW direction, FG pulse a is different from FG pulse b. When the phase advances by 90 degrees and the capstan motor 1 rotates in the CCW direction,
FG pulse a is delayed in phase by 90 degrees with respect to FG pulse b.

すなわち、第6図から明らかなように、キャプスタンモ
ータr’icw方向回転時には、FGパルスbの立ち上
がり時、立ち下がり時におけるFGパルスaの信号レベ
ルは、各々Highレベル、LOWレベルであり、FG
パルスaの立ち」―かり時。
That is, as is clear from FIG. 6, when the capstan motor rotates in the r'icw direction, the signal levels of the FG pulse a at the rise and fall of the FG pulse b are High level and LOW level, respectively.
When the pulse a rises.

立ち下がり時におけるFGパルスbの信号レベルハ、各
々50wレベル、Highレベルである。
The signal levels of the FG pulse b at the time of falling are respectively 50W level and High level.

また、キャプスタンモータ1のCCW方向回転時には、
FGパルスbの立ち上がり時、立ち下がり時ニオけるF
Gパルスaの信号レベルは、各々LOwレベル、Hig
hレベルであり、l?Gzfルスaの立ち上がり時、立
ち下がり時におけるFGパルスbの信号レベルは、各々
Highレベル、50wレベルである。
Also, when the capstan motor 1 rotates in the CCW direction,
F that smells at the rise and fall of FG pulse b
The signal levels of G pulse a are LOW level and HIGH level, respectively.
h level and l? The signal levels of the FG pulse b at the rise and fall of the Gzf pulse a are High level and 50W level, respectively.

そして、マイコン6の外部割り込みパルス入力端子61
に入力されるFGパルスbの立ち」二がりエツジ及び立
ち下がりエツジの到来毎に、マイコン6により第4図の
フローチャートに示した外部割り込み処理が行われる。
Then, the external interrupt pulse input terminal 61 of the microcomputer 6
Each time a rising edge or a falling edge of the FG pulse b input to the FG pulse b arrives, the microcomputer 6 performs the external interrupt processing shown in the flowchart of FIG.

まず、処理601にて、外部割り込みパルス入力端子6
1に入力されるFGパルスbの割り込みエツジが立ち上
がり工1.ジであるかが判別される。処理601にてF
Gパルスbの立ち上がりエツジであると判別されると、
処理602が行われ、また、処理601にてFGパルス
bの立ち下がりエツジであると判別されると処理603
が行われる。
First, in process 601, the external interrupt pulse input terminal 6
When the interrupt edge of FG pulse b input to 1. It is determined whether the F in process 601
When it is determined that it is the rising edge of G pulse b,
Process 602 is performed, and if it is determined in process 601 that it is a falling edge of FG pulse b, process 603 is performed.
will be held.

例えば、キャプスタンモータ1のCW方向回転時にFG
パルスbの立ち」二がりエツジが到来すると処理602
が行われ、FGパルスaが入力されている入力ポート端
子62がHighレベルであると検出されるから、処理
604が行われ、出力ポート端子65がセットされHi
ghレベルが出力される。また、キャプスタンモータ1
のCW方向回転時にFGパルスbの立ち下がりエツジが
到来すると、処理603が行われ、FGパルスaが入力
されている入力ポート端子62がLowレベルであると
検出されるので、処理604が行われ、用カポート端子
65がセットされHighレベルが出力される。
For example, when the capstan motor 1 rotates in the CW direction, the FG
When the rising edge of pulse b arrives, process 602
is performed, and the input port terminal 62 to which the FG pulse a is input is detected to be at High level, so the process 604 is performed and the output port terminal 65 is set to High level.
gh level is output. Also, capstan motor 1
When the falling edge of FG pulse b arrives during rotation in the CW direction, processing 603 is performed, and since the input port terminal 62 to which FG pulse a is input is detected to be at a low level, processing 604 is performed. , the port terminal 65 is set and a high level is output.

一方、キャプスタンモータ1のCCW方向回転時にFG
パルスbの立ち上がりエツジが到来すると、処理602
が行われ、FGパルスaが入力されている入力ボート端
子62がLowレベルであると検出されるから、処理6
05が行われ、出力ポート端子65がクリアされLow
レベルが出力される。また、キャプスタンモータ1のC
CW方向回転時にFGパルスbの立ち下がりエツジが到
来すると、処理603が行われ、FGパルスaが入力さ
れている入力ポート端子62がHighレ23− ベルであると検出されるので、処理605が行われ、出
力ポート端子65がクリアされLowレベルが出力され
る。
On the other hand, when the capstan motor 1 rotates in the CCW direction, the FG
When the rising edge of pulse b arrives, process 602
is performed, and it is detected that the input port terminal 62 to which the FG pulse a is input is at a low level, so the process 6
05 is performed, the output port terminal 65 is cleared and becomes Low.
The level will be output. Also, C of capstan motor 1
When the falling edge of FG pulse b arrives during rotation in the CW direction, processing 603 is performed, and it is detected that the input port terminal 62 to which FG pulse a is input is at the High level, so processing 605 is performed. The output port terminal 65 is cleared and a low level is output.

また、マイコン6の外部割り込みパルス入力端子63に
入力されるFGパルスaの立ち上がりエツジ及び立ち下
がりエツジの到来毎に、マイコン6により第5図のフロ
ーチャニドに示した外部割り込み処理が行われる。まず
、処理606にて、外部割り込みパルス入力端子63に
入力されるFGパルスaの割り込みエツジが立ち上がり
エツジであるかが判別される。処理606にてFGパル
スaの立ち上がりエツジであると判別されると、処理6
07が行われ、また、処理606にてFGパルスaの立
ち下がりエツジであると判別されると処理608が行わ
れる。
Further, each time the rising edge and falling edge of the FG pulse a input to the external interrupt pulse input terminal 63 of the microcomputer 6 arrive, the microcomputer 6 performs the external interrupt process shown in the flowchart of FIG. First, in process 606, it is determined whether the interrupt edge of the FG pulse a input to the external interrupt pulse input terminal 63 is a rising edge. If it is determined in process 606 that this is the rising edge of FG pulse a, process 6
07 is performed, and if it is determined in process 606 that it is the falling edge of FG pulse a, process 608 is performed.

例えば、キャプスタンモータ1のCW方向回転時にFG
パルスaの立ち上がりエツジが到来すると処理607が
行われ、FGパルスbが入力されている入力ポート端子
64がLowレベルであると検出されるから、処理61
0が行われ、出カポ24− −ト端子65がセットされHighレベルが出力される
。また、キャプスタンモータ↓のCW方向回転時にFG
パルスaの立ち下がりエツジが到来すると処理608が
行われ、FGパルスbが入力されている入力ボート端子
64がHighレベルであると検出されるから、処理6
10が行われ、出力ポート端子65がセットされHig
hレベルが出力される。
For example, when the capstan motor 1 rotates in the CW direction, the FG
When the rising edge of pulse a arrives, processing 607 is performed, and since the input port terminal 64 to which FG pulse b is input is detected to be at a low level, processing 61 is performed.
0 is performed, the output terminal 65 is set, and a high level is output. Also, when the capstan motor ↓ rotates in the CW direction, the FG
When the falling edge of pulse a arrives, process 608 is performed, and since the input port terminal 64 to which FG pulse b is input is detected to be at a high level, process 6 is performed.
10 is performed, and the output port terminal 65 is set to High.
h level is output.

一方、キャプスタンモータ1のCCW方向回転時にFG
パルスaの立ち上がりエツジが到来すると処理607が
行われ、FGパルスbが入力されている入力ボート端子
64がHighレベルであると検出されるから、処理6
09が行われ、出力ポート端子65が久リアされLow
レベルが出力される。また、キャプスタンモータ1のC
CW方向方向暗転時Gパルスaの立ち下がりエツジが到
来すると処理608が行われ、FGパルスbが入力され
ている入力ポート端子64がLowレベルであると検出
されるから、処理609が行われ、出力ポート端子65
がクリアされLowレベルが出力される。
On the other hand, when the capstan motor 1 rotates in the CCW direction, the FG
When the rising edge of pulse a arrives, process 607 is performed, and since the input port terminal 64 to which FG pulse b is input is detected to be at a high level, process 6 is performed.
09 is carried out, and the output port terminal 65 is cleared for a while and becomes Low.
The level will be output. Also, C of capstan motor 1
When the falling edge of the G pulse a arrives at the time of darkening in the CW direction, processing 608 is performed, and since the input port terminal 64 to which the FG pulse b is input is detected to be at a low level, processing 609 is performed, Output port terminal 65
is cleared and a low level is output.

すなわち、マイコン6の出力ポート端子65には、キャ
プスタンモータ1のCW方向回転時にはHighレベル
が、また、キャプスタンモータ1のCCW方向回転時に
はLowレベルが各々出力される。
That is, a high level is output to the output port terminal 65 of the microcomputer 6 when the capstan motor 1 rotates in the CW direction, and a low level is output when the capstan motor 1 rotates in the CCW direction.

よって、本実施例のキャプスタンモータの回転方向検出
装置によれば、マイコン6の出力ポート端子65に出力
される信号が、HighレベルであるかLowレベルで
あるかにより、キャプスタンモータ1の回転方向を検出
することができる。
Therefore, according to the capstan motor rotation direction detection device of this embodiment, the rotation of the capstan motor 1 is determined depending on whether the signal output to the output port terminal 65 of the microcomputer 6 is at High level or Low level. Direction can be detected.

そして、本実施例のキャプスタンモータの回転方向検出
装置は、キャプスタンモータ1の回転方向を、出力パル
スの位相が互いに90度変異る2個のFGのうちの一方
のFGの出力パルスであるFGパルスbの立ち上がり時
及び立ち下がり時、及びもう一方のFGの出力パルスで
あるFGパルスaの立ち上がり時及び立ち下がり時に検
出するものである。よって、キャプスタンモータ1の1
回転中に一方のFGより得られるFGパルスのパルス数
をNとすれば、キャプスタンモータ1が同一方向に36
0/(4・N)度すなわち90/N度回転する毎に1回
、キャプスタンモータ1の回転方向が検出される。した
がって、本実施例のキャプスタンモータの回転方向検出
装置によれば、ある時点でキャプスタンモータ1の回転
方向が変わった場合、回転方向変化後、キャプスタンモ
ータ1が最大907N度回転するまでの間に、キャプス
タンモータ1の回転方向の変わったことが検出される。
The capstan motor rotation direction detection device of this embodiment determines the rotation direction of the capstan motor 1 by the output pulse of one of the two FGs whose output pulse phases differ by 90 degrees from each other. Detection is performed when the FG pulse b rises and falls, and when the FG pulse a, which is the output pulse of the other FG, rises and falls. Therefore, 1 of capstan motor 1
If the number of FG pulses obtained from one FG during rotation is N, then the capstan motor 1 moves 36 times in the same direction.
The rotational direction of the capstan motor 1 is detected once every time it rotates by 0/(4·N) degrees, that is, 90/N degrees. Therefore, according to the capstan motor rotation direction detection device of this embodiment, if the rotation direction of the capstan motor 1 changes at a certain point, the capstan motor 1 will rotate up to 907 N degrees after the rotation direction change. During this time, a change in the rotational direction of the capstan motor 1 is detected.

以上のように、本実施例によれば、キャプスタンモータ
1の回転方向を、出力パルスの位相が互いに90度変異
る2個のFGのうちの一方のFGの出力パルスであるF
Gパルスbの立ち上がり時及び立ち下がり時、及びもう
一方のFGの出力パルスであるFGパルスaの立ち上が
り時及び立ち下がり時に検出する構成とすることにより
、キャプスタンモータ1の回転方向に変化が生じてから
、回転方向の変化が検出されるまでの間の、回転体の最
大の回転角を90/N度とし、360/N度27− よりも小さくすることができる。
As described above, according to this embodiment, the rotation direction of the capstan motor 1 is determined by the output pulse of one of the two FGs whose output pulse phases differ by 90 degrees from each other.
By adopting a configuration in which detection is performed at the rise and fall of the G pulse b and at the rise and fall of the FG pulse a, which is the output pulse of the other FG, a change occurs in the rotation direction of the capstan motor 1. The maximum rotation angle of the rotating body from the time when a change in the rotational direction is detected is 90/N degrees, which can be smaller than 360/N degrees 27-.

なお、第1.第2の実施例においては、回転方向の被検
出対象回転体はVTRのキャプスタンモータとしたが、
特にVTRのキャプスタンモータに限ることはない。
In addition, 1. In the second embodiment, the rotating body to be detected in the rotational direction is a capstan motor of a VTR; however,
In particular, it is not limited to the capstan motor of a VTR.

また、第1.第2の実施例においては、FG2゜FG3
からは互いに90度位相の異なるFGパルスが得られる
ように構成されるとしたが、’FG2゜FG3からは互
いに位相の異なるFGパルスが得られるような構成のも
のであればよい。
Also, 1st. In the second embodiment, FG2°FG3
Although it is assumed that the configuration is such that FG pulses having phases different from each other by 90 degrees are obtained from 'FG2°FG3, any configuration may be used as long as it is possible to obtain FG pulses having mutually different phases from 'FG2°FG3.

また、第1.第2の実施例においては、マイコンを用い
る構成としたが、フリップフロップ回路、論理回路等を
用いる構成も可能である。
Also, 1st. In the second embodiment, a configuration using a microcomputer is used, but a configuration using a flip-flop circuit, a logic circuit, etc. is also possible.

また、第1の周波数パルス信号発生手段と、第2の周波
数パルス信号発生手段とを備え、且つ、第1〜第4の回
転方向検出手段のうちの少なくとも2つの回転方向検出
手段を備えた構成とすれば、回転体の回転方向に変化が
生じてから、回転方向の変化が検出されるまでの間の、
回転体の最大の回転角を360/N度よりも小さくする
ことがで一28= きる。
Further, the configuration includes a first frequency pulse signal generation means, a second frequency pulse signal generation means, and at least two rotational direction detection means among the first to fourth rotational direction detection means. Then, the period from when a change occurs in the rotational direction of the rotating body until the change in the rotational direction is detected is:
It is possible to make the maximum rotation angle of the rotating body smaller than 360/N degrees.

発明の詳細 な説明したように、本発明によれば、出力パルス信号の
位相が互いに異なる2個の周波数パルス信号発生手段が
少なくとも設けられている回転体の回転方向を検出する
に際し、2個の信号周波数パルス信号発生手段のうちの
一方の周波数パルス信号発生手段より回転体の1回転中
に得られるパルス数をNとしたとき、回転体の回転方向
に変化が生じてから、回転方向の変化が検出されるまで
の間の、回転体の最大の回転角を360/N度よりも小
さくすることができる。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, when detecting the rotational direction of a rotating body in which at least two frequency pulse signal generation means are provided, the phases of the output pulse signals differing from each other, When the number of pulses obtained during one rotation of the rotating body by one of the frequency pulse signal generating means of the signal frequency pulse signal generating means is N, the rotation direction of the rotating body changes after a change occurs. The maximum rotation angle of the rotating body until the rotation angle is detected can be made smaller than 360/N degrees.

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

第1図は本発明の回転体の回転方向検出装置の第1の実
施例であるVTRのキャプスタンモータの回転方向検出
装置を示すブロック図、第2図は同実施例における外部
割り込み処理の処理手順を示すフローチャート、第3図
は本発明の回転体の回転方向検出装置の第2の実施例で
あるVTRのキャプスタンモータの回転方向検出装置の
ブロック図、第4図及び第5図は同実施例における外部
割り込み処理の処理手順を示すフローチャー1・、第6
図は出力パルスの位相が互いに90度変異る2個の周波
数パルス発生器の出力パルス波形を示すタイムチャート
、第7図は従来の回転体の回転方向検出装置の例を示す
ブロック図である。 1・・・キャプスタンモータ、2,3・・・周波数/寸
ルス発生器、−’5.  E3・・・ワンチップマイク
ロコンピュータ。
FIG. 1 is a block diagram showing a rotational direction detection device for a capstan motor of a VTR, which is a first embodiment of the rotational direction detection device for a rotating body of the present invention, and FIG. 2 is a process for external interrupt processing in the same embodiment. A flowchart showing the procedure, FIG. 3 is a block diagram of a VTR capstan motor rotation direction detection device which is a second embodiment of the rotation direction detection device for a rotating body of the present invention, and FIGS. 4 and 5 are the same. Flowcharts 1 and 6 showing the processing procedure of external interrupt processing in the embodiment
The figure is a time chart showing the output pulse waveforms of two frequency pulse generators whose output pulse phases differ from each other by 90 degrees, and FIG. 7 is a block diagram showing an example of a conventional rotational direction detection device for a rotating body. 1... Capstan motor, 2, 3... Frequency/dimension pulse generator, -'5. E3...One-chip microcomputer.

Claims (1)

【特許請求の範囲】[Claims] (1)回転体の回転速度に応じた周波数の第1の周波数
パルス信号を発生する第1の周波数パルス信号発生手段
と、前記回転体の回転速度に応じた周波数で前記第1の
周波数パルス信号と位相の異なる第2の周波数パルス信
号を発生する第2の周波数パルス信号発生手段とを備え
、且つ、前記第1の周波数パルス信号の立ち上がり時に
前記第2の周波数パルス信号の信号レベルを判別するこ
とにより前記回転体の回転方向を検出する回転方向検出
手段を第1の回転方向検出手段とし、前記第1の周波数
パルス信号の立ち下がり時に前記第2の周波数パルス信
号の信号レベルを判別することにより前記回転体の回転
方向を検出する回転方向検出手段を第2の回転方向検出
手段とし、前記第2の周波数パルス信号の立ち上がり時
に前記第1の周波数パルス信号の信号レベルを判別する
ことにより前記回転体の回転方向を検出する回転方向検
出手段を第3の回転方向検出手段とし、前記第2の周波
数パルス信号の立ち下がり時に前記第1の周波数パルス
信号の信号レベルを判別することにより前記回転体の回
転方向を検出する回転方向検出手段を第4の回転方向検
出手段としたとき、前記第1、第2、第3または第4の
回転方向検出手段のうちの少なくとも2つの回転方向検
出手段を備えたことを特徴とする回転体の回転方向検出
装置。
(1) a first frequency pulse signal generating means for generating a first frequency pulse signal with a frequency corresponding to the rotational speed of the rotating body; and a first frequency pulse signal generating means with a frequency corresponding to the rotational speed of the rotating body; and second frequency pulse signal generating means for generating a second frequency pulse signal having a different phase, and determining the signal level of the second frequency pulse signal at the rise of the first frequency pulse signal. The rotational direction detection means for detecting the rotational direction of the rotating body is a first rotational direction detection means, and the signal level of the second frequency pulse signal is determined at the falling edge of the first frequency pulse signal. The rotational direction detection means for detecting the rotational direction of the rotating body is used as a second rotational direction detection means, and the signal level of the first frequency pulse signal is determined at the rising edge of the second frequency pulse signal. A rotation direction detection means for detecting the rotation direction of the rotating body is used as a third rotation direction detection means, and the rotation direction is determined by determining the signal level of the first frequency pulse signal at the falling edge of the second frequency pulse signal. When the rotational direction detection means for detecting the rotational direction of the body is the fourth rotational direction detection means, at least two of the first, second, third, or fourth rotational direction detection means; A rotational direction detection device for a rotating body, comprising:
JP1246802A 1989-09-22 1989-09-22 Rotary direction detector for rotary body Pending JPH03112388A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1246802A JPH03112388A (en) 1989-09-22 1989-09-22 Rotary direction detector for rotary body

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1246802A JPH03112388A (en) 1989-09-22 1989-09-22 Rotary direction detector for rotary body

Publications (1)

Publication Number Publication Date
JPH03112388A true JPH03112388A (en) 1991-05-13

Family

ID=17153901

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1246802A Pending JPH03112388A (en) 1989-09-22 1989-09-22 Rotary direction detector for rotary body

Country Status (1)

Country Link
JP (1) JPH03112388A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007290188A (en) * 2006-04-24 2007-11-08 Shachihata Inc Seal
JP2008080619A (en) * 2006-09-27 2008-04-10 Shachihata Inc Stamping seal having cap

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007290188A (en) * 2006-04-24 2007-11-08 Shachihata Inc Seal
JP2008080619A (en) * 2006-09-27 2008-04-10 Shachihata Inc Stamping seal having cap

Similar Documents

Publication Publication Date Title
JPH0534105A (en) Multiple-rotation absolute-value encoder
JPH0447765B2 (en)
JPH03112388A (en) Rotary direction detector for rotary body
KR0135972B1 (en) Digital servo system for controlling rotational speed of rotary body
JPH07229910A (en) Pulse counter circuit
JP3423789B2 (en) Rotation direction detector
JPS6218988A (en) Speed controller for motor
JPS601566A (en) Speed detector
JPH10281809A (en) Position sensor and motor controller
JP3352834B2 (en) Rotary position detection circuit of brushless motor
JPS61207967A (en) Speed control device for motor
JP2902824B2 (en) Rotation direction detector
JPH0255801B2 (en)
JP3195801B2 (en) Digital counter device
JPH0560571A (en) Method for detecting abnormality of encoder
JPH0543414Y2 (en)
JPS60223490A (en) Rotary drive device
JPH0767082B2 (en) Frequency divider
JPH01101415A (en) Counting device for pulse encoder
JPS61763A (en) Direction of rotation detector
JPS60261380A (en) Rotating speed detector
JPH0797004B2 (en) Absolute position detector
JPS6292280A (en) Magnetic disc device
JPS62235573A (en) Rotation detector
JPH0583869B2 (en)