JPH0721932B2 - Rotating body drive - Google Patents

Rotating body drive

Info

Publication number
JPH0721932B2
JPH0721932B2 JP11492486A JP11492486A JPH0721932B2 JP H0721932 B2 JPH0721932 B2 JP H0721932B2 JP 11492486 A JP11492486 A JP 11492486A JP 11492486 A JP11492486 A JP 11492486A JP H0721932 B2 JPH0721932 B2 JP H0721932B2
Authority
JP
Japan
Prior art keywords
signal
phase
pulse
level
motor
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
JP11492486A
Other languages
Japanese (ja)
Other versions
JPS62273667A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11492486A priority Critical patent/JPH0721932B2/en
Priority to US07/051,041 priority patent/US4933985A/en
Publication of JPS62273667A publication Critical patent/JPS62273667A/en
Priority to US08/121,223 priority patent/US5345532A/en
Publication of JPH0721932B2 publication Critical patent/JPH0721932B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Rotational Drive Of Disk (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は回転体駆動装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention relates to a rotary body drive device.

[従来の技術] 従来の回転体駆動装置、例えば電子スチルカメラにおけ
るディスク駆動装置のような回転体駆動装置において
は、カメラ全体の動作タイミングを規制するための基準
信号にモータの位相を合わせるようにその駆動制御が行
われていた。従って位相を用いたモータの速度制御(位
相制御)に時間がかかりカメラの立上り特性が悪かっ
た。
[Prior Art] In a conventional rotary body drive device, for example, a rotary body drive device such as a disk drive device in an electronic still camera, it is necessary to match the phase of a motor with a reference signal for regulating the operation timing of the entire camera. The drive control was performed. Therefore, it takes time to control the speed of the motor (phase control) using the phase, and the start-up characteristics of the camera are poor.

また、位相制御の方法としては、例えば基準信号よりπ
遅れてFG(Frequency Generator)パルスの位相を同期
させてモータを制御することが考えられるが、この場合
位相の制御可能な範囲は基準信号に対するFGパルスの位
相の遅れが0以上2π以下の範囲に限られてしまう。
Further, as a method of controlling the phase, for example, π
It is possible to control the motor by synchronizing the phase of the FG (Frequency Generator) pulse with a delay. In this case, the controllable range of the phase is such that the delay of the phase of the FG pulse with respect to the reference signal is 0 or more and 2π or less. It will be limited.

しかし、モータへの急激な負荷変動等によって位相差が
上記制御可能範囲を越えることもありうる。
However, the phase difference may exceed the controllable range due to a sudden load change on the motor.

このことを第5図を参照して説明する。同図は、理解を
容易とするために、基準信号に対してFGパルスを位相0
で同期させて(以下、この同期した状態を位相ロック状
態ともいう)モータ制御を行う場合を示している。すな
わち、上述した急激な負荷変動により、同図に示すよう
に、例えばn−1回目の制御のためのサンプル時では、
上記位相ロック状態から(15/8)π程位相がずれた状態
となり、次のサンプル時、つまりn回目までに、さらに
(1/8)π以上のずれ(図に示す例では(2/8)πのず
れ)を生じると、位相ロック状態からの位相ずれが2π
以上になってしまう(2π+(1/8)π)。ところが、
上述のような制御方法ではこの場合位相ずれが小さくな
ったものと判断してしまい、適切な制御が不可能となる
問題点があった。
This will be described with reference to FIG. In the figure, in order to facilitate understanding, the FG pulse is phase 0 with respect to the reference signal.
Shows a case where the motor control is performed in synchronization with each other (hereinafter, this synchronized state is also referred to as a phase lock state). That is, due to the abrupt load change described above, as shown in FIG.
The phase is shifted by (15/8) π from the above-mentioned phase locked state, and by the time of the next sample, that is, by the nth time, a further shift of (1/8) π or more ((2/8 in the example shown in the figure ) Π) occurs, the phase shift from the phase locked state is 2π
It becomes above (2π + (1/8) π). However,
In the control method as described above, in this case, it is determined that the phase shift has become small, and there is a problem that proper control becomes impossible.

[発明が解決しようとする問題点] そこで、本発明の目的は以上のような問題点を解決し、
大きな負荷変動が生じた場合でも正確な回転体の位相制
御を行うことができる回転体駆動装置を提供することに
ある。
[Problems to be Solved by the Invention] Therefore, an object of the present invention is to solve the above problems,
It is an object of the present invention to provide a rotating body drive device capable of performing accurate phase control of a rotating body even when a large load change occurs.

[問題点を解決するための手段] かかる目的を達成するために、本発明では、回転体を駆
動する回転駆動手段と、前記回転体の回転に伴って所定
のパルス信号を発生するパルス発生手段と、前記パルス
発生手段より出力されるパルス信号の周期に基づいて前
記回転体の回転速度を検出し、該回転速度が所定の速度
に一定となるように前記回転駆動手段を速度制御する速
度制御手段と、周期的な基準パルス信号を発生する基準
信号源と、前記パルス発生手段より発生するパルス信号
と前記基準パルス信号との位相差を前記基準パルス信号
の一周期間に演算し、該位相差が所定の位相差となるよ
うに前記回転駆動手段を位相制御する位相制御手段と、
前記回転駆動手段が前記位相制御手段によって位相制御
されている状態において、前記パルス発生手段より発生
される前記パルス信号の発生間隔に応じて前記位相制御
手段による前記位相差の演算回数を変更する制御手段
と、を具えたことを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, in the present invention, a rotation driving means for driving a rotating body and a pulse generating means for generating a predetermined pulse signal in accordance with the rotation of the rotating body. And a speed control for detecting the rotation speed of the rotating body based on the cycle of the pulse signal output from the pulse generating means, and controlling the speed of the rotation driving means so that the rotation speed becomes constant at a predetermined speed. Means, a reference signal source for generating a periodic reference pulse signal, and a phase difference between the pulse signal generated by the pulse generating means and the reference pulse signal for one cycle of the reference pulse signal, and the phase difference A phase control means for controlling the phase of the rotation drive means so that a predetermined phase difference is obtained,
Control for changing the number of times the phase difference is calculated by the phase control means in accordance with the generation interval of the pulse signal generated by the pulse generation means in a state where the rotation drive means is phase controlled by the phase control means. Means and are provided.

[作用] 本発明によれば、検知手段による検知がなされたとき、
すなわち例えば位相制御手段による位相制御のための演
算等が間に合わないような場合において、前記検知に応
じて必要最小限の演算のみを行うようにすることによ
り、効率のよい制御が可能となる。
[Operation] According to the present invention, when detection is performed by the detection means,
That is, for example, when the calculation for the phase control by the phase control means is not in time, by performing only the minimum necessary calculation according to the detection, efficient control becomes possible.

[実施例] 以下、図面を参照して本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明回転体駆動装置の一実施例としてのディ
スク駆動装置を含む電子スチルカメラの一構成例を示す
ブロック図である。図において、1はモータ起動スイッ
チ、2は装置全体を制御するとともに各種演算等を行う
システム制御演算部であって、マイクロコンピュータ形
態のCPU、ワークエリア等を有するRAM、後述の第2図に
示すような手順を記憶したROMおよびカウンタ等を有す
る。3は入力信号の立ち上りエッジでリセット(RESE
T)して0から計時を行うタイマカウンタ回路、4は入
力信号の立ち上りエッジ毎にタイマカウンタ回路3の内
容を保持するラッチ回路であって、各部2,3および4に
より位相制御手段が構成されている。5はモータが組込
まれている電子スチルカメラの全体のタイミング信号
(同期信号)を発生する同期信号源としてのシステム基
準信号発生回路、6はモータの位相制御の基準となる信
号を発生する基準信号源としてのモータ制御基準信号発
生回路、7はD/A変換器、8はD/A変換されたモータ制御
信号を増幅するモータ駆動回路、9は回転駆動手段とし
てのモータである。
FIG. 1 is a block diagram showing an example of the configuration of an electronic still camera including a disk drive device as an embodiment of the rotating body drive device of the present invention. In the figure, 1 is a motor start switch, 2 is a system control arithmetic unit for controlling the entire apparatus and performing various arithmetic operations, etc., a CPU in the form of a microcomputer, a RAM having a work area, etc., shown in FIG. It has a ROM and a counter that store such procedures. 3 is reset at the rising edge of the input signal (RESE
T) and a timer counter circuit 4 for counting from 0 are latch circuits for holding the contents of the timer counter circuit 3 at each rising edge of the input signal, and the phase control means is constituted by the respective units 2, 3 and 4. ing. Reference numeral 5 is a system reference signal generation circuit as a synchronization signal source that generates a timing signal (synchronization signal) for the entire electronic still camera in which the motor is incorporated, and reference numeral 6 is a reference signal that generates a reference signal for phase control of the motor. A motor control reference signal generating circuit as a source, 7 is a D / A converter, 8 is a motor drive circuit for amplifying the D / A converted motor control signal, and 9 is a motor as a rotation drive means.

10はモータの回転位相に対応したFG信号パルス、すなわ
ち例えばモータ8の1回転につき16個のパルスを発生す
る検出手段としてのFG(Frequency Generator)回路、1
1はモード切換信号14により速度偏差を用いた速度制御
モード(以下、速度制御モード)に設定するためのa側
および位相同期による位相制御モード(以下、位相制御
モード)に設定するためのb側に切り換わるモード切換
スイッチ、19はモータの位相に同期したパルスをモータ
1回転に1回Hレベルで出力する位相信号発生器(P
G)、21はANDゲート、12はFG回路10からの出力信号、13
はカウンタ回路3のリセット入力端に入力されるRESET
信号、15は演算部2から出力される位相同期時Hレベル
および非同期時LレベルとなるREADY信号、16は同演算
部2から出力される基準信号発生タイミング信号、17は
制御基準信号発生回路6から出力される基準信号、18は
PG19からの出力信号、20はREADY信号15がLレベルから
HレベルになったときにほぼモータのFGの周期の幅をも
つHレベルのワンショットパルスを発生するワンショッ
ト回路である。22は撮像装置、23は信号処理回路、24は
ヘッド、25は制御対象である回転体としての記録媒体で
ある。
Reference numeral 10 denotes an FG signal pulse corresponding to the rotation phase of the motor, that is, an FG (Frequency Generator) circuit as a detection means for generating, for example, 16 pulses per one rotation of the motor 8, 1
1 is a side for setting a speed control mode (hereinafter, speed control mode) using speed deviation by the mode switching signal 14 and b side for setting a phase control mode by phase synchronization (hereinafter, phase control mode) A mode switch for switching to a phase signal generator (P) that outputs a pulse synchronized with the motor phase at H level once per motor revolution (P
G), 21 is an AND gate, 12 is an output signal from the FG circuit 10, and 13
Is RESET input to the reset input terminal of the counter circuit 3.
A signal, 15 is a READY signal output from the arithmetic unit 2 which is at the H level when the phase is synchronized and L level when the phase is asynchronous, 16 is a reference signal generation timing signal output from the arithmetic unit 2, and 17 is a control reference signal generation circuit 6 18 is the reference signal output from
An output signal from the PG 19, 20 is a one-shot circuit for generating an H-level one-shot pulse having a width of the FG cycle of the motor when the READY signal 15 changes from the L level to the H level. Reference numeral 22 is an image pickup device, 23 is a signal processing circuit, 24 is a head, and 25 is a recording medium as a rotating body to be controlled.

ついで第1図示の構成における動作を説明する。Next, the operation of the configuration shown in FIG. 1 will be described.

第2図は本実施例に係る回転体の駆動制御手順の一例を
示す。本実施例ではモータ9を映像信号の垂直同期信号
に同期させると共に位相同期時に、モータ9のFG信号12
の周期と制御基準信号発生回路からの基準信号17の周期
とを等しく、かつFG信号パルス立ち上りと基準信号17の
立ち上りエッジとの位相差をπとしている。
FIG. 2 shows an example of a drive control procedure of the rotating body according to the present embodiment. In this embodiment, the motor 9 is synchronized with the vertical synchronizing signal of the video signal, and at the time of phase synchronization, the FG signal 12 of the motor 9 is generated.
Is equal to the cycle of the reference signal 17 from the control reference signal generation circuit, and the phase difference between the rising edge of the FG signal pulse and the rising edge of the reference signal 17 is π.

初期時において、モータ9は回転が停止しているとす
る。この初期時、スイッチ11はa側、すなわち速度制御
モード側に設定されている。ここでステップS1において
モータ起動スイッチ1が閉成されると、ステップS2にす
すみ、そこでシステム制御演算部2はD/A変換器7にモ
ータ9を起動するに十分な一定値を出力する。
It is assumed that the motor 9 has stopped rotating at the initial stage. At the initial stage, the switch 11 is set to the side a, that is, the speed control mode side. Here, when the motor start switch 1 is closed in step S1, the process proceeds to step S2, where the system control calculation unit 2 outputs a constant value sufficient for starting the motor 9 to the D / A converter 7.

ついでステップS3にすすみ、そこで次のようなモータ9
の速度制御を行った後、ステップS4にすすんでその速度
が安定か否かを演算部2において判断する。すなわち、
まずステップS3においてD/A変換器7からの信号を駆動
回路8に入力し、これに基づく駆動回路8からの信号を
モータ9に供給する。するとモータ9が回転し始め、FG
回路10からモータ9の回転周期に比例したFGパルス信号
12が出力される。ここでスイッチ11はa側にあるから、
FGパルス信号12の立ち上りエッジでタイマカウンタ回路
3の内容がラッチ回路4に保持されるとともに、タイマ
カウンタ回路3がリセットされ再び0からのタイムカウ
ントを開始する。すなわち、ラッチ回路4はFGパルスの
周期をFGパルス信号の立ち上りエッジ毎に保持する。演
算部2は保持されたFGパルスの周期と制御目標周期(す
なわち、例えばNTSC方式の場合垂直同期信号周期1/60
秒)との差を偏差量として操作量を演算し、D/A変換器
7に演算結果を出力する。このようにしてモータ9の速
度が制御される。
Then proceed to step S3, where the following motor 9
After performing the speed control in step S4, the operation unit 2 determines whether the speed is stable or not in step S4. That is,
First, in step S3, the signal from the D / A converter 7 is input to the drive circuit 8, and the signal from the drive circuit 8 based on this is supplied to the motor 9. Then, the motor 9 starts to rotate and FG
FG pulse signal proportional to the rotation cycle of the motor 9 from the circuit 10
12 is output. Since the switch 11 is on the a side here,
At the rising edge of the FG pulse signal 12, the contents of the timer counter circuit 3 are held in the latch circuit 4, and the timer counter circuit 3 is reset to start time counting from 0 again. That is, the latch circuit 4 holds the cycle of the FG pulse for each rising edge of the FG pulse signal. The calculation unit 2 calculates the period of the held FG pulse and the control target period (that is, in the case of the NTSC system, for example, the vertical synchronization signal period 1/60
The operation amount is calculated with the difference from the second) as the deviation amount, and the calculation result is output to the D / A converter 7. In this way, the speed of the motor 9 is controlled.

ついでステップS4にすすみ、モータ9の速度が目標速度
付近で十分安定か否かを演算部2において前記偏差量に
基づいて判断する。偏差量が所定値以上では速度が安定
でないとして、ステップS3に戻り、所定値以内ならば速
度が安定であるとしてステップS5にすすむ。
Next, in step S4, it is determined in the arithmetic unit 2 based on the deviation amount whether the speed of the motor 9 is sufficiently stable near the target speed. If the deviation amount is equal to or larger than the predetermined value, the speed is not stable and the process returns to step S3. If the deviation amount is within the predetermined value, the speed is stable and the process proceeds to step S5.

ステップS5においては、演算部2においてFGパルスの立
ち上りか否かを判断し、肯定判定であればステップS6に
すすんで、演算部2においてFGパルスの立ち上り時点か
ら内蔵のカウンタによってタイムカウントを行う。つい
でステップS7にすすんでカウント開始から[FGパルスが
制御目標周期(たとえば垂直同期信号周期)に同期して
いるときのFGパルスの周期の1/2]時間すなわちπ時間
経過したか否かを演算部2において判断し、肯定判定で
あればステップS8に進む。
In step S5, the arithmetic unit 2 determines whether or not the FG pulse has risen. If the determination is affirmative, the process proceeds to step S6, and the arithmetic unit 2 counts the time from the rise of the FG pulse by a built-in counter. Next, in step S7, calculate whether or not [1/2 of the FG pulse period when the FG pulse is synchronized with the control target period (for example, vertical synchronization signal period)] time, that is, π time has elapsed from the start of counting. The determination is made in the section 2, and if the determination is affirmative, the process proceeds to step S8.

ステップS8においては、演算部2においてスイッチ11を
位相制御モード側、すなわちb側に切り換え、次いでス
テップS9にて、演算部2からの基準信号発生タイミング
信号16を制御基準信号発生回路6に入力して、演算部2
におけるFGパルスの立ち上りからπ時間経過時点で発生
回路6から基準信号17を出力開始する。
In step S8, the switch 11 is switched to the phase control mode side, that is, the side b in the arithmetic unit 2, and then the reference signal generation timing signal 16 from the arithmetic unit 2 is input to the control reference signal generation circuit 6 in step S9. And computing unit 2
The output of the reference signal 17 from the generation circuit 6 is started when π time has elapsed from the rising edge of the FG pulse.

第4図はこのときのFG信号と基準信号とのタイミングを
示したものである。これによって、カウンタ回路3は位
相制御モードにおいては制御基準信号発生回路6の出力
信号の立上り毎にリセットされることになる。
FIG. 4 shows the timing of the FG signal and the reference signal at this time. As a result, the counter circuit 3 is reset every time the output signal of the control reference signal generating circuit 6 rises in the phase control mode.

ステップS10においては演算部2によってラッチ回路4
の内容を読み込む。ラッチ回路4の内容は、基準信号17
の立ち上りからFGパルスの立ち上りまでのカウンタ回路
3のタイムカウント値であって、これは基準信号とFGパ
ルス信号との位相差を示すものである。
In step S10, the operation unit 2 causes the latch circuit 4 to operate.
Read the contents of. The content of the latch circuit 4 is the reference signal 17
Is a time count value of the counter circuit 3 from the rising edge of FG pulse to the rising edge of FG pulse, which indicates the phase difference between the reference signal and the FG pulse signal.

ついでステップS11において、後述の位相差判断ルーチ
ンを行う。このルーチンによって基準信号とFGパルスと
の位相差と、目標位相差との偏差量が補正される。
Then, in step S11, a phase difference determination routine described later is performed. By this routine, the deviation amount between the phase difference between the reference signal and the FG pulse and the target phase difference is corrected.

ついでステップS12においては、演算部2によって当該
補正された偏差量に基づいて操作量を演算し、ついでス
テップS13にすすみ、演算部2から演算結果、すなわち
操作量をD/A変換器7に出力する。これによって、操作
量に基づくモータ9の回転位相制御が行われる。ついで
ステップS14にすすみ、演算部2によって、読み込んだ
ラッチ回路4の内容に基づいて基準信号とFGパルスとの
位相差が目標位相差になっているか、すなわち位相同期
しているかを判断し、位相同期していなければステップ
S10に復帰して同様の手順を繰返す。一方、位相同期し
ていると判定された場合にはステップS15にすすみ、演
算部2からHレベルのREADY信号15を出力し、ステップS
10に復帰する。
Then, in step S12, the operation amount is calculated by the calculation unit 2 based on the corrected deviation amount, and then the process proceeds to step S13 where the calculation result, that is, the operation amount is output from the calculation unit 2 to the D / A converter 7. To do. Thereby, the rotation phase control of the motor 9 is performed based on the operation amount. Next, in step S14, the arithmetic unit 2 determines whether the phase difference between the reference signal and the FG pulse is the target phase difference, that is, whether the phase is synchronized, based on the read contents of the latch circuit 4, Step if not in sync
Return to S10 and repeat the same procedure. On the other hand, if it is determined that they are in phase synchronization, the process proceeds to step S15, the READY signal 15 of H level is output from the calculation unit 2, and step S15 is performed.
Return to 10.

次に、本実施例の主要部である回転体駆動制御部につい
て詳細に説明する。
Next, the rotating body drive control unit, which is the main part of this embodiment, will be described in detail.

第3図は各部3,4,6および11、すなわち第1図において
一点鎖線内に示す回転体駆動部の詳細な構成例である。
図において、105および106はタイマプリスケーラ、107
〜110はタイマプリスケーラ105および106により設定さ
れた初期値からクロック信号201により計数を行うタイ
マカウンタであり、第1図のカウンタ回路3を構成す
る。111および112はストローブ信号202によりタイマカ
ウンタ107〜110の値を保持するタイマラッチであり、第
1図におけるラッチ回路4を構成する。113はフリップ
フロップ(以下FFと略す)117,118,119および115の出力
をラッチするフラグバッファ、114はモード切換えスイ
ッチ11の切換え制御を行うためのモード設定用バッフ
ァ、122はFG信号12の反転信号203のタイミングで動作す
るFF、121はFF122のQ出力をクロック信号201のタイミ
ングでラッチするFF、120はFF121のQ出力をクロック信
号201のタイミングでラッチするFF、116はNANDゲート15
6の出力をクロック信号201のタイミングでラッチするFF
である。130〜140はインバータゲート、150〜161はNAND
ゲート、170〜173はNORゲートである。なお、基準信号
発生回路6は、本実施例においてはタイマカウンタ107
〜110に兼用している。
FIG. 3 is a detailed configuration example of the respective units 3, 4, 6 and 11, that is, the rotary body drive unit shown in the dashed line in FIG.
In the figure, 105 and 106 are timer prescalers, and 107
Numerals 110 are timer counters that perform counting with the clock signal 201 from the initial values set by the timer prescalers 105 and 106, and constitute the counter circuit 3 in FIG. 111 and 112 are timer latches that hold the values of the timer counters 107 to 110 by the strobe signal 202, and constitute the latch circuit 4 in FIG. 113 is a flag buffer that latches the outputs of flip-flops (hereinafter abbreviated as FF) 117, 118, 119 and 115, 114 is a mode setting buffer for controlling the switching of the mode changeover switch 11, 122 is the timing of the inverted signal 203 of the FG signal 12 FF that operates on the FF, 121 is an FF that latches the Q output of the FF 122 at the timing of the clock signal 201, 120 is an FF that latches the Q output of the FF 121 at the timing of the clock signal 201, and 116 is the NAND gate 15
FF that latches the output of 6 at the timing of clock signal 201
Is. 130-140 are inverter gates, 150-161 are NAND
Gates 170 to 173 are NOR gates. The reference signal generating circuit 6 is the timer counter 107 in this embodiment.
Also used for ~ 110.

101および102は、それぞれ、システム制御演算部2のCP
Uにデータバスおよびアドレスバスを介して結合したデ
ータバスバッファおよびアドレスバスバッファ、103お
よび104はアドレスバスバッファ102に結合したアドレス
デコーダである。また、▲▼,▲▼,▲▼
および▲▼は、それぞれ、CPUから供給されるチ
ップセレクト信号、リード信号、ライト信号、およびア
ドレスバスバッファ102を動作させるためのアドレスラ
イン信号である。
101 and 102 are CPs of the system control calculation unit 2, respectively.
Data bus buffers and address bus buffers coupled to U via a data bus and address bus, and 103 and 104 are address decoders coupled to the address bus buffer 102. Also, ▲ ▼, ▲ ▼, ▲ ▼
Symbols ▲ and ▼ are a chip select signal, a read signal, a write signal, and an address line signal for operating the address bus buffer 102, which are supplied from the CPU, respectively.

次に、第3図示の回路の動作例を説明する。Next, an operation example of the circuit shown in FIG. 3 will be described.

まず、モードセレクト信号204および205がLレベル、信
号206がHレベルに設定され、装置が位相制御モードに
あるとする。このとき、プリスケーラ105および106には
FGの目標周期がクロック信号201の周期の整数倍の2の
補数表現で設定されている。するとFG信号203の立ち上
りからわずかに遅れた信号207の立ち上がりで信号202が
Lレベルとなりタイマカウンタ107〜110の値がタイマラ
ッチ111,112にラッチされるとともに信号207の反転信号
209によりFF115の出力がHレベルとなる。またタイマカ
ウンタ107〜110のオーバフロー信号によりゲート173の
出力がLレベルとなりカウンタ107〜110は再びプリスケ
ーラ105および106に設定される値から再カウントを行
う。すなわち、タイマラッチ111および112はタイマカウ
ンタ107〜110の再カウントの開始からFG信号203の立ち
上りまでの時間を計測した値が保持される。すなわちこ
の値が一定となるようにモータ9の回転位相をコントロ
ールすることにより位相制御が行われることになる。
First, it is assumed that the mode select signals 204 and 205 are set to the L level and the signal 206 is set to the H level, and the device is in the phase control mode. At this time, the prescalers 105 and 106
The target cycle of FG is set in a two's complement representation that is an integral multiple of the cycle of the clock signal 201. Then, the signal 202 becomes L level at the rising of the signal 207 slightly delayed from the rising of the FG signal 203, the values of the timer counters 107 to 110 are latched in the timer latches 111 and 112, and the inverted signal of the signal 207 is obtained.
The output of FF115 becomes H level by 209. Further, the output of the gate 173 becomes L level by the overflow signal of the timer counters 107 to 110, and the counters 107 to 110 re-count from the values set in the prescalers 105 and 106 again. That is, the timer latches 111 and 112 hold the value obtained by measuring the time from the start of the recounting of the timer counters 107 to 110 to the rising of the FG signal 203. That is, the phase control is performed by controlling the rotation phase of the motor 9 so that this value becomes constant.

ところで、タイマラッチ111および112にデータがラッチ
されたことは前述のようにFF115のQ出力がHレベルと
なることで知ることができるが、このとき、このラッチ
111および112の内容を読まないうちに次のFG信号203が
立ち上がることを考える。FF115はタイマラッチ112のRE
ADストローブ信号210によってクリアされるが、もしREA
Dストローブ信号210がLレベルとなる前にFG信号203が
立ち上がると、NANDゲート153出力がLレベルとなり、F
F117のQ出力がHレベルとなる。すなわち、演算部2の
CPUは、例えば位相制御処理の過程(ステップS10〜S1
5)でこの信号に対応したフラグバッファ113の内容をデ
ータバスを介して参照すればタイマラッチ111および112
の内容を読み込むまでの間に2度以上FG信号203が立ち
上がったことを検知できる。
By the way, the fact that the data is latched in the timer latches 111 and 112 can be known by the Q output of the FF115 becoming the H level as described above.
Consider that the next FG signal 203 rises before reading the contents of 111 and 112. FF115 is RE of timer latch 112
Cleared by AD strobe signal 210, but if REA
If the FG signal 203 rises before the D strobe signal 210 becomes L level, the output of the NAND gate 153 becomes L level and F
The Q output of F117 becomes H level. That is, the calculation unit 2
The CPU may, for example, perform a phase control process (steps S10 to S1).
If the contents of the flag buffer 113 corresponding to this signal are referred to via the data bus in 5), the timer latches 111 and 112
It is possible to detect that the FG signal 203 has risen more than once before the content of is read.

一般に、位相制御時の演算をマイクロコンピュータ等を
用いて処理する場合、このように演算が間に合わないこ
とがある。このときは、通常の演算処理の一部を行わ
ず、必須の処理だけを行うようにし、次のFGパルスのタ
イミングに間に合わせるようにしてもよい。すなわち、
演算処理回数を変更する処理を行う。例えば位相制御の
演算は数回に1回程度行わなくてもモータ9の位相が大
きく乱れることはない。そこで、このような場合には、
FF117をリセットする処理、すなわちゲート139の入力を
Lレベルとする処理だけを行い、次のデータがラッチさ
れるのを待つようにしてもよい。
In general, when the calculation at the time of phase control is processed by using a microcomputer or the like, the calculation may not be in time in this way. At this time, a part of the normal arithmetic processing may not be performed, and only the essential processing may be performed so as to be in time for the timing of the next FG pulse. That is,
A process of changing the number of calculation processes is performed. For example, the phase of the motor 9 is not significantly disturbed without performing the phase control calculation about once every several times. So in this case,
It is also possible to perform only the process of resetting the FF 117, that is, the process of setting the input of the gate 139 to the L level, and wait for the next data to be latched.

次に、タイマカウンタ107〜110がオーバーフローして、
再カウントが開始されて、次のオーバフローするまでの
間に1度もFG信号203が立ち上がらなかった場合につい
て考える。
Next, the timer counters 107-110 overflow,
Consider a case where the FG signal 203 does not rise even once until the next overflow after the recount is started.

まずタイマカウンタ107〜110がオーバーフローすると、
NANDゲート156の出力はHレベルとなる。従って、FF116
のQ出力はHレベルとなっている。この状態でFG信号20
3が立ち上がり、信号209がLレベルとなると、このとき
まだタイマカウンタ107〜110がオーバフローしていなけ
ればNANDゲート156の出力はLレベルとなり、FF116の出
力QはLレベルとなるが、FG信号203が立ち上がる前に
再びタイマカウンタ107〜110のオーバフロー信号208が
HレベルとなるとNANDゲート154の両入力がHレベルと
なりFF118のQ出力がHレベルにセットされる。
First, when the timer counters 107-110 overflow,
The output of the NAND gate 156 becomes H level. Therefore, FF116
Q output of is at H level. In this state, FG signal 20
When 3 rises and the signal 209 becomes L level, the output of the NAND gate 156 becomes L level and the output Q of the FF 116 becomes L level if the timer counters 107 to 110 have not overflowed at this time, but the FG signal 203 If the overflow signal 208 of the timer counters 107 to 110 becomes H level again before rising, the both inputs of the NAND gate 154 become H level and the Q output of the FF 118 is set at H level.

これにより、演算部2のCPUは、例えば位相制御処理の
過程でこの信号に対応したフラグバッファ113の内容を
データバスを介して参照すれば、タイマカウンタ107〜1
10がオーバフローして、次にオーバフローするまでの間
にFG信号の立ち上がりが無かったことを検知できる。
As a result, the CPU of the arithmetic unit 2 refers to the contents of the flag buffer 113 corresponding to this signal via the data bus during the phase control process, for example, and the timer counters 107 to 1
It can be detected that 10 has overflowed and that the FG signal did not rise until the next overflow.

このときは異常状態であるとしてモータを停止させても
よいが、引き続き位相制御が必要であることは十分考え
られる。この際はまずゲート139の入力をLレベルとし
てFF118をリセットし、次に上述の如く参照したフラグ
バッファ113の信号状態に基づいて、なしいはこれをイ
ンタラプト信号として速度制御モードに移行し、速度が
安定になった時点で再び位相制御モードに移行する。
At this time, the motor may be stopped because it is in an abnormal state, but it is sufficiently conceivable that the phase control will continue to be required. In this case, first, the input of the gate 139 is set to the L level to reset the FF 118, and then, based on the signal state of the flag buffer 113 referred to above, or the transition to the speed control mode is made as an interrupt signal to change the speed. When becomes stable, the phase shifts to the phase control mode again.

速度制御モードでは、モードセレクト信号204〜206をす
べてLレベルとし、プリスケーラにはゼロを設定する。
するとFG信号203の立ち上がりからわずかに遅れた信号2
07の立ち上がりで信号202がLレベルとなり、タイマカ
ウンタ107〜110の値がタイマラッチ111および112に保持
されるとともに、信号211がLレベルとなり、ゲート173
がLレベルとなり、カウンタ107〜110はプリスケーラの
値をロード、つまりゼロにリセットされ再カウントを開
始する。このときのタイマラッチ111および112の値がFG
信号の周期を示しているから、この値をもとに速度制御
を行えばよい。
In the speed control mode, the mode select signals 204 to 206 are all set to L level and the prescaler is set to zero.
Then, signal 2 slightly delayed from the rising edge of FG signal 203
At the rising edge of 07, the signal 202 becomes L level, the values of the timer counters 107 to 110 are held in the timer latches 111 and 112, and at the same time, the signal 211 becomes L level and the gate 173
Becomes the L level, and the counters 107 to 110 are loaded with the values of the prescaler, that is, reset to zero and start recounting. At this time, the values of timer latches 111 and 112 are FG
Since the signal cycle is shown, speed control may be performed based on this value.

次に、タイマカウンタ107〜110がオーバフローし、再カ
ウントが開始された後次のオーバフローが生じるまでの
間に2度以上FG信号203が立ち上がった場合について考
える。
Next, consider the case where the timer counters 107 to 110 overflow and the FG signal 203 rises more than once before the next overflow occurs after the recounting is started.

まずタイマカウンタ107〜110がオーバフローすると、NA
NDゲート156の出力はHレベルになる。従って、FF116の
Q出力がHレベル、出力がLレベルとなる。この状態
でFG信号203が立ち上がり、信号209がLレベルとなる
と、このときはまだタイマカウンタ107〜110がオーバフ
ローしていないので、NANDゲート156の出力はLレベル
となりFF116のQ出力はLレベル,出力がHレベルと
なる。ここでカウンタ107〜110がオーバフローすれば、
NANDゲート156の出力がHレベルとなり、FF116のQ出力
はHレベル、Q出力はLレベルとなるが、オーバフロー
が生じる前にもう1度FG信号203が立ち上がると、NAND
ゲート155出力がLレベルとなり、FF119のQ出力がHレ
ベルとなる。
First, when timer counters 107-110 overflow, NA
The output of the ND gate 156 becomes H level. Therefore, the Q output of FF116 becomes H level and the output becomes L level. In this state, when the FG signal 203 rises and the signal 209 becomes L level, the output of the NAND gate 156 becomes L level and the Q output of the FF 116 becomes L level because the timer counters 107 to 110 have not overflowed yet at this time. The output goes high. If counters 107-110 overflow here,
The output of the NAND gate 156 becomes H level, the Q output of the FF 116 becomes H level, and the Q output becomes L level, but if the FG signal 203 rises again before overflow occurs, NAND
The output of the gate 155 becomes L level and the Q output of FF119 becomes H level.

これにより、演算部2のCPUは、例えば位相制御処理の
過程でこの信号に対応したフラグバッファ113の内容を
データバスを介して参照すれば、タイマカウンタ107〜1
10がオーバフローして次にオーバフローするまでに2度
以上FG信号203が立ち上がるのを検知できる。
As a result, the CPU of the arithmetic unit 2 refers to the contents of the flag buffer 113 corresponding to this signal via the data bus during the phase control process, for example, and the timer counters 107 to 1
It is possible to detect that the FG signal 203 rises more than once before 10 overflows and then overflows.

このときも前述の場合と同様に、モータ9を停止させて
もよいが、引き続き位相制御が必要な場合は、ゲート13
9の入力をLレベルとし、FF119をリセットしてから、上
述の如く参照したフラグバッファ113の信号状態に基づ
いて、ないしはこれをインタラプト信号として速度制御
モードに戻り、速度が安定状態となってから再び位相制
御モードに切りかえればよい。
At this time as well, the motor 9 may be stopped as in the case described above, but if the phase control is still required, the gate 13
After the input of 9 is set to the L level and the FF 119 is reset, based on the signal state of the flag buffer 113 referred to above, or by using this as an interrupt signal, the speed control mode is returned to after the speed becomes stable. It is sufficient to switch to the phase control mode again.

このように、基準信号からFGパルスが2π以上ずれた場
合、すなわち第5図のような場合にも、誤った制御する
ことなく両者の位相差を迅速かつ確実にしかも安定して
0〜2πの範囲内にすることができる。
As described above, even when the FG pulse deviates from the reference signal by 2π or more, that is, in the case of FIG. 5, the phase difference between the two can be swiftly, reliably, and stably set to 0 to 2π without erroneous control. Can be in range.

なお、本実施例ではFGパルス(モータ1回転につき例え
ば16パルス)で位相制御を行うため、PGパルス(モータ
1回転につき1パルス)によるものに比べ高精度の位相
同期が可能である。位相同期後はステップS15によりH
レベルのREADY信号15が出力されるのに伴い、ワンショ
ット回路20は基準信号17の周期よりも長く且つ2周期分
より短いパルスを発生する。そして、PG19はモータの回
転に伴い1回転に1回ある特定の位相でHレベルの信号
18を出力するから、ワンショット回路20の出力がHレベ
ルとなったとき、すなわち位相同期したことを示すREAD
Y信号15がHレベルで、かつPG19の出力信号18がHレベ
ルでANDゲート21の出力がHレベルとなり、システム基
準信号発生回路5をセットする。
In this embodiment, since the phase control is performed with the FG pulse (for example, 16 pulses per one rotation of the motor), it is possible to perform the phase synchronization with higher accuracy than that with the PG pulse (one pulse per one rotation of the motor). After phase synchronization, go to H in step S15
As the level READY signal 15 is output, the one-shot circuit 20 generates a pulse longer than the period of the reference signal 17 and shorter than two periods. Then, PG19 is an H level signal at a specific phase once every one rotation as the motor rotates.
Since 18 is output, when the output of the one-shot circuit 20 becomes H level, that is, READ indicating that the phase is synchronized
The Y signal 15 is at H level, the output signal 18 of the PG 19 is at H level, the output of the AND gate 21 is at H level, and the system reference signal generation circuit 5 is set.

よって電子スチルカメラの撮像系を含む映像信号処理系
等のタイミングをこのシステム基準信号発生回路5によ
って速やかに得ることができる。しかもこのとき記録媒
体25と基準信号発生回路5とは完全に同期している。
Therefore, the timing of the video signal processing system including the image pickup system of the electronic still camera can be promptly obtained by the system reference signal generating circuit 5. Moreover, at this time, the recording medium 25 and the reference signal generating circuit 5 are completely synchronized.

このように本実施例によれば、モータ起動時に同期信号
に基づく位相制御を行わずに速度制御のみ行うことによ
って位相誤差信号の影響を受けない。従って速度が安定
するまでの時間が早い。また本実施例によればモータ速
度が安定になった後にモータ制御を速度制御から位相制
御に切換え、しかもこの位相制御用の基準信号の位相を
最初にモータの位相にあわせることによって、位相制御
切換時のモータ位相変動を少なくし、早い時間で位相同
期させることができる。しかも、この位相同期されたモ
ータと映像信号との同期も速やかに得ることができる。
As described above, according to the present embodiment, when the motor is started, only the speed control is performed without performing the phase control based on the synchronization signal, so that the phase error signal is not affected. Therefore, it takes a short time to stabilize the speed. Further, according to this embodiment, after the motor speed becomes stable, the motor control is switched from the speed control to the phase control, and the phase of the reference signal for the phase control is first adjusted to the phase of the motor to switch the phase control. It is possible to reduce the motor phase fluctuation during the time and synchronize the phases in a short time. Moreover, the synchronization of the phase-synchronized motor and the video signal can be promptly obtained.

なお、本実施例ではFGパルスを用いて制御するとき、FG
パルスが基準信号に対し2π以上ずれた場合、すなわち
第5図のような場合について述べたが、PGパルスを用い
て制御する場合にもタイマプリスケーラの値を変更すれ
ば、対応は容易である。
In this embodiment, when controlling using the FG pulse, FG
The case where the pulse is deviated by 2π or more from the reference signal, that is, the case as shown in FIG. 5 has been described. However, even when the control is performed by using the PG pulse, it is easy to deal with it by changing the value of the timer prescaler.

また、上述の実施例では本発明を電子スチルカメラに適
用した場合について述べたが、本発明は回転体の駆動機
構を有する種々の機器に極めて有効かつ容易に適用でき
るのは勿論である。
Further, although the case where the present invention is applied to the electronic still camera has been described in the above-described embodiments, it is needless to say that the present invention can be extremely effectively and easily applied to various devices having a drive mechanism for a rotating body.

[発明の効果] 以上説明したように、本発明によれば、位相制御範囲を
広くすることができるとともに、大きな負荷変動が生じ
た場合でも迅速かつ確実に、しかも安定に対応できる回
転体駆動装置を実現できる。
[Effects of the Invention] As described above, according to the present invention, the phase control range can be widened, and even when a large load change occurs, it can respond swiftly, reliably and stably. Can be realized.

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

第1図は本発明の一実施例にかかる回転体駆動装置を適
用した電子スチルカメラの一構成例を示すブロック図、 第2図は第1図示の装置の動作例を示すフローチャー
ト、 第3図は本実施例の主要部の詳細な構成例を示す回路
図、 第4図および第5図は基準信号とPGパルス信号とのタイ
ミングの2例を各々示すタイミングチャートである。 2……システム制御演算部、3……タイマカウンタ回
路、4……ラッチ回路、6……制御基準信号発生回路、
9……モータ、10……FG、105,106……タイマプリスケ
ーラ、107〜110……タイマカウンタ、111,112……タイ
マラッチ、114……モード設定バッファ。
FIG. 1 is a block diagram showing a configuration example of an electronic still camera to which a rotating body driving device according to an embodiment of the present invention is applied, FIG. 2 is a flowchart showing an operation example of the device shown in FIG. 1, and FIG. Is a circuit diagram showing a detailed configuration example of a main part of this embodiment, and FIGS. 4 and 5 are timing charts showing two examples of timings of a reference signal and a PG pulse signal. 2 ... System control calculation unit, 3 ... Timer counter circuit, 4 ... Latch circuit, 6 ... Control reference signal generation circuit,
9 ... Motor, 10 ... FG, 105,106 ... Timer prescaler, 107-110 ... Timer counter, 111,112 ... Timer latch, 114 ... Mode setting buffer.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】回転体を駆動する回転駆動手段と、 前記回転体の回転に伴って所定のパルス信号を発生する
パルス発生手段と、 前記パルス発生手段より出力されるパルス信号の周期に
基づいて前記回転体の回転速度を検出し、該回転速度が
所定の速度に一定となるように前記回転駆動手段を速度
制御する速度制御手段と、 周期的な基準パルス信号を発生する基準信号源と、 前記パルス発生手段より発生するパルス信号と前記基準
パルス信号との位相差を前記基準パルス信号の一周期間
に演算し、該位相差が所定の位相差となるように前記回
転駆動手段を位相制御する位相制御手段と、 前記回転駆動手段が前記位相制御手段によつて位相制御
されている状態において、前記パルス発生手段より発生
される前記パルス信号の発生間隔に応じて前記位相制御
手段による前記位相差の演算回数を変更する制御手段
と、 を具えたことを特徴とする回転体駆動装置。
1. A rotation driving means for driving a rotating body, a pulse generating means for generating a predetermined pulse signal in accordance with the rotation of the rotating body, and a pulse signal outputted from the pulse generating means on the basis of a cycle. A speed control means for detecting a rotation speed of the rotating body and controlling the speed of the rotation driving means so that the rotation speed becomes constant at a predetermined speed; a reference signal source for generating a periodic reference pulse signal; The phase difference between the pulse signal generated by the pulse generating means and the reference pulse signal is calculated during one cycle of the reference pulse signal, and the phase of the rotation driving means is controlled so that the phase difference becomes a predetermined phase difference. Phase control means, and in the state where the rotation driving means is phase controlled by the phase control means, depending on the generation interval of the pulse signal generated by the pulse generation means, Rotating body driving device is characterized in that comprises a control means for changing the number of operations of the phase difference by the phase control means.
JP11492486A 1986-05-21 1986-05-21 Rotating body drive Expired - Fee Related JPH0721932B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11492486A JPH0721932B2 (en) 1986-05-21 1986-05-21 Rotating body drive
US07/051,041 US4933985A (en) 1986-05-21 1987-05-15 Rotation drive device
US08/121,223 US5345532A (en) 1986-05-21 1993-09-14 Rotation drive device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11492486A JPH0721932B2 (en) 1986-05-21 1986-05-21 Rotating body drive

Publications (2)

Publication Number Publication Date
JPS62273667A JPS62273667A (en) 1987-11-27
JPH0721932B2 true JPH0721932B2 (en) 1995-03-08

Family

ID=14650030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11492486A Expired - Fee Related JPH0721932B2 (en) 1986-05-21 1986-05-21 Rotating body drive

Country Status (1)

Country Link
JP (1) JPH0721932B2 (en)

Also Published As

Publication number Publication date
JPS62273667A (en) 1987-11-27

Similar Documents

Publication Publication Date Title
US4933985A (en) Rotation drive device
JPH0719436B2 (en) Rotating body drive
JPH0721932B2 (en) Rotating body drive
JPH0721931B2 (en) Rotating body drive
JPH0721933B2 (en) Rotating body drive
JPH0721934B2 (en) Rotating body drive
JPH0721935B2 (en) Rotating body drive
US5345532A (en) Rotation drive device
KR19990014277A (en) Pulse signal generator and method for generating and outputting error-free pulse signal in synchronization with signal of constant period
JPS61189460A (en) Detecting method for fault of speed detector
JPS601566A (en) Speed detector
JPS61212180A (en) Driving device for rotating body
JP2604205B2 (en) Phase servo device
JPH0370314A (en) Clock interrupt detection circuit
JP3609891B2 (en) Microcomputer
JP3195801B2 (en) Digital counter device
JPH065175B2 (en) Absolute type encoder
KR200262927Y1 (en) Clock fail detector
KR0154386B1 (en) Control signal generating device of a spindle motor in optical disk player
JPS59116962A (en) Rotation detecting device
JPH05130789A (en) Digital speed detecting circuit
JPH0591776A (en) Motor control circuit
JPS62188059A (en) Generating device for index signal of disk
JPH0719433B2 (en) Rotating body drive
JPS63133066A (en) Detection of speed

Legal Events

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