JPS62273669A - Rotating body drive device - Google Patents
Rotating body drive deviceInfo
- Publication number
- JPS62273669A JPS62273669A JP11492686A JP11492686A JPS62273669A JP S62273669 A JPS62273669 A JP S62273669A JP 11492686 A JP11492686 A JP 11492686A JP 11492686 A JP11492686 A JP 11492686A JP S62273669 A JPS62273669 A JP S62273669A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- control
- phase
- 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
Links
Landscapes
- Rotational Drive Of Disk (AREA)
Abstract
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 Generato
r)パルスの位相を同期させてモータを制御することが
考えられるが、この場合位相の制御可能な範囲は基準信
号に対するFGパルスの位相の遅れが0以上2π以下の
範囲に限られてしまう。In addition, as a method of phase control, for example, π
Late FG (Frequency Generate
r) It is conceivable to control the motor by synchronizing the phase of the pulses, but in this case, the controllable range of the phase is limited to a range in which the phase delay of the FG pulse with respect to the reference signal is from 0 to 2π.
しかし、モータへの急激な負荷変動等によって位相差が
上記制御可能範囲を越えることもありうる。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 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 not occurred 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 It is characterized in that phase control is performed by the control means.
[作 用]
本発明によれば、検知手段による検知がなされたとぎ、
すなわち例えば位相制御に適さない状態となったとき、
速度偏差に基づいて速度制御を行い、回転を安定させて
から位相制御を行うようにしたので、安定かつ確実な制
御が可能となる。[Function] According to the present invention, when the detection by the detection means is performed,
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) L、てOから計時を行うタイマカ
ウンタ回路、4は人力信号の立ち上りエツジ毎にタイマ
カウンタ回路3の内容を保持するラッチ回路であって、
各部2.3および4により位相制御手段が構成されてい
る。5はモータが組込まれている電子スチルカメラの全
体のタイミング信号(同期信号)を発生する同期信号源
としてのシステム基準信号発生回路、6はモータの位才
目制御の基準となる信号を発生する基準信号源としての
モータ制御基準信号発生回路、7はD/A変換器、8は
0/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 measures time from L and O 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. 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; 6 is a system reference signal generation circuit that generates a signal that serves as a reference for timing control of the motor; A motor control reference signal generation circuit is used as a reference signal source, 7 is a D/A converter, 8 is a motor drive circuit for amplifying the 0/A converted motor control signal, and 9 is 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回路lOからの出力信号、13はカウンタ
回路3のリセット入力端に入力されるnEsET信号、
15は演算部2から出力される位相同期時Hレベルおよ
び非同期時LレベルとなるREADY信号、16は同演
算部2から出力される基準信号発生タイミング信号、■
7は制御基準信号発生回路6から出力される基準信号、
18はPCl3からの出力信号、20はIIEADY信
号15がLレベルからHレベルになったときにほぼモー
タのFGの周期の幅をもつHレベルのワンショットパル
スを発生するワンショット回路である。22は撮像装置
、23は信号処理回路、24はヘッド、25は制御対象
である回転体としての記録媒体である。lO is an FG (frequency
11 is a mode switching signal 14
A mode changeover switch that switches to the a side for setting the speed control mode using a speed difference (hereinafter referred to as speed control mode) and the 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 an output signal from the FG circuit IO, and 13 is a counter circuit 3 nEsET signal input to the reset input terminal of
15 is a READY signal which is outputted from the calculation unit 2 and is at H level when phase synchronization and L level when it is not synchronized; 16 is a reference signal generation timing signal outputted from the calculation unit 2;
7 is a reference signal output from the control reference signal generation circuit 6;
18 is an output signal from the PCl3, and 20 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 IIEADY signal 15 changes from L level to H level. 22 is an imaging 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 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回路IOからモータ9の回転周期に比例した
FGパルス信号12が出力される。ここでスイッチ11
はa側にあるから、FGパルス信号12の立ち上りエツ
ジでタイマカウンタ回路3の内容がラッチ回路4に保持
されるとともに、タイマカウンタ回路3がリセットされ
再び0からのタイムカウントを開始する。すなわち、ラ
ッチ回路4はFGパルスの周期をFGパルス信号の立ち
上りエツジ毎に保持する。演算部2は保持されたFGパ
ルスの周期と制御目標周期(すなわち、例えばNTSC
方式の場合垂直同期信号周期l/60秒)との差を偏差
量として操作量を演算し、D/A変換器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 the 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 operation amount is calculated using the difference from the vertical synchronization signal period 1/60 seconds as the deviation amount, and the calculation result is output to the D/A 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 arithmetic 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 multiplied 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 において、後述の位相差判断ル
ーチンを行う。このルーチンによって基準イ3号とFG
パルスとの位相差と、目標位相差との偏差量が補正され
る。Next, in step Sll, a phase difference determination routine to be described later is performed. With this routine, standard A3 and FG
The amount of deviation between the phase difference with the pulse and the target phase difference is corrected.
ついでステップ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に復帰して同様の手順を繰返す。一方
、位相同期していると判定された場合にはステップ51
5にすすみ、演算部2からHレベルのREADY信号1
5を出力し、ステップ51Gに復帰する。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 51
5, the H level READY signal 1 is sent from the calculation unit 2.
5 is output and the process returns to step 51G.
次に、本実施例の主要部である回転体駆動制御部につい
て詳細に説明する。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 driving 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出
力をクロック信号201のタイミングでラッチするFF
、 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 a FF that latches the Q output of FF122 at the timing of the clock signal 201.%120 is an FF that latches the Q output of FF121 at the timing of the clock signal 201.
, 116 is an FF that latches the output of the NAND gate 156 at the timing of the clock signal 201.
130〜140はインバータゲート、150〜l[il
はNANDゲート、170〜173はNORゲートであ
る。なお、基準信号発生回路6は、本実施例においては
タイマカウンタ107〜110に兼用している。130 to 140 are inverter gates, 150 to l[il
is a NAND gate, and 170 to 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に
結合したアドレスデコーダである。また、[:S、 R
D、 WRおよび竹は、それぞれ、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 section 2 via a data bus and an address bus, and 103 and 104 are address decoders coupled to the address bus buffer 102. Also, [:S, R
D, WR, and Bamboo are respectively a chip select signal, a read signal, a write signal, and an address line signal for operating the address bus buffer 102 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のオーバフロー4M”tにより
ゲート173の出力がLレベルとなりカウンタ107〜
110は再びプリスケーラ105および106に設定さ
れる値から再カウントを行う。すなわち、タイマラッチ
111および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. Furthermore, due to the overflow 4M''t of the timer counters 107 to 110, the output of the gate 173 becomes L level, and the counters 107 to 110
110 performs counting again from the values set in prescalers 105 and 106. That is, the timer latches 111 and 112 hold a value that measures 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が立ち
上がると、NANOゲート153出力がLレベルとなり
、FF117のQ出力がHレベルとなる。すなわち、演
算部2のCPIIは、例えば位相制御処理の過程(ステ
ップS10−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 NANO gate 153 becomes L level and the Q output of FF 117 becomes H level. That is, if the CPII 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 (step S10-515), the CPII of the arithmetic 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 micro combinator 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がオーバーフローす
ると、NANOゲート156の出力はHレベルとなる。First, when the timer counters 107 to 110 overflow, the output of the NANO 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のオーバフロー信号
208が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
~110 does not overflow, the output of the NAND gate 156 goes to L level, and the output Q of FF116 goes to L level, but before the FG signal 203 rises, the overflow signal 208 of timer counters 107 to 110 goes to H level again. When this happens, both outputs of the NAND gate 154 become H level, and the Q output of the FF 118 is set to the 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 is possible to detect that the FG signal does not rise between the overflow of signals 07 to 110 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, and the speed Once stabilized, the phase control mode is entered again.
速度制御モードでは、モードセレクト信号204〜20
6をすべてLレベルとし、プリスケーラにはゼロを設定
する。するとFG信号203の立ち上がりかられずかに
遅れた信号207の立ち上がりで信号202がLレベル
となり、タイマカウンタ107〜11Gの値がタイマラ
ッチ111および112に保持されるとともに、信号2
11がLレベルとなり、ゲート173がLレベルとなり
、カウンタ107〜110はプリスケーラの値をロード
、つまりゼロにリセットされ再カウントを開始する。こ
のときのタイマラッチ111および112の値がF+4
号の周期を示しているから、この値をもとに速度制御を
行えばよい。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 11G 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. The value of timer latches 111 and 112 at this time is F+4
Since it indicates the period of the signal, speed control can be performed based on this value.
次に、タイマカウンタ107〜110がオーバフローし
、再カウントが開始された組状のオーバフローが生じる
までの間に2度以上FG信号203が立ち上がった場合
について考える。Next, consider a case where the FG signal 203 rises twice or more before the timer counters 107 to 110 overflow and a set of overflows occurs where re-counting is started.
まずタイマカウンタ107〜110がオーバフローする
と、NANOゲート156の出力はHレベルになる。従
って、FF116のQ出力がHレベル、同出力がLレベ
ルとなる。この状態でFG信号203が立ち上がり、信
号209がLレベルとなると、このときはまだタイマカ
ウンタ107〜110がオーバフローしていないので、
NANDゲート156の出力はLレベルとなりFF11
6のQ出力はLレベル、同出力がHレベルとなる。ここ
でカウンタ107〜110がオーバフローすれば、NA
NDゲート156の出力かHレベルとなり、FF1lB
のQ出力はHレベル、Q出力はLレベルとなるが、オー
バフローか生じる前にもうIJJjFG信号203が立
ち上がルト、NANDゲート155出力がLレベルとな
り、FFI 19の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 same 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 same output is at H level. If counters 107 to 110 overflow here, NA
The output of ND gate 156 becomes H level, and FF11B
The Q output of FFI 19 becomes H level and the Q output becomes L level, but before an overflow occurs, the IJJjFG signal 203 already rises, the NAND gate 155 output becomes L level, and the Q output of FFI 19 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 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 and reliably adjusted to O~2π without erroneous control. can be within range.
なお、本実施例ではFGパルス(モータ1回転につき例
えば16パルス)で位相制御を行うため、PGパルス(
モータ1回転につき1パルス)によるものに比べ高精度
の位相同期が可能である。位相同期後はステップ515
によりHレベルのREADY信号15が出力されるのに
伴い、ワンショット回路20は基準信号17の周期より
も長く且つ2周期分より短いパルスを発生する。そして
、PGI1はモータの回転に伴い1回転に1回ある特定
の位相でHレベルの信号18を出力するから、ワンショ
ット回路20の出力が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. Step 515 after phase synchronization
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 20 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 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 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.
第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 is generated in one period of the reference signal. and detecting means for detecting that the rotating body has not been detected, 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:
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11492686A JPH0721934B2 (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 |
|---|---|---|---|
| JP11492686A JPH0721934B2 (en) | 1986-05-21 | 1986-05-21 | Rotating body drive |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62273669A true JPS62273669A (en) | 1987-11-27 |
| JPH0721934B2 JPH0721934B2 (en) | 1995-03-08 |
Family
ID=14650079
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11492686A Expired - Fee Related JPH0721934B2 (en) | 1986-05-21 | 1986-05-21 | Rotating body drive |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0721934B2 (en) |
-
1986
- 1986-05-21 JP JP11492686A patent/JPH0721934B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0721934B2 (en) | 1995-03-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0324156B2 (en) | ||
| US4933985A (en) | Rotation drive device | |
| JPS62273669A (en) | Rotating body drive device | |
| JPS62273665A (en) | Rotating body drive device | |
| JPS62273666A (en) | Rotating body drive device | |
| JPS62273668A (en) | Rotating body drive device | |
| JPS62273667A (en) | Rotary body driving device | |
| US5345532A (en) | Rotation drive device | |
| JPS62273670A (en) | Rotary body driving device | |
| JPS61212180A (en) | Driving device for rotating body | |
| US5005141A (en) | Phase-locked loop circuit | |
| JP2604205B2 (en) | Phase servo device | |
| JPS61189460A (en) | Speed detector failure detection method | |
| JPS6364588A (en) | Motor digital control device | |
| JP2680573B2 (en) | Automatic phase adjustment device | |
| JPH04178186A (en) | Servomotor apparatus | |
| JPH0719433B2 (en) | Rotating body drive | |
| JP2811187B2 (en) | Low vibration driving method of pulse motor and its circuit | |
| JP2788516B2 (en) | Motor servo device | |
| SU1352462A1 (en) | Programmed control device | |
| JP2848596B2 (en) | Timing device | |
| JPH04288A (en) | Digital PLL motor control device | |
| JPS5856101A (en) | Digital servo device | |
| JPH02216648A (en) | Cylinder phase servo device | |
| JPS58134301A (en) | Servomotor controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |