JPH0591776A - Motor control circuit - Google Patents

Motor control circuit

Info

Publication number
JPH0591776A
JPH0591776A JP3249227A JP24922791A JPH0591776A JP H0591776 A JPH0591776 A JP H0591776A JP 3249227 A JP3249227 A JP 3249227A JP 24922791 A JP24922791 A JP 24922791A JP H0591776 A JPH0591776 A JP H0591776A
Authority
JP
Japan
Prior art keywords
phase
signal
phase difference
output
reference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3249227A
Other languages
Japanese (ja)
Inventor
Koichi Izawa
浩一 井沢
Jiro Egawa
二郎 江川
Kenichi Komiya
研一 小宮
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP3249227A priority Critical patent/JPH0591776A/en
Publication of JPH0591776A publication Critical patent/JPH0591776A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To enable a motor control circuit to accurately control the position of a motor even when the phase difference between a phase comparing reference signal and frequency signal comes out of a prescribed range and, at the same time, to simplify the constitution of the circuit. CONSTITUTION:An up-down counter 35 selectively performs up- or down- counting operations in accordance to the advancing or delayed state of the phase difference between a phase comparing reference signal Sc and frequency signal Sf when the phase difference comes out of a prescribed range from -pito +pi and whenever the phase difference increases or decreases by a prescribed amount from the value. As a result, the count value of the counter 35 becomes its initial value '0' only when the phase difference is within the prescribed range. A signal generating means 41 continuously outputs a phase control signal SV having a fixed value during the period when the count value of the counter 35 is other than '0', namely, when the phase difference comes out of the prescribed range and changes the level of the signals SV in accordance with the phase difference during the period when the phase difference is within the prescribed range.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、モータの同期化制御を
行うためのモータ制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control circuit for controlling motor synchronization.

【0002】[0002]

【従来の技術】DCモータのような非同期モータを利用
した回転送り機構に用いられるモータ制御回路の一例と
して、従来より、図3のような回路構成のものが提供さ
れている。
2. Description of the Related Art As an example of a motor control circuit used in a rotary feed mechanism using an asynchronous motor such as a DC motor, a circuit configuration as shown in FIG. 3 has been conventionally provided.

【0003】図3において、モータ1の回転軸には、例
えば周波数発電機より成るエンコーダ2が機械的に結合
されており、このエンコーダ2からは、モータ1の回転
子の位置及び回転速度を示す周波数信号Sfが出力され
る。上記周波数信号Sfは、F−V変換器(周波数−電
圧変換器)3によりその周波数に比例した電圧レベルの
速度制御信号SV1 に変換されると共に、位相比較器4
に与えられる。この位相比較器4は、位相比較基準信号
Scと周波数信号Sfとの位相差を比較し、その差に応
じた位相制御信号SV2 をローパスフィルタ(LPF)
5を介して出力する。
In FIG. 3, an encoder 2 composed of, for example, a frequency generator is mechanically coupled to the rotary shaft of the motor 1. The encoder 2 indicates the position and rotational speed of the rotor of the motor 1. The frequency signal Sf is output. The frequency signal Sf is converted into a speed control signal SV1 having a voltage level proportional to its frequency by an FV converter (frequency-voltage converter) 3 and a phase comparator 4
Given to. The phase comparator 4 compares the phase difference between the phase comparison reference signal Sc and the frequency signal Sf, and outputs the phase control signal SV2 corresponding to the difference as a low pass filter (LPF).
Output via 5.

【0004】このように出力された各制御信号SV1 、
SV2 は、加算器6にて加算されてモータ駆動回路とし
ての増幅器7に供給されるものであり、その増幅出力に
応じてモータ1の入力電圧または電流が変化されること
により、位相比較基準信号Scの位相に対しモータ1の
回転子の位置を示す周波数信号Sfの位相が同期化する
ように制御される。
The respective control signals SV1 output in this way,
SV2 is added by the adder 6 and supplied to the amplifier 7 as a motor drive circuit. The phase comparison reference signal is changed by changing the input voltage or current of the motor 1 according to the amplified output. The phase of the frequency signal Sf indicating the position of the rotor of the motor 1 is controlled to be synchronized with the phase of Sc.

【0005】[0005]

【発明が解決しようとする課題】上述した位相比較器4
は、位相比較基準信号Scの立上がり位相に対する周波
数信号Sfの立上がり位相の進み及び遅れ状態を判定す
るためのもので、例えば図4に示すように構成される。
The phase comparator 4 described above is used.
Is for determining the leading and trailing states of the rising phase of the frequency signal Sf with respect to the rising phase of the phase comparison reference signal Sc, and is configured as shown in FIG. 4, for example.

【0006】この図4において、Dフリップフロップ8
は、周波数信号Sfの立上がりタイミングで「H」レベ
ル信号(データ端子Dに端子+Vccから与えられている
信号)をラッチすると共に、位相比較基準信号Scが
「H」レベルにある状態で優先的にリセット(ラッチ解
除)されるものである。従って、このDフリップフロッ
プ8は、図5のタイミングチャート中(c)に示すよう
に、位相比較基準信号Scの立上がり位相に対して、−
π〜+πの範囲(位相比較基準信号Scの1周期を2π
とした範囲)にある周波数信号Sfの立上がり位相が進
んでいる状態において、端子Qから「H」レベル信号を
出力する。
In FIG. 4, the D flip-flop 8
Latches the "H" level signal (the signal given to the data terminal D from the terminal + Vcc) at the rising timing of the frequency signal Sf, and preferentially when the phase comparison reference signal Sc is at the "H" level. It is reset (unlatched). Therefore, as shown in (c) in the timing chart of FIG. 5, the D flip-flop 8 has a negative phase with respect to the rising phase of the phase comparison reference signal Sc.
Range of π to + π (one cycle of the phase comparison reference signal Sc is 2π
In a state where the rising phase of the frequency signal Sf in the range (1) is advanced, the “H” level signal is output from the terminal Q.

【0007】また、Dフリップフロップ9は、位相比較
基準信号Scの立上がりタイミングで「H」レベル信号
をラッチすると共に、周波数信号Sfが「H」レベルに
ある状態で優先的にリセットされるものである。従っ
て、このDフリップフロップ9は、図5(d)に示すよ
うに、周波数信号Sfの立上がり位相を基準とした所定
の進み位相範囲(その立上がり前において周波数信号S
fが「L」レベル状態にある範囲)に位相比較基準信号
Scの立上がりがある状態、換言すれば、位相比較基準
信号Scの立上がり位相を基準とした所定の遅れ位相範
囲に周波数信号Sfの立上がりがある状態において、端
子Qから「H」レベル信号を出力する。
Further, the D flip-flop 9 latches the "H" level signal at the rising timing of the phase comparison reference signal Sc, and is preferentially reset when the frequency signal Sf is at the "H" level. is there. Therefore, as shown in FIG. 5 (d), the D flip-flop 9 has a predetermined lead phase range (the frequency signal S before the rising) based on the rising phase of the frequency signal Sf.
(where f is in the “L” level state), the phase comparison reference signal Sc rises, in other words, rises the frequency signal Sf within a predetermined delay phase range based on the rise phase of the phase comparison reference signal Sc. In this state, the terminal Q outputs an “H” level signal.

【0008】進み位相検出用のDフリップフロップ8の
出力は、OR回路10を介してスリーステートバッファ
(以下単にバッファと呼ぶ)11のゲート端子に与えら
れ、遅れ位相検出用のDフリップフロップ9の出力は、
同じくOR回路10を介してバッファ11のゲート端子
に与えられると共に、そのバッファ11の入力端子にも
与えられる。
The output of the D flip-flop 8 for lead phase detection is given to the gate terminal of a three-state buffer (hereinafter simply referred to as a buffer) 11 via an OR circuit 10, and the output of the D flip-flop 9 for lag phase detection. The output is
Similarly, it is given to the gate terminal of the buffer 11 via the OR circuit 10 and also to the input terminal of the buffer 11.

【0009】この結果、バッファ11の出力は、図5
(e)に示すように、周波数信号Sfの立上がり位相が
位相比較基準信号Scの立上がり位相に対し−π〜+π
の範囲において進んでいる期間に「L」レベル、周波数
信号Sfの位相が位相比較基準信号Scに対し−π〜+
πの範囲において遅れている期間に「H」レベル、その
他の期間にZレベル(ハイインピーダンス状態)を呈す
る。
As a result, the output of the buffer 11 is shown in FIG.
As shown in (e), the rising phase of the frequency signal Sf is -π to + π with respect to the rising phase of the phase comparison reference signal Sc.
, The phase of the frequency signal Sf is in the range of −π to + with respect to the phase comparison reference signal Sc.
In the range of π, the "H" level is exhibited during the period delayed and the Z level (high impedance state) is exhibited in other periods.

【0010】このような位相比較器4の出力は、前記図
3のローパスフィルタ5を介して出力されることによ
り、図6(a)に実線で示すように、位相比較基準信号
Sc及び周波数信号Sfの位相差ΔFが−π〜+πの範
囲においてその位相差ΔFに応じた直線的な変化を示す
位相制御信号SV2 として供給されることになる。
The output of such a phase comparator 4 is output through the low-pass filter 5 of FIG. 3, so that the phase comparison reference signal Sc and the frequency signal are output as shown by the solid line in FIG. 6 (a). The phase difference ΔF of Sf is supplied as the phase control signal SV2 showing a linear change in accordance with the phase difference ΔF in the range of −π to + π.

【0011】ところが、モータ1の負荷トルクが急激に
変動するなどの異常があった場合には、位相比較基準信
号Sc及び周波数信号Sfの位相差ΔFが−π〜+πの
範囲を外れることが往々にしてある。具体的には、例え
ば図5に示すように、位相比較基準信号Scの7周期目
において7周期目の周波数信号Sfが入力されず、位相
比較基準信号Scの8周期目において初めて7周期目の
周波数信号Sfが入力される状態が考えられる。
However, when there is an abnormality such as a sudden change in the load torque of the motor 1, the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf often falls outside the range of −π to + π. I am doing it. Specifically, as shown in FIG. 5, for example, in the seventh cycle of the phase comparison reference signal Sc, the frequency signal Sf of the seventh cycle is not input, and in the eighth cycle of the phase comparison reference signal Sc, the seventh cycle of It can be considered that the frequency signal Sf is input.

【0012】このような状態となったときには、位相比
較器4は、8周期目の位相比較基準信号Scと7周期目
の周波数信号Sfとの比較動作を行うようになり、その
位相比較結果は、本来必要な位相差データより2πだけ
ずれたものとなる。斯かる位相のずれは、進み方向或は
遅れ方向にさらに拡大することがあり、このため図6
(a)に破線で示すように、位相比較基準信号Sc及び
周波数信号Sfの位相差ΔFが−π〜+πの範囲より2
πの整数倍だけずれた各範囲においても、その−π〜+
πの範囲と同等の位相制御信号SV2 が得られてしまう
場合がある。
In such a state, the phase comparator 4 performs a comparison operation between the phase comparison reference signal Sc in the eighth cycle and the frequency signal Sf in the seventh cycle, and the result of the phase comparison is , Which is deviated from the originally required phase difference data by 2π. Such a phase shift may be further expanded in the advance direction or the delay direction, and as a result, FIG.
As indicated by a broken line in (a), the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf is 2 from the range of −π to + π.
Even in each range deviated by an integer multiple of π, -π to +
The phase control signal SV2 equivalent to the range of π may be obtained.

【0013】しかして、モータ1を利用した回転送り機
構を実現する場合には、位相比較基準信号Scによって
仮想的に示される位置にモータ1の回転子が存するよう
な位置制御を行う必要があるが、前述のように位相比較
基準信号Sc及び周波数信号Sfの位相差ΔFが−π〜
+πの範囲を外れた場合でも、これと同等の位相制御信
号SV2 が得られてしまうため、本来の位置から外れた
状態でモータ1の位置制御が行われてしまうことにな
る。
Therefore, in the case of realizing the rotary feed mechanism using the motor 1, it is necessary to perform the position control so that the rotor of the motor 1 exists at the position virtually indicated by the phase comparison reference signal Sc. However, as described above, the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf is −π˜.
Even when the range is out of the range of + π, the phase control signal SV2 equivalent to this is obtained, so that the position control of the motor 1 is performed in a state where the phase control signal SV2 is out of the original position.

【0014】このような現象を実例を挙げて説明する
に、図6(b)には、モータ1の位置制御が理想的に行
われた場合の位相比較基準信号Sc及び周波数信号Sf
の位相差ΔFの変化状態を実線で示しているが、例えば
同図(b)に二点鎖線で示すように、上記位相差ΔFが
+5π〜+7πの範囲で収束するようにモータ1の位置
制御が行われてしまう場合があり、このような状態に陥
ったときには、モータ1の回転子を正常な位置へ制御で
きなくなる。
To explain such a phenomenon with an actual example, FIG. 6B shows the phase comparison reference signal Sc and the frequency signal Sf when the position control of the motor 1 is ideally performed.
The change state of the phase difference ΔF is shown by a solid line. For example, as shown by the chain double-dashed line in the same figure (b), the position control of the motor 1 is performed so that the phase difference ΔF converges in the range of + 5π to + 7π In some cases, the rotor of the motor 1 cannot be controlled to a normal position.

【0015】斯かる問題点に対処するために、従来で
は、図4中に示したような異常監視回路12を設けるこ
とが行われている。即ち、この異常監視回路12は、位
相比較基準信号Sc及び周波数信号Sfの各立上がりを
夫々独立してカウントするカウンタ13及び14と、こ
れらカウンタ13及び14の各カウント値の差が位相比
較基準信号Scの立下がり時点で「1」以上となったと
きに異常監視信号Saを発生する比較器15とを含んで
成るもので、この異常監視信号Saに基づいて上述した
異常状態を解消するように構成される。
In order to deal with such a problem, conventionally, the abnormality monitoring circuit 12 as shown in FIG. 4 is provided. That is, the abnormality monitoring circuit 12 includes counters 13 and 14 that independently count the rising edges of the phase comparison reference signal Sc and the frequency signal Sf, respectively, and the difference between the count values of the counters 13 and 14 is the phase comparison reference signal. It includes a comparator 15 that generates an abnormality monitoring signal Sa when it becomes "1" or more at the time of falling of Sc, so as to eliminate the above-mentioned abnormal state based on this abnormality monitoring signal Sa. Composed.

【0016】しかしながら、このような異常監視回路1
2を設ける場合、その監視時間が比較的長く設定される
のが通常であるため、カウンタ13、14を大容量化す
る必要が生ずる。つまり、図5に示すように、位相比較
基準信号Scの7周期目で異常が発生した場合には、カ
ウンタ13、14は、3ビット(8カウント分)の容量
で済むが、例えば位相比較基準信号Scの800周期目
までの異常を監視する必要がある場合には、カウンタ1
3、14として10ビット(1024カウント分)の容
量のものが必要となり、さらに長い時間を監視するため
には、これに合わせてカウンタ13、14の容量を大幅
に増やす必要がある。
However, such an abnormality monitoring circuit 1
When 2 is provided, since the monitoring time is usually set to be relatively long, it is necessary to increase the capacity of the counters 13 and 14. That is, as shown in FIG. 5, when an abnormality occurs in the 7th cycle of the phase comparison reference signal Sc, the counters 13 and 14 can have a capacity of 3 bits (8 counts). If it is necessary to monitor the abnormality of the signal Sc up to the 800th cycle, the counter 1
A capacity of 10 bits (1024 counts) is required for 3 and 14, and in order to monitor a longer time, it is necessary to significantly increase the capacity of the counters 13 and 14 accordingly.

【0017】このため、従来構成のモータ制御回路で
は、モータ1の位置制御を正確に行うための回路構成の
大規模化が避けられず、また、異常監視回路12からフ
ィードバックされる異常監視信号Saに基づいて異常状
態を解消するための回路も必要であるため、全体の回路
構成の一層の大規模化を来たすものであった。
Therefore, in the conventional motor control circuit, it is inevitable that the circuit structure for accurately controlling the position of the motor 1 is increased in size, and the abnormality monitoring signal Sa fed back from the abnormality monitoring circuit 12 is inevitable. Since a circuit for eliminating the abnormal state based on the above is also required, the overall circuit configuration is further increased in scale.

【0018】本発明は上記事情に鑑みてなされたもので
あり、その目的は、位相比較基準信号と周波数信号との
位相差が所定範囲を外れた場合でもモータの位置制御を
正確に行い得ると共に、回路構成の簡単化を実現できる
などの効果を奏するモータ制御回路を提供するにある。
The present invention has been made in view of the above circumstances, and an object thereof is to accurately control the position of a motor even when the phase difference between the phase comparison reference signal and the frequency signal is out of a predetermined range. Another object of the present invention is to provide a motor control circuit that achieves effects such as simplification of the circuit configuration.

【0019】[0019]

【課題を解決するための手段】本発明は上記目的を達成
するために、位相比較基準信号とモータの実際の回転速
度を示す周波数信号との位相差を比較し、この位相比較
結果に基づいた制御信号をモータ用駆動回路に供給する
モータ制御回路において、前記位相比較基準信号及び周
波数信号の位相差が所定範囲を越えた状態にあるときに
その位相差が所定量ずつ増減するのに応じてアップカウ
ント動作及びダウンカウント動作を選択的に行うアップ
ダウンカウンタを設けた上で、このアップダウンカウン
タのカウント値が初期値にある期間には前記制御信号レ
ベルを前記位相差に応じて変化させると共に初期値以外
にある期間には一定値の制御信号を継続的に出力する信
号発生手段を設ける構成としたものである。
In order to achieve the above object, the present invention compares the phase difference between the phase comparison reference signal and the frequency signal indicating the actual rotation speed of the motor, and based on this phase comparison result. In a motor control circuit that supplies a control signal to a motor drive circuit, when the phase difference between the phase comparison reference signal and the frequency signal exceeds a predetermined range, the phase difference increases or decreases in accordance with a predetermined amount. An up / down counter that selectively performs an up-count operation and a down-count operation is provided, and while the count value of the up-down counter is at an initial value, the control signal level is changed according to the phase difference. A signal generating means for continuously outputting a control signal of a constant value is provided during a period other than the initial value.

【0020】[0020]

【作用】モータの回転速度が変動したときには、これに
追従して位相比較基準信号と周波数信号との位相差も変
化する。このような変化に伴い上記位相差が所定範囲を
越えた場合には、その位相差が所定量ずつ増減するのに
応じて、アップダウンカウンタがアップカウント動作及
びダウンカウント動作を選択的に行うようになる。これ
により、アップダウンカウンタは、位相比較基準信号と
周波数信号との位相差が所定範囲を外れた状態では、そ
のカウント値を初期値以外に維持するが、その位相差が
所定範囲に収束したときには、カウント値を初期値に戻
すように機能する。
When the rotation speed of the motor changes, the phase difference between the phase comparison reference signal and the frequency signal changes accordingly. When the phase difference exceeds the predetermined range due to such a change, the up-down counter selectively performs the up-count operation and the down-count operation as the phase difference increases or decreases by a predetermined amount. become. Thus, the up-down counter maintains the count value other than the initial value when the phase difference between the phase comparison reference signal and the frequency signal is out of the predetermined range, but when the phase difference converges within the predetermined range. , Function to return the count value to the initial value.

【0021】信号発生手段は、アップダウンカウンタの
カウント値が初期値以外にある期間、つまり位相比較基
準信号及び周波数信号の位相差が所定範囲を外れた期間
には、モータ用駆動回路に対し一定値の制御信号を継続
的に出力するから、この制御信号によるモータ制御に応
じて上記位相差が前述した所定範囲に収束するようにな
る。また、信号発生手段は、アップダウンカウンタのカ
ウント値が初期値にある期間、つまり前記位相差が所定
範囲にある期間には、モータ用駆動回路に与える制御信
号レベルを前記位相差に応じて変化させることによって
モータの回転位置制御を行う。
The signal generating means keeps constant with respect to the motor drive circuit during the period when the count value of the up / down counter is other than the initial value, that is, during the period when the phase difference between the phase comparison reference signal and the frequency signal is out of the predetermined range. Since the value control signal is continuously output, the phase difference converges to the above-described predetermined range according to the motor control by the control signal. The signal generating means changes the control signal level given to the motor drive circuit according to the phase difference during the period when the count value of the up-down counter is at the initial value, that is, during the period when the phase difference is within the predetermined range. By doing so, the rotational position of the motor is controlled.

【0022】つまり、位相比較基準信号と周波数信号と
の位相差が所定範囲を外れた場合でも、その位相差が所
定範囲に収束するようなモータ制御が行われると共に、
上記位相差が所定範囲に収束した状態では、その範囲内
での位相差の変動に応じたモータ制御が行われるもので
あり、以てモータの回転位置制御を精度良く行い得るよ
うになる。
That is, even when the phase difference between the phase comparison reference signal and the frequency signal is out of the predetermined range, the motor control is performed so that the phase difference converges within the predetermined range.
In the state where the phase difference converges within the predetermined range, the motor control is performed according to the fluctuation of the phase difference within the range, and thus the rotational position control of the motor can be accurately performed.

【0023】[0023]

【実施例】以下、本発明の一実施例について図1及び図
2を参照しながら説明するに、本実施例は、前記図3に
おける位相比較器4に代えて図1に示す位相比較器16
を設けたことに特徴を有するものであるから、図3に関
する説明のうち、位相比較器4以外の説明はそのまま援
用することにする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. 1 and 2. In this embodiment, instead of the phase comparator 4 in FIG. 3, the phase comparator 16 shown in FIG.
Since it is characterized by the provision of the above, the description other than the phase comparator 4 in the description regarding FIG. 3 will be incorporated as it is.

【0024】図1に示す位相比較器16において、Dフ
リップフロップ17は、周波数信号Sfの立上がりタイ
ミングで「H」レベル信号をラッチすると共に、位相比
較基準信号Scが「H」レベルにある状態で優先的にリ
セット(ラッチ解除)される。Dフリップフロップ18
は、位相比較基準信号Scの立上がりタイミングで
「H」レベル信号をラッチすると共に、周波数信号Sf
が「H」レベルにある状態で優先的にリセットされる。
In the phase comparator 16 shown in FIG. 1, the D flip-flop 17 latches the "H" level signal at the rising timing of the frequency signal Sf, and the phase comparison reference signal Sc is at the "H" level. Reset (latch release) is given priority. D flip-flop 18
Latches the "H" level signal at the rising timing of the phase comparison reference signal Sc, and
Is preferentially reset in the state of "H" level.

【0025】これにより、図2のタイミングチャートに
示すように、位相比較基準信号Scの立上がり位相に対
して、所定範囲たる−π〜+πの範囲(位相比較基準信
号Scの1周期を2πとした範囲)にある周波数信号S
fの立上がり位相が進んでいる状態においては、Dフリ
ップフロップ17の端子Qから「H」レベル信号が出力
される(図2(c)参照)。また、周波数信号Sfの立
上がり位相を基準とした所定の進み位相範囲(その立上
がり前において周波数信号Sfが「L」レベル状態にあ
る範囲)に位相比較基準信号Scの立上がりがある状
態、換言すれば、位相比較基準信号Scの立上がり位相
を基準とした所定の遅れ位相範囲に周波数信号Sfの立
上がりがある状態においては、Dフリップフロップ18
の端子Qから「H」レベル信号が出力されることになる
(図2(d)参照)。
As a result, as shown in the timing chart of FIG. 2, a predetermined range of -π to + π with respect to the rising phase of the phase comparison reference signal Sc (one cycle of the phase comparison reference signal Sc is set to 2π). Frequency signal S in the range)
When the rising phase of f is advanced, the "H" level signal is output from the terminal Q of the D flip-flop 17 (see FIG. 2C). In addition, a state in which the phase comparison reference signal Sc rises in a predetermined lead phase range (the range in which the frequency signal Sf is in the “L” level state before the rise) based on the rise phase of the frequency signal Sf, in other words, , D flip-flop 18 when the frequency signal Sf rises in a predetermined delay phase range based on the rising phase of the phase comparison reference signal Sc.
An "H" level signal is output from the terminal Q of the (see FIG. 2 (d)).

【0026】上記Dフリップフロップ17の出力は、マ
ルチプレクサ19の端子Aに与えられ、Dフリップフロ
ップ18の出力は、マルチプレクサ20の端子Aに与え
られる。これらマルチプレクサ19、20は、セレクト
端子Mに「H」レベル信号が入力された状態で端子Aに
対する入力信号を選択し、セレクト端子Mに「L」レベ
ル信号が入力された状態で端子Bに対する入力信号を選
択する構成となっている。
The output of the D flip-flop 17 is given to the terminal A of the multiplexer 19, and the output of the D flip-flop 18 is given to the terminal A of the multiplexer 20. These multiplexers 19 and 20 select the input signal to the terminal A when the “H” level signal is input to the select terminal M, and input to the terminal B when the “L” level signal is input to the select terminal M. It is configured to select a signal.

【0027】上記マルチプレクサ19の出力は、OR回
路21を介してスリーステートバッファ(以下単にバッ
ファと呼ぶ)22のゲート端子に与えられ、マルチプレ
クサ20の出力は、同じくOR回路21を介してバッフ
ァ22のゲート端子に与えられると共に、そのバッファ
22の入力端子にも与えられるものであり、このバッフ
ァ22の出力は後述する位相制御信号SVとして図3に
示すローパスフィルタ5に与えられる。
An output of the multiplexer 19 is given to a gate terminal of a three-state buffer (hereinafter simply referred to as a buffer) 22 via an OR circuit 21, and an output of the multiplexer 20 is also sent to a buffer 22 of the buffer 22 via the OR circuit 21. The signal is given to the gate terminal and the input terminal of the buffer 22, and the output of the buffer 22 is given to the low-pass filter 5 shown in FIG. 3 as a phase control signal SV described later.

【0028】R−Sフリップフロップ23は、リセット
入力端子Rに位相比較基準信号Scをインバータ24を
介して受けると共に、セット入力端子Sに周波数信号S
fを受けるように接続される。
The RS flip-flop 23 receives the phase comparison reference signal Sc at the reset input terminal R via the inverter 24, and at the set input terminal S the frequency signal S.
connected to receive f.

【0029】一方の入力端子が反転入力端子として構成
されたAND回路25は、その反転入力端子に位相比較
基準信号Scを受けると共に、他方の入力端子に周波数
信号Sfを受けるように接続される。AND回路26
は、一方の入力端子に位相比較基準信号Scを受けると
共に、他方の入力端子に前記R−Sフリップフロップ2
3の出力を受けるように接続される。R−Sフリップフ
ロップ27は、上記AND回路25及び26の各出力を
夫々セット入力端子S及びリセット入力端子Rに受ける
ように接続される。
The AND circuit 25, one input terminal of which is configured as an inverting input terminal, is connected so that the inverting input terminal thereof receives the phase comparison reference signal Sc and the other input terminal thereof receives the frequency signal Sf. AND circuit 26
Receives the phase comparison reference signal Sc at one input terminal and the RS flip-flop 2 at the other input terminal.
3 are connected to receive the output. The RS flip-flop 27 is connected to receive the outputs of the AND circuits 25 and 26 at the set input terminal S and the reset input terminal R, respectively.

【0030】Dフリップフロップ28は、そのクロック
端子CKに周波数信号Sfを受けると共に、データ端子
Dに前記R−Sフリップフロップ23の出力を受けるよ
うになっており、その出力をAND回路29の一方の入
力端子に与える。上記AND回路29は、他方の入力端
子に周波数信号Sfを受けるようになっており、その出
力をマルチプレクサ30の端子Aに与える。
The D flip-flop 28 receives the frequency signal Sf at its clock terminal CK and the output of the RS flip-flop 23 at its data terminal D, and its output is supplied to one of the AND circuits 29. Apply to the input terminal of. The AND circuit 29 is adapted to receive the frequency signal Sf at the other input terminal, and supplies the output thereof to the terminal A of the multiplexer 30.

【0031】Dフリップフロップ31は、そのクロック
端子CKに位相比較基準信号Scをインバータ32を介
して受けると共に、データ端子DにR−Sフリップフロ
ップ23の出力をインバータ33を介して受けるように
なっており、その出力をAND回路34の一方の入力端
子に与える。上記AND回路34は、他方の入力端子に
前記インバータ32を通じて出力される位相比較基準信
号Scを受けるようになっており、その出力をマルチプ
レクサ30の端子Bに与える。
The D flip-flop 31 receives the phase comparison reference signal Sc at its clock terminal CK via the inverter 32, and receives the output of the RS flip-flop 23 at the data terminal D via the inverter 33. The output is given to one input terminal of the AND circuit 34. The AND circuit 34 receives the phase comparison reference signal Sc output from the inverter 32 at the other input terminal thereof, and supplies the output to the terminal B of the multiplexer 30.

【0032】尚、このマルチプレクサ30は、セレクト
端子Mに「H」レベル信号が入力された状態で端子Aに
対する入力信号を選択し、セレクト端子Mに「L」レベ
ル信号が入力された状態で端子Bに対する入力信号を選
択する構成のものである。
The multiplexer 30 selects the input signal to the terminal A when the "H" level signal is input to the select terminal M, and selects the input signal to the terminal A when the "L" level signal is input to the select terminal M. The input signal for B is selected.

【0033】さて、4ビットのアップダウンカウンタ3
5は、そのクロック端子CKにマルチプレクサ30の出
力を受けると共に、セレクト端子U/Dに前記R−Sフ
リップフロップ23の出力を受けるようになっており、
セレクト端子U/Dに「H」レベル信号を受けた状態で
アップカウント動作を行うと共に、セレクト端子U/D
に「L」レベル信号を受けた状態でダウンカウント動作
を行う構成となっている。尚、このアップダウンカウン
タ35は、リセット端子Rにリセット信号を受けたとき
に初期化されるようになっている。
Now, the 4-bit up / down counter 3
5 receives the output of the multiplexer 30 at its clock terminal CK and the output of the RS flip-flop 23 at the select terminal U / D.
The up-count operation is performed while the select terminal U / D receives the "H" level signal, and the select terminal U / D
Further, the down-count operation is performed in a state where the "L" level signal is received. The up / down counter 35 is initialized when a reset signal is received at the reset terminal R.

【0034】このアップダウンカウンタ35の各出力端
子Q1 〜Q4 は、多入力NOR回路36の各入力端子に
接続されている。従って、このNOR回路36からは、
アップダウンカウンタ35のカウント値が初期値である
「0」の状態時のみ「H」レベルとなる位相レディ信号
Srが出力されるものであり、この位相レディ信号Sr
は、前記マルチプレクサ19、20の各セレクト端子M
に与えられると共に、AND回路37の一方に入力端子
に与えれる。
The output terminals Q1 to Q4 of the up / down counter 35 are connected to the input terminals of the multi-input NOR circuit 36. Therefore, from this NOR circuit 36,
Only when the count value of the up / down counter 35 is the initial value "0", the phase ready signal Sr which becomes "H" level is output.
Are select terminals M of the multiplexers 19 and 20.
And to one of the input terminals of the AND circuit 37.

【0035】上記AND回路37は、他方の入力端子に
周波数信号Sfを受けるようになっており、その出力を
Dフリップフロップ38のクロック端子CKに与える。
このDフリップフロップ38は、そのデータ端子Dに前
記R−Sフリップフロップ27の出力をインバータ39
を介して受けるようになっており、その出力は後述する
位相判別信号Sdとして利用される。この場合、上記位
相判別信号Sdは、前記マルチプレクサ19の端子Bに
インバータ40を介して与えられると共に、前記マルチ
プレクサ20の端子Bに直接的に与えられる。
The AND circuit 37 is adapted to receive the frequency signal Sf at the other input terminal thereof, and supplies its output to the clock terminal CK of the D flip-flop 38.
The D flip-flop 38 outputs the output of the RS flip-flop 27 to an inverter 39 at its data terminal D.
Via the output signal, and its output is used as a phase determination signal Sd described later. In this case, the phase discrimination signal Sd is given to the terminal B of the multiplexer 19 via the inverter 40 and directly to the terminal B of the multiplexer 20.

【0036】尚、上述したDフリップフロップ17、1
8、38、マルチプレクサ19、20、OR回路21、
バッファ22、R−Sフリップフロップ27、NOR回
路36などによって、本発明でいう信号発生手段41が
構成されるものである。
Incidentally, the above-mentioned D flip-flops 17, 1
8, 38, multiplexers 19, 20, OR circuit 21,
The buffer 22, the RS flip-flop 27, the NOR circuit 36, etc. constitute the signal generating means 41 in the present invention.

【0037】次に、上記のように構成された位相比較器
16の作用について、図2及び従来例の説明で用いた前
記図6も参照しながら説明する。
Next, the operation of the phase comparator 16 configured as described above will be described with reference to FIG. 2 and FIG. 6 used in the description of the conventional example.

【0038】位相比較基準信号Scと周波数信号Sfと
の関係が、例えば図2(a)、(b)に示すような状態
で変化する場合には、進み位相検出用のDフリップフロ
ップ17及び遅れ位相検出用のDフリップフロップ18
から、夫々図2(c)及び(d)に示すようなタイミン
グで「H」レベル信号が出力される。また、インバータ
24、32の各出力は図2(e)に示すように変化す
る。
When the relationship between the phase comparison reference signal Sc and the frequency signal Sf changes, for example, in the states shown in FIGS. 2 (a) and 2 (b), the lead phase detecting D flip-flop 17 and the delay are detected. D flip-flop 18 for phase detection
, The "H" level signal is output at the timings shown in FIGS. 2C and 2D, respectively. The outputs of the inverters 24 and 32 change as shown in FIG.

【0039】R−Sフリップフロップ23は、周波数信
号Sfの立上がりでセットされると共に、インバータ2
4の出力の立上がり(位相比較基準信号Scの立下が
り)でリセットされるようになり、その出力は図2
(f)に示すように変化する。
The RS flip-flop 23 is set at the rising edge of the frequency signal Sf, and the inverter 2
4 is reset at the rising edge of the output of 4 (falling edge of the phase comparison reference signal Sc), and its output is shown in FIG.
It changes as shown in (f).

【0040】AND回路25の出力は、図2(g)に示
すように、位相比較基準信号Scが「L」レベルで且つ
周波数信号Sfが「H」レベルの状態時のみ「H」レベ
ルに立上がる波形となる。また、AND回路26の出力
は、図2(h)に示すように、位相比較基準信号Sc及
びR−Sフリップフロップ23の出力が双方とも「H」
レベルの状態時のみ「H」レベルに立上がる波形とな
る。
The output of the AND circuit 25 rises to "H" level only when the phase comparison reference signal Sc is at "L" level and the frequency signal Sf is at "H" level, as shown in FIG. 2 (g). It becomes a rising waveform. Further, as shown in FIG. 2 (h), the output of the AND circuit 26 is such that both the phase comparison reference signal Sc and the output of the RS flip-flop 23 are "H".
The waveform rises to the “H” level only in the level state.

【0041】R−Sフリップフロップ27は、AND回
路25の出力の立上がりによってセットされると共に、
AND回路26の出力の立上がりによってリセットされ
るようになり、その出力は図2(i)に示すように変化
し、これに応じてインバータ39の出力は図2(j)に
示すように変化する。
The RS flip-flop 27 is set by the rise of the output of the AND circuit 25, and
The output of the AND circuit 26 is reset by the rise of the output, the output thereof changes as shown in FIG. 2 (i), and the output of the inverter 39 changes accordingly as shown in FIG. 2 (j). ..

【0042】Dフリップフロップ28は、周波数信号S
fの立上がりタイミング毎に、R−Sフリップフロップ
23からの出力信号をラッチするようになり、その出力
は図2(k)に示すように変化する。従って、このDフ
リップフロップ28の出力と周波数信号Sfのアンド条
件をとるAND回路29の出力は、図2(l)に示す状
態となる。
The D flip-flop 28 has a frequency signal S.
The output signal from the RS flip-flop 23 is latched at each rising edge of f, and its output changes as shown in FIG. 2 (k). Therefore, the output of the D flip-flop 28 and the output of the AND circuit 29 which takes the AND condition of the frequency signal Sf are in the state shown in FIG.

【0043】Dフリップフロップ31は、インバータ3
2の出力の立上がりタイミング(位相比較基準信号Sc
の立下がりタイミング)毎に、R−Sフリップフロップ
23からインバータ33により反転されて与えられる信
号をラッチするようになり、その出力は図2(m)に示
すように変化する。従って、このDフリップフロップ3
1の出力とインバータ32の出力のアンド条件をとるA
ND回路34の出力は、図2(n)に示す状態となる。
The D flip-flop 31 is the inverter 3
2 output rising timing (phase comparison reference signal Sc
2), the signal inverted and applied by the inverter 33 from the RS flip-flop 23 is latched, and its output changes as shown in FIG. 2 (m). Therefore, this D flip-flop 3
1 which takes the AND condition of the output of 1 and the output of the inverter 32
The output of the ND circuit 34 is in the state shown in FIG.

【0044】マルチプレクサ30は、R−Sフリップフ
ロップ23から「H」レベル信号が出力された状態でA
ND回路29からの出力を選択し、R−Sフリップフロ
ップ23から「L」レベル信号が出力された状態でAN
D回路34からの出力を選択するものであり、その出力
端子Qからは図2(o)に示すようなタイミングでカウ
ントパルスPcが出力されてアップダウンカウンタ35
のクロック端子CKに与えられる。
The multiplexer 30 outputs A when the RS flip-flop 23 outputs the "H" level signal.
When the output from the ND circuit 29 is selected and the “L” level signal is output from the RS flip-flop 23, the AN
The output from the D circuit 34 is selected, and the count pulse Pc is output from the output terminal Q thereof at the timing shown in FIG.
To the clock terminal CK.

【0045】即ち、このカウントパルスPcは、位相比
較基準信号Sc及び周波数信号Sfの位相差ΔFが所定
範囲−π〜+πから外れたときに出力されると共に、こ
の状態から位相差ΔFが2πを越えて増減する毎に出力
されるものである。
That is, the count pulse Pc is output when the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf is out of the predetermined range −π to + π, and from this state, the phase difference ΔF is 2π. It is output each time it exceeds or increases.

【0046】従って、アップダウンカウンタ35は、上
記カウントパルスPcの立上がりをカウントするように
なり、R−Sフリップフロップ23からの出力が「H」
レベルのときにアップカウント動作を行い、「L」レベ
ルのときにダウンカウント動作を行う。
Therefore, the up / down counter 35 counts the rising of the count pulse Pc, and the output from the RS flip-flop 23 is "H".
The up-count operation is performed at the level, and the down-count operation is performed at the "L" level.

【0047】具体的には、図2の例においては、1発目
及び2発目のカウントパルスPcの各立上がりタイミン
グ(位相比較基準信号Sc及び周波数信号Sfの位相差
ΔFが+π〜+3πの範囲に増加したとき、並びに位相
差ΔFが+3π〜+5πの範囲に増加したとき)におい
て、R−Sフリップフロップ23の出力は「L」レベル
であるからダウンカウント動作を行い、3発目及び4発
目のカウントパルスPcの各立上がりタイミング(前記
位相差ΔFが+π〜+3πの範囲に減少したとき、並び
に位相差ΔFが−π〜+πの範囲に減少したとき)にお
いて、R−Sフリップフロップ23の出力は「H」レベ
ルであるからアップカウント動作を行う。従って、この
場合には、アップダウンカウンタ35のカウント値は図
2(p)に示すように変化する。
Specifically, in the example of FIG. 2, each rising timing of the first and second count pulses Pc (the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf is in the range of + π to + 3π). When the phase difference ΔF increases to + 3π to + 5π), the output of the RS flip-flop 23 is at the “L” level, so the down count operation is performed and the third and fourth shots are performed. At each rising timing of the eye count pulse Pc (when the phase difference ΔF decreases in the range of + π to + 3π and when the phase difference ΔF decreases in the range of −π to + π), the RS flip-flop 23 operates. Since the output is at "H" level, the up-count operation is performed. Therefore, in this case, the count value of the up / down counter 35 changes as shown in FIG.

【0048】これにより、NOR回路36から出力され
る位相レディ信号Srは、図2(q)に示すように、ア
ップダウンカウンタ35のカウント値が初期値である
「0」の状態時、つまり位相比較基準信号Scと周波数
信号Sfとの位相差ΔFが所定範囲たる−π〜+πの範
囲にある状態時のみ「H」レベルとなり、上記カウント
値が初期値以外にある状態時、つまり上記位相差ΔFが
−π〜+πの範囲を外れた状態時には「L」レベルとな
る。
As a result, the phase ready signal Sr output from the NOR circuit 36, as shown in FIG. 2 (q), is in the state where the count value of the up / down counter 35 is "0" which is the initial value, that is, the phase. Only when the phase difference ΔF between the comparison reference signal Sc and the frequency signal Sf is within the predetermined range of −π to + π, the level becomes “H” level, and when the count value is other than the initial value, that is, the phase difference. When ΔF is out of the range of −π to + π, the level becomes “L”.

【0049】この結果、上記位相レディ信号Srと周波
数信号Sfのアンド条件をとるAND回路37の出力
は、図2(r)のように変化し、そのAND回路37の
出力の立上がりタイミング毎にインバータ39からの出
力信号をラッチするDフリップフロップ38からは、図
2(s)に示すようなタイミングで立上がる位相判別信
号Sdが出力される。
As a result, the output of the AND circuit 37 which takes the AND condition of the phase ready signal Sr and the frequency signal Sf changes as shown in FIG. 2 (r), and the inverter is output at every rising timing of the output of the AND circuit 37. From the D flip-flop 38 which latches the output signal from 39, the phase discrimination signal Sd which rises at the timing as shown in FIG. 2 (s) is output.

【0050】マルチプレクサ19は、位相レディ信号S
rが「H」レベルにある状態(位相比較基準信号Scと
周波数信号Sfとの位相差ΔFが−π〜+πの範囲にあ
る状態)において、Dフリップフロップ17からの出力
を選択し、位相レディ信号Srが「L」レベルにある状
態(上記位相差ΔFが−π〜+πの範囲から外れた状
態)において、インバータ40により反転されて与えら
れる位相判別信号Sdを選択するものであり、その出力
は図2(t)に示すような状態となる。
The multiplexer 19 receives the phase ready signal S
When r is at the “H” level (the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf is in the range of −π to + π), the output from the D flip-flop 17 is selected and the phase ready In the state where the signal Sr is at the “L” level (the above-mentioned phase difference ΔF is out of the range of −π to + π), the phase determination signal Sd inverted and given by the inverter 40 is selected, and its output Is in a state as shown in FIG.

【0051】マルチプレクサ20は、位相レディ信号S
rが「H」レベルにある状態において、Dフリップフロ
ップ18からの出力を選択し、位相レディ信号Srが
「L」レベルにある状態において、位相判別信号Sdを
選択するものであり、その出力は図2(u)に示すよう
な状態となる。
The multiplexer 20 receives the phase ready signal S
The output from the D flip-flop 18 is selected when r is at "H" level, and the phase determination signal Sd is selected when the phase ready signal Sr is at "L" level. The state is as shown in FIG.

【0052】この結果、バッファ22から出力される位
相制御信号SVは、図2(v)に示すように、マルチプ
レクサ19のみから「H」レベル信号が出力された期
間、つまり周波数信号Sfの位相が位相比較基準信号S
cに対し進んでいる期間に「L」レベル、マルチプレク
サ20のみから「H」レベル信号が出力された期間、つ
まり周波数信号Sfの位相が位相比較基準信号Scに対
し進んでいる期間に「H」レベル、その他の期間にZレ
ベル(ハイインピーダンス状態)を呈するようになる。
As a result, the phase control signal SV output from the buffer 22 is, as shown in FIG. 2 (v), the period during which the "H" level signal is output from only the multiplexer 19, that is, the phase of the frequency signal Sf. Phase comparison reference signal S
“L” level during the period leading to c, and a period when the “H” level signal is output only from the multiplexer 20, that is, during the period when the phase of the frequency signal Sf leads the phase comparison reference signal Sc. The Z level (high impedance state) is exhibited during the level and other periods.

【0053】以上要するに、上記した本実施例の構成に
よれば、位相比較基準信号Scと周波数信号Sfとの間
に位相差ΔFが生じている状態では、その位相差ΔFの
内容(進みか遅れか)に応じたレベルの位相制御信号S
Vが出力されることになる。この場合において、位相差
ΔFが所定範囲−π〜+πを外れた期間には、一定値の
位相制御信号SVが継続的に出力されるから、この信号
SVに基づいたモータ1の制御に応じて上記位相差ΔF
が−π〜+πの範囲に収束するようになる。また、位相
差が所定範囲−π〜+πにある期間には、位相制御信号
SVのレベルがその位相差ΔFに応じて変化されること
になり、これによりモータ1の回転位置制御が行われ
る。
In summary, according to the configuration of the present embodiment described above, in the state where the phase difference ΔF is generated between the phase comparison reference signal Sc and the frequency signal Sf, the content of the phase difference ΔF (advance or delay). Phase control signal S of a level according to
V will be output. In this case, since the phase control signal SV having a constant value is continuously output during the period in which the phase difference ΔF is outside the predetermined range −π to + π, the motor 1 is controlled based on the signal SV. The phase difference ΔF
Will converge in the range of -π to + π. Further, during the period in which the phase difference is within the predetermined range −π to + π, the level of the phase control signal SV is changed according to the phase difference ΔF, whereby the rotational position control of the motor 1 is performed.

【0054】従って、例えば図6(b)に実線で示すよ
うに、位相比較基準信号Sc及び周波数信号Sfの位相
差ΔFが+5π以上に拡大するような場合でも、その位
相差ΔFを所定範囲に収束させる制御を確実に行い得る
ようになり、所定範囲−π〜+πにおいてモータ1の回
転子の位置制御を正確に行い得るようになる。
Therefore, for example, as shown by the solid line in FIG. 6B, even when the phase difference ΔF between the phase comparison reference signal Sc and the frequency signal Sf expands to + 5π or more, the phase difference ΔF falls within the predetermined range. It becomes possible to surely perform the control for making the convergence, and it is possible to accurately perform the position control of the rotor of the motor 1 in the predetermined range −π to + π.

【0055】また、上記のような制御を行うのに重要な
役目を果たすアップダウンカウンタ35は、前記位相差
ΔFが所定範囲たる−π〜+πの範囲を外れた異常状態
時のみカウント動作を行う構成であるから、小容量のも
ので済むようになり、従来のように回路構成の大規模化
を招く虞がなくなるものである。
Further, the up / down counter 35, which plays an important role in performing the above control, performs the counting operation only in the abnormal state where the phase difference ΔF is out of the predetermined range of −π to + π. Since it has a configuration, a small-capacity one is sufficient, and there is no possibility of causing a large-scale circuit configuration as in the conventional case.

【0056】しかも、モータ1に急激な負荷変動などの
異常が起きて位相比較基準信号Sc及び周波数信号Sf
の位相差ΔFが所定範囲を外れた状態では、その異常状
態を位相レディ信号Srによって検出できると共に、そ
の位相ずれの起きた方向(進みか遅れか)を位相判別信
号Sdによって検出でき、しかもアップダウンカウンタ
35のカウント値に基づいて上記位相ずれの量を検出で
きるようになるから、それらの検出結果に基づいて上記
異常状態の解析などを行うことが可能になるという利点
もある。
In addition, when the motor 1 has an abnormality such as a sudden load change, the phase comparison reference signal Sc and the frequency signal Sf are generated.
When the phase difference ΔF is out of the predetermined range, the abnormal state can be detected by the phase ready signal Sr, and the direction in which the phase shift has occurred (lead or lag) can be detected by the phase determination signal Sd, and further up. Since the amount of phase shift can be detected based on the count value of the down counter 35, there is also an advantage that it is possible to analyze the abnormal state based on the detection results.

【0057】尚、上記実施例では、4ビットのアップダ
ウンカウンタ35を利用したから、位相比較基準信号S
c及び周波数信号Sfの位相差ΔFが±15カウント相
当範囲まで拡大した異常状態まで対処できるものである
が、そのカウンタ35のビット数を上げることにより、
さらに広範囲の異常状態に対処可能となり、この逆に位
相差ΔFの変動範囲が小さい場合には、アップダウンカ
ウンタ35のビット数を下げることにより、回路構成の
一層の簡単化を図り得るものである。
In the above embodiment, since the 4-bit up / down counter 35 is used, the phase comparison reference signal S
Although it is possible to cope with an abnormal state in which the phase difference ΔF between the frequency c and the frequency signal Sf is expanded to a range corresponding to ± 15 counts, by increasing the number of bits of the counter 35,
Further, it becomes possible to deal with a wide range of abnormal states, and conversely, when the variation range of the phase difference ΔF is small, the number of bits of the up / down counter 35 can be reduced to further simplify the circuit configuration. ..

【0058】また、上記実施例では、位相比較器16と
して主要部にフリップフロップを利用した構成のものを
例に挙げたが、主要部に他の構成を利用した位相比較器
にも同様に適用できるものである。
Further, in the above-described embodiment, the phase comparator 16 has the structure using the flip-flop for the main part as an example, but the same applies to the phase comparator using other structure for the main part. It is possible.

【0059】[0059]

【発明の効果】本発明によれば以上の説明によって明ら
かなように、モータの実際の回転速度を示す位相比較基
準信号と周波数信号との比較結果に基づいてモータ制御
を行うようにしたモータ制御回路において、前記位相比
較基準信号及び周波数信号の位相差が所定範囲を越えた
状態を検出するための要素としてアップダウンカウンタ
を利用すると共に、上記検出位相差が所定範囲にあると
きにはモータ用駆動回路に与える制御信号レベルをその
位相差に応じて変化させると共に検出位相差が所定範囲
外にある期間には一定値の制御信号を継続的に出力する
信号発生手段を設ける構成としたので、モータの負荷ト
ルク変動などに起因して位相比較基準信号と周波数信号
との位相差が所定範囲を外れた場合でも、その位相差を
速やかに適正範囲に収束させることができて、モータの
位置制御を正確に行い得るようになり、しかも前記アッ
プダウンカウンタの容量を大きくする必要がなくなるか
ら、回路構成の簡単化をも実現できるようになる。
According to the present invention, as apparent from the above description, the motor control is performed based on the comparison result between the phase comparison reference signal indicating the actual rotation speed of the motor and the frequency signal. In the circuit, an up-down counter is used as an element for detecting a state where the phase difference between the phase comparison reference signal and the frequency signal exceeds a predetermined range, and when the detected phase difference is within the predetermined range, a motor drive circuit The control signal level given to the motor is changed according to the phase difference, and the signal generating means for continuously outputting the control signal of a constant value is provided during the period when the detected phase difference is outside the predetermined range. Even if the phase difference between the phase comparison reference signal and the frequency signal deviates from the specified range due to load torque fluctuations, etc. And it is possible to converge, it becomes capable of performing precise position control of the motor, yet because the need to increase the capacity of the up-down counter eliminated, it becomes possible to realize also the simplification of the circuit configuration.

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

【図1】本発明の一実施例を示す要部の機能ブロック図FIG. 1 is a functional block diagram of essential parts showing an embodiment of the present invention.

【図2】作用説明用のタイミングチャートFIG. 2 is a timing chart for explaining the operation

【図3】従来構成を説明するための機能ブロック図FIG. 3 is a functional block diagram for explaining a conventional configuration.

【図4】要部の機能ブロック図FIG. 4 is a functional block diagram of essential parts.

【図5】作用説明用のタイミングチャートFIG. 5 is a timing chart for explaining the operation.

【図6】作用説明用の信号波形図FIG. 6 is a signal waveform diagram for explaining the operation.

【符号の説明】[Explanation of symbols]

図中、1はモータ、2はエンコーダ、7は増幅器、16
は位相比較器、17、18、28、31、38はDフリ
ップフロップ、19、20、30はマルチプレクサ、2
3、27はR−Sフリップフロップ、35はアップダウ
ンカウンタ、36はNOR回路、41は信号発生手段を
示す。
In the figure, 1 is a motor, 2 is an encoder, 7 is an amplifier, 16
Is a phase comparator, 17, 18, 28, 31, 38 are D flip-flops, 19, 20, 30 are multiplexers, 2
3 and 27 are RS flip-flops, 35 is an up / down counter, 36 is a NOR circuit, and 41 is a signal generating means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 位相比較基準信号とモータの回転速度に
応じて変化する周波数信号との位相差を比較し、この位
相比較結果に基づいた制御信号を前記モータ用の駆動回
路に供給するモータ制御回路において、 前記位相比較基準信号及び周波数信号の位相差が所定範
囲を越えた状態にあるときには、その位相差が所定量ず
つ増減するのに応じてアップカウント動作及びダウンカ
ウント動作を選択的に行うアップダウンカウンタと、 このアップダウンカウンタのカウント値が初期値にある
期間には前記制御信号レベルを前記位相差に応じて変化
させると共に、上記カウント値が初期値以外にある期間
には一定値の制御信号を継続的に出力する信号発生手段
とを備えたことを特徴とするモータ制御回路。
1. A motor control that compares a phase difference between a phase comparison reference signal and a frequency signal that changes according to the rotation speed of a motor, and supplies a control signal based on the result of the phase comparison to a drive circuit for the motor. In the circuit, when the phase difference between the phase comparison reference signal and the frequency signal exceeds a predetermined range, the up-count operation and the down-count operation are selectively performed according to the increase or decrease of the phase difference by a predetermined amount. An up-down counter and the control signal level is changed according to the phase difference during the period when the count value of the up-down counter is at the initial value, and a constant value is maintained during the period when the count value is outside the initial value. A motor control circuit, comprising: a signal generating unit that continuously outputs a control signal.
JP3249227A 1991-09-27 1991-09-27 Motor control circuit Pending JPH0591776A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3249227A JPH0591776A (en) 1991-09-27 1991-09-27 Motor control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3249227A JPH0591776A (en) 1991-09-27 1991-09-27 Motor control circuit

Publications (1)

Publication Number Publication Date
JPH0591776A true JPH0591776A (en) 1993-04-09

Family

ID=17189814

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3249227A Pending JPH0591776A (en) 1991-09-27 1991-09-27 Motor control circuit

Country Status (1)

Country Link
JP (1) JPH0591776A (en)

Similar Documents

Publication Publication Date Title
JP4754578B2 (en) Phase comparator and phase adjustment circuit
JP3619466B2 (en) Semiconductor device
US11868193B2 (en) System and method for compensating for a droop event
JP2004325410A (en) Input and output circuit
JPH0591776A (en) Motor control circuit
JP3672674B2 (en) Motor control device
JP3126610B2 (en) Control method of counter in clock generation circuit
JPS61189460A (en) Detecting method for fault of speed detector
JP2925813B2 (en) Motor drive
JP2697626B2 (en) Lock detector for phase locked loop
JP3253581B2 (en) Digital PLL circuit
JP2002026704A (en) Clock fault detector and its method
KR0117930Y1 (en) Alarm signal generting apparatus of encoder
JP3132611B2 (en) Trigger circuit
JPS61207967A (en) Speed control device for motor
KR0154386B1 (en) Control signal generating device of a spindle motor in optical disk player
JP2859452B2 (en) Motor control circuit
JP3151865B2 (en) Sync detection circuit
JP2003018137A (en) Asynchronous detector circuit
JPS6340048B2 (en)
JP2864779B2 (en) Pulse input circuit
KR920003518B1 (en) Error detecting circuit by clock phase comparing
JPH0719436B2 (en) Rotating body drive
JPH01243869A (en) Recording a reproducing device and spindle motor rotation controller therefor
JPH0721934B2 (en) Rotating body drive