JPS62273667A - Rotary body driving device - Google Patents

Rotary body driving device

Info

Publication number
JPS62273667A
JPS62273667A JP11492486A JP11492486A JPS62273667A JP S62273667 A JPS62273667 A JP S62273667A JP 11492486 A JP11492486 A JP 11492486A JP 11492486 A JP11492486 A JP 11492486A JP S62273667 A JPS62273667 A JP S62273667A
Authority
JP
Japan
Prior art keywords
signal
phase
control
reference signal
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.)
Granted
Application number
JP11492486A
Other languages
Japanese (ja)
Other versions
JPH0721932B2 (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 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

Abstract

PURPOSE:To attain the operation processing by making operation processing number of a phase control means driving a rotary body variable in response to a time after a rotational phase detection output is generated till it is generated again so as to prevent phase variation. CONSTITUTION:In closing a motor start switch 1, a system control operation section 2 starts a motor 9 via a D/A converter 7 to apply speed control. A mode changeover switch 11 is thrown to the position (a), the content of a timer counter 3 is held in a latch circuit 4 at the leading of the FG pulse signal 12 and the operation section 2 uses the difference between the period of the held signal 12 and the control object period as a deviation thereby operating a manip ulated variable. When the speed of the motor 9 is stabilized, the switch 11 is switched to the position (b), a reference signal is generated from a control reference signal generating circuit 6, the phase difference between the reference signal and the signal 12 is obtained from the content of the circuit 4 to apply phase control. The operating section 12 makes the number of times of operations of the phase control variable in response to the time after the FG pulse is generated till the pulse is generated again to eliminate phase variation for the operation processing.

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パルスの位相が(1/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 (1/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-mentioned 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; The present invention is characterized in that it includes a control means that varies the number of arithmetic operations of the phase control means in accordance with the time from when the output is generated until the output of the detection means is generated again.

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

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

第1図は本発明回転体駆動装置の一実施例としてのディ
スク駆動装置を含む電子スチルカメラの一構成例を示す
ブロック図である。図において、1はモータ起動スイッ
チ、2は装置全体を制御するとともに各種演算等を行う
システム制御演算部であって、マイクロコンピュータ形
態のcpu 、ワークエリア等を有するRAM 、後述
の第2図に示すような手順を記憶したROMおよびカウ
ンタ等を有する。3は人力信号の立ち上りエツジでリセ
ット(RESET)  シてOから計時を行うタイマカ
ウンタ回路、4は人力信号の立ち上りエツジ毎にタイマ
カウンタ回路3の内容を保持するラッチ回路であって、
各部2.3および4により位相制御手段が構成されてい
る。5はモータが組込まれている電子スチルカメラの全
体のタイミング信号(同期信号)を発生する同期信号源
としてのシステム基準信号発生口路、6はモータの位相
制御の基準となる信号を発生する基準信号源としてのモ
ータ制御基準信号発生回路、7はD/八へ換器、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 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 performs time counting from O by resetting (RESET) at the rising edge of the human input signal; 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. Reference numeral 5 indicates a system reference signal generation port as a synchronization signal source that generates the overall timing signal (synchronization signal) of the electronic still camera in which the motor is incorporated, and reference number 6 indicates a reference signal that generates a signal that serves as a reference for phase control of the motor. Motor control reference signal generation circuit as a signal source, 7 is a D/8 converter, 8 is D
A motor drive circuit amplifies the /A converted motor control signal, and 9 is a motor as a rotation drive means.

IOはモータの回転位相に対応したFGG号パルス、す
なわち例えばモータ8の1回転につき16個のパルスを
発生する検出手段としてのFG(Frequency 
Generator)回路、11はモード切換信号14
により速度偏差を用いた速度制御モード(以下、速度制
御モード)に設定するためのa側および位相同期による
速度制御モード(位相制御モート)に設定するためのb
側に切り換わるモード切換スイッチ、19はモータの位
相に同期したパルスをモータ1回転に1回Hレベルで出
力する位相信号発生器(PG)、21はANDゲート、
12はFG回回路l跡らの出力信号、13はカウンタ回
路3のリセット入力端に人力されるRESET信号、1
5は演算部2から出力される位相同期時Hレベルおよび
非同期時LレベルとなるREADY信号、16は同演算
部2から出力される基準信号発生タイミング信号、17
は制御基準信号発生回路6から出力される基準信号、1
8はPGI1からの出力信号、20はREADY信号1
5がLレベルからHレベルになったときにほぼモータの
FGの周期の幅をもつHレベルのワンショットパルスを
発生するワンショット回路である。22は撮像装置、2
3は信号処理回路、24はヘッド、25は制御対象であ
る回転体としての記録媒体である。
IO is an FG (frequency
11 is a mode switching signal 14
A side for setting the speed control mode using speed deviation (hereinafter referred to as speed control mode) and B side 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 of the FG circuit 1, 13 is the RESET signal manually input 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 when the phase is synchronized and L level when it is not synchronized; 16 is a reference signal generation timing signal which is output from the calculation unit 2; 17
is the reference signal 1 output from the control reference signal generation circuit 6;
8 is the output signal from PGI1, 20 is the READY signal 1
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側、すなわち速度制御
モード側に設定されている。ここでステップ51におい
てモータ起動スイッチ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 51, 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がリセットされ
再びOからのタイムカウントを開始する。すなわち、ラ
ッチ回路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 restart time counting from 0. 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 this method, the operation amount is calculated using the difference with the vertical synchronization signal frequency (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/21時間すなわちπ時間経過したか否かを演算部
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 calculation unit 2 determines whether 1/21 time of the period of the FG pulse during synchronization minus the period of the FG pulse during synchronization, that is, π time has elapsed.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, the reference signal generation timing signal 16 from the calculation section 2 is manually inputted 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.

ついでステップ511において、後述の位相差判断ルー
チンを行う。このルーチンによって基準信号とFGパル
スとの位相差と、目標位相差との偏差量が補正される。
Next, in step 511, 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.

ついでステップS12においては、演算部2によって当
該補正された偏差量に基づいて操作量を演算し、ついで
ステップ513にすすみ、演算部2から演算結果、すな
わち操作量をD/A変換器7に出力する。これによって
、操作量に基づくモータ9の回転位相制御が行われる。
Next, in step S12, the calculation unit 2 calculates the manipulated variable based on the corrected deviation amount, and then proceeds to step 513, where the calculation unit 2 outputs the calculation result, that is, the manipulated variable to the D/A converter 7. do. As a result, rotational phase control of the motor 9 is performed based on the manipulated variable.

ついでステップ514にすすみ、演算部2によって、読
み込んだラッチ回路4の内容に基づいて基準信号とFG
パルスとの位相差が目標位相差になっているか、すなわ
ち位相同期しているかを判断し、位相同期していなけれ
ばステップ510に復帰して同様の手順を繰返す。一方
、位相同期していると判定された場合にはステップS1
5にすすみ、演算部2からHレベルのREADY信号1
5を出力し、ステップS10に復帰する。
Next, proceeding to step 514, the calculation unit 2 calculates the reference signal and the FG based on the read contents of the latch circuit 4.
It is determined whether the phase difference with the pulse is the target phase difference, that is, whether the phase is synchronized. If the phase is not synchronized, the process returns to step 510 and the same procedure is repeated. On the other hand, if it is determined that the phase is synchronized, step S1
5, the H level READY signal 1 is sent from the calculation unit 2.
5 is output, and the process returns to step S10.

次に、本実施例の主要部である回転体駆動制御部につい
て詳細に説明する。
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 dashed 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
出力をクロック信号2Qlのタイミングでラッチする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 clock signal 2Ql
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にデータバスおよびアドレスバスを介して結
合したデータバスバッファおよびアドレスバスバッファ
、103および104はアドレスバスバッファ102に
結合したアドレスデコーダである。また、C5,RD、
 WRおよびAWRは、それぞれ、CPUから供給され
るチップセレクト信号、リード信号、ライト信号、およ
びアドレスバスバッファ102を動作させるためのアド
レスライン信号である。
101 and 102 are a data bus buffer and an address bus buffer, respectively, coupled to the CPU of the system control calculation unit 2 via a data bus and an address bus, and 103 and 104 are address decoders coupled 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
によりFF115の出力がHレベルとなる。またタイマ
カウンタ107〜110のオーバフロー信号によりゲー
ト173の出力がLレベルとなりカウンタ107 ニn
oは再びプリスケーラ105および106に設定される
値から再カウントを行う。すなわち、タイマラッチ11
1および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 the FF 115 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 output of the counter 107 becomes low.
o performs counting again from the values set in prescalers 105 and 106. That is, timer latch 11
1 and 112 hold the values 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のIIEADストローブ信号
210によってクリアされるが、もし11EAllスト
ロ一ブ信号210がLレベルとなる前にFG信号203
が立ち上がると、NANDゲート153出力がLレベル
となり、FF117のQ出力がHレベルとなる。すなわ
ち、演算部2のCPuは、例えば位相制御処理の過程(
ステップSin −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 cleared by the IIEAD strobe signal 210 of the timer latch 112, but if the FG signal 203 is cleared before the 11EAD strobe signal 210 becomes L level.
rises, the output of the NAND gate 153 becomes L level, and the Q output of FF 117 becomes H level. That is, the CPU of the calculation unit 2 performs, for example, the process of phase control processing (
By referring to the contents of the flag buffer 113 corresponding to this signal via the data bus in step Sin-515), it is possible to detect that the FG signal 203 has risen twice or more before reading the contents of the timer latches 111 and 112. .

一般に、位相制御時の演算をマイクロコンピュータ等を
用いて処理する場合、このように演算が間に合わないこ
とがある。このときは、通常の演算処理の一部を行わず
、必須の処理だけを行うようにし、次の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 human power of the gate 139 to the 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
〜110がオーバフローしていなければNANDゲート
156の出力はLレベルとなり、FF116の出力Qは
Lレベルとなるが、FG信号203が立ち上がる前に再
びタイマカウンタ107〜110のオーバフロー信号2
08がHレベルとなるとNANOゲート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
110 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 goes to H level, both outputs of NANO gate 154 go to H level, and the Q output of FF 118 is set to H level.

これにより、演算部2のCPuは、例えば位相制御処理
の過程でこの信号に対応したフラグバッファ113の内
容をデータバスを介して参照すれば、タイマカウンタ1
07〜110がオーバフローして、次にオーバフローす
るまでの間にFG傷信号立ち上がりが無かったことを検
知できる。
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 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 input 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 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〜110がオーバフローし
、再カウントが開始された組成のオーバフローが生じる
までの間に2度以上FG信号203が立ち上がった場合
について考える。
Next, consider a case where the FG signal 203 rises twice or more between the timer counters 107 to 110 overflow and the overflow of the composition for which re-counting is started.

まずタイマカウンタ107〜110がオーバフローする
と、NANOゲート156の出力はHレベルになる。従
って、FF116のQ出力がHレベル、4出力がLレベ
ルとなる。この状態でFG信号203が立ち上がり、信
号209がLレベルとなると、このときはまだタイマカ
ウンタ107〜110がオーバフローしていないので、
NANDゲート156の出力はLレベルとなりFF11
6のQ出力はLレベル、ζ出力がHレベルとなる。ここ
でカウンタ107〜110がオーバフローすれば、NA
NOゲート155の出力がHレベルとなり、FF116
の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 NANO gate 156 becomes H level. Therefore, the Q output of the FF 116 becomes H level, and the 4 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 156 becomes L level and FF11
The Q output of No. 6 is at L level, and the ζ output is at H level. If counters 107 to 110 overflow here, NA
The output of NO gate 155 becomes H level, and FF116
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 input of FF 119 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図のような場合にも、誤った制御す
ることなく両者の位相差を迅速かっ確実にしかも安定し
て0〜2πの範囲内にすることができる。
In this way, even if the FG pulse deviates from the reference signal by 2π or more, that is, in the case shown in Figure 5, the phase difference between the two can be quickly, reliably, and stably adjusted from 0 to 2π without erroneous control. Can be within range.

なお、本実施例ではFGパルス(モータ1回転につき例
えば16パルス)で位相制御を行うため、PGパルス(
モータ1回転につき1パルス)によるものに比べ高精度
の位相同期が可能である。位相同期後はステップS15
によりHレベルのREADY信号15が出力されるのに
伴い、ワンショット回路20は基準信号17の周期より
も長く且つ2周期分より短いパルスを発生する。そして
、PGI1はモータの回転に伴い1回転に1回ある特定
の位相でHレベルの信号18を出力するから、ワンショ
ット回路2oの出力がHレベルとなったとき、すなわち
位相同期したことを示すREADY信号15がHレベル
で、かっPGI1の出力信号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. Then, as the motor rotates, the PGI 1 outputs an H level signal 18 at a specific phase once per revolution, so when the output of the one shot circuit 2o becomes H level, that is, it indicates phase synchronization. When the READY signal 15 is at the H level and the output signal 18 of the PGI 1 is at the H level, the output of the AND gate 21 is at the H level, and the system reference signal generating 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 affected by the 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. Moreover, 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,
We have described the case where the FG pulse deviates from the reference signal by 2π or more, that is, the case shown in Figure 5, but it can be easily handled by changing the value of the timer prescaler when controlling using the PG pulse. .

また、上述の実施例では本発明を電子スチルカメラに適
用した場合について述べたが、本発明は回転体の駆動機
構を有する種々の機器に極めて有効かつ容易に適用でき
るのは勿論である。
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・・・モータ、 lO・・・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 section, 3... Timer counter circuit, 4... Latch circuit, 6... Control reference signal generation circuit, 9... Motor, lO... 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; and an output of the detection means again after the output of the detection means is generated. 1. A rotary body driving device comprising: a control means for varying the number of arithmetic operations of the phase control means in accordance with the time until occurrence of the rotation.
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 true JPS62273667A (en) 1987-11-27
JPH0721932B2 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
JPH0721932B2 (en) 1995-03-08

Similar Documents

Publication Publication Date Title
US4933985A (en) Rotation drive device
JPS62273667A (en) Rotary body driving device
JPS62273665A (en) Rotary body driving device
JPS62273668A (en) Rotary body driving device
JPS62273666A (en) Rotary body driving device
JPS62273670A (en) Rotary body driving device
JPS62273669A (en) Rotary body driving device
US5345532A (en) Rotation drive device
JPS61212180A (en) Driving device for rotating body
KR19990014277A (en) Pulse signal generator and method for generating and outputting error-free pulse signal in synchronization with signal of constant period
JP2604205B2 (en) Phase servo device
JPS61189460A (en) Detecting method for fault of speed detector
JPS60143709A (en) Apparatus for measuring flow rate of fluid
JPS601566A (en) Speed detector
JPH0719433B2 (en) Rotating body drive
JP2811187B2 (en) Low vibration driving method of pulse motor and its circuit
JP2848596B2 (en) Timing device
JPS58134301A (en) Servomotor controller
JPH0475466B2 (en)
JPH04178186A (en) Servomotor apparatus
JPS5856101A (en) Digital servo device
JPS62247781A (en) Speed control method for dc motor
JPH01287431A (en) Semiconductor device
JPS61171221A (en) Control pulse generator
JPS62247777A (en) Stopping method for capstan motor

Legal Events

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