JP5187611B2 - Motor drive control device, digital camera and motor drive control program - Google Patents
Motor drive control device, digital camera and motor drive control program Download PDFInfo
- Publication number
- JP5187611B2 JP5187611B2 JP2006267293A JP2006267293A JP5187611B2 JP 5187611 B2 JP5187611 B2 JP 5187611B2 JP 2006267293 A JP2006267293 A JP 2006267293A JP 2006267293 A JP2006267293 A JP 2006267293A JP 5187611 B2 JP5187611 B2 JP 5187611B2
- Authority
- JP
- Japan
- Prior art keywords
- motor
- drive control
- drive
- motor drive
- driving
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Studio Devices (AREA)
- Control Of Stepping Motors (AREA)
Description
本発明は、モータの駆動を制御するモータ駆動制御装置、デジタルカメラ及びモータ駆動制御プログラムに関する。 The present invention relates to a motor drive control device, a digital camera, and a motor drive control program for controlling the drive of a motor.
従来、デジタルカメラなどにおいては、ズームレンズ、フォーカスレンズ、絞り、シャッタなどを、それぞれステッピングモータにより駆動するため、動作音、最大動作速度、停止位置精度、消費電力などの様々な要素の向上を図るためのモータ駆動制御技術が提案されている(例えば、特許文献1、特許文献2、特許文献3、特許文献4)。
Conventionally, in a digital camera or the like, a zoom lens, a focus lens, an aperture, a shutter, and the like are each driven by a stepping motor, so various elements such as operation sound, maximum operation speed, stop position accuracy, and power consumption are improved. Motor drive control technology for this purpose has been proposed (for example, Patent Literature 1,
ところで、デジタルカメラなどにおいては、様々なタイミングで様々なモータが駆動されているが、例えば、音声付動画の撮影時には全てのモータについて静音性が最優先され、静止画撮影における露光終了時にはシャッタ駆動モータの動作速度が最優先されるなど、同じモータを駆動する場合であっても、動作状態(駆動タイミング)に応じて優先すべき要素が異なっていたり、同じ動作状態であっても、駆動するモータの種類に応じて優先すべき要素が異なる場合がある。 By the way, in a digital camera or the like, various motors are driven at various timings. For example, when shooting a moving picture with sound, priority is given to the quietness of all motors, and shutter driving is performed at the end of exposure in still image shooting. Even when the same motor is driven, such as when the motor operating speed is given the highest priority, even if the elements that should be prioritized differ according to the operating state (driving timing) or in the same operating state, the motor is driven. Depending on the type of motor, the priority element may be different.
しかしながら、上述した、いずれの従来技術においても、デジタルカメラの動作状態に応じて、ズームレンズ、フォーカスレンズ、絞り、シャッタなどを駆動するステッピングモータを、適切に制御する技術はなく、静音化、高速化、高精度化、省電力化において改善の余地が残されていた。 However, in any of the above-described conventional techniques, there is no technique for appropriately controlling the stepping motor that drives the zoom lens, the focus lens, the aperture, the shutter, and the like in accordance with the operation state of the digital camera. There remains room for improvement in terms of efficiency, high accuracy, and power saving.
そこで本発明は、動作状態に応じて、各部を駆動するモータの駆動方式を容易に、かつ適切に変更することができるモータ駆動制御装置、デジタルカメラ及びモータ駆動制御プログラムを提供することを目的とする。 Therefore, an object of the present invention is to provide a motor drive control device, a digital camera, and a motor drive control program that can easily and appropriately change the drive system of the motor that drives each unit according to the operation state. To do.
本発明によるモータ駆動制御装置は、1回の静止画撮影動作または1回の動画撮影動作に含まれる複数の動作段階の各々に対応付けて、各動作段階で実行すべきモータの駆動方式を記憶する記憶手段と、1回の静止画撮影動作または1回の動画撮影動作を開始した後、現在の動作段階を判別する動作段階判別手段と、前記動作段階判別手段によって判別された動作段階に対応するモータの駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、前記駆動方式取得手段によって取得されたモータの駆動方式に基づいて、駆動対象であるモータを駆動制御する駆動制御手段とを備えることを特徴とする。
また、本発明によるデジタルカメラは、上記モータ駆動制御装置と、このモータ駆動制御装置によって駆動されるモータであって、ズームレンズ、フォーカスレンズ、絞り、シャッタのうちの複数の機構部を駆動する複数のモータを備えたデジタルカメラであって、当該デジタルカメラの動作状態と、各動作状態において駆動すべきモータの種類および該モータを駆動する駆動方式とを対応付けて記憶する記憶手段と、当該デジタルカメラの現在の動作状態を判別する動作状態判別手段と、前記動作状態判別手段によって判別された動作状態に対応して駆動すべきモータの種類および該モータを駆動する駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、前記取得された駆動方式に基づいて、前記取得された種類のモータを駆動制御する駆動制御手段とを備えることを特徴とする。
また、本発明によるモータ駆動制御プログラムは、1回の静止画撮影動作または1回の動画撮影動作に含まれる複数の動作段階の各々に対応付けて、各動作段階で実行すべきモータの駆動方式を記憶する記憶手段を備えたモータ駆動制御装置を制御するプログラムであって、コンピュータを、1回の静止画撮影動作または1回の動画撮影動作を開始した後、現在の動作段階を判別する動作段階判別手段と、前記動作段階判別手段によって判別された動作段階に対応するモータの駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、前記駆動方式取得手段によって取得されたモータの駆動方式に基づいて、駆動対象であるモータを駆動制御する駆動制御手段として機能させることを特徴とする。
The motor drive control device according to the present invention stores a motor drive system to be executed in each operation stage in association with each of a plurality of operation stages included in one still image shooting operation or one moving image shooting operation. Corresponding to the operation stage discriminated by the operation stage discriminating means and the operation stage discriminating means for discriminating the current operation stage after starting one still image shooting operation or one moving image shooting operation. A drive system acquisition unit that acquires a drive system of the motor to be referred to by referring to the storage unit, and a drive control that controls the drive of the motor that is a drive target based on the motor drive system acquired by the drive system acquisition unit Means.
Further, a digital camera according to the present invention is a motor driven by the motor drive control device and a motor driven by the motor drive control device, and a plurality of mechanisms that drive a plurality of mechanism units among a zoom lens, a focus lens, an aperture, and a shutter. A digital camera equipped with a motor, and a storage means for storing the operation state of the digital camera in association with the type of motor to be driven in each operation state and the drive method for driving the motor; An operation state determination unit for determining a current operation state of the camera, a type of a motor to be driven corresponding to the operation state determined by the operation state determination unit, and a drive method for driving the motor, the storage unit Based on the obtained drive method, the drive type obtaining means for obtaining by reference, and the obtained type of motor Characterized in that it comprises a drive control means for turning control.
Further, the motor drive control program according to the present invention relates to each of a plurality of operation stages included in one still image shooting operation or one moving image shooting operation, and a motor drive method to be executed in each operation stage. Is a program for controlling a motor drive control device having a storage means for storing an operation for determining a current operation stage after a computer starts one still image photographing operation or one moving image photographing operation. Stage determination means, drive system acquisition means for acquiring the drive system of the motor corresponding to the operation stage determined by the operation stage determination means with reference to the storage means, and motor acquired by the drive system acquisition means Based on this driving method, the motor is made to function as a drive control means for driving and controlling a motor to be driven.
この発明によれば、動作状態に応じて、各部を駆動するモータの駆動方式を容易に、かつ適切に変更することができるという利点が得られる。 According to this invention, the advantage that the drive system of the motor which drives each part can be changed easily and appropriately according to the operation state is obtained.
以下、本発明の実施の形態を、図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A.実施形態の構成
図1は、本発明の実施形態によるデジタルカメラの構成を示すブロック図である。図において、操作部1は、電源ボタン、シャッタボタン、ズームレバー(またはボタン)、メニュー呼び出しボタン、設定ボタン、カーソルボタン(または十字ボタン)、フラッシュの切り替えや、マクロ撮影への切り替え、撮影モードの切り替えなどの機能キーなどからなる。表示部2は、液晶表示器などからなり、各種パラメータを設定するためのメニュー画面や、撮影時(静止画、動画)のスルー画像、再生動作時における静止画、動画などを表示する。
A. Configuration of Embodiment FIG. 1 is a block diagram showing a configuration of a digital camera according to an embodiment of the present invention. In the figure, the operation unit 1 includes a power button, a shutter button, a zoom lever (or button), a menu call button, a setting button, a cursor button (or a cross button), flash switching, switching to macro shooting, and shooting mode. It consists of function keys such as switching. The
CCD3は、後述する光学系を介して被写体を撮像する素子である。ROM4は、各固定パラメータや、プログラムなどを記憶する。RAM5は、設定可能なパラメータ(ユーザパラメータ)を記憶するとともに、一時的なバッファなどに用いられる。特に、本実施形態では、RAM5は、駆動モードテーブル51を備えている。該駆動モードテーブル51は、図2に示すように、当該デジタルカメラの駆動タイミング(ユーザ操作などに応じて変化するカメラの動作状態)に対応付けて、ステッピングモータ8−1〜8−3の動作概要(どの機構部に対応するモータをどのように駆動するかを示す情報)、静音・速度の優先度(◎:最優先、○:どちかといえば優先)、駆動方式(ステッピングモータの励磁方式)、停止位置(ステッピングモータを停止させる位相)を記憶している。
The
例えば、No.1のRec起動時(記録モード起動時)には、初期化動作(初期位置にレンズを移動させる)を行い、このときの駆動方式として、1−2相を用い、停止位置を2−2相とする。また、No.2のPlay→Rec切り替え(再生モードから記録モードへの切り替え)時には、初期化動作を行い、このときの駆動方式として、1−2相を用い、停止位置を2−2相とする。以下同様に、例えば、No.14の動画の撮影中のズーム操作時であれば、指定されたズーム倍率となるようにズーム/フォーカスレンズの移動を行い、このときの駆動方式として、マイクロステップ(μステップ)を用い、停止位置を2−2相とする。 For example, no. When Rec 1 is activated (when the recording mode is activated), an initialization operation (moving the lens to the initial position) is performed. As a driving method at this time, 1-2 phase is used, and the stop position is 2-2 phase. And No. When Play → Re is switched (playback mode to recording mode is switched), the initialization operation is performed. As a driving method at this time, the 1-2 phase is used, and the stop position is the 2-2 phase. Similarly, for example, No. In the case of a zoom operation during the shooting of 14 moving images, the zoom / focus lens is moved so that the specified zoom magnification is obtained, and a micro step (μ step) is used as a driving method at this time, and the stop position Is 2-2 phase.
なお、駆動方式の特徴として、マイクロステップ(μステップ)駆動は、静音:◎、速度:△、1−2相駆動は、静音:×、速度:◎である。また、停止位置に関しては、1−2相は、停止精度保持のため保持電流が必要であり、2−2相は、保持電流を不要にすることが可能である。 In addition, as a feature of the drive system, the micro step (μ step) drive is silent: 、, speed: Δ, and the 1-2 phase drive is silent: ×, speed: ◎. Regarding the stop position, the 1-2 phase requires a holding current to maintain the stop accuracy, and the 2-2 phase can make the holding current unnecessary.
次に、画像記録部6は、撮像した静止画や動画などのファイルを記憶する。一時的なバッファとして用いられてもよい。モータドライバ7は、後述するCPU13から供給される、コマンド/ステータス用のシリアル信号SSに従って、モータ駆動タイミング信号MSに同期させて複数のステッピングモータ8−1、8−2、8−3を駆動する。
Next, the image recording unit 6 stores captured images such as still images and moving images. It may be used as a temporary buffer. The
ステッピングモータ8−1〜8−3は、各々、ズームレンズ9を駆動するモータ、フォーカスレンズ10を駆動するモータ、絞り・シャッタ11を駆動するモータである。ここでは、ズームレンズ9、フォーカスレンズ10、絞り・シャッタ11などを総称して機構部12とする。なお、絞り・シャッタ11を駆動するステッピングモータ8−3は、説明を簡単にするため、1つとしているが、それぞれに独立して設けられていてもよい。
Stepping motors 8-1 to 8-3 are a motor for driving the zoom lens 9, a motor for driving the
CPU13は、上述したROM4に格納されているプログラムに従って、各部の動作を制御する。特に、本実施形態では、CPU13は、現在のデジタルカメラの動作状態に対応する駆動方式及び停止位置を、図2に示す駆動モードテーブル51を参照し、駆動対象となるステッピングモータの駆動方式および停止位置を決定し、該決定された駆動方式で、駆動対象のステッピングモータを駆動すべく、モータドライバ7に対して、コマンド/ステータスを送信するためのシリアル信号SSと、モータ駆動タイミング信号MSとを送出するようになっている。上記コマンドは、駆動方向、励磁/脱磁状態を含む駆動条件を設定するためのデータである。また、ステータスは、モータドライバ7から得られる、ステッピングモータの駆動状態を示すデータである。
CPU13 controls operation | movement of each part according to the program stored in ROM4 mentioned above. In particular, in the present embodiment, the
B.実施形態の動作
次に、上述した実施形態の動作について説明する。ここで、図3は、本実施形態によるデジタルカメラの動作(モータ駆動制御動作)を説明するためのフローチャートである。まず、CPU13は、現在のデジタルカメラの動作状態を監視し、ステッピングモータ8−1〜8−3のいずれかが、新たに駆動開始すべきタイミングになったか否かを判断し(ステップS10)、駆動開始すべきタイミングでない場合には、いずれかのステッピングモータを停止するか否かを判断し(ステップS24)、停止するステッピングモータがない場合には、ステップS10に戻り、上述した動作を繰り返す。
B. Operation of Embodiment Next, the operation of the above-described embodiment will be described. Here, FIG. 3 is a flowchart for explaining the operation (motor drive control operation) of the digital camera according to the present embodiment. First, the
そして、ステッピングモータ8−1〜8−3のいずれかを新たに駆動を開始すべきタイミングになった場合には、駆動対象となるステッピングモータと現在のデジタルカメラの動作状態に対応する駆動方式及び停止位置を、図2に示す駆動モードテーブル51を参照して決定する(ステップS12)。次に、決定された駆動方式で、駆動対象のステッピングモータの駆動を開始する(ステップS14)。このとき、脱磁状態であれば、駆動対象のステッピングモータの励磁電圧を段階的に上げるように、モータドライバ7に対して、コマンド/ステータスを送受信するためのシリアル信号SSを送出する(ステップS16)。なお、上記脱磁状態における励磁電圧を段階的に上げていく制御の詳細については後述する。また、CPU13とモータドライバ7とのシリアル通信動作の詳細についても後述する。
When it is time to start driving any one of the stepping motors 8-1 to 8-3, a driving method corresponding to the operation state of the stepping motor to be driven and the current digital camera, and The stop position is determined with reference to the drive mode table 51 shown in FIG. 2 (step S12). Next, driving of the stepping motor to be driven is started by the determined driving method (step S14). At this time, if it is in a demagnetized state, a serial signal SS for transmitting / receiving a command / status is sent to the
次に、2つのステッピングモータが同時に駆動されるのか否かを判断する(ステップS18)。そして、2つのステッピングモータを同時に駆動する場合、例えば、ズーム時にオートフォーカスを行うように、ズームレンズ9用のステッピングモータ8−1とフォーカスレンズ10用のステッピングモータ8−2とを同時に駆動しなければならないような場合には、2つのステッピングモータへの駆動電流の位相を所定状態(位相をずらした状態)に保ちながら同期させて、駆動対象のステッピングモータを駆動するように、モータドライバ7に対して、コマンド/ステータス用のシリアル信号SSを送出する(ステップS20)。なお、上記2つのステッピングモータを同時に駆動する際の駆動電流の位相制御の詳細については後述する。
Next, it is determined whether or not the two stepping motors are driven simultaneously (step S18). When the two stepping motors are driven simultaneously, for example, the stepping motor 8-1 for the zoom lens 9 and the stepping motor 8-2 for the
一方、2つのステッピングモータが同時に駆動されない場合には、位相制御することなく、次のステップに進む。 On the other hand, if the two stepping motors are not driven simultaneously, the process proceeds to the next step without phase control.
次に、位相制御するかしないに拘わらず、決定された駆動方式での駆動を開始する(ステップS22)。すなわち、CPU13は、モータドライバ7に対して、決定された駆動方式に従って、コマンド/ステータス用のシリアル信号SSを送出する。モータドライバ7では、コマンド/ステータス用のシリアル信号SSと、モータ駆動タイミング信号MSとに従って、駆動対象のステッピングモータを駆動する。
Next, regardless of whether or not the phase control is performed, driving with the determined driving method is started (step S22). That is, the
以下に、動作状態に対する駆動制御例を挙げる。
1)静止画・動画スルー状態(撮影待ち受け状態)
動画撮影状態
駆動:マイクロステップ(静音化優先)
さらに、低速駆動として静音化が可能。
停止位置:2−2相位置(無通電で、絞り径の保持→省電力優先)
An example of drive control for the operating state is given below.
1) Still image / moving image through state (waiting for shooting)
Video recording state Drive: Microstep (silent priority)
In addition, it can be silenced as a low-speed drive.
Stop position: 2-2 phase position (no energization, maintenance of aperture diameter → power saving priority)
2)静止画 AF実行状態
駆動:マイクロステップ(静音化優先)
停止位置:1−2相位置(弱通電で、絞り径を保持→設定段数優先)
2) Still image AF execution state Drive: Microstep (silence reduction priority)
Stop position: 1-2 phase position (holds the aperture diameter with weak energization → prioritizes the number of setting steps)
3)電源ON/OFF
駆動:1−2相(速度優先)
3) Power ON / OFF
Drive: 1-2 phase (speed priority)
次に、いずれかのステッピングモータを停止するか否かを判断する(ステップS24)。そして、停止するステッピングモータがない場合には、上記ステップS10に戻り、上述した動作を繰り返す。一方、いずれかのステッピングモータを停止する場合には、所定の位相状態(停止位置:1−2相または2−2相)で停止対象のステッピングモータを停止させるべく、モータドライバ7に対して、決定された駆動方式に従って、コマンド/ステータス用のシリアル信号SSを送出する。(ステップS26)。 Next, it is determined whether or not any of the stepping motors is stopped (step S24). If there is no stepping motor to be stopped, the process returns to step S10 and the above-described operation is repeated. On the other hand, when stopping any of the stepping motors, in order to stop the stepping motor to be stopped in a predetermined phase state (stop position: 1-2 phase or 2-2 phase), A command / status serial signal SS is transmitted in accordance with the determined driving method. (Step S26).
次に、停止中にステッピングモータを脱磁状態にするか否かを判断する(ステップS28)。そして、脱磁状態にしない場合には、ステップS10に戻り、上述した動作を繰り返す。一方、停止中のステッピングモータを脱磁状態にする場合には、励磁電圧を段階的に下げていくように制御すべく、モータドライバ7に対して、決定された駆動方式に従って、コマンド/ステータス用のシリアル信号SSを送出する(ステップS30)。なお、上記脱磁状態における励磁電圧を段階的に下げていく制御の詳細については後述する。その後、ステップS10に戻り、上述した動作を繰り返す。
Next, it is determined whether or not the stepping motor is to be demagnetized during the stop (step S28). And when not making it a demagnetization state, it returns to step S10 and repeats the operation | movement mentioned above. On the other hand, when the stopped stepping motor is brought into a demagnetized state, the command / status is commanded to the
上述した実施形態によれば、デジタルカメラの動作状態に応じて、ズームレンズ9、フォーカスレンズ10、絞り・シャッタ11をそれぞれ駆動するステッピングモータ8−1〜8−3の駆動方式を変えることで、その動作状態で必要とされる状態(静音化、高速化、高精度化、省電力化)を実現することができる。
According to the above-described embodiment, by changing the driving method of the stepping motors 8-1 to 8-3 that respectively drive the zoom lens 9, the
B.シリアル通信による駆動制御
次に、上述したCPU13とモータドライバ7との間のシリアル通信について説明する。従来のステッピングモータ駆動において、シリアル制御を用いるモータドライバを使用する際は、駆動パルスの出力と、シリアルデータの送信との同期をとるために、ソフトウェアの割り込み処理を多用していた。
B. Next, serial communication between the
このため、デジタルカメラの動画モードでの録画中などでCPUへの負荷が大きい場合に、ズーム操作を繰り返し行った場合、割り込み処理により、動画のコマ落ちが発生するという問題があった。 Therefore, when the zoom operation is repeatedly performed when the load on the CPU is large during recording in the moving image mode of the digital camera or the like, there is a problem in that moving image frames are dropped due to interruption processing.
そこで、本実施形態では、CPU13は、ステッピングモータへの駆動パルス出力に同期させて、コマンド/ステータスを送受信するためのシリアル信号SSをモータドライバ7に送信することで、割り込み処理を大幅に減らすようにしている。
Therefore, in this embodiment, the
B−1.回路構成
図4は、本実施形態によるシリアル通信による駆動制御を実現するための回路図である。図において、CPU13は、カウント値レジスタ131と、パルスカウンタ132と、送信バッファ133と、受信バッファ134とを備えている。カウント値レジスタ131には、パルスカウンタ132でのカウント値が設定される。パルスカウンタ132は、CPU13からモータドライバ7に対して送出される、上記駆動パルス出力に相当するモータ駆動タイミング信号MSをカウントし、カウント値レジスタ131に設定されたカウント値に達すると、送信タイミング信号TSを送信バッファ133に送出する。
B-1. Circuit Configuration FIG. 4 is a circuit diagram for realizing drive control by serial communication according to the present embodiment. In the figure, the
送信バッファ133には、予めモータドライバ7に送出すべきコマンドに相当するデータが設定され、上記送信タイミング信号TSが入力されると、設定されているコマンドに相当するデータをシリアル信号SSとしてモータドライバ7に送出する。また、受信バッファ134は、モータドライバ7からのステータスに相当するデータをシリアル信号SSとして受信して一時格納する。該スタータスデータは、適宜、読み出される。
In the
B−2.シリアル通信による駆動制御動作
次に、本実施形態によるシリアル通信による駆動制御動作について説明する。ここで、図5は、本実施形態によるシリアル通信による駆動制御動作例を説明するためのタイミングチャートである。図5では、ステッピングモータ8−1〜8−3の加速・減速時のシリアル送信を示している。なお、駆動1、2、3は、速度を表し、大きいものほど、高速となる。この例では、速度変化を伴う各駆動制御時の直前までに、予め送信データバッファ133にコマンドを設定するとともに、カウント値レジスタ131に必要とされるカウント値を設定する。
B-2. Next, drive control operation by serial communication according to the present embodiment will be described. Here, FIG. 5 is a timing chart for explaining an example of the drive control operation by serial communication according to the present embodiment. FIG. 5 shows serial transmission during acceleration / deceleration of the stepping motors 8-1 to 8-3.
そして、パルスカウンタ132では、該モータ駆動タイミング信号MSをカウントし、カウント値レジスタ131に設定されたカウント値に達する度に、送信タイミング信号TSを送信バッファ133に出力する。送信バッファ133では、上記送信タイミング信号TSが入力される度に、設定されているコマンドをシリアル信号SSとしてモータドライバ7に送出する。そして、予め送信バッファ133に設定された最後のコマンドの送出が完了し、この最後のコマンドに対応して設定されたカウント値のカウントが終了すると、駆動終了を示す割り込み信号が出力され、CPU13はこれら一連の駆動動作が終了したことを知ることができる。
The
上述した実施形態によれば、決定された駆動方式に従って、次に、送信すべきコマンドを予め送信バッファ133に設定しておき、ステッピングモータ8−1〜8−3に対するモータ駆動タイミング信号MSをパルスカウンタ132によりカウントし、カウンタ値レジスタ131に設定したカウンタ値に達すると、送信バッファ133に設定されたコマンドを自動的にモータドライバ7にシリアル送信するようにしたので、割り込み処理を大幅に減らすことができ、CPU13がプログラム動作によって柔軟な駆動制御を行った場合であっても、CPU13の負荷を低減することができる。
According to the above-described embodiment, a command to be transmitted next is set in advance in the
C.駆動電流の位相制御
次に、上述した実施形態において、2つのステッピングモータを同時に駆動する際の駆動電流の位相制御についてデジタルカメラのズーム動作を例に説明する。デジタルカメラのズーム操作において、ズーム、フォーカスレンズの駆動は、画角(倍率)を変更しても、被写体にピントを合焦し続けるために、ズームトラッキング動作行う必要がある。
C. Next, the phase control of the drive current when the two stepping motors are driven simultaneously in the above-described embodiment will be described by taking the zoom operation of the digital camera as an example. In the zoom operation of the digital camera, the zoom and focus lens must be driven in order to keep the subject in focus even if the angle of view (magnification) is changed.
ズーム位置によって同じ被写体にピントを合焦させるためには、そのズーム位置に対応するピント位置にフォーカスレンズを移動させる必要がある。ズーム移動中にフォーカスレンズのピント位置を確保し続けるためには、図6に示すような軌跡となる。この軌跡は、レンズ、被写体距離等によって変化する。 In order to focus on the same subject according to the zoom position, it is necessary to move the focus lens to a focus position corresponding to the zoom position. In order to keep the focus position of the focus lens during the zoom movement, the locus is as shown in FIG. This trajectory changes depending on the lens, subject distance, and the like.
従来、ズームトラッキング動作を行うために、ズームモータ、フォーカスモータをトラキングの軌跡のみに注目して駆動したため、駆動タイミングによっては、各モータの電流のピークタイミングが重なることがあり、電源電圧の降下を招きやすい。デジタルカメラは、ある閾値の電圧を割ることで、電池寿命と判定するため、電圧降下が起きやすいことは、電池寿命を短くするという問題があった。 Conventionally, in order to perform the zoom tracking operation, the zoom motor and the focus motor are driven by paying attention only to the tracking trajectory, so depending on the drive timing, the peak timing of the current of each motor may overlap, and the drop in power supply voltage may occur. Easy to invite. Since the digital camera determines the battery life by dividing a certain threshold voltage, the fact that the voltage drop tends to occur has a problem of shortening the battery life.
そこで、本実施形態では、複数のステッピングモータをマイクロステップ駆動方式によって同時に駆動する場合、各ステッピングモータのピーク電流が、重ならないような位相差を付けることを特徴とする。また、複数のステッピングモータをマイクロステップ方式で同時に駆動させた状態から、一方を停止させる場合(励磁保持状態)、ピーク電流以外の位相で停止させるようになっている。さらに、ズームトラッキング動作を行う際、移動量(駆動パルス数)が少ないステッピングモータに対しては、駆動速度を同じで、位相を同期させた間欠駆動を行う。そして、間欠駆動の非駆動期間が長い場合には、脱磁→励磁処理を行う。 Therefore, in the present embodiment, when a plurality of stepping motors are simultaneously driven by the microstep driving method, a phase difference is provided so that peak currents of the stepping motors do not overlap. In addition, when one of the stepping motors is simultaneously driven by the microstep method and is stopped (excitation holding state), the stepping motor is stopped at a phase other than the peak current. Furthermore, when performing the zoom tracking operation, intermittent driving with the same driving speed and synchronized phase is performed for a stepping motor with a small amount of movement (number of drive pulses). When the intermittent drive non-drive period is long, demagnetization → excitation processing is performed.
C−1.間欠駆動・脱磁なし
図7は、本実施形態において、間欠駆動・脱磁なしで、ズームレンズ9とフォーカスレンズ10とを同時に駆動する際の動作を示すタイミングチャートである。ズームレンズ9、フォーカスレンズ10の駆動速度を同じとする。このため、ズームトラッキング動作中のフォーカスレンズ10に対応するステッピングモータ8−2の駆動タイミングは、ズームレンズ9に対応するステッピングモータ8−1の移動量(パルス数)に対するフォーカスレンズ10に対応するステッピングモータ8−2の移動量によって変わる。
C-1. FIG. 7 is a timing chart showing an operation when the zoom lens 9 and the
ズーム・フォーカス実位置とトラッキング曲線とのずれがピント位置のずれとなるが、フォーカスレンズ9の駆動タイミングを細かくすることで、被写界深度を利用することで、実使用上問題ない程度のピント追従が可能となる。 The shift between the actual zoom / focus position and the tracking curve is the focus position shift, but by using the depth of field by making the drive timing of the focus lens 9 fine, there is no problem in practical use. Follow-up is possible.
図8は、位相制御を行わない場合のマイクロステップ駆動方式の一例を示す概念図である。1つ目のステッピングモータ(1ch)に対するA、B相の電流と2つ目のステッピングモータ(2ch)に対するA、B相の電流とに位相差がない場合には、2つのステッピングモータへの電流和のピーク電流比が大きくなる。 FIG. 8 is a conceptual diagram showing an example of a microstep driving method when phase control is not performed. If there is no phase difference between the A and B phase currents for the first stepping motor (1ch) and the A and B phase currents for the second stepping motor (2ch), the currents to the two stepping motors The sum peak current ratio increases.
これに対して、図9は、本実施形態による、各ステッピングモータ間の位相を135度とした場合のマイクロステップ駆動方式(間欠駆動・脱磁なし)の一例を示す概念図である。1つ目のステッピングモータ(1ch)と、2つ目のステッピングモータ(2ch)とが同じ駆動速度で駆動されている場合、各ステッピングモータに対するA、B相の電流の位相が135度ずれていると、位相がずれていない場合に対して、電流和のピーク電流比を小さくすることができる。 On the other hand, FIG. 9 is a conceptual diagram showing an example of a microstep drive method (no intermittent drive / no demagnetization) when the phase between the stepping motors is 135 degrees according to the present embodiment. When the first stepping motor (1ch) and the second stepping motor (2ch) are driven at the same driving speed, the phases of the A and B phase currents for each stepping motor are shifted by 135 degrees. And the peak current ratio of the current sum can be reduced as compared with the case where the phase is not shifted.
C−2.間欠駆動・脱磁あり
図10は、本実施形態において、間欠駆動・脱磁ありで、ズームレンズ9とフォーカスレンズ10とを同時に駆動する際の動作を示すタイミングチャートである。また、図11は、各ステッピングモータ間の位相を135度とした場合のマイクロステップ駆動方式(間欠駆動・脱磁あり)の一例を示す概念図である。
C-2. FIG. 10 is a timing chart showing an operation when the zoom lens 9 and the
間欠駆動で一時停止する際の位相は、0,90,180,270度になる。これらの位相の場合、1−2相駆動の、1相位置に相当するので、他の位相より、消費電流を少なくできる。また、フォーカスの移動量(間欠駆動のタイミング)によって、 The phase when temporarily stopping by intermittent driving is 0, 90, 180, and 270 degrees. Since these phases correspond to the one-phase position of 1-2 phase driving, current consumption can be reduced compared to the other phases. Also, depending on the amount of focus movement (intermittent drive timing),
A)フォーカスの移動量の比較的多い場合:間欠動作の停止期間が短いため、脱磁ができない。
B)フォーカスの移動量が少ない場合:停止期間が長くなり、励磁保持→励磁→励磁復帰の時間が確保できる場合には、脱磁を行い、さらに、消費電流を低下させることができる。
A) When the amount of movement of the focus is relatively large: Since the intermittent operation stop period is short, demagnetization cannot be performed.
B) When the amount of movement of the focus is small: When the stop period is long and the time of excitation holding → excitation → excitation return can be secured, demagnetization can be performed and the current consumption can be further reduced.
上述した本実施形態によれば、2つのステッピングモータを同時に駆動する際、例えば、ズームトラッキング動作中のズームレンズ9のステッピングモータ8−1とフォーカスレンズ10のステッピングモータ8−2とを同時に駆動する際、各ステッピングモータ8−1、8−2のピーク電流を重ならないように、位相をずらして駆動するようにしたため、電圧降下の発生を起き難くし、電池寿命を向上させることができる。
According to the above-described embodiment, when the two stepping motors are driven simultaneously, for example, the stepping motor 8-1 of the zoom lens 9 and the stepping motor 8-2 of the
D.励磁電圧の制御
次に、上述した実施形態において、脱磁状態における励磁電圧を段階的に上下させる駆動制御について説明する。ここで、デジタルカメラのズームレンズ、フォーカスレンズを動かすステッピングモータの駆動方式について説明する。デジタルカメラのズームレンズ、フォーカスレンズを動かすステッピングモータの駆動方式は、出力OFF→励磁(通電)→駆動(パルス出力)→励磁保持(通電)→脱磁(出力OFF)といった動作となる。
D. Excitation Voltage Control Next, drive control for increasing or decreasing the excitation voltage in the demagnetized state stepwise in the above-described embodiment will be described. Here, a driving method of a stepping motor that moves the zoom lens and the focus lens of the digital camera will be described. The driving method of the stepping motor that moves the zoom lens and the focus lens of the digital camera is an operation of output OFF → excitation (energization) → drive (pulse output) → excitation holding (energization) → demagnetization (output OFF).
ステッピングモータは、脱磁(出力OFF)のとき、フリー状態となるため、最終駆動位置から若干移動し、励磁(通電)した場合には、最終駆動位置への復帰動作を行う。この瞬間に駆動音が発生する(着磁音)。また、動画撮影時、ズーム操作を行うと、ピント追従のためにフォーカスレンズ10が間欠的に駆動され、フォーカスレンズ10用のステッピングモータ8−2が励磁と脱磁とを繰り返し、駆動音が録音されてしまう。また、着磁音を発生させないために、ズーム駆動中のフォーカスレンズ10用のステッピングモータ8−2を励磁したままにしておくことも可能であるが(通電)、電力消費が大きくなるという問題がある。
Since the stepping motor is in a free state when demagnetized (output OFF), it slightly moves from the final drive position, and when energized (energized), returns to the final drive position. Driving sound is generated at this moment (magnetized sound). When a zoom operation is performed during moving image shooting, the
そこで、本実施形態では、脱磁(出力OFF)状態から励磁する際には、ステッピングモータに供給する駆動電流を段階的に上げるようにするとともに、駆動中のステッピングモータを脱磁状態(出力OFF)にする際には、励磁電流を段階的に下げるようにする。 Therefore, in this embodiment, when exciting from the demagnetization (output OFF) state, the drive current supplied to the stepping motor is increased stepwise and the driving stepping motor is demagnetized (output OFF). ), The excitation current is decreased stepwise.
図12は、本実施形態による、励磁電圧の制御動作を説明するための概念図である。CPU13は、図示するように、ステッピングモータの駆動電流がレベル1、レベル2、…のように段階的に上昇するように、送信データバッファ133にコマンドに相当するデータを順次設定するとともに、カウント値レジスタ131に所定のカウント値を設定する。パルスカウンタ132では、CPU13からモータドライバ7に対してモータ駆動タイミング信号MSをカウントし、カウント値レジスタ131に設定されたカウント値に達する度に、送信タイミング信号TSを送信バッファ133に送出する。送信バッファ133では、上記送信タイミング信号TSを受信する度に、設定されているコマンドをシリアル信号SSとしてモータドライバ7に送出する。モータドライバ7では、所定のタイミングで順次送信されてくるコマンドに従って、駆動対象のステッピングモータを駆動する。
FIG. 12 is a conceptual diagram for explaining the excitation voltage control operation according to the present embodiment. As shown in the figure, the
上述した本実施形態によれば、脱磁状態(出力OFF)から励磁する際には、ステッピングモータに供給する駆動電流を段階的に上げていくことにより、また、駆動中のステッピングモータを脱磁状態(出力OFF)にする際には、励磁電流を段階的に下げていくことにより、着磁音または脱磁音の発生を軽減することができる。特に、動画撮影時などにおいて、動画とともに音声も記録するような場合、着磁音が記録されるのを軽減することが可能となる。 According to the present embodiment described above, when exciting from the demagnetized state (output OFF), the drive current supplied to the stepping motor is increased stepwise, and the stepping motor being driven is demagnetized. In the state (output OFF), the generation of magnetized sound or demagnetized sound can be reduced by decreasing the excitation current stepwise. In particular, when recording a sound together with a moving image when shooting a moving image, it is possible to reduce the recording of magnetized sound.
なお、上述した実施形態において、シリアル制御では、ステッピングモータについてのみ説明したが、これ以外に、例えば、DCモータを用いてもよい。DCモータを使用したズームレンズの場合、モータの回転数に応じて、パルスが出力される。ズームの停止位置は、パルス数により予め設定されている。DCモータの駆動(通電)/停止(非通電)をシリアル送信にて設定する場合には、CPU13にて上記パルスをカウントし、停止位置のパルス数に達した時点で、停止(非通電あるいはブレーキ)の設定をシリアル送信にてモータドライブに送信すればよい。この場合も、DCモータの位置(パルス入力数)と同期させて割り込み処理を行うことなくシリアル送信を行うので、DCモータにおいても、割り込み処理の軽減が可能となる。
In the above-described embodiment, only the stepping motor has been described in the serial control. However, for example, a DC motor may be used. In the case of a zoom lens using a DC motor, pulses are output according to the number of rotations of the motor. The zoom stop position is preset by the number of pulses. When the drive (energization) / stop (non-energization) of the DC motor is set by serial transmission, the
1 操作部
2 表示部
3 CCD
4 ROM
5 RAM
51 駆動モードテーブル
6 画像記録部
7 モータドライバ
8−1〜8−3 ステッピングモータ
9 ズームレンズ
10 フォーカスレンズ
11 絞り・シャッタ
12 機構部
131 カウント値レジスタ
132 パルスカウンタ
133 送信バッファ
134 受信バッファ
1
4 ROM
5 RAM
51 Drive Mode Table 6
Claims (8)
1回の静止画撮影動作または1回の動画撮影動作に含まれる複数の動作段階の各々に対応付けて、各動作段階で実行すべきモータの駆動方式を記憶する記憶手段と、
1回の静止画撮影動作または1回の動画撮影動作を開始した後、現在の動作段階を判別する動作段階判別手段と、
前記動作段階判別手段によって判別された動作段階に対応するモータの駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、
前記駆動方式取得手段によって取得されたモータの駆動方式に基づいて、駆動対象であるモータを駆動制御する駆動制御手段と
を備えることを特徴とするモータ駆動制御装置。 A motor drive control device for controlling the drive of a motor,
Storage means for storing a motor drive system to be executed in each operation stage in association with each of a plurality of operation stages included in one still image shooting operation or one moving image shooting operation;
An operation stage discriminating means for discriminating a current operation stage after starting one still image shooting operation or one moving image shooting operation;
A drive system acquisition means for acquiring a drive system of the motor corresponding to the operation stage determined by the operation stage determination means with reference to the storage means;
A motor drive control device comprising: drive control means for controlling drive of a motor to be driven based on the motor drive system acquired by the drive system acquisition means.
前記駆動対象であるモータを駆動制御するタイミングに応じたカウンタ値を保持するカウント値保持手段と、
前記駆動対象のモータに供給される駆動パルスをカウントするカウンタ手段と、
前記モータの駆動方式に対応するコマンドを保持し、前記カウンタ手段によるカウント値が前記カウント値保持手段に保持されているカウンタ値に達すると、保持されているコマンドを前記駆動制御手段に送信する送信手段と
を更に備えることを特徴とする請求項1乃至4のいずれかに記載のモータ駆動制御装置。 The drive control means has a function of receiving a command corresponding to the driving method of the motor, and driving and controlling a motor to be driven according to the command,
Count value holding means for holding a counter value corresponding to the timing for driving and controlling the motor to be driven;
Counter means for counting drive pulses supplied to the motor to be driven;
A command for holding the command corresponding to the motor driving method, and transmitting the held command to the drive control means when the count value by the counter means reaches the counter value held in the count value holding means The motor drive control device according to claim 1, further comprising: means.
当該デジタルカメラの動作状態と、各動作状態において駆動すべきモータの種類および該モータを駆動する駆動方式とを対応付けて記憶する記憶手段と、
当該デジタルカメラの現在の動作状態を判別する動作状態判別手段と、
前記動作状態判別手段によって判別された動作状態に対応して駆動すべきモータの種類および該モータを駆動する駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、
前記取得された駆動方式に基づいて、前記取得された種類のモータを駆動制御する駆動制御手段と
を備えることを特徴とするデジタルカメラ。 A motor drive control device according to any one of claims 1 to 6, and a motor driven by the motor drive control device, which drives a plurality of mechanical units among a zoom lens, a focus lens, an aperture, and a shutter. A digital camera with a plurality of motors,
Storage means for storing the operation state of the digital camera in association with the type of motor to be driven in each operation state and the drive method for driving the motor;
Operation state determination means for determining the current operation state of the digital camera;
A drive system acquisition means for acquiring the type of motor to be driven corresponding to the operation state determined by the operation state determination means and the drive system for driving the motor with reference to the storage means;
A digital camera comprising: drive control means for driving and controlling the acquired type of motor based on the acquired drive method.
コンピュータを、
1回の静止画撮影動作または1回の動画撮影動作を開始した後、現在の動作段階を判別する動作段階判別手段と、
前記動作段階判別手段によって判別された動作段階に対応するモータの駆動方式を、前記記憶手段を参照して取得する駆動方式取得手段と、
前記駆動方式取得手段によって取得されたモータの駆動方式に基づいて、駆動対象であるモータを駆動制御する駆動制御手段と
して機能させることを特徴とするモータ駆動制御プログラム。 Motor drive control provided with storage means for storing a motor drive method to be executed in each operation stage in association with each of a plurality of operation stages included in one still image shooting operation or one moving image shooting operation A program for controlling a device,
Computer
An operation stage discriminating means for discriminating a current operation stage after starting one still image shooting operation or one moving image shooting operation;
A drive system acquisition means for acquiring a drive system of the motor corresponding to the operation stage determined by the operation stage determination means with reference to the storage means;
A motor drive control program that functions as drive control means for driving and controlling a motor to be driven based on the motor drive system acquired by the drive system acquisition means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006267293A JP5187611B2 (en) | 2006-09-29 | 2006-09-29 | Motor drive control device, digital camera and motor drive control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006267293A JP5187611B2 (en) | 2006-09-29 | 2006-09-29 | Motor drive control device, digital camera and motor drive control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008092619A JP2008092619A (en) | 2008-04-17 |
JP5187611B2 true JP5187611B2 (en) | 2013-04-24 |
Family
ID=39376191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006267293A Expired - Fee Related JP5187611B2 (en) | 2006-09-29 | 2006-09-29 | Motor drive control device, digital camera and motor drive control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5187611B2 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010026502A (en) * | 2008-05-16 | 2010-02-04 | Panasonic Corp | Imaging apparatus and camera system |
US8085338B2 (en) | 2008-05-16 | 2011-12-27 | Panasonic Corporation | Imaging apparatus and camera system |
KR101585465B1 (en) * | 2009-12-23 | 2016-01-18 | 재단법인 포항산업과학연구원 | Saving method of active power of motor for drive of parallel load |
JP5574837B2 (en) * | 2010-06-16 | 2014-08-20 | キヤノン株式会社 | Imaging device |
JP2012215644A (en) * | 2011-03-31 | 2012-11-08 | Nikon Corp | Lens barrel, camera and camera body |
JP5923870B2 (en) * | 2011-05-30 | 2016-05-25 | 株式会社ニコン | Optical system drive control device and camera equipped with the same |
JP5979884B2 (en) * | 2012-01-17 | 2016-08-31 | キヤノン株式会社 | Camera system and lens apparatus |
JP5805153B2 (en) * | 2013-08-08 | 2015-11-04 | キヤノン株式会社 | Lens apparatus and control method thereof |
JP6516472B2 (en) | 2015-01-08 | 2019-05-22 | オリンパス株式会社 | Imaging device and control method of imaging device |
US11627244B1 (en) | 2019-09-09 | 2023-04-11 | Apple Inc. | Synchronization of camera focus movement control with frame capture |
US11202007B1 (en) | 2019-09-27 | 2021-12-14 | Apple Inc. | Camera movement control for reduced power consumption |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09148896A (en) * | 1995-11-27 | 1997-06-06 | Matsushita Electric Works Ltd | Pulse generation circuit |
JPH10127096A (en) * | 1996-10-18 | 1998-05-15 | Ricoh Co Ltd | Motor drive device |
JP2003189693A (en) * | 2001-12-13 | 2003-07-04 | Murata Mach Ltd | Stepping motor drive circuit |
JP2004004362A (en) * | 2002-05-31 | 2004-01-08 | Fuji Photo Film Co Ltd | Digital camera |
JP4533662B2 (en) * | 2004-05-20 | 2010-09-01 | 日東光学株式会社 | Stepping motor control method, stepping motor control device, lens focal position control method, and lens focal position control device |
JP2006060925A (en) * | 2004-08-20 | 2006-03-02 | Canon Electronics Inc | Micro-step drive device of stepping motor, electric platform camera and zoom camera |
-
2006
- 2006-09-29 JP JP2006267293A patent/JP5187611B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2008092619A (en) | 2008-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5187611B2 (en) | Motor drive control device, digital camera and motor drive control program | |
US8724012B2 (en) | Camera body and camera system using driving method information indicating capability of controlling focus lens | |
EP2280306B1 (en) | Camera system | |
US8570428B2 (en) | Camera system having autofocus function for capturing a moving image | |
JP5832373B2 (en) | Interchangeable lens device and camera device | |
US20110080488A1 (en) | Camera system | |
JP6161419B2 (en) | Stepping motor drive control device and stepping motor drive control method | |
JP4497946B2 (en) | Imaging device | |
JP4827687B2 (en) | Step motor driving device, lens driving device and camera | |
JP2007148075A (en) | Lens driving device and lens driving method | |
JP4773891B2 (en) | Imaging device | |
JP2007316505A (en) | Lens drive control method and camera module for executing the method | |
JP2009098394A (en) | Imaging device | |
JP2011257605A (en) | Optical equipment | |
JP5451270B2 (en) | Imaging apparatus, control method therefor, and program | |
JP2005003968A (en) | Camera, interchangeable lens and camera body | |
JP5923870B2 (en) | Optical system drive control device and camera equipped with the same | |
JP2021010067A (en) | Imaging apparatus, control method thereof and program | |
JP2008065192A (en) | Optical equipment | |
JP2007025137A (en) | Lens controller and its control method | |
JP2015154578A (en) | motor control device | |
JP2017097010A (en) | Imaging device and lens drive control method | |
JP2015031862A (en) | Imaging device and control method for the same | |
JP2007212538A (en) | Imaging apparatus and lens device | |
JP2011114534A (en) | Imaging device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090925 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111019 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111025 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120927 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121120 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20121228 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130110 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160201 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5187611 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |