JP2923970B2 - Motor control circuit - Google Patents

Motor control circuit

Info

Publication number
JP2923970B2
JP2923970B2 JP1095728A JP9572889A JP2923970B2 JP 2923970 B2 JP2923970 B2 JP 2923970B2 JP 1095728 A JP1095728 A JP 1095728A JP 9572889 A JP9572889 A JP 9572889A JP 2923970 B2 JP2923970 B2 JP 2923970B2
Authority
JP
Japan
Prior art keywords
output
signal
counter
circuit
speed
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 - Fee Related
Application number
JP1095728A
Other languages
Japanese (ja)
Other versions
JPH02273088A (en
Inventor
智寛 井上
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 JP1095728A priority Critical patent/JP2923970B2/en
Publication of JPH02273088A publication Critical patent/JPH02273088A/en
Application granted granted Critical
Publication of JP2923970B2 publication Critical patent/JP2923970B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明はモータ制御回路に関し、特に基準クロックを
カウントしかつ設定カウント値に達するとそのカウント
アップ出力によってリセットされるカウンタを、モータ
の回転に応じて出力される回転パルス(以下、FGパル
ス)に応答するトリガパルスによってカウントし、その
カウンタの状態とFGパルスに応じてファースト信号また
はスロー信号を出力するようにした、いわゆる「速度デ
ィスクリ」方式のモータ制御回路に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control circuit, and more particularly to a motor control circuit which counts a reference clock and resets a counter which is reset by a count-up output when a set count value is reached, according to the rotation of the motor. A so-called "speed discrimination" system that counts with a trigger pulse responding to the output rotation pulse (hereinafter, FG pulse) and outputs a fast signal or a slow signal according to the state of the counter and the FG pulse. The present invention relates to a motor control circuit.

従来の技術 近年、この種の速度ディスクリ方式のモータ制御回路
の一例は、たとえば、日立製作所製の集積回路「HA1344
0MP」等として知られている。このICは、よく知られて
いるように、外付部品として水晶発振子、抵抗及びコン
デンサを接続するだけで、3相ブラシレスDCモータが制
御できる。
2. Description of the Related Art In recent years, an example of this kind of speed discrimination type motor control circuit is, for example, an integrated circuit "HA1344" manufactured by Hitachi, Ltd.
0MP ”or the like. As is well known, this IC can control a three-phase brushless DC motor simply by connecting a crystal oscillator, a resistor and a capacitor as external components.

第5図は、この従来技術の速度検知回路を示すブロッ
ク図で、1は1/2分周器、2はトリガパルス発生器、3
はRSフリップフロップ、3a、3bはNANDゲート、4はカウ
ンタ、5はディスクリ出力回路である。1/2分周器1
は、図示してないDCモータの回転に応じて出力されるFG
パルスが入力され、1/2分周された1/2FG信号と1/2分周
信号の反転出力である1/2FGB信号を出力するものであ
り、この1/2FG信号の非反転出力及び反転出力はともに
ディスクリ出力回路5に入力され、非反転出力はトリガ
パルス発生器2によって、その立ち上がり応答して、ロ
ーレベルとなるトリガパルスが出力される。このトリガ
パルスは、RSフリップフロップ(以下、「RS−FF」)3
のセット入力として与えられ、このRS−FF3のリセット
入力は、カウンタ4のカウントアップ信号が与えられ
る。RS−FF3の非反転出力及び反転出力はともにディス
クリ出力回路5に入力され、カウンタ4はRS−FF3の反
転出力であるカウンタリセット信号が入力され、この反
転出力は、トリガパルスによりローレベルとなりカウン
タが動作し、基準のカウント数に達するとリセットパル
スを出力し、前記RS−FF3の反転出力がハイレベルとな
り、カウンタをリセットし次のトリガパルスを待つ待機
状態となる動作をする。ディスクリ出力回路5は、1/2
分周器1の出力である1/2FG信号、1/2FGB信号及びRS−F
F3の非反転出力であるカウント信号と反転出力であるカ
ウンタリセット信号が入力され、それぞれの時間幅に応
じてモータの回転数が速い場合ファースト信号を出力
し、遅い場合スロー信号を出力する。
FIG. 5 is a block diagram showing the speed detection circuit of the prior art, wherein 1 is a 1/2 frequency divider, 2 is a trigger pulse generator, 3
Is an RS flip-flop, 3a and 3b are NAND gates, 4 is a counter, and 5 is a discrete output circuit. 1/2 frequency divider 1
Is the FG output according to the rotation of the DC motor (not shown).
A pulse is input and a 1 / 2FG signal that has been frequency-divided by 1/2 and a 1 / 2FGB signal that is the inverted output of the 1/2 frequency-divided signal are output. Both outputs are input to the discrimination output circuit 5, and the non-inverted output is output by the trigger pulse generator 2 in response to its rising edge, and a trigger pulse which becomes low level is output. This trigger pulse is transmitted to an RS flip-flop (hereinafter, “RS-FF”) 3
The reset input of RS-FF3 receives the count-up signal of the counter 4. Both the non-inverted output and the inverted output of RS-FF3 are input to the discrimination output circuit 5, and the counter 4 receives the counter reset signal which is the inverted output of RS-FF3, and the inverted output becomes low level by the trigger pulse. When the counter operates and reaches a reference count number, a reset pulse is output, and the inverted output of the RS-FF3 goes high, resetting the counter and entering a standby state waiting for the next trigger pulse. Discrete output circuit 5
1 / 2FG signal, 1 / 2FGB signal and RS-F which are the outputs of frequency divider 1
A count signal, which is a non-inverted output of F3, and a counter reset signal, which is an inverted output, are input, and a fast signal is output when the motor rotation speed is fast and a slow signal is output when the motor speed is slow according to the respective time widths.

第5図の従来例では、モータ(図示せず)が基準速度
で回転している場合には、第6図(a)に示すように1/
2FG信号とカウンタリセット信号は、互いに逆になる。
従ってディスクリ出力回路5からは、基準速度以上で回
転していることを表すファースト信号も、基準速度以下
で回転していることを表すスロー信号も出力されず、モ
ータの回転はそのときの回転にロックされる。
In the conventional example of FIG. 5, when a motor (not shown) is rotating at a reference speed, as shown in FIG.
The 2FG signal and the counter reset signal are opposite to each other.
Therefore, the discrimination output circuit 5 does not output a fast signal indicating that the motor is rotating at a speed higher than the reference speed or a slow signal indicating that the motor is rotating at a speed lower than the reference speed. Locked to.

発明が解決しようとする課題 しかしながら上記のような構成では、何らかの原因
で、モータの回転数が基準速度の2倍になった場合に
は、第6図(b)に示すように、カウンタ4のカウント
値が「2048」に達するまでの期間に2つのFGパルスが入
力される。そうすると、第6図(b)においておよび
で示すように、トリガパルスとリセットパルスが重な
るタイミングが出現する。一方、ディスクリ出力回路5
は、1/2FG信号とカウンタリセット信号がともにハイレ
ベルの期間だけスロー信号を出力する。従って、第6図
(b)に示す倍速回転状態では、ディスクリ出力回路5
からは、ファースト信号とスロー信号とが互いに一定時
間ごとに出力される。この状態では、ファースト信号と
スロー信号とが互いに相殺されてしまい、結果的に基準
速度の時と同じように、ロックされた状態になる。
Problems to be Solved by the Invention However, in the above configuration, if the rotation speed of the motor becomes twice the reference speed for some reason, as shown in FIG. Two FG pulses are input during a period until the count value reaches “2048”. Then, as shown by and in FIG. 6B, a timing at which the trigger pulse and the reset pulse overlap appears. On the other hand, the discrete output circuit 5
Outputs a slow signal only while both the 1 / 2FG signal and the counter reset signal are at a high level. Therefore, in the double speed rotation state shown in FIG.
After that, the fast signal and the slow signal are mutually output at regular intervals. In this state, the fast signal and the slow signal are canceled each other, and as a result, the locked state is obtained as in the case of the reference speed.

このような「倍速ロック」の現象は、基準速度の3倍
以上でも同じように生じる。
Such a phenomenon of “double speed lock” similarly occurs even when the reference speed is three times or more.

このような「倍速ロック」が生じると、モータはもは
や基準ないし定格速度に収束しなくなる。従って、従来
技術では、「倍速ロック」状態を検知するための付荷回
路を設け、それによって制御を一旦解除し、再起動し直
すなどの複雑な制御を行う必要があった。
When such "double speed lock" occurs, the motor no longer converges to the reference or rated speed. Therefore, in the related art, it is necessary to provide a loading circuit for detecting the "double speed locked" state, thereby performing a complicated control such as once releasing the control and restarting the control.

本発明は、上記問題点に鑑み、不所望な「倍速ロッ
ク」を生じない、いわゆる速度ディスクリ方式のモータ
制御回路を提供するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and provides a so-called speed discrimination type motor control circuit which does not cause an undesirable "double speed lock".

課題を解決するための手段 上記従来の課題を解決するために本発明のモータ制御
回路は、モータの回転に応じて出力される周波数発電機
のFGパルスを分周する分周器と、 前記FGパルスが前記分周器で分周されて得られるFGパ
ルス分周信号と基準クロックでトリガパルスを発生させ
るトリガパルス発生器と、 前記トリガパルスの発生時から前記基準クロックのカ
ウントを開始して、前記カウントが設定カウント値に達
するとカウントアップ信号を出力して、前記カウントア
ップ信号の出力時にリセットされるカウンタと、 前記トリガパルスの1周期の時間と、前記カウンタが
前記基準クロックのカウントを開始して前記カウンタの
カウント値が前記カウンタの設定カウント値に達するま
での設定カウント時間とを比較して、前記トリガパルス
の1周期の時間が前記設定カウント時間よりも短かいと
きは、前記モータの回転数が設定回転数よりも速く回転
したことを示すファースト信号を出力して、 また前記トリガパルスの1周期の時間が前記設定カウ
ント時間よりも長いときは、前記モータが設定回転数よ
り遅く回転したことを示すスロー信号を出力するディス
クリ出力回路と、 前記トリガパルスが入力された時に前記カウンタが前
記基準クロックのカウントをしている途中で、まだカウ
ントアップ信号を出力していなければ高速回転状態であ
ると判別して高速検知出力を出力する高速検知回路と、 前記ファースト信号と前記スロー信号が伝わる各々の
信号線路が入力端子に接続されたNORゲートと、 前記NORゲートの出力が入力されて、前記ファースト
信号または前記スロー信号が出力された時間を基準クロ
ックでカウントするロック検知回路用カウンタのカウン
タ値と、前記ロック検知回路用カウンタの設定カウント
を比較して、前記ロック検知回路用カウンタのカウンタ
値が前記ロック検知回路用カウンタの設定カウントに達
しない場合に、モータが回転数ロック状態であることを
示すロック検知出力を出力するロック検知回路と、 前記高速検知出力が無く、前記ロック検知出力も無い
ときは、前記ディスクリ出力回路の前記スロー信号と同
じ信号のみが出力され、 前記高速検知出力が無く、前記ロック検知出力が有る
ときは、前記ディスクリ出力回路の前記ファースト信号
も前記スロー信号も出力されないのと同じように信号が
何も出力されず、 前記高速検知出力が有り、前記ロック検知出力が無い
ときは、前記ディスクリ出力回路の前記ファースト信号
と同じ信号のみが出力され、 前記高速検知出力が有り、前記ロック検知出力も有る
ときは、前記ディスクリ出力回路の前記ファースト信号
と同じ信号のみが出力されるようにした出力制御回路と
を備えたものである。
Means for Solving the Problems In order to solve the above-mentioned conventional problems, a motor control circuit of the present invention includes a frequency divider that divides an FG pulse of a frequency generator output according to rotation of a motor; A trigger pulse generator that generates a trigger pulse with an FG pulse divided signal obtained by dividing a pulse by the frequency divider and a reference clock, and starts counting the reference clock from the time of generation of the trigger pulse. A counter that outputs a count-up signal when the count reaches a set count value, is reset when the count-up signal is output, a period of one cycle of the trigger pulse, and the counter starts counting the reference clock. And comparing the count value of the counter with the set count time until the count value of the counter reaches the set count value of the counter, When the time of one cycle is shorter than the set count time, a fast signal indicating that the rotation speed of the motor has rotated faster than the set rotation speed is output, and the time of one cycle of the trigger pulse is output. A discrimination output circuit that outputs a slow signal indicating that the motor has rotated slower than a set rotation number when the count time is longer than the set count time; and the counter counts the reference clock when the trigger pulse is input. During the operation, if a count-up signal has not yet been output, a high-speed detection circuit that determines that the motor is in a high-speed rotation state and outputs a high-speed detection output, and each signal line through which the fast signal and the slow signal are transmitted Is connected to an input terminal, and the output of the NOR gate is input, and the fast signal or the slow signal is output. The counter value of the lock detection circuit counter that counts the input time by the reference clock is compared with the set count of the lock detection circuit counter, and the counter value of the lock detection circuit counter is set to the lock detection circuit counter. A lock detection circuit that outputs a lock detection output indicating that the motor is in the rotational speed locked state when the set count is not reached, and the discrimination when there is no high-speed detection output and there is no lock detection output. When only the same signal as the slow signal of the output circuit is output, when there is no high-speed detection output and there is the lock detection output, it is the same as when neither the fast signal nor the slow signal of the discrete output circuit is output. When no signal is output to the device, the high-speed detection output is provided, and the lock detection output is not provided, the Only the same signal as the first signal of the screw output circuit is output, and when the high speed detection output is present and the lock detection output is also present, only the same signal as the first signal of the discrimination output circuit is output. And an output control circuit.

また、モータの回転に応じて出力される周波数発電機
のFGパルスを分周する分周器と、 前記FGパルスが前記分周器で分周されて得られるFGパ
ルス分周信号と基準クロックで、FGパルス分周信号の立
ち上がりに応答する第1トリガパルスとFGパルス分周信
号の立ち下がりに応答する第2トリガパルスを発生させ
るトリガパルス発生器と、 前記第1トリガパルスの発生時から前記基準クロック
のカウントを開始して、前記カウントが設定カウント値
に達すると第1リセットパルスを出力して、第1リセッ
トパルスの出力時にリセットされる第1カウンタと、 前記第2トリガパルスの発生時から前記基準クロック
のカウントを開始して、前記カウントが設定カウント値
に達すると第2リセットパルスを出力して、第2リセッ
トパルスの出力時にリセットされる第2カウンタと、 前記第1カウンタの第1カウンタリセット信号と前記
第2カウンタの第2カウンタリセット信号がともにハイ
レベルのとき、前記モータの回転数が設定回転数よりも
遅く回転したことを示すスロー信号を出力して、 前記第1カウンタの第1カウンタリセット信号と前記
第2カウンタの第2カウンタリセット信号がともにロー
レベルのとき、前記モータの回転数が設定回転数よりも
速く回転したことを示すファースト信号を出力して、 前記第1カウンタの第1カウンタリセット信号がハイ
レベルで、前記第2カウンタの第2カウンタリセット信
号がローレベルのときは、前記スロー信号も前記ファー
スト信号も出力せず、 前記第1カウンタの第1カウンタリセット信号がロー
レベルで、前記第2カウンタの第2カウンタリセット信
号がハイレベルのときは、前記スロー信号も前記ファー
スト信号も出力しないディスクリ出力回路と、 前記第1トリガパルスが入力された時に前記第1カウ
ンタが前記基準クロックのカウントをしている途中で、
まだ第1リセットパルスを出力していなければ高速回転
状態であると判別して高速検知出力を出力する高速検知
回路と、 前記ファースト信号と前記スロー信号が伝わる各々の
信号線路が入力端子に接続されたNORゲートと、 前記NORゲートの出力が入力されて、前記ファースト
信号または前記スロー信号が出力された時間を基準クロ
ックでカウントするロック検知回路用カウンタのカウン
タ値と、前記ロック検知回路用カウンタの設定カウント
を比較して、前記ロック検知回路用カウンタのカウンタ
値が前記ロック検知回路用カウンタの設定カウントに達
しない場合に、モータが回転数ロック状態であることを
示すロック検知出力を出力するロック検知回路と、 前記高速検知出力が無く、前記ロック検知出力も無い
ときは、前記ディスクリ出力回路の前記スロー信号と同
じ信号のみが出力され、 前記高速検知出力が無く、前記ロック検知出力が有る
ときは、前記ディスクリ出力回路の前記ファースト信号
も前記スロー信号も出力されないのと同じように信号が
何も出力されず、 前記高速検知出力が有り、前記ロック検知出力が無い
ときは、前記ディスクリ出力回路の前記ファースト信号
と同じ信号のみが出力され、 前記高速検知出力が有り、前記ロック検知出力も有る
ときは、前記ディスクリ出力回路の前記ファースト信号
と同じ信号のみが出力されるようにした出力制御回路と
を備えたものである。
A frequency divider that divides an FG pulse of the frequency generator output according to the rotation of the motor; and a FG pulse divided signal obtained by dividing the FG pulse by the divider and a reference clock. A trigger pulse generator for generating a first trigger pulse responsive to the rising edge of the FG pulse divided signal and a second trigger pulse responsive to the falling edge of the FG pulse divided signal; A first counter which starts counting a reference clock, outputs a first reset pulse when the count reaches a set count value, and is reset when the first reset pulse is output; and when the second trigger pulse is generated. Starts the count of the reference clock, and outputs a second reset pulse when the count reaches a set count value, and resets when the second reset pulse is output. When both the first counter reset signal of the first counter and the second counter reset signal of the second counter are at a high level, the rotation speed of the motor has been slower than the set rotation speed. When the first counter reset signal of the first counter and the second counter reset signal of the second counter are both at a low level, the rotation speed of the motor is faster than the set rotation speed. When the first counter reset signal of the first counter is at a high level and the second counter reset signal of the second counter is at a low level, the slow signal also outputs the fast signal. No signal is output, and the first counter reset signal of the first counter is at a low level, and the second counter of the second counter is When the reset signal is at a high level, a discrete output circuit that does not output the slow signal or the fast signal, and the first counter counts the reference clock when the first trigger pulse is input. In the middle,
If the first reset pulse has not yet been output, a high-speed detection circuit that determines that the motor is in a high-speed rotation state and outputs a high-speed detection output; A NOR gate, a counter value of a lock detection circuit counter that receives an output of the NOR gate and counts a time when the first signal or the slow signal is output by a reference clock, and a counter value of the lock detection circuit counter. A lock that outputs a lock detection output indicating that the motor is in a rotation lock state when the set count is compared and the counter value of the lock detection circuit counter does not reach the set count of the lock detection circuit counter. A detection circuit, and when there is no high-speed detection output and no lock detection output, the discrimination output When only the same signal as the slow signal of the road is output, there is no high-speed detection output, and when there is the lock detection output, the same as the case where neither the fast signal nor the slow signal of the discrete output circuit is output. When no signal is output, the high-speed detection output is present and the lock detection output is not present, only the same signal as the fast signal of the discrete output circuit is output, and the high-speed detection output is present and the lock is output. An output control circuit for outputting only the same signal as the fast signal of the discrete output circuit when there is also a detection output.

作用 上記構成では、モータの回転速度に応じた周期ないし
周波数のFGパルスが出力され、そのFGパルスを1/2分周
し、その1/2FG信号の立ち上がりパルスに応答してトリ
ガパルスが出力される。トリガパルスは、基準クロック
をそのカウント入力として受けるカウンタをリセットす
る。カウンタは、基準クロックを一定数、たとえば211
=2048カウントすると、そのカウントアップ信号によっ
てリセットされる。そして、この1/2FG信号とカウンタ
の状態によってファースト信号またはスロー信号がディ
スクリ出力回路から出力される。たとえば、1/2FG信号
がローレベルでカウンタがカウンタ状態であればファー
スト信号が出力され、1/2FG信号がハイレベルでカウン
タがカウント状態でなければスロー信号が出力される。
Operation In the above configuration, an FG pulse having a period or frequency corresponding to the rotation speed of the motor is output, the FG pulse is divided by 1/2, and a trigger pulse is output in response to the rising pulse of the 1 / 2FG signal. You. The trigger pulse resets a counter that receives the reference clock as its count input. The counter uses a fixed number of reference clocks, for example, 2 11
= 2048, the count is reset by the count-up signal. Then, a fast signal or a slow signal is output from the discrimination output circuit according to the 1 / 2FG signal and the state of the counter. For example, if the 1 / 2FG signal is low and the counter is in the counter state, a fast signal is output, and if the 1 / 2FG signal is high and the counter is not in the count state, a slow signal is output.

高速検知回路は、カウンタが動作中に次の1/2FGの信
号が入力されると、モータが基準速度以上で回転してい
ることを検知する。すなわち、カウンタは「2048」カウ
ントしたときリセットされるが、この設定カウント値に
達するまでの時間は基準速度で回転しているときにちょ
うど適合するように選ばれている。換言すれば、カウン
タがカウントアップするまでには一定時間が必要であ
る。ところが、モータの回転速度が速くなれば、それに
応じてFGパルスの周波数が高くなり、その周期は短くな
る。従って、そのFGパルスに応答するトリガパルスの周
期も短くなり、先のトリガパルスが入力されてから次の
トリガパルスが入力される迄の期間も、基準速度で回転
しているときよりも短くなる。従って、高速検知回路
は、たとえば、トリガパルスが入力されたときにカウン
タが未だカウントアップしていなければ、すなわち未だ
カウント動作中であれば、モータは高速回転状態にある
ことを検知する。
When the next 1 / 2FG signal is input while the counter is operating, the high-speed detection circuit detects that the motor is rotating at or above the reference speed. That is, the counter is reset when "2048" has been counted, but the time until reaching the set count value is selected so as to just match when rotating at the reference speed. In other words, a certain time is required until the counter counts up. However, the higher the rotation speed of the motor, the higher the frequency of the FG pulse and the shorter the period. Therefore, the period of the trigger pulse responding to the FG pulse is also shortened, and the period from the input of the previous trigger pulse to the input of the next trigger pulse is also shorter than when rotating at the reference speed. . Therefore, the high-speed detection circuit detects that the motor is in the high-speed rotation state, for example, if the counter has not yet counted up when the trigger pulse is input, that is, if it is still in the counting operation.

高速検知回路が高速回転状態を検知すると、そのとき
ディスクリ出力回路から出力されるファースト信号のみ
出力し、スロー信号が出力されない。
When the high-speed detection circuit detects the high-speed rotation state, only the fast signal output from the discrimination output circuit at that time is output, and no slow signal is output.

換言すれば、高速回転状態においては、ディスクリ回
路の出力とは関係無く、ファースト信号のみ出力される
ので、モータはやがて定格速度に達する。このとき定格
速度近辺に達すると、ディスクリ出力回路から出力され
るファースト信号またはスロー信号により基準クロック
をカウントし設定カウント値に達したか否かによってロ
ック状態かどうか判別するロック検出回路の出力によっ
てディスクリ回路から出力されるファースト信号および
スロー信号を正常に出力することによって、モータは定
格速度に収束する。
In other words, in the high-speed rotation state, only the fast signal is output regardless of the output of the discrimination circuit, and the motor eventually reaches the rated speed. At this time, when the speed nears the rated speed, the reference clock is counted by the fast signal or the slow signal output from the discrimination output circuit, and the output of the lock detection circuit determines whether or not the lock state is reached according to whether or not the set count value is reached. By properly outputting the fast signal and the slow signal output from the discrimination circuit, the motor converges to the rated speed.

実施例 以下本発明の一実施例のモータ制御回路について、図
面を参照しながら説明する。
Embodiment Hereinafter, a motor control circuit according to an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロックで、10
は1/2分周器、12はトリガパルス発生器、16はRS−FF、1
7、18はNANDゲート、21はカウンタ、24はディスクリ出
力回路、25は高速検知回路、30はNORゲート、35はロッ
ク検出回路、60はRS−FF、61、62はNANDゲート、65は出
力回路である。1/2分周器1は、図示していないDCモー
タの回転に応じて出力されるFGパルスが入力され、1/2
分周器10は、FGパルスを分周して、1/2FG信号の非反転
出力及び反転出力を出力する。さらにトリガパルス発生
器12には、この1/2FG信号の非反転出力に応答してトリ
ガパルスが出力する。
FIG. 1 is a block diagram showing a first embodiment of the present invention.
Is 1/2 frequency divider, 12 is trigger pulse generator, 16 is RS-FF, 1
7, 18 are NAND gates, 21 is a counter, 24 is a discrete output circuit, 25 is a high-speed detection circuit, 30 is a NOR gate, 35 is a lock detection circuit, 60 is RS-FF, 61 and 62 are NAND gates, 65 is Output circuit. The 1/2 frequency divider 1 receives an FG pulse output according to the rotation of a DC motor (not shown),
The frequency divider 10 divides the frequency of the FG pulse and outputs a non-inverted output and an inverted output of the 1 / 2FG signal. Further, a trigger pulse is output to the trigger pulse generator 12 in response to the non-inverted output of the 1 / 2FG signal.

1/2分周器10及びトリガパルス発生器12は、第2図に
その詳細な具体的回路例を示すように、3つのDフリッ
プフロップ(以下、「D−FF」)11、13、14と、2端子
出力インバータ15とを含む。FGパルスは、1/2分周器10
としてのD−FF11のクロック入力CLに与えられ、反転出
力は自己のデータ入力Dとして与えられ、1/2FG信号
が得られる。トリガパルス発生器12のD−FF13、14のク
ロック入力CLには、基準クロックCLKが与えられる。D
−FF11の非反転出力QがD−FF13のデータ入力Dに与え
られる。D−FF13、14の非反転出力Qはインバータ15の
入力端子に共通接続される。D−FF13の反転出力は、
D−FF14のデータ入力Dに与えられる。
The 1/2 frequency divider 10 and the trigger pulse generator 12 have three D flip-flops (hereinafter, "D-FF") 11, 13, and 14, as shown in FIG. And a two-terminal output inverter 15. FG pulse is divided by 1/2 frequency divider 10
And the inverted output is provided as its own data input D, and a 1 / 2FG signal is obtained. A reference clock CLK is applied to clock inputs CL of the D-FFs 13 and 14 of the trigger pulse generator 12. D
The non-inverted output Q of -FF11 is applied to the data input D of D-FF13. The non-inverted outputs Q of the D-FFs 13 and 14 are commonly connected to the input terminal of the inverter 15. The inverted output of D-FF13 is
It is provided to the data input D of D-FF14.

従って、インバータ15の出力は、1/2FG信号の立ち上
がり毎に出力され、第3図(a)〜(d)に示すような
トリガパルスとなる。
Accordingly, the output of the inverter 15 is output every time the 1 / 2FG signal rises, and becomes a trigger pulse as shown in FIGS. 3 (a) to 3 (d).

トリガパルスはRS−FF16を構成するNANDゲート17の一
方入力及び高速検知回路25に与えられる。NANDゲート17
の他方入力はNANDゲート18の出力に接続され、NANDゲー
ト17の出力はNANDゲート18の一方入力に接続される。そ
して、NANDゲート18の他方入力はカウンタ21からのリセ
ットパルスすなわちカウントアップ信号の出力端子に接
続される。従って、トリガパルスによってNANDゲート18
の出力すなわちRS−FF16の反転出力がハイレベルになる
と、カウンタ21がリセットされ、カウンタ21は基準クロ
ックCLK(第2図)をカウント入力としてカウントを開
始する。
The trigger pulse is supplied to one input of the NAND gate 17 constituting the RS-FF 16 and the high-speed detection circuit 25. NAND gate 17
Is connected to the output of the NAND gate 18, and the output of the NAND gate 17 is connected to one input of the NAND gate 18. The other input of the NAND gate 18 is connected to a reset pulse from the counter 21, that is, an output terminal of a count-up signal. Therefore, the trigger pulse causes the NAND gate 18
, The inverted output of RS-FF16 goes high, the counter 21 is reset, and the counter 21 starts counting using the reference clock CLK (FIG. 2) as a count input.

なお、第2図の回路図では、このRS−FF16を構成する
NANDゲート17、18は、3端子出力インバータ19、20によ
って構成されている。
In the circuit diagram of FIG. 2, this RS-FF16 is configured.
The NAND gates 17 and 18 are constituted by three-terminal output inverters 19 and 20.

カウンタ21は、カウント値が211=2048に設定された
カウンタである。カウンタ21は、第2図に示すように、
11個のD−FF22a〜22kの縦続接続によって構成される。
そして、初段のD−FF22aのクロック入力CLには基準ク
ロックCLKが与えられ、このD−FF22aの非反転出力Q
が、次段のD−FFのクロック入力に与えられ、そのD−
FFの非反転出力Qが3段目のD−FFのクロック入力に与
えられ、以下同様に順次、非反転出力Qをクロック入力
CLに接続する。なお、カウンタ21からのカウントアップ
信号は、インバータ23を経て、第1図に示すリセットパ
ルスとして、カウンタ21のリセット入力に与えられる。
The counter 21 is a counter whose count value is set to 2 11 = 2048. The counter 21, as shown in FIG.
It is configured by cascade connection of 11 D-FFs 22a to 22k.
The reference clock CLK is applied to the clock input CL of the first stage D-FF 22a, and the non-inverted output Q of this D-FF 22a
Is given to the clock input of the next stage D-FF,
The non-inverted output Q of the FF is supplied to the clock input of the third stage D-FF, and the non-inverted output Q is sequentially input to the clock in the same manner.
Connect to CL. The count-up signal from the counter 21 is supplied to the reset input of the counter 21 as a reset pulse shown in FIG.

さらに、前述のRS−FF16の出力、すなわちカウンタリ
セット信号及びその反転信号と、1/2分周器10の出力、
すなわち1/2FG信号及びその反転信号がディスクリ出力
回路24に与えられる。各出力を共通接続することによっ
て、ワイアード形式のものとして構成されている。
Further, the output of the aforementioned RS-FF16, that is, the counter reset signal and its inverted signal, the output of the 1/2 frequency divider 10,
That is, the 1 / 2FG signal and its inverted signal are supplied to the discrimination output circuit 24. By connecting each output in common, it is configured as a wired type.

ディスクリ出力回路24では、カウンタリセット信号、
1/2FG信号それらの反転信号に応じて、ファースト信号
Fまたはスロー信号Sを出力する。カウンタリセット信
号および1/2FG信号がともにハイレベルのとき、スロー
信号Sが出力される。また、カウンタリセット信号およ
び1/2FG信号がともにローレベルのとき、ファースト信
号Fが出力される。さらに、カウンタリセット信号およ
び1/2FG信号がローレベル及びハイレベル、あるいはそ
の逆のときは、ディスクリ出力回路24からはファースト
信号Fもスロー信号Sも出力されない。
In the discrete output circuit 24, a counter reset signal,
A 1 / 2FG signal outputs a fast signal F or a slow signal S according to their inverted signals. When both the counter reset signal and the 1 / 2FG signal are at the high level, the slow signal S is output. When both the counter reset signal and the 1 / 2FG signal are at low level, the fast signal F is output. Further, when the counter reset signal and the 1 / 2FG signal are at the low level and the high level or vice versa, neither the fast signal F nor the slow signal S is output from the discrimination output circuit 24.

ファースト信号は、モータが基準速度以上の回転数で
回転しているときに出力され、減速信号として作用し、
他方スロー信号は基準速度以下で回転しているときに出
力され、加速信号として作用する。従って、ファースト
信号およびスロー信号は、モータへの印加電圧等を制御
することによって、その回転数を基準ないし定格速度に
収束するように制御し得る。
The fast signal is output when the motor is rotating at a rotation speed equal to or higher than the reference speed, and acts as a deceleration signal.
On the other hand, the slow signal is output when the motor is rotating below the reference speed, and acts as an acceleration signal. Therefore, the first signal and the slow signal can be controlled so as to converge the rotation speed to the reference or rated speed by controlling the voltage applied to the motor and the like.

高速検知回路25は、第2図に示すように、2つのD−
FF26、27および、インバータ28によって構成されてい
る。D−FF26のクロック入力CLにはトリガパルス発生器
12からのトリガパルスが与えられ、またデータ入力Dに
はRS−FF16からカウンタリセット信号の反転出力が与え
られる。D−FF26、27の非反転出力Qはインバータ28の
入力端子に共通接続される。D−FF26の反転出力は、
D−FF27のデータ入力Dに与えられる。よってカウンタ
リセット信号がローレベルのときにトリガパルスが入力
された場合にのみ高速検知出力が出力される。よって、
モータ(図示せず)基準速度の2倍以上の回転数で回転
していることを検知するための回路である。
The high-speed detection circuit 25, as shown in FIG.
FFs 26 and 27 and an inverter 28 are provided. A trigger pulse generator is connected to the clock input CL of D-FF26.
A trigger pulse from 12 is given, and an inverted output of the counter reset signal is given to data input D from RS-FF16. The non-inverted outputs Q of the D-FFs 26 and 27 are commonly connected to the input terminal of the inverter 28. The inverted output of D-FF26 is
It is provided to the data input D of D-FF27. Therefore, a high-speed detection output is output only when a trigger pulse is input when the counter reset signal is at a low level. Therefore,
This is a circuit for detecting that the motor (not shown) is rotating at a rotation speed twice or more the reference speed.

また、第1図のNORゲート30は、第2図においてはデ
ィスクリ出力回路24からのファースト信号Fとスロー信
号Sの出力をインバータ31、32を経て共通接続すること
によって、ワイアード形式の構成でインバータ33の入力
として構成されている。
The NOR gate 30 in FIG. 1 has a wired configuration by connecting the output of the fast signal F and the output of the slow signal S from the discrete output circuit 24 in common via inverters 31 and 32 in FIG. It is configured as an input of the inverter 33.

ロック検知回路35は、第2図に示すように、ディスク
リ出力回路24からのファースト信号Fとスロー信号Sの
出力をNORゲート30に与え、そのNORゲート30からの出力
が、6個のD−FF36a〜36fの縦続接続によって構成され
るカウンタ80のD−FF36a〜36fリセット入力Rに与えら
れるとともに、2つのD−FF45、46とインバータ47、4
8、49の構成によるトリガパルス発生回路85に与えられ
る。上記カウンタ80のカウント値26=64に設定されたカ
ウンタである。このカウンタ80のカウントアップ出力
は、インバータ37を介してRS−FF81のインバータ38へ与
えられる。一方RS−FF81のインバータ39には、NORゲー
ト30からインバータ34を介して得られる。RS−FF81のリ
セット信号出力、すなわち、インバータ38の出力は、デ
ィスクリ出力回路24からのファースト信号Fまたはスロ
ー信号Sの出力の幅が、カウンタ81の設定幅より短けれ
ばロー出力を出力する。この時の幅としては、カウンタ
21とカウンタ81の設定カウント値で決まってくる。よっ
て、基準の±64/2048=±3.125%以下でロー出力とな
る。
As shown in FIG. 2, the lock detection circuit 35 supplies the output of the fast signal F and the output of the slow signal S from the discrete output circuit 24 to the NOR gate 30, and the output from the NOR gate 30 is six D signals. FFs 36a to 36f are provided to the reset inputs R of the D-FFs 36a to 36f of the counter 80 constituted by cascade connection, and two D-FFs 45, 46 and inverters 47, 4
The trigger pulse generation circuit 85 having the configuration of 8 or 49 is provided. This is a counter in which the count value 26 of the counter 80 is set to 64. The count-up output of the counter 80 is provided to the inverter 38 of the RS-FF 81 via the inverter 37. On the other hand, the inverter 39 of the RS-FF 81 is obtained from the NOR gate 30 via the inverter 34. The reset signal output of the RS-FF 81, that is, the output of the inverter 38, outputs a low output if the output width of the fast signal F or the slow signal S from the discrete output circuit 24 is shorter than the set width of the counter 81. At this time, the width
It is determined by 21 and the count value of the counter 81. Therefore, the output becomes low when the reference is ± 64/2048 = ± 3.125% or less.

さらに、上記RS−FF81のリセット信号出力は、2つの
D−FF40、41とインバータ42の構成によるトリガパルス
発生回路84に与えられ、この出力は、さらにRS−FF82の
インバータ43の入力に与えられる。一方のインバータ44
には、トリガパルス発生回路85に含まれるインバータ47
からファースト信号Fまたはスロー信号Sの立ち上がり
に応じたパルスが与えられる。
Further, the reset signal output of the RS-FF81 is provided to a trigger pulse generating circuit 84 having a configuration of two D-FFs 40 and 41 and an inverter 42, and this output is further provided to an input of the inverter 43 of the RS-FF82. . One inverter 44
The inverter 47 included in the trigger pulse generation circuit 85
Provides a pulse corresponding to the rise of the fast signal F or the slow signal S.

RS−FF82のリセット信号出力とトリガパルス発生回路
85に含まれるインバータ49からファースト信号Fまたは
スロー信号Sの立ち下がりに応じたパルス出力を共通接
続してインバータ51に与える。また、上記インバータ4
9、51の出力を共通接続してインバータ50に与える。
RS-FF82 reset signal output and trigger pulse generation circuit
A pulse output corresponding to the fall of the fast signal F or the slow signal S is commonly connected from an inverter 49 included in 85 and given to the inverter 51. In addition, the inverter 4
The outputs of 9 and 51 are commonly connected and applied to the inverter 50.

さらに、RS−FF83のインバータ52の入力にはインバー
タ50の出力が与えられ、インバータ53の入力にはインバ
ータ51の出力が与えられる。よって、RS−FF83のセット
信号出力には、ディスクリ出力回路24からのファースト
信号Fまたはスロー信号Sの出力の幅が、基準の±3.12
5%以内であればロック状態としてハイレベルを出力す
る。さらに、この信号は、2つのD−FF54、55およびイ
ンバータ56の構成による、トリガパルス発生回路86へ与
えられる。よって、ロック検知出力は、ロック状態とな
ったときのみ出力する。次に、RS−FF60のセット入力と
して高速検知出力がNANDゲート61に与えられ、リセット
入力としてロック検知出力がNANDゲート62に与えられ、
出力制御信号としては、リセット信号出力として、NAND
ゲート62より得られる。このとき、出力制御信号として
は、ロック状態となればハイレベルとなり、高速状態す
なわち、基準の回転数の2倍以上となればローレベルと
なる。
Further, the output of the inverter 50 is given to the input of the inverter 52 of the RS-FF 83, and the output of the inverter 51 is given to the input of the inverter 53. Therefore, the output width of the fast signal F or the slow signal S from the discrete output circuit 24 is ± 3.12 of the reference in the set signal output of the RS-FF83.
If it is within 5%, a high level is output as the locked state. Further, this signal is applied to a trigger pulse generating circuit 86 having a configuration of two D-FFs 54 and 55 and an inverter 56. Therefore, the lock detection output is output only when the lock state is set. Next, a high-speed detection output is given to the NAND gate 61 as a set input of the RS-FF 60, and a lock detection output is given to the NAND gate 62 as a reset input,
Output control signals include reset signal output, NAND
Obtained from gate 62. At this time, the output control signal is at a high level when in the locked state, and is at a low level when in the high-speed state, that is, when it is twice or more the reference rotational speed.

さらに、ディスクリ出力回路24よりファースト信号F
およびスロー信号Sが出力制御回路65に与えられ、この
出力制御回路65は、上述の出力制御信号によって、高速
状態であれば、ローレベルが与えられ、ファースト信号
FFは強制的にハイレベルとなり、スロー信号SSは強制的
にローレベルとなり、減速信号のみ作用するためモータ
が減速される。モータが基準速度の3.125%に達する
と、出力制御信号がハイレベルとなり、ファースト信号
FFはディスクリ出力回路24より出力されるファースト信
号Fと同じとなり、またスロー信号SSもディスクリ出力
回路24より出力されるスロー信号Sと同じになり、回転
数を基準ないし定格速度に収束するように制御し得る。
Further, the first signal F is output from the discrete output circuit 24.
And the slow signal S is supplied to the output control circuit 65. The output control circuit 65 is supplied with a low level by the above-described output control signal if the state is a high speed state,
The FF is forcibly set to the high level, the slow signal SS is forcibly set to the low level, and only the deceleration signal acts, so that the motor is decelerated. When the motor reaches 3.125% of the reference speed, the output control signal goes high and the fast signal
FF becomes the same as the fast signal F outputted from the discrimination output circuit 24, and the slow signal SS becomes the same as the slow signal S outputted from the discrimination output circuit 24, so that the rotation speed converges to the reference or rated speed. Control.

なお、第2図の回路図では、上記のRS−FF60を構成す
るNANDゲート61、62はそれぞれインバータ63、64によっ
て構成されている。また、出力制御回路65の構成として
は、6個のインバータ66〜71による構成のゲート回路で
ある。
In the circuit diagram of FIG. 2, the NAND gates 61 and 62 constituting the RS-FF 60 are constituted by inverters 63 and 64, respectively. The output control circuit 65 is a gate circuit configured by six inverters 66 to 71.

動作において、まず第3図(a)を参照して、DCモー
タ(図示せず)が基準速度以下で回転しているときにつ
いて説明する。基準速度のときのFGパルスの周波数を
f、そのとき出力されているFGパルスの周波数をfFG
すると、このような低速状態ででは、fFG<fとなる。
このとき、カウンタ21は、トリガパルスによってリセッ
トされた後は、1/2FG信号の立ち下がり迄の間に「204
8」をカウントアップする。すなわち、低速状態では、F
Gパルスの周波数fFGが小さくなり、従ってそれに応答す
るトリガパルスの周期が長くなるので、カウンタ21は1/
2FG信号の立ち下がり迄の間にカウントアップしてしま
う。従って第3図(a)で示す低速回転状態では、RS−
FF16から出力されるカウンタリセット信号は、カウンタ
21がトリガパルスでリセットされた後カウントアップす
るまでの期間ローレベルとなり、残余の期間はハイレベ
ルとなる。従って、1/2FG信号とカウンタリセット信号
がともにハイレベルとなる期間が存在し、ディスクリ出
力回路24からスロー信号Sが出力される。
In the operation, first, a case where a DC motor (not shown) is rotating at a reference speed or less will be described with reference to FIG. When the frequency of the FG pulse when the reference speed f, the frequency of the FG pulses being output at that time and f FG, in in such a low speed state and f FG <f.
At this time, after the counter 21 is reset by the trigger pulse, the counter 21 waits for “204
8 ”. That is, at low speed, F
Since the frequency f FG of the G pulse becomes smaller and the period of the trigger pulse corresponding thereto becomes longer, the counter 21 becomes 1 /
It counts up before the fall of 2FG signal. Therefore, in the low-speed rotation state shown in FIG.
The counter reset signal output from FF16 is
21 is at the low level during the period from the reset by the trigger pulse until counting up, and remains at the high level during the remaining period. Accordingly, there is a period during which both the 1 / 2FG signal and the counter reset signal are at the high level, and the discrimination output circuit 24 outputs the slow signal S.

なお、1/2FG信号とカウンタリセット信号がともにロ
ーレベルとなる期間が存在しないのでファースト信号F
は出力されない、また、出力制御信号は初期的にハイレ
ベルとするように設定することにより、出力制御回路65
からも同様に、スロー信号SS=Sが出力され、ファース
ト信号FF=Fは出力されない。
Since there is no period during which both the 1 / 2FG signal and the counter reset signal are at low level, the first signal F
Is not output, and the output control signal is initially set to a high level so that the output control circuit 65
Similarly, the slow signal SS = S is output and the fast signal FF = F is not output.

次に、第3図(b)を参照して、モータが基準速度で
回転しているときの動作について説明する。
Next, an operation when the motor is rotating at the reference speed will be described with reference to FIG.

基準速度で回転しているときには、そのとき出力され
るFGパルスの周波数fFGと、基準速度のときのFGパルス
の周波数fとは一致する。従って、1/2FG信号の立ち下
がりのタイミングとカウンタ21のカウントアップタイミ
ングとが一致する。従って、第3図(b)に示す基準な
いし定格速度状態では、1/2FG信号とカウンタリセット
信号は、ハイレベルとローレベルが互いに反転したもの
となる。従って、1/2FG信号とカウンタリセット信号が
ともにハイレベル又はローレベルとなる期間は存在せ
ず、ディスクリ出力回路24からはスロー信号Sおよびフ
ァースト信号Fの両方とも出力されない。
When rotating at the reference speed, the frequency f FG of the FG pulse output at that time matches the frequency f of the FG pulse at the reference speed. Therefore, the falling timing of the 1 / 2FG signal coincides with the count-up timing of the counter 21. Therefore, in the reference or rated speed state shown in FIG. 3 (b), the 1 / 2FG signal and the counter reset signal have high and low levels inverted from each other. Accordingly, there is no period during which both the 1 / 2FG signal and the counter reset signal are at the high level or the low level, and neither the slow signal S nor the fast signal F is output from the discrete output circuit 24.

なお、出力制御信号はロック検知出力のaによって、
ハイレベルとなっているため、ディスクリ出力回路24と
出力制御回路65のファースト信号FF=Fおよびスロー信
号SS=Sとなり、両方とも出力されない。
The output control signal is determined by the lock detection output a.
Since the signal is at the high level, the fast signal FF = F and the slow signal SS = S of the discrimination output circuit 24 and the output control circuit 65 are not output.

次に、第3図(c)を参照して、モータが基準速度よ
りも速く、しかも基準速度の2倍よりも遅く回転してい
るときの動作について説明する。この時は、出力されて
いるFGパルスの周波数fFGは、基準ないし定格速度でのF
Gパルスの周波数fに対してf<fFG<2fとなる。基準速
度よりも早くなると、FGパルスの周期が短くなる。従っ
て、カウンタ21は、「2048」をカウントアップするまで
に1/2FGの立ち下がりが存在する。
Next, with reference to FIG. 3 (c), an operation when the motor is rotating faster than the reference speed and slower than twice the reference speed will be described. At this time, the frequency f FG of the output FG pulse is
For the frequency f of the G pulse, f <f FG <2f. When the speed is faster than the reference speed, the period of the FG pulse becomes shorter. Therefore, the counter 21 has a falling edge of 1 / 2FG before counting up “2048”.

従って、第3図(c)に示すように、1/2FG信号およ
びカウンタリセット信号がともにローレベルとなる周期
が生じ、ディスクリ出力回路24からファースト信号Fが
出力される。なお、この時、1/2FG信号およびカウンタ
リセット信号がともにハイレベルとなる期間が生じない
ため、ディスクリ出力回路24からスロー信号Sが出力さ
れることはない。
Accordingly, as shown in FIG. 3C, a cycle occurs in which both the 1 / 2FG signal and the counter reset signal are at low level, and the fast signal F is output from the discrete output circuit 24. At this time, since there is no period in which both the 1 / 2FG signal and the counter reset signal are at the high level, the slow signal S is not output from the discrimination output circuit 24.

また、出力制御信号は、ハイレベルのため、出力制御
回路65からも同様に、ファースト信号FFが出力されスロ
ー信号SSは出力されない。
Since the output control signal is at a high level, the output control circuit 65 similarly outputs the fast signal FF and does not output the slow signal SS.

最後に、第3図(d)を参照して、モータが基準速度
の2倍以上の回転数で回転しているときの動作について
説明する。この時出力されているFGパルスの周波数fFG
は2fより大きくなる。従って、トリガパルスの周期がさ
らに短くなる。一方、このような高速状態では、先に説
明したように、ディスクリ出力回路24からのファースト
信号Fおよびスロー信号Sが交互に出力されているが、
高速検知回路25からbの高速検知出力が出力される事に
より、出力制御信号がローレベルとなるため出力制御回
路65からのファースト信号FFはハイレベルとなり、スロ
ー信号SSはローレベルとなり出力されない。このため、
モータの回転数が基準ないし2倍以上の回転状態では、
例えば3倍になったときでも、出力制御回路65からはフ
ァースト信号FFが出力されるので、従来技術のような
「倍速ロック」は生じない。
Finally, with reference to FIG. 3 (d), an operation when the motor is rotating at a rotation speed twice or more the reference speed will be described. The frequency f FG of the FG pulse output at this time
Is greater than 2f. Therefore, the cycle of the trigger pulse is further shortened. On the other hand, in such a high-speed state, as described above, the fast signal F and the slow signal S are alternately output from the discrete output circuit 24.
When the high-speed detection output from the high-speed detection circuit 25 is output from the high-speed detection circuit 25, the output control signal becomes low level. Therefore, the fast signal FF from the output control circuit 65 becomes high level, and the slow signal SS becomes low level and is not output. For this reason,
When the rotation speed of the motor is more than the reference or twice or more,
For example, even when the power is tripled, the fast signal FF is output from the output control circuit 65, so that the "double speed lock" unlike the related art does not occur.

以下本発明の第2の実施例について図面を参照しなが
ら説明する。
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings.

第4図は本発明の第2の実施例を示すブロック図であ
る。同図において、10は1/2分周器、12はトリガパルス
発生器、16、60、90はRS−FF、24はディスクリ出力回
路、25は高速検知回路、35はロック検知回路、65は出力
制御回路で、以上は第1図の構成と同様なものである。
FIG. 4 is a block diagram showing a second embodiment of the present invention. In the figure, 10 is a 1/2 frequency divider, 12 is a trigger pulse generator, 16, 60, and 90 are RS-FFs, 24 is a discrete output circuit, 25 is a high-speed detection circuit, 35 is a lock detection circuit, 65 Is an output control circuit, which has the same configuration as that of FIG.

第1図の構成と異なるのは、1/2FG信号の立ち上がり
に応答する第1トリガパルスと立ち下がりに応答する第
2のトリガパルスを用いて、それぞれに対応する第1カ
ウンタ21および第2カウンタ93をカウントし、この第1
および第2カウンタリセット信号をディスクリ出力回路
24に与えて、ファースト信号Fまたはスロー信号Sを出
力する点である。
The difference from the configuration of FIG. 1 is that a first trigger pulse responding to the rising edge of the 1 / 2FG signal and a second trigger pulse responding to the falling edge are used to correspond to the first counter 21 and the second counter, respectively. Count 93, this first
And second counter reset signal discrete output circuit
24, a fast signal F or a slow signal S is output.

以上のような構成により、ディスクリ出力回路24よ
り、第1および第2カウンタリセット信号がもとにハイ
レベルのとき、スロー信号Sが出力される。また、第1
および第2カウンタリセット信号がともにローレベルの
とき、ファースト信号Fが出力される。さらに、第1お
よび第2カウンタリセット信号がローレベルおよびハイ
レベル、あるいはその逆のときは、ディスクリ出力回路
24からは、ファースト信号Fもスロー信号Sも出力され
ない。
With the above configuration, when the discrimination output circuit 24 is at a high level based on the first and second counter reset signals, the slow signal S is output. Also, the first
When both the reset signal and the second counter reset signal are at the low level, the fast signal F is output. Further, when the first and second counter reset signals are low level and high level, or vice versa, the discrete output circuit
From 24, neither the fast signal F nor the slow signal S is output.

なお、高速検知回路25、ロック検知回路35および出力
制御回路65の、構成および動作については第1の実施例
と同様であり説明は省略する。
The configurations and operations of the high-speed detection circuit 25, the lock detection circuit 35, and the output control circuit 65 are the same as in the first embodiment, and a description thereof will be omitted.

また、上述の実施例では、「倍速ロック」を避けるた
めに高速検知回路の一例としてカウンタのリセット信号
を用いて、2倍速検知回路を用いた。
Further, in the above-described embodiment, the double speed detection circuit is used as an example of the high speed detection circuit by using the reset signal of the counter in order to avoid “double speed lock”.

しかしながら、高速検知回路で検知するモータ速度は
基準ないし定格速度の1〜2倍までの範囲であればよ
く、カウンタが設定カウント値になるまでの任意のカウ
ント値に設定してもよい。
However, the motor speed detected by the high-speed detection circuit may be in a range from the reference or the rated speed to 1 to 2 times, and may be set to an arbitrary count value until the counter reaches the set count value.

また、ロック検知回路のロック幅の一例として±3.12
5%とした。しかしながら、ロック検知回路のロック幅
としては、上述の高速検知回路での検知速度よりも小さ
い範囲で設定すればよい。
Also, ± 3.12 as an example of the lock width of the lock detection circuit
5%. However, the lock width of the lock detection circuit may be set in a range smaller than the detection speed of the above-described high-speed detection circuit.

さらに、この発明がDCモータの制御回路に適用された
ものとして説明したが、この発明はACモータにも同様に
適用できることは言うまでもない。
Furthermore, although the present invention has been described as being applied to a control circuit for a DC motor, it goes without saying that the present invention can be similarly applied to an AC motor.

発明の効果 以上のように本発明のモータ制御回路は、カウンタが
動作中に次の1/2FG信号が入力されると、前記モータが
基準速度以上で回転していることを検知するため、前記
1/2FG信号の立ち上がりに応答して、トリガパルスが入
力されたとき、カウンタが動作しているか否かによって
高速回転状態かどうか判別する高速検知回路とモータが
基準速度で回転していることを検知するため、ファース
ト信号またはスロー信号により基準クロックをカウント
し設定カウント値に達した場合にロック状態であると判
別するロック検知回路を備え、前記高速検知回路の検知
出力でファースト信号のみ出力し、前記ロック検知回路
の検知出力でファースト信号またはスロー信号を出力す
ることにより、基準速度の2倍または3倍以上の倍数回
転状態におけるロックが生じないので、従来技術のよう
な付荷回路や複雑な制御なしに、基準ないし定格速度で
の安定的な速度制御が可能となる。
As described above, the motor control circuit of the present invention detects that the motor is rotating at a reference speed or more when the next 1 / 2FG signal is input while the counter is operating.
When a trigger pulse is input in response to the rising edge of the 1 / 2FG signal, the high-speed detection circuit that determines whether the motor is rotating at high speed based on whether the counter is operating and the fact that the motor is rotating at the reference speed To detect, a lock detection circuit that counts a reference clock by a fast signal or a slow signal and determines that a lock state has been reached when a set count value is reached, and outputs only a fast signal with a detection output of the high-speed detection circuit, By outputting a fast signal or a slow signal at the detection output of the lock detection circuit, locking in a multiple rotation state of twice or three times or more of the reference speed does not occur. Without control, stable speed control at reference or rated speed is possible.

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

第1図は本発明の第1の実施例におけるブロック図、第
2図は第1図に示すブロック図の具体的回路図、第3図
(a)はモータが基準速度以下で回転しているときの状
態を示すタイミング図、第3図(b)はモータが基準速
度で回転しているときの状態を示すタイミング図、第3
図(c)はモータが基準速度から基準速度の2倍の範囲
で回転しているときの状態を示すタイミング図、第3図
(d)はモータが基準速度から基準速度の2倍以上で回
転しているときの状態を示すタイミング図、第4図は第
2の実施例におけるブロック図、第5図は従来のモータ
制御回路のブロック図、第6図(a)および(b)は従
来のモータ制御回路においてモータが基準速度および基
準速度の2倍で回転しているときのそれぞれ状態を示す
タイミング図である。 10……1/2分周器、2、12……トリガパルス発生器、
3、16、60、90……RS−FF、4、21、93……カウンタ、
5、24……ディスクリ出力回路、25……高速検知回路、
35……ロック検知回路、65……出力制御回路、17、18、
61、62、91、92……NANDゲート、30……NORゲート。
FIG. 1 is a block diagram of a first embodiment of the present invention, FIG. 2 is a specific circuit diagram of the block diagram shown in FIG. 1, and FIG. 3 (a) shows a motor rotating below a reference speed. FIG. 3B is a timing chart showing the state when the motor is rotating at the reference speed, and FIG.
FIG. 3C is a timing chart showing a state where the motor is rotating in a range from the reference speed to twice the reference speed, and FIG. 3D is a diagram in which the motor rotates from the reference speed to twice or more the reference speed. FIG. 4 is a block diagram of the second embodiment, FIG. 5 is a block diagram of a conventional motor control circuit, and FIGS. 6 (a) and (b) are diagrams of a conventional motor control circuit. FIG. 4 is a timing chart illustrating states when the motor is rotating at a reference speed and twice the reference speed in the motor control circuit. 10… 1/2 frequency divider, 2, 12… Trigger pulse generator,
3, 16, 60, 90 ... RS-FF, 4, 21, 93 ... counter,
5, 24: Discrete output circuit, 25: High-speed detection circuit,
35 …… Lock detection circuit, 65 …… Output control circuit, 17, 18,
61, 62, 91, 92 ... NAND gate, 30 ... NOR gate.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】モータの回転に応じて出力される周波数発
電機のFGパルスを分周する分周器と、 前記FGパルスが前記分周器で分周されて得られるFGパル
ス分周信号と基準クロックでトリガパルスを発生させる
トリガパルス発生器と、 前記トリガパルスの発生時から前記基準クロックのカウ
ントを開始して、前記カウントが設定カウント値に達す
るとカウントアップ信号を出力して、前記カウントアッ
プ信号の出力時にリセットされるカウンタと、 前記トリガパルスの1周期の時間と、前記カウンタが前
記基準クロックのカウントを開始して前記カウンタのカ
ウント値が前記カウンタの設定カウント値に達するまで
の設定カウント時間とを比較して、前記トリガパルスの
1周期の時間が前記設定カウント時間よりも短かいとき
は、前記モータの回転数が設定回転数よりも速く回転し
たことを示すファースト信号を出力して、 また前記トリガパルスの1周期の時間が前記設定カウン
ト時間よりも長いときは、前記モータが設定回転数より
遅く回転したことを示すスロー信号を出力するディスク
リ出力回路と、 前記トリガパルスが入力された時に前記カウンタが前記
基準クロックのカウントをしている途中で、まだカウン
トアップ信号を出力していなければ高速回転状態である
と判別して高速検知出力を出力する高速検知回路と、 前記ファースト信号と前記スロー信号が伝わる各々の信
号線路が入力端子に接続されたNORゲートと、 前記NORゲートの出力が入力されて、前記ファースト信
号または前記スロー信号が出力された時間を基準クロッ
クでカウントするロック検知回路用カウンタのカウンタ
値と、前記ロック検知回路用カウンタの設定カウントを
比較して、前記ロック検知回路用カウンタのカウンタ値
が前記ロック検知回路用カウンタの設定カウントに達し
ない場合に、モータが回転数ロック状態であることを示
すロック検知出力を出力するロック検知回路と、 前記高速検知出力が無く、前記ロック検知出力も無いと
きは、前記ディスクリ出力回路の前記スロー信号と同じ
信号のみが出力され、 前記高速検知出力が無く、前記ロック検知出力が有ると
きは、前記ディスクリ出力回路の前記ファースト信号も
前記スロー信号も出力されないのと同じように信号が何
も出力されず、 前記高速検知出力が有り、前記ロック検知出力が無いと
きは、前記ディスクリ出力回路の前記ファースト信号と
同じ信号のみが出力され、 前記高速検知出力が有り、前記ロック検知出力も有ると
きは、前記ディスクリ出力回路の前記ファースト信号と
同じ信号のみが出力されるようにした出力制御回路とを
備えたことを特徴とするモータ制御回路。
1. A frequency divider for dividing an FG pulse of a frequency generator output according to rotation of a motor, and an FG pulse divided signal obtained by dividing the FG pulse by the divider. A trigger pulse generator for generating a trigger pulse with a reference clock, starting counting of the reference clock from the time of generation of the trigger pulse, and outputting a count-up signal when the count reaches a set count value; A counter that is reset when an up signal is output; a period of one cycle of the trigger pulse; and a setting until the counter starts counting the reference clock and the count value of the counter reaches a set count value of the counter. If the time of one cycle of the trigger pulse is shorter than the set count time compared with the count time, the rotation of the motor is started. The motor outputs a fast signal indicating that the number of rotations is faster than the set number of revolutions, and when the time of one cycle of the trigger pulse is longer than the set count time, the motor has rotated slower than the set number of revolutions. A discrimination output circuit that outputs a slow signal indicating that the counter is counting the reference clock when the trigger pulse is input, and a high-speed rotation state if the count-up signal has not been output yet. A high-speed detection circuit that outputs a high-speed detection output by judging that: a NOR gate in which each signal line for transmitting the fast signal and the slow signal is connected to an input terminal; and an output of the NOR gate is input. , A lock detection circuit counter that counts the time at which the first signal or the slow signal is output with a reference clock. The counter value is compared with the set count of the lock detection circuit counter.If the counter value of the lock detection circuit counter does not reach the set count of the lock detection circuit counter, the motor is locked in the rotation speed locked state. A lock detection circuit that outputs a lock detection output indicating that there is no high-speed detection output, and when there is no lock detection output, only the same signal as the slow signal of the discrete output circuit is output; When there is no detection output and there is the lock detection output, no signal is output as in the case where neither the fast signal nor the slow signal of the discrete output circuit is output, and the high speed detection output is present, When there is no lock detection output, only the same signal as the fast signal of the discrete output circuit is output, Detection output is there, when there is also the lock detection output is a motor control circuit, characterized in that only the same signal as the first signal of the discriminator output circuit and an output control circuit which is to be outputted.
【請求項2】モータの回転に応じて出力される周波数発
電機のFGパルスを分周する分周器と、 前記FGパルスが前記分周器で分周されて得られるFGパル
ス分周信号と基準クロックで、FGパルス分周信号の立ち
上がりに応答する第1トリガパルスとFGパルス分周信号
の立ち下がりに応答する第2トリガパルスを発生させる
トリガパルス発生器と、 前記第1トリガパルスの発生時から前記基準クロックの
カウントを開始して、前記カウントが設定カウント値に
達すると第1リセットパルスを出力して、第1リセット
パルスの出力時にリセットされる第1カウンタと、 前記第2トリガパルスの発生時から前記基準クロックの
カウントを開始して、前記カウントが設定カウント値に
達すると第2リセットパルスを出力して、第2リセット
パルスの出力時にリセットされる第2カウンタと、 前記第1カウンタの第1カウンタリセット信号と前記第
2カウンタの第2カウンタリセット信号がともにハイレ
ベルのとき、前記モータの回転数が設定回転数よりも遅
く回転したことを示すスロー信号を出力して、 前記第1カウンタの第1カウンタリセット信号と前記第
2カウンタの第2カウンタリセット信号がともにローレ
ベルのとき、前記モータの回転数が設定回転数よりも速
く回転したことを示すファースト信号を出力して、 前記第1カウンタの第1カウンタリセット信号がハイレ
ベルで、前記第2カウンタの第2カウンタリセット信号
がローレベルのときは、前記スロー信号も前記ファース
ト信号も出力せず、 前記第1カウンタの第1カウンタリセット信号がローレ
ベルで、前記第2カウンタの第2カウンタリセット信号
がハイレベルのときは、前記スロー信号も前記ファース
ト信号も出力しないディスクリ出力回路と、 前記第1トリガパルスが入力された時に前記第1カウン
タが前記基準クロックのカウントをしている途中で、ま
だ第1リセットパルスを出力していなければ高速回転状
態であると判別して高速検知出力を出力する高速検知回
路と、 前記ファースト信号と前記スロー信号が伝わる各々の信
号線路が入力端子に接続されたNORゲートと、 前記NORゲートの出力が入力されて、前記ファースト信
号または前記スロー信号が出力された時間を基準クロッ
クでカウントするロック検知回路用カウンタのカウンタ
値と、前記ロック検知回路用カウンタの設定カウントを
比較して、前記ロック検知回路用カウンタのカウンタ値
が前記ロック検知回路用カウンタの設定カウントに達し
ない場合に、モータが回転数ロック状態であることを示
すロック検知出力を出力するロック検知回路と、 前記高速検知出力が無く、前記ロック検知出力も無いと
きは、前記ディスクリ出力回路の前記スロー信号と同じ
信号のみが出力され、 前記高速検知出力が無く、前記ロック検知出力が有ると
きは、前記ディスクリ出力回路の前記ファースト信号も
前記スロー信号も出力されないのと同じように信号が何
も出力されず、 前記高速検知出力が有り、前記ロック検知出力が無いと
きは、前記ディスクリ出力回路の前記ファースト信号と
同じ信号のみが出力され、 前記高速検知出力が有り、前記ロック検知出力も有ると
きは、前記ディスクリ出力回路の前記ファースト信号と
同じ信号のみが出力されるようにした出力制御回路とを
備えたことを特徴とするモータ制御回路。
2. A frequency divider that divides an FG pulse of a frequency generator output according to rotation of a motor, and an FG pulse divided signal obtained by dividing the FG pulse by the divider. A trigger pulse generator for generating a first trigger pulse responsive to a rising edge of the FG pulse divided signal and a second trigger pulse responsive to a falling edge of the FG pulse divided signal, using a reference clock; and generating the first trigger pulse. A first counter that starts counting the reference clock from time, outputs a first reset pulse when the count reaches a set count value, and is reset when the first reset pulse is output; and the second trigger pulse. Starts the counting of the reference clock from the occurrence of, and outputs a second reset pulse when the count reaches a set count value. A second counter to be reset; and when the first counter reset signal of the first counter and the second counter reset signal of the second counter are both at a high level, the rotation speed of the motor has rotated slower than a set rotation speed. When the first counter reset signal of the first counter and the second counter reset signal of the second counter are both at a low level, the rotation speed of the motor is faster than the set rotation speed. When the first counter reset signal of the first counter is at a high level and the second counter reset signal of the second counter is at a low level, the slow signal also outputs the fast signal. No signal is output, and the first counter reset signal of the first counter is at a low level and the second counter of the second counter is When the 2 counter reset signal is at a high level, a discrete output circuit that does not output either the slow signal or the fast signal, and the first counter counts the reference clock when the first trigger pulse is input. If the first reset pulse has not yet been output, the high speed detection circuit that determines that the motor is in the high speed rotation state and outputs the high speed detection output, and the signal lines through which the fast signal and the slow signal are transmitted are input. A NOR gate connected to a terminal, a counter value of a counter for a lock detection circuit that receives an output of the NOR gate and counts a time when the fast signal or the slow signal is output by a reference clock, and The count value of the lock detection circuit counter is compared with the set count of the circuit A lock detection circuit that outputs a lock detection output indicating that the motor is in a rotational speed locked state when the set count of the lock detection circuit counter has not been reached, and when there is no high-speed detection output and there is no lock detection output. Outputs only the same signal as the slow signal of the discrete output circuit, and outputs the fast signal and the slow signal of the discrete output circuit when there is no high-speed detection output and there is the lock detection output. No signal is output in the same manner as when the signal is not detected, and when the high-speed detection output is present and the lock detection output is not present, only the same signal as the fast signal of the discrete output circuit is output, and the high-speed detection is performed. When the output is present and the lock detection output is also present, only the same signal as the fast signal of the discrete output circuit is output. Motor control circuit, characterized in that an output control circuit to so that.
JP1095728A 1989-04-14 1989-04-14 Motor control circuit Expired - Fee Related JP2923970B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1095728A JP2923970B2 (en) 1989-04-14 1989-04-14 Motor control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1095728A JP2923970B2 (en) 1989-04-14 1989-04-14 Motor control circuit

Publications (2)

Publication Number Publication Date
JPH02273088A JPH02273088A (en) 1990-11-07
JP2923970B2 true JP2923970B2 (en) 1999-07-26

Family

ID=14145538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1095728A Expired - Fee Related JP2923970B2 (en) 1989-04-14 1989-04-14 Motor control circuit

Country Status (1)

Country Link
JP (1) JP2923970B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010252608A (en) * 2009-04-20 2010-11-04 Sanyo Electric Co Ltd Motor driving circuit

Also Published As

Publication number Publication date
JPH02273088A (en) 1990-11-07

Similar Documents

Publication Publication Date Title
US5616996A (en) Model reference following commutation circuit and adjusting method thereof
EP0657796A2 (en) A clock generator and phase comparator for use in such a clock generator
US4653040A (en) Disk size detecting circuit
EP0247624A2 (en) Motor speed control system
JP2642357B2 (en) Control device for brushless motor
JP2923970B2 (en) Motor control circuit
JP2925813B2 (en) Motor drive
JP2821034B2 (en) Inverter
JP3266758B2 (en) Inverter with start delay setting function
CN215186702U (en) Phase-locked detection device and phase-locked loop
JPH0817584B2 (en) Motor control circuit
US5192902A (en) Velocity/phase controller for dc servo motor
JPS601566A (en) Speed detector
JP2810568B2 (en) Motor malfunction prevention circuit
JPS61189460A (en) Detecting method for fault of speed detector
JP2925787B2 (en) Motor stop circuit
JP3195801B2 (en) Digital counter device
JP2859452B2 (en) Motor control circuit
JP2903903B2 (en) Microcomputer
JPH0632049B2 (en) Microcomputer equipment
JPH01113670A (en) Rotation detector
JP3140073B2 (en) Motor speed detection circuit
JPH05336784A (en) Detecting circuit of number of revolutions of motor
JPS6193959A (en) Speed detecting device
JPS60255079A (en) Speed detector for motor

Legal Events

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