JP2013024884A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2013024884A
JP2013024884A JP2011155988A JP2011155988A JP2013024884A JP 2013024884 A JP2013024884 A JP 2013024884A JP 2011155988 A JP2011155988 A JP 2011155988A JP 2011155988 A JP2011155988 A JP 2011155988A JP 2013024884 A JP2013024884 A JP 2013024884A
Authority
JP
Japan
Prior art keywords
focus
lens
diaphragm
aperture
speed
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.)
Withdrawn
Application number
JP2011155988A
Other languages
Japanese (ja)
Inventor
Koji Inoue
浩二 井上
Masahiro Kawarada
昌大 瓦田
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 JP2011155988A priority Critical patent/JP2013024884A/en
Publication of JP2013024884A publication Critical patent/JP2013024884A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress the decrease of focus detection accuracy while properly controlling an exposure amount by properly performing diaphragm control.SOLUTION: An imaging apparatus to and from which a lens unit including a focus lens and a diaphragm for adjusting an incident light quantity can be attached and detached includes imaging means for photoelectrically converting a subject image to generate an image signal, generation means for generating a focus signal based on the contrast of the image signal, focus detection means for detecting a focusing direction on the basis of the focus signal while minutely vibrating the attached focus lens, and control means for allowing the imaging means to periodically accumulate a charge and controlling the focus detection means so as not to detect the focusing direction by using the focus signal obtained by the charge accumulation when the imaging means accumulates the charge during the drive of the diaphragm.

Description

本発明は、入射光量を調整する絞りを備えたレンズユニットを着脱可能とする撮像装置に関するものである。   The present invention relates to an image pickup apparatus in which a lens unit having a diaphragm for adjusting the amount of incident light is detachable.

<AF時のウォブリング駆動>
従来、動画記録中にフォーカスを光軸方向に微小振動(ウォブリング)させながら被写体像のコントラストを表すコントラスト評価値を算出し、コントラスト評価値に基づいて焦点調節を行う撮像装置が提案されていた。例えば、特許文献1に記載されている。
<Wobbling drive during AF>
Conventionally, there has been proposed an imaging apparatus that calculates a contrast evaluation value representing the contrast of a subject image while finely vibrating (wobbling) the focus in the optical axis direction during moving image recording, and performs focus adjustment based on the contrast evaluation value. For example, it is described in Patent Document 1.

<AF中の焦点深度変化とその悪影響>
また、従来、被写体像のコントラストに基づいて焦点調節および動画撮影を行う撮像装置において、焦点調節中に絞りを変更すると、焦点深度が変化するためコントラスト評価値が変化して、正しい合焦結果が得られず、合焦精度に悪影響を及ぼしていた。この対策として、絞りを開放状態にして焦点調節と動画撮影を行う撮像装置が提案されていた。例えば、特許文献2に記載されている。
<Depth of focus change during AF and its adverse effects>
Conventionally, in an imaging apparatus that performs focus adjustment and moving image shooting based on the contrast of a subject image, if the aperture is changed during focus adjustment, the depth of focus changes, so the contrast evaluation value changes, and the correct focusing result is obtained. It was not obtained, which had an adverse effect on the focusing accuracy. As a countermeasure, there has been proposed an imaging apparatus that performs focus adjustment and moving image shooting with the aperture opened. For example, it is described in Patent Document 2.

<マイクロステップ駆動AE>
また、従来、ステッピングモータで駆動されて撮像光学系の入射光量を制御する絞り装置について、その開口制御速度を細かく制御する絞り装置が提案されていた。例えば、特許文献3に記載されている。
<Microstep drive AE>
Conventionally, a diaphragm device that finely controls the aperture control speed of a diaphragm device that is driven by a stepping motor and controls the amount of incident light of the imaging optical system has been proposed. For example, it is described in Patent Document 3.

特許文献3に記載のように、ステッピングモータに印加する電圧の波形について、矩形波とマイクロステップ波形とを選択的に切り替えることで、絞り開口の制御速度を細かく制御できるようになる。   As described in Patent Document 3, the control speed of the aperture opening can be finely controlled by selectively switching between the rectangular wave and the microstep waveform for the waveform of the voltage applied to the stepping motor.

<デジタル一眼レフカメラの動画撮影>
また、従来、静止画しか撮影できなかったレンズ交換式デジタル一眼レフカメラにおいて、近年、動画も撮影できるものが提供されている。
<Video shooting with a digital SLR camera>
Also, in recent years, among interchangeable lens digital single-lens reflex cameras that could only shoot still images, there have been provided those that can also shoot moving images.

特開2005−49577号公報JP 2005-49577 A 特開2008−40008号公報JP 2008-40008 A 特開平6−88985号公報JP-A-6-88985

上述したように、被写体像のコントラストの評価結果に基づいて焦点調節を行う場合、コントラスト評価値取得中に絞り値を変化させると、被写界深度が変化し、被写体像の錯乱円径が変化してしまうため、合焦精度に悪影響が生じてしまう。しかし、露光量の制御を電荷蓄積時間やゲインのみで行おうとするには限界があり、適正露光量への連動範囲は大きく狭まってしまう。また、ゲイン調整を多用することで画質低下の原因にもなっていた。   As described above, when focus adjustment is performed based on the evaluation result of the contrast of the subject image, if the aperture value is changed during acquisition of the contrast evaluation value, the depth of field changes and the circle of confusion of the subject image changes. As a result, the focusing accuracy is adversely affected. However, there is a limit to controlling the exposure amount only by the charge accumulation time and gain, and the interlocking range for the appropriate exposure amount is greatly narrowed. In addition, heavy use of gain adjustment has also caused image quality degradation.

(発明の目的)
本発明の目的は、絞り制御を適切に行い、露光量を適正に制御しつつ、焦点検出精度の低下を抑えられる撮像装置を提供することである。
(Object of invention)
An object of the present invention is to provide an imaging apparatus capable of appropriately controlling aperture and appropriately controlling an exposure amount while suppressing a decrease in focus detection accuracy.

上記目的を達成するために、本発明の撮像装置は、フォーカスレンズと入射光量を調整する絞りとを備えたレンズユニットを着脱可能とする撮像装置であって、被写体像を光電変換して画像信号を生成する撮像手段と、前記画像信号のコントラストに基づく焦点信号を生成する生成手段と、装着された前記フォーカスレンズを微小振動させながら、前記焦点信号に基づいて合焦方向を検出する焦点検出手段と、前記撮像手段の電荷蓄積を周期的に行わせるとともに、前記絞りの駆動中に前記撮像手段の電荷蓄積が行われる場合には、該電荷蓄積により得られた焦点信号を用いて合焦方向を検出しないように前記焦点検出手段を制御する制御手段とを有することを特徴とするものである。   In order to achieve the above object, an imaging apparatus according to the present invention is an imaging apparatus in which a lens unit including a focus lens and a diaphragm for adjusting the amount of incident light is detachable, and an image signal obtained by photoelectrically converting a subject image An imaging means for generating a focus signal, a generating means for generating a focus signal based on the contrast of the image signal, and a focus detection means for detecting the in-focus direction based on the focus signal while finely vibrating the mounted focus lens When the charge accumulation of the imaging means is performed periodically and the charge accumulation of the imaging means is performed during driving of the diaphragm, the focus direction is obtained using the focus signal obtained by the charge accumulation. And a control means for controlling the focus detection means so as not to detect.

本発明によれば、絞り制御を適切に行い、露光量を適正に制御しつつ、焦点検出精度の低下を抑えることができる。   According to the present invention, it is possible to suppress a decrease in focus detection accuracy while appropriately performing aperture control and appropriately controlling an exposure amount.

本発明の実施例に係るデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera which concerns on the Example of this invention. コントラスト評価値算出用回路を説明するブロック図である。It is a block diagram explaining the circuit for contrast evaluation value calculation. 絞り制御の駆動電圧を示すグラフである。It is a graph which shows the drive voltage of aperture control. 絞り駆動速度を低下させる制御例を示すグラフである。It is a graph which shows the example of control which reduces an aperture drive speed. 各カメラ状態における露光量制御を比較したグラフである。It is the graph which compared exposure amount control in each camera state. フォーカス駆動と絞り駆動のタイミングを説明するグラフである。It is a graph explaining the timing of a focus drive and a diaphragm drive. 実施例の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an Example.

本発明を実施するための形態は、以下の実施例に記載される通りである。   The mode for carrying out the present invention is as described in the following examples.

本発明の撮像装置の実施例であるデジタルカメラについて図1から図7を用いて説明する。   A digital camera that is an embodiment of an imaging apparatus of the present invention will be described with reference to FIGS.

<デジタルカメラの構成>
図1はデジタルカメラの構成を示すブロック図である。
<Configuration of digital camera>
FIG. 1 is a block diagram showing the configuration of a digital camera.

図1に示すように、デジタルカメラ200には、撮影レンズ100が不図示のマウント部のレンズ装着機構を介して着脱可能に取り付けられている。マウント部には、電気接点ユニット107が設けられている。この電気接点ユニット107には、通信クロックライン、データ転送ライン、データ受信ラインなどからなる通信バスライン用の端子がある。これらによりデジタルカメラ200と撮影レンズ100が通信可能となっている。デジタルカメラ200は、撮影レンズ100とこの電気接点ユニット107を介して通信を行い、撮影レンズ100内のフォーカスレンズ101および入射光量を調整する絞り102の駆動を制御する。なお、図1には、撮影レンズ100内のレンズとしてフォーカスレンズ101のみを示しているが、この他に変倍レンズや固定レンズが設けられ、これらを含めてレンズユニットを構成する。また、デジタルカメラ200には、複数の種類の撮影レンズ100が装着可能であり、例えば、絞りの駆動速度を可変にできる撮影レンズや絞りの駆動速度を固定とする撮影レンズが装着可能となっている。また、絞りの駆動速度が可変の撮影レンズの場合には、絞りの駆動速度を固定とする第1の制御動作と、絞りの駆動速度を可変とする第2の制御動作とのいずれかに切り替えることが可能である。   As shown in FIG. 1, a photographic lens 100 is detachably attached to a digital camera 200 via a lens mounting mechanism of a mount unit (not shown). An electrical contact unit 107 is provided in the mount portion. The electrical contact unit 107 has terminals for communication bus lines including a communication clock line, a data transfer line, a data reception line, and the like. As a result, the digital camera 200 and the photographing lens 100 can communicate with each other. The digital camera 200 communicates with the photographing lens 100 via the electrical contact unit 107 to control driving of the focus lens 101 in the photographing lens 100 and the diaphragm 102 that adjusts the amount of incident light. In FIG. 1, only the focus lens 101 is shown as a lens in the photographic lens 100, but a variable power lens and a fixed lens are also provided in addition to this, and these constitute a lens unit. The digital camera 200 can be equipped with a plurality of types of photographic lenses 100. For example, a photographic lens with a variable aperture driving speed or a photographic lens with a fixed aperture driving speed can be mounted. Yes. In the case of a photographic lens having a variable aperture driving speed, switching is performed between a first control operation for fixing the aperture driving speed and a second control operation for changing the aperture driving speed. It is possible.

また、電気接点ユニット107には、通信バスラインと、カメラ側から画像信号の電荷蓄積タイミングを撮影レンズ側に伝送するための同期信号ラインも設けられている。なお、同期信号を送るためのラインを専用に設けずに、前述した通信クロックライン等を用いて同期タイミングをレンズ側に通知するようにしてもよい。   The electrical contact unit 107 is also provided with a communication bus line and a synchronization signal line for transmitting the charge accumulation timing of the image signal from the camera side to the photographing lens side. Note that the synchronization timing may be notified to the lens side using the communication clock line described above, without providing a dedicated line for sending the synchronization signal.

不図示の被写体からの光束は、撮影レンズ100内のフォーカスレンズ101を含むレンズユニットおよび絞り102を介して、デジタルカメラ200内のクイックリターンミラー203に導かれる。クイックリターンミラー203は、撮影光路内に光軸に対して斜めに配置されている。そして、ミラー駆動機構213によりアップダウン駆動が行われることにより被写体からの光束を上方のファインダ光学系に導く第1の位置(図示した位置)と、撮影光路外に退避する第2の位置とに移動が可能である。クイックリターンミラー203で反射された光束は、ピント面に存在するファインダスクリーン202、ペンタプリズム201、接眼レンズ207により構成されるファインダ光学系を介して撮影者の目に至る。   A light beam from a subject (not shown) is guided to a quick return mirror 203 in the digital camera 200 through a lens unit including a focus lens 101 in the photographing lens 100 and a diaphragm 102. The quick return mirror 203 is disposed obliquely with respect to the optical axis in the photographing optical path. Then, the mirror drive mechanism 213 performs up-down driving so that the light beam from the subject is guided to the first finder optical system (the illustrated position) and the second position is retracted out of the photographing optical path. It is possible to move. The light beam reflected by the quick return mirror 203 reaches the eyes of the photographer through a finder optical system including a finder screen 202, a pentaprism 201, and an eyepiece lens 207 existing on the focus surface.

クイックリターンミラー203が第2の位置にアップした際には、撮影レンズ100からの光束は、機械シャッタであるフォーカルプレーンシャッタ210および光学フィルタ211を介して、撮像素子212に至る。撮像素子212は本発明の撮像手段に相当する。光学フィルタ211は、赤外線をカットして可視光線のみを撮像素子212へ導く機能と、光学ローパスフィルタとしての機能を有する。   When the quick return mirror 203 is raised to the second position, the light beam from the photographing lens 100 reaches the image sensor 212 via the focal plane shutter 210 and the optical filter 211 that are mechanical shutters. The imaging element 212 corresponds to the imaging means of the present invention. The optical filter 211 has a function of cutting infrared rays and guiding only visible light to the image sensor 212 and a function as an optical low-pass filter.

また、フォーカルプレーンシャッタ210は、先幕および後幕を有して構成されており、撮影レンズ100からの光束の透過および遮断を制御する。   The focal plane shutter 210 has a front curtain and a rear curtain, and controls transmission and blocking of a light beam from the photographing lens 100.

また、デジタルカメラ200は、全体の制御を司るシステムコントローラ230を有する。システムコントローラ230は、CPUやMPU等により構成され、後述する各回路の動作を制御する。   In addition, the digital camera 200 includes a system controller 230 that performs overall control. The system controller 230 includes a CPU, an MPU, and the like, and controls the operation of each circuit described later.

システムコントローラ230は、電気接点ユニット107を介して、通信バスラインにより、撮影レンズ100内のレンズコントローラ108に対して通信を行う。   The system controller 230 communicates with the lens controller 108 in the photographic lens 100 via the electrical contact unit 107 via a communication bus line.

レンズコントローラ108もシステムコントローラ230と同様にCPUやMPU等により構成され、撮影レンズ100内の各回路の動作を制御する。   Similarly to the system controller 230, the lens controller 108 is also configured by a CPU, MPU, and the like, and controls the operation of each circuit in the photographing lens 100.

システムコントローラ230とレンズコントローラ108間の通信では、撮影レンズ100内のフォーカスレンズ101の駆動命令、停止命令、駆動量、要求駆動速度がシステムコントローラ230から送信される。また、さらに絞り102の駆動量、駆動速度、および撮影レンズ側の各種データの送信要求がシステムコントローラ230から送信される。   In communication between the system controller 230 and the lens controller 108, a drive command, a stop command, a drive amount, and a required drive speed for the focus lens 101 in the photographing lens 100 are transmitted from the system controller 230. Further, the system controller 230 transmits a driving amount of the diaphragm 102, a driving speed, and various data transmission requests on the photographing lens side.

フォーカス駆動の際、システムコントローラ230はレンズコントローラ108に対して、レンズ駆動方向や駆動量および駆動速度についての指令を通信によって行う。   At the time of focus driving, the system controller 230 issues a command for the lens driving direction, driving amount, and driving speed to the lens controller 108 by communication.

レンズコントローラ108は、システムコントローラ230からのレンズ駆動命令を受信すると、レンズ駆動制御部104を介して、フォーカスレンズ101を光軸方向に駆動してフォーカス駆動を行うレンズ駆動機構103を制御する。レンズ駆動機構103は、ステッピングモータを駆動源として有する。   When the lens controller 108 receives a lens driving command from the system controller 230, the lens controller 108 controls the lens driving mechanism 103 that drives the focus lens 101 in the optical axis direction and performs focus driving via the lens driving control unit 104. The lens driving mechanism 103 has a stepping motor as a driving source.

レンズコントローラ108は、システムコントローラ230からの絞り制御命令を受信すると、絞り制御駆動部106を介して、絞り102を駆動する絞り駆動機構105を制御し、指令された値まで絞り102を制御する。絞り駆動機構105は、絞り制御駆動部106によって、矩形波状の従来波形あるいは正弦波状のマイクロステップ波形を、駆動電圧として印加されることにより制御される。図3は絞り制御の駆動電圧を示すグラフであり、図3(a)は1−2相駆動における従来波形、図3(b)はマイクロステップ駆動における波形をそれぞれ示している。   When the lens controller 108 receives the aperture control command from the system controller 230, the lens controller 108 controls the aperture drive mechanism 105 that drives the aperture 102 via the aperture control drive unit 106, and controls the aperture 102 to the commanded value. The diaphragm drive mechanism 105 is controlled by applying a rectangular waveform conventional waveform or a sinusoidal microstep waveform as a drive voltage by the diaphragm control drive unit 106. FIG. 3 is a graph showing the driving voltage for aperture control, FIG. 3 (a) shows a conventional waveform in 1-2 phase driving, and FIG. 3 (b) shows a waveform in microstep driving.

また、システムコントローラ230は、シャッタ制御部215と測光部209とも接続されている。シャッタ制御部215は、システムコントローラ230からの信号に応じて、フォーカルプレーンシャッタ210の先幕および後幕の走行駆動を制御する。また、フォーカルプレーンシャッタ210の先幕、後幕は、駆動源がバネにより構成されており、シャッタ走行後、次の動作のためにバネチャージを要する。シャッタチャージ機構214は、このバネチャージを行う。また、システムコントローラ230は、測光部209あるいは撮像素子212における所定の測光領域の出力から得られる露光量に基づいて設定される、撮像素子212の電荷蓄積時間、露光感度および絞り値の露出制御プログラムが定められたプログラム線図を記憶する。   The system controller 230 is also connected to the shutter control unit 215 and the photometry unit 209. The shutter control unit 215 controls driving of the front curtain and rear curtain of the focal plane shutter 210 in accordance with a signal from the system controller 230. Further, the drive source of the front and rear curtains of the focal plane shutter 210 is constituted by a spring, and a spring charge is required for the next operation after the shutter travels. The shutter charge mechanism 214 performs this spring charge. Further, the system controller 230 sets an exposure control program for the charge accumulation time, exposure sensitivity, and aperture value of the image sensor 212, which is set based on the exposure amount obtained from the output of a predetermined photometry area in the photometry unit 209 or the image sensor 212. Is stored in the program diagram.

また、システムコントローラ230は、レンズコントローラ108にレンズ駆動命令を送信して、レンズ駆動制御部104を介して、レンズ駆動機構103を制御する。これにより、被写体像を撮像素子212上に結像させる。   Further, the system controller 230 transmits a lens driving command to the lens controller 108 and controls the lens driving mechanism 103 via the lens driving control unit 104. Thereby, a subject image is formed on the image sensor 212.

また、カメラDSP227の内部にはコントラストAFに用いるコントラスト評価値(焦点信号)の算出を行う回路ブロック、コントラスト評価値算出を行う領域の位置や大きさを決定する回路ブロックが内蔵されている。これら回路ブロックについては詳しくは後述するが、ここでいうコントラスト評価値とはフォーカスレンズ101を含む光学系の合焦状態を示す値である。カメラDSP227およびシステムコントローラ230は、撮影レンズ100のフォーカス位置を微小振動させながら合焦位置を検出する本発明の焦点検出手段に相当する。   The camera DSP 227 incorporates a circuit block for calculating a contrast evaluation value (focus signal) used for contrast AF and a circuit block for determining the position and size of a region for calculating the contrast evaluation value. Although these circuit blocks will be described in detail later, the contrast evaluation value here is a value indicating the in-focus state of the optical system including the focus lens 101. The camera DSP 227 and the system controller 230 correspond to the focus detection unit of the present invention that detects the in-focus position while slightly vibrating the focus position of the photographic lens 100.

カメラDSP227には、タイミングジェネレータ219、セレクタ222を介してのA/Dコンバータ217が接続されており、またワークメモリ226も接続されている。   The camera DSP 227 is connected to an A / D converter 217 via a timing generator 219 and a selector 222, and is also connected to a work memory 226.

ここで、撮像素子212は、全体の駆動タイミングを決定しているタイミングジェネレータ219からの信号に基づき、画素毎の水平駆動および垂直駆動を制御するドライバ218からの出力で制御される。これにより、被写体像を光電変換して画像信号を生成して出力する。そして、撮像素子212で生成された画像信号は、CDS/AGC回路216で増幅され、A/Dコンバータ217でデジタル信号に変換される。デジタルカメラ200は、操作スイッチ232からの操作入力により、撮像素子212の撮像フレームレートが設定されることで、タイミングジェネレータ219から出力される信号が変換される。これにより、撮像素子212の撮像フレームレートが上記の設定通りに制御される。この撮像フレームレートは、動画用の画像信号を生成する動画撮影モード及び静止画用の画像信号を生成する静止画撮影モードを含む複数の撮影モードに応じて変更してもよい。   Here, the image sensor 212 is controlled by an output from a driver 218 that controls horizontal driving and vertical driving for each pixel based on a signal from a timing generator 219 that determines the overall driving timing. Thereby, the subject image is photoelectrically converted to generate and output an image signal. The image signal generated by the image sensor 212 is amplified by the CDS / AGC circuit 216 and converted into a digital signal by the A / D converter 217. In the digital camera 200, a signal output from the timing generator 219 is converted by setting an imaging frame rate of the imaging element 212 by an operation input from the operation switch 232. Thereby, the imaging frame rate of the imaging device 212 is controlled as described above. The imaging frame rate may be changed in accordance with a plurality of shooting modes including a moving image shooting mode for generating a moving image signal and a still image shooting mode for generating a still image signal.

A/Dコンバータ217からの出力は、システムコントローラ230からの信号に基づいて信号を選択するセレクタ222を介してメモリコントローラ228に入力され、フレームメモリであるDRAM229に全て転送される。   The output from the A / D converter 217 is input to the memory controller 228 via the selector 222 that selects a signal based on the signal from the system controller 230, and is all transferred to the DRAM 229 that is a frame memory.

ビデオやコンパクトデジタルカメラでは、撮影前状態に、この転送結果をビデオメモリ221に定期的(毎フレーム)に転送することで、モニタ表示部220によりファインダ表示(ライブビュー)等を行っている。一眼レフデジタルカメラでは、通常、撮影前時点ではクイックリターンミラー203やフォーカルプレーンシャッタ210により撮像素子212が遮光されているため、ライブビュー表示が行えない。   In a video or compact digital camera, a finder display (live view) or the like is performed by the monitor display unit 220 by transferring the transfer result to the video memory 221 periodically (every frame) in a pre-shooting state. In a single-lens reflex digital camera, since the image pickup device 212 is normally shielded by the quick return mirror 203 and the focal plane shutter 210 before shooting, live view display cannot be performed.

この点、クイックリターンミラー203をアップし、撮影光路より退避させてからフォーカルプレーンシャッタ210を開いた状態にすることで、ライブビュー動作が可能となる。また、ライブビュー時に撮像素子212からの画像信号をカメラDSP227もしくはシステムコントローラ230が処理することで、フォーカスレンズ101を含む光学系の合焦状態を示すコントラスト評価値を得ることができる。そして、コントラスト評価値を用いてコントラスト評価方式の焦点検出を行うことが可能となる。   In this regard, the live view operation can be performed by raising the quick return mirror 203 and retracting it from the photographing optical path and then opening the focal plane shutter 210. Further, when the camera DSP 227 or the system controller 230 processes the image signal from the image sensor 212 during live view, a contrast evaluation value indicating the in-focus state of the optical system including the focus lens 101 can be obtained. Then, it is possible to perform focus detection by the contrast evaluation method using the contrast evaluation value.

撮影時には、システムコントローラ230からの制御信号によって、1フレーム分の各画素データをDRAM229から読み出し、カメラDSP227で画像処理を行ってから、一旦、ワークメモリ226に記憶する。そして、ワークメモリ226のデータを圧縮・伸張回路225で所定の圧縮フォーマットに基づいて圧縮し、その結果を外部の不揮発性メモリ224に記録する。不揮発性メモリ224として、通常、フラッシュメモリ等の不揮発性メモリを使用する。また、ハードディスクや磁気ディスクであっても良い。   At the time of shooting, each pixel data for one frame is read from the DRAM 229 according to a control signal from the system controller 230, subjected to image processing by the camera DSP 227, and temporarily stored in the work memory 226. Then, the data in the work memory 226 is compressed based on a predetermined compression format by the compression / decompression circuit 225, and the result is recorded in the external nonvolatile memory 224. As the nonvolatile memory 224, a nonvolatile memory such as a flash memory is usually used. Further, it may be a hard disk or a magnetic disk.

さらに、システムコントローラ230と接続されている表示部231は、後述する各スイッチ類により設定または選択されたカメラの動作状態を、液晶素子、LED(発光ダイオード)、有機EL等の表示素子により表示する。   Further, the display unit 231 connected to the system controller 230 displays the operation state of the camera set or selected by each switch described later using a display element such as a liquid crystal element, LED (light emitting diode), or organic EL. .

操作スイッチ232は、デジタルカメラ200の各種設定項目に対する操作入力を行う操作部材である。レリーズスイッチSW1(233)は、測光や焦点検出などの撮影準備動作を開始させるためのスイッチである。レリーズスイッチSW2(234)は、撮影動作(静止画を取得するための電荷蓄積および電荷読み出し動作)を開始させるためのスイッチである。ライブビューモードスイッチ235は、ライブビュー表示の入切を制御するためのスイッチである。動画スイッチ236は、連続撮影動作(動画を取得するための繰り返しの電荷蓄積および電荷読み出し動作)を開始させるためのスイッチである。   The operation switch 232 is an operation member that performs operation input for various setting items of the digital camera 200. The release switch SW1 (233) is a switch for starting shooting preparation operations such as photometry and focus detection. The release switch SW2 (234) is a switch for starting a photographing operation (charge accumulation and charge readout operation for acquiring a still image). The live view mode switch 235 is a switch for controlling on / off of the live view display. The moving image switch 236 is a switch for starting a continuous shooting operation (repeated charge accumulation and charge reading operation for acquiring a moving image).

一方、撮影レンズ100(レンズユニット)において、レンズコントローラ108には、メモリ109が設けられている。メモリ109には、撮影レンズ100の焦点距離、開放絞り値、設定可能な絞り駆動速度情報といった性能情報、撮影レンズ100を識別するための固有の情報であるレンズID(識別)情報が記憶されている。   On the other hand, in the taking lens 100 (lens unit), the lens controller 108 is provided with a memory 109. The memory 109 stores performance information such as the focal length of the photographic lens 100, an open aperture value, and settable aperture drive speed information, and lens ID (identification) information that is unique information for identifying the photographic lens 100. Yes.

なお、性能情報およびレンズID情報は、デジタルカメラ200へ撮影レンズ100が装着される時における初期通信により、システムコントローラ230へ送信され、システムコントローラ230はこれらをEEPROM223に記憶させる。   The performance information and the lens ID information are transmitted to the system controller 230 by initial communication when the photographing lens 100 is attached to the digital camera 200, and the system controller 230 stores them in the EEPROM 223.

また、撮影レンズ100には、フォーカスレンズ101の位置情報を検出するためのレンズ位置情報検出部110が設けられている。レンズ位置情報検出部110で検出されたレンズ位置情報は、レンズコントローラ108に読み取られる。レンズ位置情報は、フォーカスレンズ101の駆動制御に用いられ、電気接点ユニット107を介してシステムコントローラ230に送信される。   In addition, the photographing lens 100 is provided with a lens position information detection unit 110 for detecting position information of the focus lens 101. The lens position information detected by the lens position information detection unit 110 is read by the lens controller 108. The lens position information is used for driving control of the focus lens 101 and is transmitted to the system controller 230 via the electrical contact unit 107.

レンズ位置情報検出部110は、例えばレンズ駆動機構を構成するモータの回転パルス数を検出するパルスエンコーダ等により構成される。その出力はレンズコントローラ108内の不図示のハードウェアカウンタに接続され、フォーカスレンズ101が駆動されるとその位置情報がハード的にカウントされる。レンズコントローラ108がレンズ位置情報を読み取る際は、内部のハードウェアカウンタのレジスタにアクセスして、記憶されているカウンタ値を読み込む。   The lens position information detection unit 110 includes, for example, a pulse encoder that detects the number of rotation pulses of a motor that constitutes a lens driving mechanism. The output is connected to a hardware counter (not shown) in the lens controller 108, and when the focus lens 101 is driven, the position information is counted by hardware. When the lens controller 108 reads the lens position information, it accesses the internal hardware counter register and reads the stored counter value.

次に、カメラDSP227におけるコントラスト評価値算出の詳細について、図2を用いて説明する。   Next, details of contrast evaluation value calculation in the camera DSP 227 will be described with reference to FIG.

図2はカメラDSP227内の回路ブロックを説明するためのブロック図である。   FIG. 2 is a block diagram for explaining circuit blocks in the camera DSP 227.

撮像素子212で生成された画像信号は、上述のようにCDS/AGC回路216で増幅され、A/Dコンバータ217でデジタル信号に変換される。デジタル化された画像データはセレクタ222を介してカメラDSP227に入力される。   The image signal generated by the image sensor 212 is amplified by the CDS / AGC circuit 216 as described above, and converted into a digital signal by the A / D converter 217. The digitized image data is input to the camera DSP 227 via the selector 222.

コントラストAFに用いられるコントラスト評価値を算出するため、カメラDSP227に入力された画像データは、まずカメラDSP227内のDSP内部メモリ241を経て、焦点検出領域抽出ブロック242に入力される。焦点検出領域抽出ブロック242は、全画面の画像デ−タから焦点検出領域とその近傍の画像をトリミングして、次のコントラスト評価値算出ブロック243に送るためのブロックである。焦点検出領域の大きさとしては、画面の外枠に対して1/5〜1/10程度が望ましい。なお、焦点検出領域の画面内の位置や大きさは、システムコントローラ230より焦点検出領域抽出ブロック242に対して設定できるよう構成される。コントラスト評価値算出ブロック243(生成手段)は、焦点検出領域とその近傍の画像に対してデジタルフィルタ演算により所定の周波数成分を抽出して、コントラスト評価値としてシステムコントローラ230に送るためのブロックである。   In order to calculate a contrast evaluation value used for contrast AF, image data input to the camera DSP 227 is first input to the focus detection area extraction block 242 via the DSP internal memory 241 in the camera DSP 227. The focus detection area extraction block 242 is a block for trimming the focus detection area and its neighboring image from the image data of the entire screen and sending it to the next contrast evaluation value calculation block 243. The size of the focus detection area is preferably about 1/5 to 1/10 of the outer frame of the screen. The position and size of the focus detection area on the screen can be set for the focus detection area extraction block 242 by the system controller 230. The contrast evaluation value calculation block 243 (generation means) is a block for extracting a predetermined frequency component from the focus detection area and the image in the vicinity thereof by digital filter calculation and sending it to the system controller 230 as a contrast evaluation value. .

<絞り駆動速度の最適化>
次に、現在の露光量と目標露光量との露光差を算出し、露光差に応じて設定可能な範囲内で絞り102の駆動速度を段階的、あるいは連続的に低下させる制御例について説明する。
<Optimization of aperture drive speed>
Next, a description will be given of a control example in which the exposure difference between the current exposure amount and the target exposure amount is calculated, and the driving speed of the diaphragm 102 is decreased stepwise or continuously within a settable range according to the exposure difference. .

露光量を変化させる品位について、動画記録時は被写体の光量変化に対して露光量変化を徐々に合わせて、撮影画像の連続性を適度に保つことが望ましい。また、動画記録前の段階で、構図を決定するといった目的でモニタ表示部220に被写体像を表示する時(以後、動画スタンバイ時と呼ぶ)は、構図変更を伴うことが多いため、ある程度の露光量の追従性が求められる。また、静止画撮影時は撮影までの時間(いわゆるレリーズタイムラグ)を短くするため、露光量調整を高速に行うことが望ましい。このため、デジタルカメラ200は動画記録時、動画スタンバイ時、静止画撮影時で絞り102の駆動速度の制御をそれぞれ変更する。   With regard to the quality of changing the exposure amount, it is desirable to keep the continuity of the photographed image moderately by gradually matching the change in the exposure amount with the change in the amount of light of the subject when recording a moving image. In addition, when a subject image is displayed on the monitor display unit 220 for the purpose of determining the composition before moving image recording (hereinafter referred to as “moving image standby”), since the composition is often changed, a certain amount of exposure is performed. The followability of quantity is required. Also, at the time of still image shooting, it is desirable to adjust the exposure amount at high speed in order to shorten the time until shooting (so-called release time lag). For this reason, the digital camera 200 changes the control of the driving speed of the aperture 102 during moving image recording, during moving image standby, and during still image shooting.

図4(a)は露光量差に応じた絞り102の駆動速度の制御例を示すグラフである。図4(b)は測光された測光値と、測光値に応じて絞り102の駆動速度が更新されて露光量の制御値が変化していく様子を表したグラフである。図4(b)のグラフで、点線は測光値、実線は露光量の制御値を示している。図4(b)において、時間tにて測光値が変化することで露光量の制御値が変化し始め、時間tにて露光量の制御値が測光値に追いつく。時間tにて測光値が再び変化することで、露光量の制御値が変化し始める。図4(b)のグラフに示すように、露光量の制御値が目標とする測光値に近づくにつれて、制御値の変化量を低下させ、ライブビュー表示品位や動画記録品位を良好にする。 FIG. 4A is a graph showing an example of controlling the driving speed of the diaphragm 102 according to the exposure amount difference. FIG. 4B is a graph showing the photometric value measured and the manner in which the exposure speed control value changes as the driving speed of the diaphragm 102 is updated according to the photometric value. In the graph of FIG. 4B, the dotted line indicates the photometric value, and the solid line indicates the exposure amount control value. In FIG. 4 (b), begins to change the control value of the exposure amount by changing the photometric value at time t 1, the control value of the exposure amount at the time t 2 catches up with the photometric value. As the photometric value changes again at time t 3 , the exposure value control value starts to change. As shown in the graph of FIG. 4B, as the control value of the exposure amount approaches the target photometric value, the amount of change in the control value is decreased to improve the live view display quality and the moving image recording quality.

図5は静止画撮影時、動画記録時、動画スタンバイ時の各カメラ状態における露光量制御を比較したグラフであり、縦軸に測光値との露光量差、横軸に時間経過を表したものである。図5において、露光量調整の要求が発生すると、静止画撮影時は第1速で絞り駆動が行われ、各カメラ状態の中で最短となる時間Tで露光量が調整される。また、動画記録中は第1速より遅い第2速で絞り駆動が始まり、徐々に絞り駆動速度を低下させながら時間T(>T)かけて露光量が調整される。また、動画スタンバイ時は第1速より遅く第2速より速い第3速で絞り駆動が始まり、徐々に絞り駆動速度を低下させながら時間T(T<T<T)かけて露光量が調整される。露光量を調整する際の動画記録中の絞り駆動速度(第2速)や、動画スタンバイ時の絞り駆動速度(第3速)は可変な速度であるが、露光量差がどんな値であっても、絞り駆動速度の速さの関係は、図5のような関係が保たれるよう制御される。 FIG. 5 is a graph comparing the exposure amount control in each camera state during still image shooting, movie recording, and movie standby, with the vertical axis representing the exposure amount difference from the photometric value and the horizontal axis representing the passage of time. It is. 5, a request for exposure adjustment occurs, the still image shooting is performed is driven diaphragm at a first speed, the exposure amount is adjusted in the shortest become time T 1 in each camera state. Further, during moving image recording, aperture driving starts at a second speed slower than the first speed, and the exposure amount is adjusted over time T 3 (> T 1 ) while gradually decreasing the aperture driving speed. Further, at the time of moving image standby, aperture driving starts at a third speed that is slower than the first speed and faster than the second speed, and exposure is performed over time T 2 (T 1 <T 2 <T 3 ) while gradually decreasing the aperture driving speed. The amount is adjusted. The aperture drive speed (second speed) during movie recording when adjusting the exposure amount and the aperture drive speed (third speed) during movie standby are variable speeds. However, the relationship between the aperture driving speeds is controlled so that the relationship shown in FIG. 5 is maintained.

<フォーカス駆動制御と絞り制御のタイミング>
次に、本実施例の焦点検出動作におけるフォーカス駆動制御について説明する。図6は本実施例の焦点検出動作に係るレンズ駆動と絞り駆動のタイミングを説明するグラフである。ここで横軸は時間で、最上部にある下に凸の周期は同期信号を示している。同期信号は撮像素子212の電荷蓄積タイミングと同期する。なお、図6では1V中に1回電荷蓄積が行われているが、これに限らない。例えば、2Vに1回電荷蓄積が行われるようにしてもよい。
<Focus drive control and aperture control timing>
Next, focus drive control in the focus detection operation of the present embodiment will be described. FIG. 6 is a graph for explaining the timing of lens driving and diaphragm driving according to the focus detection operation of this embodiment. Here, the horizontal axis indicates time, and the downwardly convex period at the top indicates the synchronization signal. The synchronization signal is synchronized with the charge accumulation timing of the image sensor 212. In FIG. 6, charge accumulation is performed once in 1V, but the present invention is not limited to this. For example, charge accumulation may be performed once at 2V.

図6(a)は絞り制御量が小さく、絞り制御時間が短い場合におけるタイミングを説明するグラフであり、図6(b)は絞り制御量が大きく、絞り制御時間が長い場合におけるタイミングを説明するグラフである。 FIG. 6A is a graph for explaining the timing when the aperture control amount is small and the aperture control time is short, and FIG. 6B is the graph for explaining the timing when the aperture control amount is large and the aperture control time is long. It is a graph.

図6(a)において、所定のフォーカス間(無限側と至近側)を周期的に往復運動するようにフォーカスレンズ101が制御される。フォーカスレンズ101が所定のフォーカス位置に到達した後、コントラスト評価値を取得するための電荷蓄積を行う期間t1、t2、t3、t4、t5・・・が設けられる。例えば、Taの駆動タイミングにおいて、期間t2で得られた(至近側)評価値と期間t3で得られた(無限側)評価値とを比較することで駆動振幅が決まる。期間t3で得られた評価値のほうが大きければ、振動中心を無限側に移動する。電荷蓄積期間は被写体像の輝度に応じて長さが調節される。電荷蓄積期間の終了から次の電荷蓄積期間の開始までの時間は、絞りを駆動させても差し支えない絞り駆動許可期間である。露光量調整のためにコントラストAF中に絞り駆動が行われる場合、絞り駆動許可期間の範囲内で絞り駆動が行われる。 In FIG. 6A, the focus lens 101 is controlled so as to periodically reciprocate between a predetermined focus (infinite side and closest side). After the focus lens 101 reaches a predetermined focus position, periods t1, t2, t3, t4, t5,... For storing charges for obtaining a contrast evaluation value are provided. For example, at the Ta drive timing, the drive amplitude is determined by comparing the evaluation value obtained in the period t2 (closest side) with the evaluation value obtained in the period t3 (infinite side). If the evaluation value obtained in the period t3 is larger, the vibration center is moved to the infinite side. The length of the charge accumulation period is adjusted according to the luminance of the subject image. The time from the end of the charge accumulation period to the start of the next charge accumulation period is a diaphragm drive permission period during which the diaphragm can be driven. When aperture driving is performed during contrast AF for exposure amount adjustment, aperture driving is performed within the range of the aperture driving permission period.

図6(a)の例は、至近側のフォーカス位置と無限側のフォーカス位置のすべてにおいて電荷蓄積期間が設けられ、その電荷蓄積期間の間を絞り駆動許可期間としている。所定のフォーカス位置の前後(至近側と無限側)の被写体像のコントラストを比較することで、フォーカスレンズ101を前後どちらに駆動させれば合焦に近づくか検出される。絞り制御量が小さい場合は図6(a)のように制御を行い、コントラスト評価値を至近側と無限側で毎回取得するため、高い合焦精度を保つことができる。 In the example of FIG. 6A, a charge accumulation period is provided at all of the close focus position and the infinite focus position, and the diaphragm drive permission period is set between the charge accumulation periods. By comparing the contrast of the subject image before and after the predetermined focus position (closest side and infinity side), it is detected whether the focus lens 101 is driven forward or backward to approach the in-focus state. When the aperture control amount is small, the control is performed as shown in FIG. 6A, and the contrast evaluation values are acquired every time on the close side and the infinite side, so that high focusing accuracy can be maintained.

一方、図6(b)においては、絞り駆動許可期間が長く設定された例であり、フォーカス前後の被写体像のコントラストが比較できるよう、フォーカス駆動制御の周期に合わせて絞り駆動許可期間が変更される(延長される)。図6(b)の例は、所定のフォーカス位置の至近側(もしくは無限側)の電荷蓄積期間をなくして、その分絞り駆動許可期間を長くしている。図6(b)においても、電荷蓄積を行う期間t1、t2、t3・・・が設けられるが、t3のタイミングでは絞りを駆動しているため、期間t3の蓄積で得られた評価値はAF制御に用いない。そのため、Tbの駆動タイミングでは、期間t3の蓄積で得られた評価値を比較に使うことができないので、振動中心を移動しない。   On the other hand, FIG. 6B shows an example in which the aperture drive permission period is set to be long, and the aperture drive permission period is changed in accordance with the focus drive control period so that the contrast of the subject images before and after the focus can be compared. (Extended). In the example of FIG. 6B, the charge accumulation period on the near side (or infinite side) of the predetermined focus position is eliminated, and the diaphragm drive permission period is lengthened accordingly. In FIG. 6B as well, periods t1, t2, t3,... In which charge accumulation is performed are provided, but the diaphragm is driven at the timing t3, so the evaluation value obtained by accumulation in period t3 is AF Not used for control. For this reason, at the drive timing of Tb, the evaluation value obtained by the accumulation in the period t3 cannot be used for comparison, and therefore the vibration center is not moved.

図6などに示される動作を行わせるシステムコントローラ230は、本発明の制御手段に相当する。   The system controller 230 that performs the operations shown in FIG. 6 and the like corresponds to the control means of the present invention.

なお、絞り制御量に応じて絞り駆動許可期間をフォーカス駆動制御の周期に合わせて延長する代わりに、絞り駆動を複数回に分割して行い、図6(a)に示した絞り駆動許可期間に設定しても差し支えない。   Instead of extending the aperture drive permission period in accordance with the focus drive control period in accordance with the aperture control amount, the diaphragm drive is divided into a plurality of times, and the aperture drive permission period shown in FIG. It can be set.

また、例えばCMOS(Complementary Metal Oxide Semiconductor)といったフォーカルプレーンシャッタ方式の電荷蓄積動作をする撮像素子212ではAF用電荷蓄積期間として採用するものを変えても良い。具体的には、コントラスト評価値を取得する画像フレームに係る電荷蓄積期間ではなく、そのうちの焦点検出領域に係るより短い電荷蓄積期間であっても良い。   Further, for example, an image sensor 212 that performs a focal plane shutter type charge accumulation operation such as a CMOS (Complementary Metal Oxide Semiconductor) may be used as the AF charge accumulation period. Specifically, not the charge accumulation period related to the image frame for acquiring the contrast evaluation value, but a shorter charge accumulation period related to the focus detection area of the image frame may be used.

絞り駆動許可期間に絞り駆動を行うためには、システムコントローラ230から絞り制御命令をレンズコントローラ108へ送ることで絞り駆動タイミングを取る。絞り制御命令には、絞り駆動量と絞り駆動許可期間についての情報が含まれる。また、それ以外に、システムコントローラ230からレンズコントローラ108へレンズ駆動タイミングに係る波形信号を出力し、この波形信号に基づいてレンズコントローラ108が絞り制御部106へレンズ駆動命令を出力するよう構成しても良い。例えば、波形出力として、撮像素子212の電荷蓄積開始を表す垂直同期信号を採用しても良い。   In order to perform aperture driving during the aperture driving permission period, an aperture control command is sent from the system controller 230 to the lens controller 108 to take aperture driving timing. The aperture control command includes information about the aperture drive amount and the aperture drive permission period. In addition, the system controller 230 outputs a waveform signal related to the lens drive timing to the lens controller 108, and the lens controller 108 outputs a lens drive command to the aperture control unit 106 based on the waveform signal. Also good. For example, a vertical synchronization signal indicating the start of charge accumulation of the image sensor 212 may be employed as the waveform output.

<デジタルカメラの動作>
次に、本実施例の動作について図7のフローチャートを用いて説明する。特に説明しない限り、下記制御はシステムコントローラ230の制御により行われる。
<Operation of digital camera>
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Unless specifically described, the following control is performed under the control of the system controller 230.

まず、ライブビューモードスイッチ235が押下されて、ライブビュー要求がなされ、露光量調整が常時行われる状態に遷移することにより開始される。なお、デジタルカメラ200は、あらかじめ電源が投入されているものとする。また、ライブビュー表示とは、取得された画像を随時モニタ表示部220へ表示することにより動画像を表示することを示し、その動画像を記録中であるか、記録せずに表示だけをしている状態であるかは問わない。なお、ライブビューモードスイッチ235の代わりに操作スイッチ232の押下であっても良い。なお、このライブビュー要求がなされた場合には、一定のフレームレートで撮像素子212から画像が取得されているものとする。   First, the live view mode switch 235 is pressed, a live view request is made, and a transition to a state in which exposure amount adjustment is always performed is started. The digital camera 200 is assumed to be powered on in advance. In addition, live view display indicates that a moving image is displayed by displaying the acquired image on the monitor display unit 220 at any time, and the moving image is being recorded or only displayed without being recorded. It does not matter whether it is in a state. The operation switch 232 may be pressed instead of the live view mode switch 235. Note that when this live view request is made, it is assumed that an image is acquired from the image sensor 212 at a constant frame rate.

はじめに、ステップS701にて、所定の測光領域の撮像出力に基づいて公知の一般的な測光演算を行い、目標露光量との差異を算出する。算出後、システムコントローラ230に記憶されているプログラム線図に基づいて、露光量調整時の絞り変更量、撮像素子212の電荷蓄積期間、露光感度の各設定が決定される。決定後、ステップS702へ進む。   First, in step S701, a known general photometry calculation is performed based on the imaging output of a predetermined photometry area, and a difference from the target exposure amount is calculated. After the calculation, based on the program diagram stored in the system controller 230, settings of the aperture change amount at the time of adjusting the exposure amount, the charge accumulation period of the image sensor 212, and the exposure sensitivity are determined. After the determination, the process proceeds to step S702.

ステップS702では、デジタルカメラ200に装着されている撮影レンズ100が、絞り駆動速度を変更できるレンズか否かが、撮影レンズ100との通信で得られた性能情報から判断される。性能情報に設定可能な絞り駆動速度情報が含まれていることが検出され、撮影レンズ100が絞り駆動速度を変更できる対応レンズであれば、ステップS703へ進む。対応レンズでなければ、ステップS704へ進む。ステップS704へ進むことにより絞り102の駆動速度を固定とする第1の制御動作に切り替えたことになる。また、ステップS703へ進むことにより絞り102の駆動速度を可変とする第2の制御動作に切り替えたことになる。   In step S <b> 702, it is determined from the performance information obtained through communication with the photographing lens 100 whether the photographing lens 100 attached to the digital camera 200 is a lens that can change the aperture driving speed. If it is detected that the performance information includes aperture drive speed information that can be set, and the photographing lens 100 is a compatible lens capable of changing the aperture drive speed, the process advances to step S703. If not, the process proceeds to step S704. By proceeding to step S704, the operation is switched to the first control operation in which the driving speed of the diaphragm 102 is fixed. In addition, by proceeding to step S703, the operation is switched to the second control operation in which the drive speed of the diaphragm 102 is variable.

ステップS703では、デジタルカメラ200の状態が静止画記録モード(=静止画撮影モード)であるか否かが判定される。静止画記録モードでない状態とは、動画記録時か動画スタンバイ時である。静止画記録モードであれば、ステップS705へ進む。静止画記録モードでなければ、ステップS711へ進む。   In step S703, it is determined whether or not the state of the digital camera 200 is the still image recording mode (= still image shooting mode). The state that is not in the still image recording mode is during moving image recording or during moving image standby. If it is the still image recording mode, the process proceeds to step S705. If it is not the still image recording mode, the process proceeds to step S711.

ステップS704では、撮影レンズ100が絞り駆動速度変更不可と判明したレンズのため露光量調整で制御される絞り駆動速度の設定が固定速度とされる。絞り駆動速度の設定後、ステップS706へ進む。   In step S704, the setting of the aperture driving speed controlled by the exposure amount adjustment is set to the fixed speed because the photographing lens 100 is determined to be unable to change the aperture driving speed. After setting the aperture drive speed, the process proceeds to step S706.

ステップS705では、デジタルカメラ200の状態が静止画記録モードであり、レリーズタイムラグを考慮して露光量調整を俊敏に行うため、絞り駆動速度の設定が高速な第1速に設定される。絞り駆動速度の設定情報は、システムコントローラ230から電気接点ユニット107を通じてレンズコントローラ108へ通知される。レンズコントローラ108は絞り駆動速度設定の通知を受けて、絞り制御部106へ絞り駆動速度が指示される。絞り駆動速度の設定後、ステップS706へ進む。   In step S705, the state of the digital camera 200 is the still image recording mode, and the exposure amount is quickly adjusted in consideration of the release time lag. Therefore, the aperture driving speed is set to a high first speed. The setting information of the aperture driving speed is notified from the system controller 230 to the lens controller 108 through the electrical contact unit 107. The lens controller 108 receives the notification of the aperture drive speed setting, and instructs the aperture controller 106 to determine the aperture drive speed. After setting the aperture drive speed, the process proceeds to step S706.

ステップS706では、ステップS701で決定された電荷蓄積時間をシャッタ制御部215へ通知する。シャッタ制御部215は通知後のフォーカルプレーンシャッタ210による露光時間を、通知された電荷蓄積時間に応じて更新する。また、ステップS701で決定された露光感度を、CDS/AGC216へ通知する。CDS/AGC216は通知された露光感度に基づいて、撮像素子212で生成された画像信号の増幅値を更新する。更新後、ステップS707へ進む。   In step S706, the charge control time determined in step S701 is notified to the shutter control unit 215. The shutter control unit 215 updates the exposure time by the focal plane shutter 210 after the notification according to the notified charge accumulation time. Also, the exposure sensitivity determined in step S701 is notified to the CDS / AGC 216. The CDS / AGC 216 updates the amplification value of the image signal generated by the image sensor 212 based on the notified exposure sensitivity. After the update, the process proceeds to step S707.

ステップS707では、ステップS704あるいはステップS701で決定された絞り変更量だけ、定められた絞り駆動速度で絞り開口が制御される。ここで、定められた絞り駆動速度は、ステップS705にて設定された第1速か、あるいはステップS704で絞り制御速度変更不可と判明したレンズのための固定速度となる。絞り制御後、ステップS708へ進む。   In step S707, the aperture opening is controlled at a predetermined aperture driving speed by the aperture change amount determined in step S704 or step S701. Here, the determined aperture driving speed is the first speed set in step S705, or a fixed speed for a lens that is determined to be unable to change the aperture control speed in step S704. After aperture control, the process proceeds to step S708.

ステップS708では、一旦合焦状態であることを検出するとそれ以降の合焦のためのレンズ駆動をしない焦点検出動作である、いわゆるワンショットAFの要求が、SW1(233)での明示的な操作入力により発生したか判断される。ワンショットAF要求が発生していれば、絞り制御などの測光動作が完了したことを受けて、ステップS709へ進む。   In step S708, once the in-focus state is detected, a so-called one-shot AF request, which is a focus detection operation that does not drive the lens for subsequent focusing, is performed by an explicit operation in SW1 (233). It is determined whether it occurred by input. If a one-shot AF request has been generated, the process proceeds to step S709 in response to completion of photometric operation such as aperture control.

ステップS709では、ライブビュー表示品位を問わず、AFに掛かる時間(いわゆるAFタイムラグ)を考慮して、高速にフォーカス制御しながら最もコントラストの高いフォーカス位置を検出する公知のワンショットAFが行われる。AF後、ステップS710へ進む。   In step S709, known one-shot AF is performed to detect the focus position with the highest contrast while performing focus control at high speed in consideration of the time required for AF (so-called AF time lag) regardless of the quality of the live view display. After AF, the process proceeds to step S710.

ステップS710では、ライブビューモードスイッチ235の操作入力によりライブビュー終了要求が発生しているか判断する。終了要求があれば、本実施例の動作を終了する。終了要求がなければ、ライブビューを続けながら露光量調整および後述のステップS720で説明するコンティニュアスAFを続けるため、ステップS701へ戻り、上述した本実施例の動作を再度行う。   In step S <b> 710, it is determined whether a live view end request is generated by an operation input of the live view mode switch 235. If there is a termination request, the operation of this embodiment is terminated. If there is no end request, in order to continue the exposure adjustment and the continuous AF described in step S720 described later while continuing the live view, the process returns to step S701, and the above-described operation of the present embodiment is performed again.

ステップS711では、動画スイッチ236の動作入力によりデジタルカメラ200が動画記録中かを判断する。動画記録中であれば、ステップS712へ進む。動画記録中でなければ、ステップ713へ進む。   In step S711, it is determined whether the digital camera 200 is recording a moving image based on an operation input of the moving image switch 236. If a moving image is being recorded, the process proceeds to step S712. If the moving image is not being recorded, the process proceeds to step 713.

ステップS712では、絞り駆動速度を動画向けに遅くした第2速に設定される。設定後、ステップS714へ進む。   In step S712, the aperture driving speed is set to a second speed that is slow for moving images. After the setting, the process proceeds to step S714.

ステップS713では、絞り駆動速度をライブビュー向けに第1速より遅く、第2速より速い第3速に設定される。設定後、ステップS714へ進む。   In step S713, the aperture driving speed is set to a third speed that is slower than the first speed and faster than the second speed for live view. After the setting, the process proceeds to step S714.

ステップS714では、後述するステップS720で行われるフォーカス駆動(ウォブリング)に対して、図6で説明した絞り駆動許可期間であるか否かを判断する。絞り駆動許可期間であれば、露光量調整を行うために、ステップS715へ進む。絞り許可期間でなければ、フォーカス駆動制御を引き続き行うために、ステップS720へ進む。   In step S714, it is determined whether or not it is the aperture drive permission period described in FIG. 6 for the focus drive (wobbling) performed in step S720 described later. If it is the aperture drive permission period, the process proceeds to step S715 to adjust the exposure amount. If it is not the aperture permission period, the process advances to step S720 to continue the focus drive control.

ステップS715では、ステップS701で決定された電荷蓄積時間をシャッタ制御部215へ通知する。シャッタ制御部は通知後のフォーカルプレーンシャッタ210による露光時間を通知された電荷蓄積時間に応じて更新する。また、ステップS701で決定された露光感度をCDS/AGC216へ通知する。CDS/AGC216は通知された露光感度に基づいて、撮像素子212で生成された画像信号の増幅値を更新する。更新後、ステップS716へ進む。   In step S715, the shutter control unit 215 is notified of the charge accumulation time determined in step S701. The shutter control unit updates the exposure time by the focal plane shutter 210 after the notification according to the notified charge accumulation time. Also, the exposure sensitivity determined in step S701 is notified to the CDS / AGC 216. The CDS / AGC 216 updates the amplification value of the image signal generated by the image sensor 212 based on the notified exposure sensitivity. After the update, the process proceeds to step S716.

ステップS716では、ステップS701で決定された絞り変化量だけ、定められた絞り駆動速度で絞り開口が制御される。ここで、定められた絞り駆動速度は、ステップS712で設定された第2速か、ステップS713で設定された第3速となる。絞り制御後、ステップS717へ進む。   In step S716, the aperture opening is controlled at the determined aperture driving speed by the aperture change amount determined in step S701. Here, the determined aperture driving speed is the second speed set in step S712 or the third speed set in step S713. After aperture control, the process proceeds to step S717.

ステップS717では、設定された絞り駆動速度の絞り駆動制御で目標露光量に到達したか判断される。目標露光量に到達していなければ、ステップS720へ進む。到達していなければ、ステップS718へ進む。   In step S717, it is determined whether the target exposure amount has been reached by aperture drive control at the set aperture drive speed. If the target exposure amount has not been reached, the process proceeds to step S720. If not, the process proceeds to step S718.

ステップS718では、ライブビューや動画記録の品位を考慮して、露光量調整が目標露光量に近づくにつれて露光量変動を遅くするにあたり、絞り駆動速度が既に設定下限値となっているか判断される。設定下限値であればその速度で引き続き目標露光量まで絞りを制御させるため、ステップS715へ戻る。設定下限値でなければ、ステップS719へ進む。   In step S718, in consideration of the quality of live view and moving image recording, it is determined whether the aperture driving speed has already reached the set lower limit as the exposure amount adjustment becomes slower as the exposure amount adjustment approaches the target exposure amount. If it is the set lower limit value, the aperture is continuously controlled to the target exposure amount at that speed, and the process returns to step S715. If it is not the set lower limit value, the process proceeds to step S719.

ステップS719では、現在の露光量と目標露光量との露光差を算出し、露光差に応じて設定可能な範囲内で絞り駆動速度を低下させる。絞り駆動速度の低下後、引き続き目標露光量まで絞りを制御させるため、ステップS715へ戻る。   In step S719, an exposure difference between the current exposure amount and the target exposure amount is calculated, and the aperture driving speed is reduced within a settable range according to the exposure difference. After the aperture driving speed is lowered, the process returns to step S715 to control the aperture to the target exposure amount.

ステップS720では、ライブビュー品位を考慮してワンショットAF時より低速あるいは小さな駆動量でフォーカスを移動させながら、フォーカスレンズ101をフォーカス方向に微小に往復運動させるウォブリングを行い、前後フォーカスのどちらが高いコントラスト評価値となるか検出する。検出時のフォーカス駆動量Dは、所定の許容錯乱円径δ(たとえば画素ピッチの対角の長さ)と、ステップS716で制御された後の絞り値Fに応じて、下記の式1に基づいて制御される。
D=k×F×δ …(式1)
ただし、kは自然数の係数(たとえば値0.25)
In step S720, wobbling is performed by reciprocating the focus lens 101 in the focus direction while moving the focus at a lower speed or with a smaller driving amount than in the one-shot AF in consideration of the live view quality. Detect whether it becomes an evaluation value. The focus drive amount D at the time of detection is based on the following expression 1 according to a predetermined permissible circle of confusion δ (for example, the diagonal length of the pixel pitch) and the aperture value F after being controlled in step S716. Controlled.
D = k × F × δ (Formula 1)
Where k is a natural number coefficient (for example, a value of 0.25)

式1に基づいて、フォーカス駆動量Dが決定されることで、絞り値Fが露光量調整で変化しても、被写体像の錯乱円径を一定に制御できる。ここで、図4乃至図5の絞り駆動制御を行いつつ、その絞り駆動を図6の絞り駆動許可期間に行えるようタイミングを制御し、絞り値Fに応じたフォーカス駆動量Dを採用することで、表示品位と焦点検出精度の両立を図ることができる。なお、絞り駆動のタイミングは、高い評価値が得られるフォーカス方向を検出したら、そのフォーカス方向へ低速で所定デフォーカス量(例えば式1でのフォーカス駆動量D)だけフォーカスレンズ101を駆動させる。ライブビュー中に繰り返しステップS720を行うことで、コンティニュアスAFを実現している。コンティニュアスAFの動作の一部を成す上述のウォブリング駆動が完了すれば、ステップS710へ進む。 By determining the focus drive amount D based on Equation 1, even if the aperture value F changes by adjusting the exposure amount, the circle of confusion of the subject image can be controlled to be constant. Here, while performing the aperture drive control of FIGS. 4 to 5, the timing is controlled so that the aperture drive can be performed in the aperture drive permission period of FIG. 6, and the focus drive amount D corresponding to the aperture value F is adopted. Thus, both display quality and focus detection accuracy can be achieved. Note that when the focus direction in which a high evaluation value is obtained is detected, the focus lens 101 is driven by a predetermined defocus amount (for example, the focus drive amount D in Expression 1) at a low speed in the focus direction. Continuous AF is realized by repeatedly performing step S720 during live view. If the above-described wobbling drive that forms part of the operation of continuous AF is completed, the process proceeds to step S710.

上述の動作を行うことにより、絞り制御を適切に行い、露光量を適正に制御しつつ、焦点検出精度の低下を抑えられるようになる。   By performing the above-described operation, it is possible to appropriately perform aperture control and appropriately control the exposure amount while suppressing a decrease in focus detection accuracy.

100 撮影レンズ
101 フォーカスレンズ
212 撮像素子
227 カメラDSP
230 システムコントローラ
236 動画スイッチ
243 コントラスト評価値算出ブロック
DESCRIPTION OF SYMBOLS 100 Shooting lens 101 Focus lens 212 Image pick-up element 227 Camera DSP
230 System Controller 236 Movie Switch 243 Contrast Evaluation Value Calculation Block

Claims (4)

フォーカスレンズと入射光量を調整する絞りとを備えたレンズユニットを着脱可能とする撮像装置であって、
被写体像を光電変換して画像信号を生成する撮像手段と、
前記画像信号のコントラストに基づく焦点信号を生成する生成手段と、
装着された前記フォーカスレンズを微小振動させながら、前記焦点信号に基づいて合焦方向を検出する焦点検出手段と、
前記撮像手段の電荷蓄積を周期的に行わせるとともに、前記絞りの駆動中に前記撮像手段の電荷蓄積が行われる場合には、該電荷蓄積により得られた焦点信号を用いて合焦方向を検出しないように前記焦点検出手段を制御する制御手段とを有することを特徴とする撮像装置。
An imaging apparatus that allows a lens unit having a focus lens and a diaphragm to adjust the amount of incident light to be removable.
Imaging means for photoelectrically converting a subject image to generate an image signal;
Generating means for generating a focus signal based on the contrast of the image signal;
A focus detection means for detecting a focusing direction based on the focus signal while finely vibrating the mounted focus lens;
When the charge accumulation of the image pickup means is periodically performed and the charge accumulation of the image pickup means is performed while the diaphragm is being driven, the focus direction is detected using the focus signal obtained by the charge accumulation. An image pickup apparatus comprising: control means for controlling the focus detection means so as not to cause a failure.
前記制御手段は、装着された前記撮影レンズの種類に応じて、前記絞りの駆動速度を固定とする第1の制御動作と、前記絞りの駆動速度を可変とする第2の制御動作とのいずれかに切り替えるとともに、該切り替えに応じて、前記絞りを駆動する期間を変更することを特徴とする請求項1に記載の撮像装置。   The control means is either a first control operation for fixing a driving speed of the diaphragm or a second control operation for changing the driving speed of the diaphragm according to the type of the photographic lens mounted. The imaging apparatus according to claim 1, wherein a period for driving the diaphragm is changed in accordance with the switching. 前記制御手段は、前記第2の制御動作の際、動画記録時か否かに応じて前記絞りの駆動速度を変更することを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein the control unit changes the driving speed of the diaphragm in accordance with whether or not the moving image is recorded during the second control operation. 前記制御手段は、前記第2の制御動作の際、動画記録時の場合は前記絞りの駆動速度を第1の速度に、動画記録時でない場合は前記絞りの駆動速度を前記第1の速度より速い第2の速度に変更することを特徴とする請求項2又は3に記載の撮像装置。   In the second control operation, the control means sets the driving speed of the diaphragm to the first speed when recording a moving image, and sets the driving speed of the diaphragm to the first speed when not recording a moving image. The imaging apparatus according to claim 2, wherein the imaging apparatus is changed to a fast second speed.
JP2011155988A 2011-07-14 2011-07-14 Imaging apparatus Withdrawn JP2013024884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011155988A JP2013024884A (en) 2011-07-14 2011-07-14 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011155988A JP2013024884A (en) 2011-07-14 2011-07-14 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2013024884A true JP2013024884A (en) 2013-02-04

Family

ID=47783345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011155988A Withdrawn JP2013024884A (en) 2011-07-14 2011-07-14 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2013024884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017223920A (en) * 2016-06-17 2017-12-21 キヤノン株式会社 Imaging device and method for controlling the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017223920A (en) * 2016-06-17 2017-12-21 キヤノン株式会社 Imaging device and method for controlling the same

Similar Documents

Publication Publication Date Title
JP5808124B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE HAVING FOCUS DETECTION DEVICE
JP5550304B2 (en) Imaging device
JP5202270B2 (en) Imaging device
US7847856B2 (en) Digital camera
JP5171433B2 (en) Imaging device and lens device
JP5221931B2 (en) Imaging apparatus and control method thereof
US11223774B2 (en) Imaging apparatus, lens apparatus, and method for controlling the same
JP2010271696A (en) Interchangeable lens, camera body, and camera system
JP5106064B2 (en) Imaging device and lens unit
JP5478213B2 (en) camera
JP7210185B2 (en) Imaging device and its control method
JP2013235164A (en) Imaging device, and control method for the same
JP2011013645A (en) Imaging device
JP2011128422A (en) Imaging apparatus, lens device, and method for detecting focus
JP2010204585A (en) Imaging apparatus and method of controlling the same
JP2012068457A (en) Imaging apparatus
JP6168827B2 (en) Image stabilization apparatus and optical apparatus
JP2016109765A (en) Imaging device and focus adjusting method thereof, and program
JP5219951B2 (en) Imaging apparatus and control method thereof
JP2019004416A (en) Imaging apparatus, control method for the same, and control program
JP2013024884A (en) Imaging apparatus
JP6300570B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5743459B2 (en) Imaging device and lens unit
JP5904714B2 (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, AND IMAGING DEVICE HAVING FOCUS DETECTION DEVICE
JP2014035505A (en) Lens device, image pickup device, and control method for these devices

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141007