JPS62273670A - Rotary body driving device - Google Patents

Rotary body driving device

Info

Publication number
JPS62273670A
JPS62273670A JP11492786A JP11492786A JPS62273670A JP S62273670 A JPS62273670 A JP S62273670A JP 11492786 A JP11492786 A JP 11492786A JP 11492786 A JP11492786 A JP 11492786A JP S62273670 A JPS62273670 A JP S62273670A
Authority
JP
Japan
Prior art keywords
signal
phase
level
control
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11492786A
Other languages
Japanese (ja)
Other versions
JPH0721935B2 (en
Inventor
Nobuo Fukushima
信男 福島
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 JP11492786A priority Critical patent/JPH0721935B2/en
Priority to US07/051,041 priority patent/US4933985A/en
Publication of JPS62273670A publication Critical patent/JPS62273670A/en
Priority to US08/121,223 priority patent/US5345532A/en
Publication of JPH0721935B2 publication Critical patent/JPH0721935B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Rotational Drive Of Disk (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 3、発明の詳細な説明 [産業上の利用分野] 本発明は回転体駆動装置に関するものである。[Detailed description of the invention] 3. Detailed description of the invention [Industrial application field] The present invention relates to a rotating body driving 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, the phase of the motor is adjusted to a reference signal for regulating the operation timing of the entire camera. The drive was controlled. Therefore, it took a long time to control the speed of the motor (phase control) using the phase, and the start-up characteristics of the camera were poor.

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

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

たとえば、第5図のように基準信号とFGパルスとの位
相差がn−1回目の制御のためのサンプル時では(15
78)π付近であり、次のサンプル時、つまりn回目ま
でにさらに基準信号からFGパルスの位相が(+/8)
π以上遅れてしまうと、基準信号に対するFGパルスの
位相遅れが2π以上になってしまう。ところが上述のよ
うな制御方法ではこの場合位相ずれが小さくなったもの
と判断してしまい、適切な制御が不可能となる問題点が
あった。
For example, as shown in Figure 5, when the phase difference between the reference signal and the FG pulse is (15
78) It is near π, and the phase of the FG pulse from the reference signal further increases by (+/8) at the time of the next sample, that is, by the nth time.
If there is a delay of π or more, the phase delay of the FG pulse with respect to the reference signal will become 2π or more. However, the above-described control method has a problem in that in this case, it is determined that the phase shift has become small, making appropriate control impossible.

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

[問題点を解決するための手段] かかる目的を達成するために、本発明では、回転体を駆
動する回転駆動手段、回転体の回転位相を検出する検出
手段、周期的な基準信号を形成する基準信号源、基準信
号源の出力と検出手段の出力との位相差を所定の値と比
較することにより位相差を一定の値になるよう回転駆動
手段を制御する位相制御手段、および基準信号の一周期
において、検出手段の出力が複数回発生したことを検知
とする検知手段を具え、当該検知がなされた場合は速度
偏差に基づく速度制御を行い、制御により回転体の速度
が安定した後に位相制御手段による位相制御を行うよう
にしたことを特徴ヒする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a rotation driving means for driving a rotating body, a detection means for detecting a rotational phase of the rotating body, and a periodic reference signal forming. a reference signal source, a phase control means for controlling the rotation drive means to maintain a constant phase difference by comparing the phase difference between the output of the reference signal source and the output of the detection means with a predetermined value; It is equipped with a detection means that detects that the output of the detection means has occurred multiple times in one cycle, and when the detection is made, speed control is performed based on the speed deviation, and after the speed of the rotating body is stabilized by the control, the The feature is that phase control is performed by a control means.

[作 用] 本発明によれば、検知手段による検知がなされたとき、
すなわち例えば位相制御に適さない状態となったとき、
速度偏差に基づいて速度制御を行い、回転を安定させて
から位相制御を行うようにしたので、安定かつ確実な制
御が可能となる。
[Function] According to the present invention, when detection is performed by the detection means,
In other words, for example, when a state becomes unsuitable for phase control,
Since the speed control is performed based on the speed deviation and the phase control is performed after the rotation is stabilized, stable and reliable control is possible.

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

第1図は本発明回転体駆動装置の一実施例としてのディ
スク駆動装置を含む電子スチルカメラの一構成例を示す
ブロック図である。図において、1はモータ起動スイッ
チ、2は装置全体を制御するとともに各種演算等を行う
システム制御演算部であって、マイクロコンピュータ形
態のcpu 、ワークエリア等を有するRAM 、後述
の第2図に示すような手順を記憶したROMおよびカウ
ンタ等を有する。3は入力信号の立ち上りエツジでリセ
ット(RESET)  して0から計時を行うタイマカ
ウンタ回路、4は人力信号の立ち上りエツジ毎にタイマ
カウンタ回路3の内容を保持するラッチ回路であって、
各部2.3および4により位相制御手段が構成されてい
る。5はモータが組込まれている電子スチルカメラの全
体のタイミング信号(同期信号)を発生する同期信号源
としてのシステム基準信号発生回路、6はモータの位相
制御の基準となる信号を発生する基準信号源としてのモ
ータ制御基準信号発生回路、7はD/A変換器、8はD
ハ変換されたモータ制御信号を増幅するモータ駆動回路
、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 calculation unit that controls the entire device and performs various calculations, etc., which includes a CPU in the form of a microcomputer, a RAM having a work area, etc., as shown in FIG. 2 described later. It has a ROM that stores such procedures, a counter, etc. 3 is a timer counter circuit that is reset (RESET) at the rising edge of the input signal and starts counting from 0; 4 is a latch circuit that holds the contents of the timer counter circuit 3 every time the human input signal rises;
Each part 2.3 and 4 constitute a phase control means. 5 is a system reference signal generation circuit as a synchronization signal source that generates an overall timing signal (synchronization signal) for the electronic still camera in which the motor is incorporated, and 6 is a reference signal that generates a signal that is a reference for phase control of the motor. 7 is a D/A converter, 8 is D
(c) A motor drive circuit for amplifying the converted motor control signal; and (9) a motor as rotational drive means.

lOはモータの回転位相に対応したFG信号パルス、す
なわち例えばモータ8の1回転につき16個のパルスを
発生する検出手段としてのFG(Frequency 
Generator)回路、11はモード切換信号14
により速度偏差を用いた速度制御モード(以下、速度制
御モード)に設定するためのa側および位相同期による
速度制御モード(位相制御モード)に設定するためのb
側に切り換わるモード切換スイッチ、19はモータの位
相に同期したパルスをモータ1回転に1回Hレベルで出
力する位相信号発生器(PG)、21はANDゲート、
12はFG回路10からの出力信号、13はカウンタ回
路3のリセット入力端に人力されるnEsET信号、1
5は演算部2から出力される位相同期時Hレベルおよび
非同期時LレベルとなるREADY信号、16は同演算
部2から出力される基壁信号発生タイミング信号、■7
は制御基準信号発生回路6から出力される基準信号、1
8はPGI1からの出力信号、20はRE八へY信号1
5がLレベルからHレベルになったときにほぼモータの
FGの周期の幅をもつHレベルのワンショットパルスを
発生するワンショット回路である。22は撮像装置、2
3は信号処理回路、24はヘッド、25は制御対象であ
る回転体としての記録媒体である。
lO is an FG (frequency
11 is a mode switching signal 14
side a for setting the speed control mode using speed deviation (hereinafter referred to as speed control mode), and side b for setting the speed control mode using phase synchronization (phase control mode).
19 is a phase signal generator (PG) that outputs a pulse synchronized with the motor phase at H level once per motor rotation; 21 is an AND gate;
12 is the output signal from the FG circuit 10, 13 is the nEsET signal inputted to the reset input terminal of the counter circuit 3, 1
5 is a READY signal which is outputted from the calculation unit 2 and is at H level during phase synchronization and L level during non-synchronization; 16 is a base wall signal generation timing signal outputted from the calculation unit 2; 7
is the reference signal 1 output from the control reference signal generation circuit 6;
8 is the output signal from PGI1, 20 is the Y signal 1 to RE8
This is a one-shot circuit that generates an H-level one-shot pulse having a width approximately equal to the period of the FG of the motor when the signal 5 changes from the L level to the H level. 22 is an imaging device, 2
3 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 in the configuration shown in the first figure will be explained.

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

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

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

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

ステップS5においては、演算部2においてFGパルス
の立ち上りか否かを判断し、肯定判定であればステップ
S6にすすんで、演算部2においてFGパルスの立ち上
り時点から内蔵のカウンタによってタイムカウントを行
う。ついでステップS7にすすんでカウント開始から[
同期時のFGパルスの周期−同期時のFGパルスの周期
のl/2]時間すなわちπ時間経過したか否かを演算部
2において判断し、肯定判定であればステップS8に進
む。
In step S5, the arithmetic unit 2 determines whether or not the FG pulse has risen, and if the determination is affirmative, the process proceeds to step S6, where the arithmetic unit 2 counts a time using a built-in counter from the time of the rise of the FG pulse. Next, proceed to step S7 and start counting [
The arithmetic unit 2 determines whether or not the period of the FG pulse during synchronization - 1/2 of the period of the FG pulse during synchronization], that is, π time has elapsed, and if the determination is affirmative, the process proceeds to step S8.

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

第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 generation circuit 6 rises in the phase control mode.

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

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

ついでステップ512においては、演算部2によって当
該補正された偏差量に基づいて操作量を演算し、ついで
ステップS13にすすみ、演算部2から演′算結果、す
なわち操作量をD/A変換器7に出力する。これによっ
て、操作量に基づくモータ9の回転位相制御が行われる
。ついでステップS14にすすみ、演算部2によフて、
読み込んだラッチ回路4の内容に基づいて基準信号とF
Gパルスとの位相差が目標位相差になっているか、すな
わち位相同期しているかを判断し、位相同期していなけ
ればステップSIGに復帰して同様の手順を繰返す。一
方、位相同期していると判定された場合にはステップ5
15にすすみ、演算部2からHレベルのREADY信号
15を出力し、ステップ510に復帰する。
Next, in step 512, the calculation section 2 calculates the manipulated variable based on the corrected deviation amount, and then proceeds to step S13, where the calculation result from the calculation section 2, that is, the manipulated variable is sent to the D/A converter 7. Output to. As a result, rotational phase control of the motor 9 is performed based on the manipulated variable. Next, proceeding to step S14, the arithmetic unit 2 calculates
Based on the read contents of the latch circuit 4, the reference signal and F
It is determined whether the phase difference with the G pulse is the target phase difference, that is, whether the phase is synchronized. If the phase is not synchronized, the process returns to step SIG and the same procedure is repeated. On the other hand, if it is determined that the phase is synchronized, step 5
15, the arithmetic unit 2 outputs the READY signal 15 at H level, and the process returns to step 510.

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

第3図は各部3.4.6および11、すなわち第1図に
おいて一点娘線内に示す回転体駆動部の詳細な構成例で
ある。図において、105および106はタイマプリス
ケーラ、107〜110はタイマプリスケーラ105お
よび106により設定された初期値からクロック信号2
01により計数を行うタイマカウンタであり、第1図の
カウンタ回路3を構成する。
FIG. 3 shows a detailed configuration example of each part 3.4.6 and 11, that is, the rotating body drive section shown within the dotted line in FIG. In the figure, 105 and 106 are timer prescalers, and 107 to 110 are clock signals 2 from the initial values set by the timer prescalers 105 and 106.
This is a timer counter that counts by 01, and constitutes the counter circuit 3 in FIG.

111および112はストローブ信号202によりタイ
マカウンタ107〜110の値を保持するタイマラッチ
であり、第1図におけるラッチ回路4を構成する。11
3はフリップフロップ(以下FFと略す)117.11
8,119および115の出力をラッチするフラグバッ
ファ、114はモード切換えスイッチ11の切換え制御
を行うためのモード設定用バッファ、122はFG信号
12の反転信号203のタイミングで動作するFF、 
121はFF122のQ出力をクロック信号201のタ
イミングでラッチするFF、 120はFF121のQ
出力をクロック信号201のタイミングでラッチするF
F、 116はNANDゲート156の出力をクロック
信号201のタイミングでラッチするFFである。
Timer latches 111 and 112 hold the values of timer counters 107 to 110 in response to the strobe signal 202, and constitute the latch circuit 4 in FIG. 11
3 is a flip-flop (hereinafter abbreviated as FF) 117.11
114 is a mode setting buffer for controlling the switching of the mode changeover switch 11; 122 is an FF that operates at the timing of the inverted signal 203 of the FG signal 12;
121 is an FF that latches the Q output of FF122 at the timing of the clock signal 201, and 120 is the Q of FF121.
F that latches the output at the timing of the clock signal 201
F, 116 is an FF that latches the output of the NAND gate 156 at the timing of the clock signal 201.

130〜140はインバータゲート、150〜161は
NANDゲート、170〜173  よNORゲートで
ある。なお、基準信号発生回路6は、本実施例において
はタイマカウンタ107〜110に兼用している。
130-140 are inverter gates, 150-161 are NAND gates, and 170-173 are NOR gates. Note that the reference signal generation circuit 6 also serves as timer counters 107 to 110 in this embodiment.

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

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

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

ところで、タイマラッチ111および112にデータが
ラッチされたことは前述のようにFF115のQ出力が
Hレベルとなることで知ることができるが、このとき、
このラッチ111および112の内容を読まないうちに
次のFG信号203が立ち上がることを考える。FF1
15はタイマラッチ112のREADストローブ信号2
10によってクリアされるが、もしREADストローブ
信号210がLレベルとなる前にFG信号203が立ち
上がると、NANDゲート153出力がLレベルとなり
、FF117のQ出力がHレベルとなる。すなわち、演
算部2のCPUは、例えば位相制御処理の過程(ステッ
プ510−515)でこの信号に対応したフラグバッフ
ァ113の内容をデータバスを介して参照すればタイマ
ラッチ111および112の内容を読み込むまでの間に
2度以上FG信号203が立ち上がったことを検知でき
る。
By the way, as mentioned above, it can be known that the data has been latched in the timer latches 111 and 112 by the Q output of the FF 115 becoming H level.
Consider that the next FG signal 203 rises before the contents of latches 111 and 112 are read. FF1
15 is READ strobe signal 2 of timer latch 112
If the FG signal 203 rises before the READ strobe signal 210 becomes L level, the output of the NAND gate 153 becomes L level and the Q output of FF 117 becomes H level. That is, if the CPU of the calculation unit 2 refers to the contents of the flag buffer 113 corresponding to this signal via the data bus, for example in the process of phase control processing (steps 510-515), the CPU of the calculation unit 2 will read the contents of the timer latches 111 and 112. It can be detected that the FG signal 203 rises twice or more during this period.

一般に、位相制御時の演算をマイクロコンピュータ等を
用いて処理する場合、このように演算が間に合わないこ
とがある。このときは、通常の演算処理の一部を行わず
、必須の処理だけを行うようにし、次のFGパルスのタ
イミングに間に合わせるようにしてもよい。例えば位相
制御の演算は数回に1回程度行わなくてもモータ9の位
相が大きく乱れることはない。そこで、このような場合
には、FF117をリセットする処理、すなわちゲート
139の入力をLレベルとする処理だけを行い、次のデ
ータがラッチされるのを待つようにしてもよい。
Generally, when a microcomputer or the like is used to process calculations during phase control, the calculations may not be completed in time as described above. At this time, some of the normal arithmetic processing may be omitted, and only essential processing may be performed in time for the timing of the next FG pulse. For example, even if the phase control calculation is not performed once every few times, the phase of the motor 9 will not be significantly disturbed. Therefore, in such a case, only the process of resetting the FF 117, that is, the process of setting the input of the gate 139 to L level, may be performed, and the process may wait for the next data to be latched.

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

まずタイマカウンタ107〜110がオーバーフローす
ると、NANDゲート156の出力はHレベルとなる。
First, when the timer counters 107 to 110 overflow, the output of the NAND gate 156 becomes H level.

従って、FF116のQ出力はHレベルとなっている。Therefore, the Q output of FF 116 is at H level.

この状態でFG信号203が立ち上がり、信号209が
Lレベルとなると、このときまだタイマカウンタ107
〜11GがオーバフローしていなければNANDゲート
156の出力はLレベルとなり、FF116の出力Qは
Lレベルとなるが、FG信号203が立ち上がる前に再
びタイマカウンタ107〜110のオーバフロー信号2
08がHレベルとなるとNANDゲート154の両人力
がHレベルとなりFF118のQ出力がHレベルにセッ
トされる。
In this state, when the FG signal 203 rises and the signal 209 goes to L level, the timer counter 107 is still
~11G does not overflow, the output of the NAND gate 156 becomes L level, and the output Q of FF 116 becomes L level, but before the FG signal 203 rises, the overflow signal 2 of the timer counters 107 to 110 again
When 08 becomes H level, both outputs of NAND gate 154 become H level, and the Q output of FF 118 is set to H level.

これにより、演算部2のCPuは、例えば位相制御処理
の過程でこの信号に対応したフラグバッフyl13の内
容をデータバスを介して参照すれば、タイマカウンタ1
07〜110がオーバフローして、次にオーバフローす
るまでの間にFG傷信号立ち上がりが無かったことを検
知できる。
As a result, the CPU of the arithmetic unit 2 can, for example, refer to the contents of the flag buffer yl13 corresponding to this signal in the process of phase control processing via the data bus.
It can be detected that there is no rising edge of the FG flaw signal between 07 and 110 overflow and the next overflow.

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

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

次に、タイマカウンタ107〜11Gがオーバフローし
、再カウントが開始された組成のオーバフローが生じる
までの間に2度以上FG信号203が立ち上がった場合
について考える。
Next, consider a case where the FG signal 203 rises twice or more between the timer counters 107 to 11G overflow and the overflow of the composition for which re-counting is started.

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

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

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

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

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

よって電子スチルカメラの撮像系を含む映像信号処理系
等のタイミングをこのシステム基準信号発生回路5によ
って速やかに得ることができる。
Therefore, the system reference signal generating circuit 5 can quickly obtain the timing of the video signal processing system, etc., including the imaging system of the electronic still camera.

しかもこのとき記録媒体25と基準信号発生回路5とは
完全に同期している。
Moreover, at this time, the recording medium 25 and the reference signal generating circuit 5 are completely synchronized.

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

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

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

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

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

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

Claims (1)

【特許請求の範囲】 回転体を駆動する回転駆動手段、 前記回転体の回転位相を検出する検出手段、周期的な基
準信号を形成する基準信号源、 該基準信号源の出力と前記検出手段の出力との位相差を
所定の値と比較することにより前記位相差を一定の値に
なるよう回転駆動手段を制御する位相制御手段、および 前記基準信号の一周期において、前記検出手段の出力が
複数回発生したことを検知とする検知手段を具え、 当該検知がなされた場合は速度偏差に基づく速度制御を
行い、該制御により前記回転体の速度が安定した後に前
記位相制御手段による位相制御を行うようにしたことを
特徴とする回転体駆動装置。
[Scope of Claims] Rotary driving means for driving a rotary body, detection means for detecting the rotational phase of the rotary body, a reference signal source for forming a periodic reference signal, and an output of the reference signal source and the detection means. a phase control means for controlling the rotation drive means so that the phase difference is a constant value by comparing the phase difference with the output with a predetermined value; comprising a detection means for detecting that the rotational body has occurred twice, and when the detection is made, speed control is performed based on the speed deviation, and after the speed of the rotating body is stabilized by the control, phase control is performed by the phase control means. A rotating body drive device characterized by:
JP11492786A 1986-05-21 1986-05-21 Rotating body drive Expired - Fee Related JPH0721935B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11492786A JPH0721935B2 (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
JP11492786A JPH0721935B2 (en) 1986-05-21 1986-05-21 Rotating body drive

Publications (2)

Publication Number Publication Date
JPS62273670A true JPS62273670A (en) 1987-11-27
JPH0721935B2 JPH0721935B2 (en) 1995-03-08

Family

ID=14650105

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH0721935B2 (en)

Also Published As

Publication number Publication date
JPH0721935B2 (en) 1995-03-08

Similar Documents

Publication Publication Date Title
US4933985A (en) Rotation drive device
JPS62273670A (en) Rotary body driving device
KR100295117B1 (en) Pulse signal generator and method for generating and outputting error-free pulse signal in synchronization with signal of constant period
JPS62273667A (en) Rotary body driving device
US5345532A (en) Rotation drive device
JPS62273665A (en) Rotating body drive device
JPS62273666A (en) Rotating body drive device
JPS62273668A (en) Rotating body drive device
JPS62273669A (en) Rotating body drive device
JPH02165055A (en) Speed detector
JPS61212180A (en) Driving device for rotating body
JP2604205B2 (en) Phase servo device
JPS61189460A (en) Speed detector failure detection method
JP2819127B2 (en) Phase measurement circuit
JPS61212179A (en) Rotating body drive device
JP2811187B2 (en) Low vibration driving method of pulse motor and its circuit
JPH1090005A (en) Measurement device for displacement
JP2639925B2 (en) Automatic phase reference cycle setting device
JPH02250674A (en) On delay circuit for inverter
JP2619016B2 (en) Digital control device
JP2788516B2 (en) Motor servo device
JPS5856101A (en) Digital servo device
JPH06153160A (en) Time axis fluctuation correction circuit
JPS62105049A (en) Correcting method for time error
JPH07108117B2 (en) Spindle motor speed controller for recording / reproducing device

Legal Events

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