JP7433868B2 - Control device and its control method - Google Patents

Control device and its control method Download PDF

Info

Publication number
JP7433868B2
JP7433868B2 JP2019217577A JP2019217577A JP7433868B2 JP 7433868 B2 JP7433868 B2 JP 7433868B2 JP 2019217577 A JP2019217577 A JP 2019217577A JP 2019217577 A JP2019217577 A JP 2019217577A JP 7433868 B2 JP7433868 B2 JP 7433868B2
Authority
JP
Japan
Prior art keywords
lens
value
driving speed
speed
amount
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.)
Active
Application number
JP2019217577A
Other languages
Japanese (ja)
Other versions
JP2021086139A (en
Inventor
遥平 松井
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 JP2019217577A priority Critical patent/JP7433868B2/en
Publication of JP2021086139A publication Critical patent/JP2021086139A/en
Application granted granted Critical
Publication of JP7433868B2 publication Critical patent/JP7433868B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、焦点調節機能を有する電子スチルカメラなどが有するフォーカスレンズの駆動に関するものである。 The present invention relates to driving a focus lens included in an electronic still camera or the like having a focus adjustment function.

デジタルカメラ等の撮像装置には、被写体像を撮像するための撮像素子からの出力信号を用いて位相差検出方式による焦点検出を行うものがある。また、位相差検出方式による焦点検出の結果を用いて、移動している被写体に対してピントを合わせるためのフォーカスレンズ駆動制御に関する技術が知られている。特許文献1で開示されている撮像装置では、被写体像面速度を演算し、被写体像面速度に相関する補正量を算出する。この補正量を、位相差検出方式によって検出された最新のデフォーカス量に加算して追尾サーボのためのフォーカスレンズ駆動量を算出し、フォーカスレンズの実際の移動量を検出する。そして、フォーカスレンズ駆動量とフォーカスレンズの実際の移動量に従って、フォーカスレンズを合焦位置に駆動させるサーボ駆動を行う。撮像素子が有する光電変換素子の蓄積とサーボ駆動とを次々とオーバラップさせて行う。 2. Description of the Related Art Some imaging devices such as digital cameras perform focus detection using a phase difference detection method using an output signal from an image sensor for capturing a subject image. Further, there is known a technique related to focus lens drive control for focusing on a moving subject using the result of focus detection using a phase difference detection method. The imaging device disclosed in Patent Document 1 calculates a subject image plane velocity and calculates a correction amount that correlates with the subject image plane velocity. This correction amount is added to the latest defocus amount detected by the phase difference detection method to calculate the focus lens drive amount for tracking servo, and the actual movement amount of the focus lens is detected. Then, servo driving is performed to drive the focus lens to the in-focus position according to the focus lens driving amount and the actual movement amount of the focus lens. Accumulation of the photoelectric conversion element included in the image sensor and servo driving are performed one after another in an overlapping manner.

特開平4-133016号公報Japanese Unexamined Patent Publication No. 4-133016

特許文献1にて開示された方法では、被写体像面速度の算出はデフォーカス量の補正に利用しており、レンズ駆動は当該デフォーカス量に基づくフォーカスレンズ駆動量に従ってサーボ駆動を実施している。このようにあくまでフォーカスレンズ駆動量に従ってフォーカスレンズを駆動させる構成では、フォーカスレンズ駆動量に依存してフォーカスレンズの駆動速度が変わってしまう。このため、動体にピントが合わせるためのフォーカスレンズ駆動中に、合焦状態を維持するのが難しい場合があった。そこで本発明は、動体へのフォーカスレンズ駆動中に合焦状態をより維持させることができる制御装置及びその制御方法を提供することを目的とする。 In the method disclosed in Patent Document 1, the calculation of the object image plane velocity is used to correct the defocus amount, and the lens drive is performed by servo driving according to the focus lens drive amount based on the defocus amount. . In this configuration in which the focus lens is driven strictly according to the focus lens drive amount, the drive speed of the focus lens changes depending on the focus lens drive amount. For this reason, it may be difficult to maintain a focused state while driving the focus lens to focus on a moving object. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a control device and a control method thereof that can better maintain a focused state while driving a focus lens on a moving object.

上記目的を達成するために、本発明は、被写体のデフォーカス量を算出する焦点検出手段と、レンズの位置に関する情報を取得する取得手段と、前記デフォーカス量、前記レンズの位置に関する情報及び時刻、のデータを記憶する記憶手段と、前記記憶手段に記憶した複数の前記データに基づいて被写体の将来の像面位置を予測する予測手段と、前記像面位置を基に、レンズの駆動量を算出する第1の算出手段と、前記駆動量を基に、レンズの駆動速度を算出する第2の算出手段と、前記第2の算出手段によって算出された駆動速度でレンズの駆動の制御を行っている際、前記記憶手段に記憶した複数の前記データに基づいて算出される被写体の像面速度に基づいてレンズの駆動速度の上限に対応する第1の値と下限に対応する第2の値を設定する第3の算出手段と、を有し、前記第3の算出手段によって算出された前記第1の値および前記第2の値に基づいてレンズ駆動速度を制限するよう構成したことを特徴とする。 In order to achieve the above object, the present invention provides a focus detection means for calculating the amount of defocus of a subject, an acquisition means for acquiring information regarding the position of the lens, information regarding the amount of defocus, the information regarding the position of the lens, and a time. , a prediction means for predicting the future image plane position of the subject based on the plurality of data stored in the storage means, and a prediction means for predicting the driving amount of the lens based on the image plane position. a first calculating means for calculating, a second calculating means for calculating a driving speed of the lens based on the driving amount, and controlling the driving of the lens at the driving speed calculated by the second calculating means. a first value corresponding to the upper limit and a second value corresponding to the lower limit of the lens drive speed based on the image plane speed of the subject calculated based on the plurality of data stored in the storage means. and a third calculation means for setting the lens drive speed, and is configured to limit the lens driving speed based on the first value and the second value calculated by the third calculation means. shall be.

本発明によれば、動体へのフォーカスレンズ駆動中に合焦状態をより維持させることができる。 According to the present invention, it is possible to better maintain a focused state while driving a focus lens on a moving object.

レンズ交換式カメラシステムのブロック図Block diagram of interchangeable lens camera system サーボモード処理のフローチャート図Flowchart diagram of servo mode processing 焦点検出処理のフローチャート図Flowchart diagram of focus detection processing フォーカスレンズ駆動速度算出のフローチャート図Flowchart diagram of focus lens drive speed calculation 像面位置の履歴と像面予測位置の図Image plane position history and image plane predicted position diagram 被写体の像面速度と制限速度の関係図Relationship diagram between the image plane speed of the subject and the speed limit 被写体の像面速度と制限速度の関係図2Relationship diagram 2 between the image plane speed of the subject and the speed limit フォーカスレンズ駆動速度算出のフローチャート図2Flowchart of focus lens drive speed calculation Figure 2 レンズ駆動速度の履歴History of lens drive speed

以下、本発明の実施の形態を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

図1は、本発明の第1の実施の形態に係る制御装置の一例としてのレンズ交換式カメラ(撮像装置とも称する)の機能構成例を示すブロック図である。 FIG. 1 is a block diagram showing an example of a functional configuration of an interchangeable lens camera (also referred to as an imaging device) as an example of a control device according to a first embodiment of the present invention.

本実施形態の撮像装置は交換可能なレンズユニット10及びカメラ本体20から構成されている。レンズ全体の動作を統括制御するレンズ制御部106と、レンズユニット10を含めたカメラシステム全体の動作を統括するカメラ制御部212とは、レンズマウントに設けられた端子を通じて相互に通信可能である。 The imaging device of this embodiment includes an exchangeable lens unit 10 and a camera body 20. The lens control section 106, which controls the entire operation of the lens, and the camera control section 212, which controls the operation of the entire camera system including the lens unit 10, can communicate with each other through a terminal provided on the lens mount.

まず、レンズユニット10の構成について説明する。固定レンズ101、絞り102、フォーカスレンズ103は撮影光学系を構成する。絞り102は、絞り駆動部104によって駆動され、後述する撮像素子201への入射光量を制御する。フォーカスレンズ103はフォーカスレンズ駆動部105によって駆動され、フォーカスレンズ103の位置に応じて撮像光学系の合焦距離が変化する。絞り駆動部104、フォーカスレンズ駆動部105はレンズ制御部106によって制御され、絞り102の開口量や、フォーカスレンズ103の位置を決定する。 First, the configuration of the lens unit 10 will be explained. The fixed lens 101, the aperture 102, and the focus lens 103 constitute a photographing optical system. The aperture 102 is driven by an aperture drive unit 104, and controls the amount of light incident on the image sensor 201, which will be described later. The focus lens 103 is driven by a focus lens drive unit 105, and the focal length of the imaging optical system changes depending on the position of the focus lens 103. The aperture drive unit 104 and focus lens drive unit 105 are controlled by a lens control unit 106, and determine the aperture amount of the aperture 102 and the position of the focus lens 103.

レンズ操作部107は、ユーザがレンズユニット10の動作に関する設定を行うための入力デバイス群であり、例えば次の入力デバイスを含む。AF(オートフォーカス)/MF(マニュアルフォーカス)モードの切り替え、MFによるフォーカスレンズの位置調整、フォーカスレンズの動作範囲設定、手ブレ補正モードの設定など。レンズ操作部107が操作された場合、レンズ制御部106が操作に応じた制御を行う。 The lens operation unit 107 is a group of input devices for the user to make settings regarding the operation of the lens unit 10, and includes, for example, the following input devices. Switching between AF (autofocus)/MF (manual focus) mode, adjusting the position of the focus lens using MF, setting the operating range of the focus lens, setting the image stabilization mode, etc. When the lens operation section 107 is operated, the lens control section 106 performs control according to the operation.

レンズ制御部106は、後述するカメラ制御部212から受信した制御命令や制御情報に応じて絞り駆動部104やフォーカスレンズ駆動部105を制御し、また、レンズ制御情報をカメラ制御部212に送信する。 The lens control unit 106 controls the aperture drive unit 104 and the focus lens drive unit 105 according to control commands and control information received from the camera control unit 212, which will be described later, and also transmits lens control information to the camera control unit 212. .

次に、カメラ本体20の構成について説明する。カメラ本体20はレンズユニット10の撮影光学系を通過した光束から撮像信号を取得できるように構成されている。 Next, the configuration of the camera body 20 will be explained. The camera body 20 is configured to be able to obtain an imaging signal from the light beam that has passed through the imaging optical system of the lens unit 10.

撮像素子201はCCDやCMOSセンサにより構成される。レンズユニット10の撮影光学系から入射した光束は撮像素子201の受光面上に結像し、撮像素子201に配列された画素に設けられたフォトダイオードにより、入射光量に応じた信号電荷に変換される。各フォトダイオードに蓄積された信号電荷は、カメラ制御部212の指令に従ってタイミングジェネレータ214が出力する駆動パルスより、信号電荷に応じた電圧信号として撮像素子201から順次読み出される。 The image sensor 201 is composed of a CCD or CMOS sensor. A light flux incident from the photographing optical system of the lens unit 10 forms an image on the light receiving surface of the image sensor 201, and is converted into a signal charge according to the amount of incident light by photodiodes provided in pixels arranged in the image sensor 201. Ru. The signal charge accumulated in each photodiode is sequentially read out from the image sensor 201 as a voltage signal corresponding to the signal charge by a drive pulse outputted by the timing generator 214 in accordance with a command from the camera control unit 212.

本実施形態で用いられる撮像素子201の各画素は、2つ(一対)のフォトダイオードA、Bとこれら一対のフォトダイオードA、Bに対して設けられた1つのマイクロレンズとより構成されている。各画素は、入射する光をマイクロレンズで分割して一対のフォトダイオードA、B上に一対の光学像を形成し、該一対のフォトダイオードA、Bから後述するAF用信号に用いられる一対の画素信号(A信号およびB信号)を出力する。また、一対のフォトダイオードA、Bの出力を加算することで、撮像用信号(A+B信号)を得ることができる。 Each pixel of the image sensor 201 used in this embodiment is composed of two (pair) photodiodes A and B and one microlens provided for the pair of photodiodes A and B. . Each pixel splits incident light with a microlens to form a pair of optical images on a pair of photodiodes A and B, and from the pair of photodiodes A and B, a pair of optical images used for AF signals, which will be described later, are generated. Outputs pixel signals (A signal and B signal). Furthermore, by adding the outputs of the pair of photodiodes A and B, an imaging signal (A+B signal) can be obtained.

複数の画素から出力された複数のA信号はA信号同士、複数のB信号はB信号同士でそれぞれ合成する。これによって、撮像面位相差検出方式によるAF(以下、撮像面位相差AFという)に用いられるAF用信号(言い換えれば、焦点検出用信号)としての一対の像信号が得られる。後述するAF信号処理部204は、該一対の像信号に対する相関演算を行って、これら一対の像信号のずれ量である位相差(以下、像ずれ量という)を算出し、さらに該像ずれ量から撮影光学系のデフォーカス量(およびデフォーカス方向)を算出する。 A plurality of A signals output from a plurality of pixels are combined with each other, and a plurality of B signals are combined with each other. As a result, a pair of image signals are obtained as AF signals (in other words, focus detection signals) used in AF using the imaging surface phase difference detection method (hereinafter referred to as imaging surface phase difference AF). The AF signal processing unit 204, which will be described later, performs a correlation calculation on the pair of image signals, calculates a phase difference (hereinafter referred to as the amount of image shift), which is the amount of shift between the pair of image signals, and further calculates the amount of image shift. The defocus amount (and defocus direction) of the photographing optical system is calculated from

CDS/AGC/ADコンバータ202は、撮像素子201から読み出されたAF用信号および撮像用信号に対して、リセットノイズを除去するための相関二重サンプリング、ゲイン調節およびAD変換を行う。該コンバータ202は、これらの処理を行った撮像用信号およびAF用信号をそれぞれ、画像入力コントローラ203およびAF信号処理部204に出力する。 The CDS/AGC/AD converter 202 performs correlated double sampling, gain adjustment, and AD conversion on the AF signal and imaging signal read out from the image sensor 201 to remove reset noise. The converter 202 outputs the processed imaging signal and AF signal to the image input controller 203 and the AF signal processing section 204, respectively.

画像入力コントローラ203は、コンバータ202から出力された撮像用信号をバス21を介してSDRAM209に画像信号として格納する。SDRAM209に格納された画像信号は、バス21を介して表示制御部205によって読み出され、表示部206に表示される。また、画像信号の記録を行う録画モードでは、SDRAM209に格納された画像信号は記録媒体制御部207によって半導体メモリ等の記録媒体208に記録される。 The image input controller 203 stores the imaging signal output from the converter 202 in the SDRAM 209 via the bus 21 as an image signal. The image signal stored in the SDRAM 209 is read out by the display control unit 205 via the bus 21 and displayed on the display unit 206. Further, in a recording mode in which an image signal is recorded, the image signal stored in the SDRAM 209 is recorded on a recording medium 208 such as a semiconductor memory by the recording medium control unit 207.

ROM210には、カメラ制御部212が実行する制御プログラムや処理プログラムおよびこれらの実行に必要な各種データ等が格納されている。フラッシュROM211には、ユーザにより設定されたカメラ20の動作に関する各種設定情報等が格納されている。 The ROM 210 stores control programs and processing programs executed by the camera control unit 212 and various data necessary for executing these programs. The flash ROM 211 stores various setting information regarding the operation of the camera 20 set by the user.

焦点検出装置としてのAF信号処理部204は、コンバータ202から出力されたAF用信号である一対の像信号に対して相関演算を行い、これら一対の像信号の像ずれ量や信頼性を算出する。信頼性は二像一致度と相関変化量の急峻度を用いて算出される。また、AF信号処理部204は、撮像画面内で焦点検出およびAFを行う領域である測距領域の位置および大きさの設定を行う。AF信号処理部204は、測距領域で算出した像ずれ量(検出量)および信頼性の情報をカメラ制御部212に出力する。 The AF signal processing unit 204 as a focus detection device performs a correlation calculation on a pair of image signals, which are AF signals output from the converter 202, and calculates the amount of image shift and reliability of the pair of image signals. . Reliability is calculated using the degree of agreement between the two images and the steepness of the amount of correlation change. Further, the AF signal processing unit 204 sets the position and size of a distance measurement area, which is an area where focus detection and AF are performed within the imaging screen. The AF signal processing unit 204 outputs the image shift amount (detection amount) calculated in the distance measurement area and reliability information to the camera control unit 212.

カメラ制御部212内のAF制御部2121は、換算したデフォーカス量に基づいて焦点位置を移動させるようにレンズ制御部106に指示を行う。さらに動き判定部2122は、記憶部2123がメモリ回路215に記憶させた撮影時刻とデフォーカス量から算出した被写体像面位置をもとに動き判定を行う。AF制御部2121は、将来の像面位置を、予測部2124を用いて予測し、フォーカスレンズ103が予測した像面位置に来るために必要なレンズ駆動量を算出し、レンズ制御部106に指示を行う。 The AF control unit 2121 in the camera control unit 212 instructs the lens control unit 106 to move the focal position based on the converted defocus amount. Further, the motion determination section 2122 performs motion determination based on the subject image plane position calculated from the photographing time and the defocus amount stored in the memory circuit 215 by the storage section 2123. The AF control unit 2121 predicts the future image plane position using the prediction unit 2124, calculates the lens drive amount necessary for the focus lens 103 to come to the predicted image plane position, and instructs the lens control unit 106. I do.

カメラ制御部212は、カメラ本体20内の各部と情報をやり取りしながらこれらを制御する。また、カメラ制御部212は、ユーザ操作に基づくカメラ操作部213からの入力に応じて、電源のON/OFF、各種設定の変更、撮像処理、AF処理、記録画像の再生処理等、ユーザ操作に対応する様々な処理を実行する。さらに、カメラ制御部212は、レンズユニット10(レンズ制御部106)に対する制御命令やカメラ本体20の情報をレンズ制御部106に送信したり、レンズユニット10の情報をレンズ制御部106から取得したりする。カメラ制御部212は、マイクロコンピュータにより構成され、ROM210に記憶されたコンピュータプログラムを実行することで、交換レンズ10を含むカメラシステム全体の制御を司る。 The camera control section 212 controls each section within the camera body 20 while exchanging information with them. In addition, the camera control unit 212 performs user operations such as turning on/off the power, changing various settings, imaging processing, AF processing, and playback processing of recorded images in response to input from the camera operation unit 213 based on user operations. Perform various corresponding processes. Furthermore, the camera control section 212 transmits control commands for the lens unit 10 (lens control section 106) and information about the camera body 20 to the lens control section 106, and acquires information about the lens unit 10 from the lens control section 106. do. The camera control unit 212 is configured by a microcomputer, and controls the entire camera system including the interchangeable lens 10 by executing a computer program stored in the ROM 210.

カメラ制御部212は、AF信号処理部204にて算出された測距領域での像ずれ量を用いてデフォーカス量を算出し、該デフォーカス量に基づいてレンズ制御部106を通じてフォーカスレンズ103の駆動を制御する。 The camera control unit 212 calculates a defocus amount using the image shift amount in the ranging area calculated by the AF signal processing unit 204, and controls the focus lens 103 through the lens control unit 106 based on the defocus amount. Control the drive.

以下、カメラ本体20で行われる処理について説明する。カメラ制御部212は、コンピュータプログラムである撮像処理プログラムに従って以下の処理を行う。 The processing performed by the camera body 20 will be described below. The camera control unit 212 performs the following processing according to an imaging processing program that is a computer program.

図2はカメラ本体20の撮影処理、特にAF制御部2121で行われるサーボモードにおける処理を示すフローチャートである。Sはステップを意味する。 FIG. 2 is a flowchart showing the photographing processing of the camera body 20, particularly the processing in the servo mode performed by the AF control section 2121. S means step.

初めに、カメラ制御部212はS201において、SW1(撮影開始スイッチ)の状態を判定し、スイッチオン状態であればS202に移行し、スイッチオフ状態であればサーボモード処理を終了する。 First, in S201, the camera control unit 212 determines the state of SW1 (shooting start switch), and if the switch is on, the process moves to S202, and if the switch is off, the servo mode processing ends.

S202では焦点検出処理を行う。処理の詳細については図3を用いて後述する。 In S202, focus detection processing is performed. Details of the processing will be described later using FIG. 3.

S203では動体判定処理を行う。処理の詳細については省略するが、メモリ回路215に記憶させた撮影時刻とデフォーカス量から算出した被写体像面位置が連続的に所定量以上変化しているか、などの判定方法がある。 In S203, moving object determination processing is performed. Although details of the process will be omitted, there is a method of determining whether the subject image plane position calculated from the photographing time and defocus amount stored in the memory circuit 215 continuously changes by a predetermined amount or more.

S204では、S203の動体判定処理による結果が動体であったかどうかを判定し、動体であった場合S205へ進み、そうでなかった場合S206へ進む。 In S204, it is determined whether the result of the moving object determination process in S203 is a moving object. If it is a moving object, the process advances to S205, and if not, the process advances to S206.

S205では、記憶部2123によってメモリ回路215に記憶された、撮影時刻とデフォーカス量から算出した被写体像面位置を用いて予測演算処理を行い、将来の像面位置を算出する。予測方法の詳細については省略するが、公知の予測方法を用いることができる。また、2次曲線を予測関数としてもよいし、最新の2点だけを求めて1次曲線によって予測してもよい。さらには、最小二乗法によって式(1)に示すような予測式f(t)を統計演算によって求めてもよい。
f(t)=α+βt+γtn ・・・式(1)
In S205, predictive calculation processing is performed using the subject image plane position calculated from the photographing time and the defocus amount, which is stored in the memory circuit 215 by the storage unit 2123, to calculate a future image plane position. Although the details of the prediction method will be omitted, a known prediction method can be used. Further, a quadratic curve may be used as a prediction function, or only the latest two points may be obtained and predicted using a linear curve. Furthermore, the prediction formula f(t) as shown in equation (1) may be obtained by statistical calculation using the least squares method.
f(t)=α+βt+γtn...Formula (1)

S206では合焦状態か否かの判定を行い、合焦状態であった場合S201へ進み、合焦状態でなかった場合S207へ進む。 In S206, it is determined whether or not the camera is in focus. If it is in focus, the process advances to S201, and if it is not in focus, the process advances to S207.

S207では焦点検出処理が終了したかどうかの判定を行い、終了と判定された場合サーボモードの処理を終了し、終了でない場合S208へ進む。焦点検出処理を終了したかどうかの判定の例としては、フォーカスレンズが駆動可能な範囲の全域をスキャンしたなど、これ以上フォーカスレンズを動かしても合焦状態とならないと判断された場合がある。 In S207, it is determined whether or not the focus detection process has ended. If it is determined that the focus detection process has ended, the servo mode processing ends, and if it has not ended, the process advances to S208. An example of determining whether the focus detection process has been completed is when it is determined that the focus lens cannot be brought into focus even if the focus lens is moved any further, such as when the focus lens has scanned the entire drivable range.

S208では、S205で算出された像面位置を基に、現在のレンズの像面位置との差分を算出して、レンズの駆動量を算出する。 In S208, based on the image plane position calculated in S205, the difference between the current lens image plane position and the lens drive amount is calculated.

S209では、被写体の像面位置にレンズの像面位置を合わせるようにレンズ駆動するため、S208で算出されたレンズの駆動量から、レンズ駆動時間で除算することにより、レンズの駆動速度を算出する。速度算出方法の詳細については図4を用いて後述する。 In S209, in order to drive the lens so that the image plane position of the lens matches the image plane position of the subject, the lens drive speed is calculated by dividing the lens drive amount calculated in S208 by the lens drive time. . Details of the speed calculation method will be described later using FIG. 4.

S210では、S208で算出されたレンズの駆動量、及びS209で算出されたレンズの駆動速度を指定してレンズ駆動制御を行う。 In S210, lens drive control is performed by specifying the lens drive amount calculated in S208 and the lens drive speed calculated in S209.

次に、焦点検出処理の動作の一例を、図3のフローチャートに基づいて説明する。 Next, an example of the operation of the focus detection process will be described based on the flowchart of FIG. 3.

初めに、AF信号処理部204は、撮像素子201における測距領域に含まれる複数の画素からAF用信号としての一対の像信号を取得する(S301)。次に、AF信号処理部204は、取得した一対の像信号を1画素(1ビット)ずつ相対的にシフトさせながらこれら一対の像信号の相関量を算出する(S302)。続いて、AF信号処理部204は、S302で算出した相関量から相関変化量を算出する(S303)。次に、AF信号処理部204は、S303で算出した相関変化量を用いて像ずれ量を算出する(S304)。 First, the AF signal processing unit 204 acquires a pair of image signals as AF signals from a plurality of pixels included in the distance measurement area of the image sensor 201 (S301). Next, the AF signal processing unit 204 calculates the amount of correlation between the pair of acquired image signals while relatively shifting them one pixel (one bit) at a time (S302). Subsequently, the AF signal processing unit 204 calculates a correlation change amount from the correlation amount calculated in S302 (S303). Next, the AF signal processing unit 204 calculates an image shift amount using the correlation change amount calculated in S303 (S304).

次に、AF信号処理部204は、S304で算出された測距領域の像ずれ量を用いて該測距領域のデフォーカス量を算出する(S305)。そして、S306において、得られた焦点検出情報をメモリ回路215に記憶する。ここでは、各焦点検出領域のデフォーカス量と撮影時刻を記憶する。 Next, the AF signal processing unit 204 calculates the defocus amount of the distance measurement area using the image shift amount of the distance measurement area calculated in S304 (S305). Then, in S306, the obtained focus detection information is stored in the memory circuit 215. Here, the defocus amount and photographing time of each focus detection area are stored.

次に、フォーカスレンズ駆動速度算出について、図4のフローチャートと図5を用いて説明する。図5は、時刻t~ti―5に取得された像面位置p~pi-5に基づいて算出された予測式によって、将来の時刻ti+1における像面予測位置pi+1を示したものである。 Next, focus lens drive speed calculation will be explained using the flowchart of FIG. 4 and FIG. 5. FIG. 5 shows the predicted image plane position p i +1 at a future time t i+1 using a prediction formula calculated based on the image plane positions p i to p i- 5 acquired at times t i to t i- 5 . It is something that

初めに、S401でS208において算出したレンズの駆動量Dを取得する。次に、S402でレンズ駆動時刻TDifを取得する。S403ではS401で取得したレンズ駆動量とS402で取得したレンズ駆動時間から、レンズ駆動速度VLensを算出する。図5の例では、D=pi+1―pi、Dif=ti+1―ti、Lens=D/TDifとなる。ちなみに、各像面位置の取得時にレンズが動き続けているような場合には、TDif=ti+1―ti´(ti<i´)となる。(ti´はフォーカスレンズ駆動速度を算出している現在時刻に相当する) First, in S401, the lens drive amount D calculated in S208 is obtained. Next, in S402, the lens drive time T Dif is acquired. In S403, the lens driving speed V Lens is calculated from the lens driving amount acquired in S401 and the lens driving time acquired in S402. In the example of FIG. 5, D=p i+1 -p i, T Dif =t i+1 -t i, and V Lens =D/T Dif . Incidentally, in the case where the lens continues to move when acquiring each image plane position, T Dif = t i +1 − t i ′ (t i < t i ′ ). (t i ' corresponds to the current time when the focus lens driving speed is being calculated)

次に、S404で被写体の像面速度Vを取得し、S405で像面速度Vに基づく制限速度VMax、Minをそれぞれ算出する。
Max=αV (α>1) ・・・式(2)
Min=βV (β<1) ・・・式(3)
Next, in S404, the image plane velocity V of the subject is acquired, and in S405, speed limits V Max and V Min based on the image plane velocity V are calculated, respectively.
V Max = αV (α>1) ...Formula (2)
V Min =βV (β<1) ...Formula (3)

ある時刻tに算出された像面速度Vに基づいて算出される制限速度VMax、Minの関係を図6に示す。また、係数α、βの比率は、±20%のように揃えてもよいし、α=150%、β=80%のように異ならせてもよい。更に、図7に示すように、ある像面速度Vthを境に、αやβの数値を変更してもよい。また、Vthを複数備えて、αやβの数値を段階的に変更してもよい。 FIG. 6 shows the relationship between the speed limits V Max and V Min calculated based on the image surface velocity V calculated at a certain time t. Furthermore, the ratios of the coefficients α and β may be the same, such as ±20%, or may be different, such as α=150% and β=80%. Furthermore, as shown in FIG. 7, the numerical values of α and β may be changed at a certain image surface velocity V th . Alternatively, a plurality of V th may be provided and the numerical values of α and β may be changed in stages.

S406では、S403で算出したレンズ駆動速度VLensと、S405で算出したVMax、VMinを比較する。比較した結果、制限速度以内に収まっているのであれば、S210においてVLensをそのままレンズ駆動速度として設定し、収まっていないのであれば、制限速度VMaxまたはVMinをレンズ駆動速度として設定する。 In S406, the lens driving speed V Lens calculated in S403 is compared with V Max and V Min calculated in S405. As a result of the comparison, if the speed is within the speed limit, V Lens is directly set as the lens drive speed in S210, and if it is not within the speed limit, the speed limit V Max or V Min is set as the lens drive speed.

以上がフォーカスレンズの駆動速度の算出方法であるが、このような簡易的な方法で駆動速度を制限すると、被写体などの条件によってはピントの追従性を損なう可能性がある。 The above is a method for calculating the driving speed of the focus lens, but if the driving speed is limited using such a simple method, the ability to follow the focus may be impaired depending on conditions such as the subject.

それらの影響を軽減するためのより制御的に優れる算出方法について、図8を用いて説明する。図4で説明した部分を同様の処理については説明を割愛する。 A calculation method with better control for reducing these influences will be explained using FIG. 8. A description of the same processing as that described in FIG. 4 will be omitted.

S804では至近方向に移動している被写体かどうかを判定し、そうであれば、S804へ進み、そうでなければ処理を終了する。 In S804, it is determined whether the subject is moving in a close direction, and if so, the process advances to S804, and if not, the process ends.

S806では被写体の像面速度が所定以上かどうかを判定し、所定以上であればS807へ進み、そうでなければ処理を終了する。 In S806, it is determined whether the image plane velocity of the subject is greater than or equal to a predetermined value, and if it is greater than or equal to the predetermined value, the process proceeds to S807, and if not, the process is terminated.

S807では、過去のレンズ駆動速度の履歴から、現在、レンズが加減速中かどうかの判定を行う。図9を例にすると、V1にかけての区間は加速中、V1~V2にかけての区間は減速中、V2~V3にかけての区間は加速中となる。この結果に応じて、加速中と判断された場合には上限値のみを設定することができる。また、減速中と判断された場合には下限値のみを設定することができる。加速中に算出された上限値が前回のレンズ駆動速度よりも小さいため、その制限速度でレンズを制御した場合、減速に転じてしまうような場合には、速度制限を行わないことも可能である。 In S807, it is determined from the history of past lens drive speeds whether the lens is currently accelerating or decelerating. Using FIG. 9 as an example, the section from V1 is under acceleration, the section from V1 to V2 is under deceleration, and the section from V2 to V3 is under acceleration. Depending on this result, only the upper limit value can be set if it is determined that the vehicle is accelerating. Further, when it is determined that the vehicle is decelerating, only the lower limit value can be set. If the upper limit value calculated during acceleration is smaller than the previous lens drive speed, and if the lens is controlled at that speed limit, the lens will start decelerating, it is possible to not limit the speed. .

また、図9に示すレンズ駆動速度の履歴において、判定を追加することも可能である。例えばV3を最新のレンズ駆動速度とした場合、最新のレンズ駆動速度を除く履歴の中から極大値V1と極小値V2を求める。また、加速区間の差分値Dif2が、極値の差分Dif1の所定割合以上の場合に制限を行う。 Further, it is also possible to add determinations to the history of lens drive speeds shown in FIG. For example, if V3 is the latest lens driving speed, the local maximum value V1 and local minimum value V2 are determined from the history excluding the latest lens driving speed. Further, the restriction is performed when the difference value Dif2 in the acceleration section is equal to or greater than a predetermined ratio of the difference Dif1 in the extreme value.

以上の加減速の判定結果を踏まえ、S808では速度制限を行うかどうかを判断し、行うのであればS809へ進み、行わないのであれば処理を終了する。 Based on the above acceleration/deceleration determination results, it is determined in S808 whether or not to perform speed restriction. If so, the process advances to S809, and if not, the process ends.

以上説明したように、本発明によれば、上記のような制御を行うことで、レンズのハンチング現象を防止し、安定的かつ応答性に優れた自動焦点調整動作を提供することが可能となる。 As explained above, according to the present invention, by performing the above-described control, it is possible to prevent the hunting phenomenon of the lens and provide a stable and highly responsive automatic focus adjustment operation. .

103 フォーカスレンズ
105 フォーカスレンズ駆動部
106 レンズ制御部
20 カメラ本体
204 AF信号処理部
212 カメラ制御部
2121 AF制御部
2122 動き判定部
2123 記憶部
2124 予測部
103 Focus lens 105 Focus lens drive section 106 Lens control section 20 Camera main body 204 AF signal processing section 212 Camera control section 2121 AF control section 2122 Motion determination section 2123 Storage section 2124 Prediction section

Claims (7)

被写体のデフォーカス量を算出する焦点検出手段と、レンズの位置に関する情報を取得
する取得手段と、
前記デフォーカス量、前記レンズの位置に関する情報及び時刻、のデータを記憶する記
憶手段と、
前記記憶手段に記憶した複数の前記データに基づいて被写体の将来の像面位置を予測す
る予測手段と、
前記像面位置を基に、レンズの駆動量を算出する第1の算出手段と、
前記駆動量を基に、レンズの駆動速度を算出する第2の算出手段と、
前記第2の算出手段によって算出された駆動速度でレンズの駆動の制御を行っている際、
前記記憶手段に記憶した複数の前記データに基づいて算出される被写体の像面速度に基づいてレンズの駆動速度の上限に対応する第1の値と下限に対応する第2の値を設定する第3の算出手段と、を有し、
前記第3の算出手段によって算出された前記第1の値および前記第2の値に基づいてレンズ駆動速度を制限することを特徴とする制御装置。
a focus detection means for calculating the amount of defocus of the subject; an acquisition means for acquiring information regarding the position of the lens;
a storage means for storing data of the defocus amount, information regarding the position of the lens, and time;
prediction means for predicting a future image plane position of the subject based on the plurality of data stored in the storage means;
a first calculation means for calculating a driving amount of the lens based on the image plane position;
a second calculation means for calculating a driving speed of the lens based on the driving amount;
When controlling the driving of the lens at the driving speed calculated by the second calculation means,
a first value corresponding to an upper limit and a second value corresponding to a lower limit of the driving speed of the lens based on the image plane speed of the subject calculated based on the plurality of data stored in the storage means; 3 calculation means,
A control device that limits a lens drive speed based on the first value and the second value calculated by the third calculation means.
前記第1の値および前記第2の値に基づくレンズ駆動速度の制御は、前記被写体の像面速度が所定以上の場合にのみ行うことを特徴とする請求項1に記載の制御装置。 2. The control device according to claim 1, wherein the lens driving speed is controlled based on the first value and the second value only when the image plane speed of the subject is equal to or higher than a predetermined value. 前記第1の値および前記第2の値に基づくレンズ駆動速度の制御は、被写体の移動の方向が至近方向の場合のみ行うことを特徴とする請求項1または2に記載の制御装置。 3. The control device according to claim 1, wherein the lens driving speed is controlled based on the first value and the second value only when the direction of movement of the subject is a close-up direction. 前記第1の値および前記第2の値が前記像面速度に基づく割合は、前記第1の値と前記第2の値とで異なることを特徴とする請求項1乃至3のいずれか1項に記載の制御装置。 4. A ratio of the first value and the second value based on the image surface velocity is different between the first value and the second value. The control device described in . 前記レンズ駆動速度の履歴から、レンズ駆動速度が加速しているか減速しているかを判断し、加速していると判断された場合は前記第1の値を設定することを特徴とする請求項1乃至4のいずれか1項に記載の制御装置。 Claim 1, wherein it is determined from the history of the lens driving speed whether the lens driving speed is accelerating or decelerating, and if it is determined that the lens driving speed is accelerating, the first value is set. 5. The control device according to any one of 4 to 4. 前記レンズ駆動速度の履歴から、レンズ駆動速度が加速しているか減速しているかを判断し、減速していると判断された場合は前記第2の値を設定することを特徴とする請求項1乃至4のいずれか1項に記載の制御装置。 2. The lens driving speed is determined from the history of the lens driving speed to determine whether the lens driving speed is accelerating or decelerating, and if it is determined that the lens driving speed is decelerating, the second value is set. 5. The control device according to any one of 4 to 4. 制御装置の制御方法であって、
被写体のデフォーカス量を算出する焦点検出ステップと、
レンズの位置に関する情報を取得する取得ステップと、
前記デフォーカス量、前記レンズの位置に関する情報及び時刻、のデータを記憶手段に記憶する記憶ステップと、
前記記憶手段に記憶した複数の前記データに基づいて被写体の将来の像面位置を予測する予測ステップと、
前記像面位置を基に、レンズの駆動量を算出する第1の算出ステップと、
前記駆動量を基に、レンズの駆動速度を算出する第2の算出ステップと、
前記第2の算出ステップによって算出された駆動速度でレンズの駆動の制御を行っている際、前記記憶手段に記憶した複数の前記データに基づいて算出される被写体の像面速度に基づいてレンズの駆動速度の上限に対応する第1の値と下限に対応する第2の値を設定する第3の算出ステップと、を有し、
前記第3の算出ステップによって算出された前記第1の値および前記第2の値に基づい
てレンズ駆動速度を制限するステップを更に有することを特徴とする制御装置の制御方法。
A control method for a control device, the method comprising:
a focus detection step for calculating the amount of defocus of the subject;
an obtaining step of obtaining information about the position of the lens;
a storing step of storing data of the defocus amount, information regarding the position of the lens, and time in a storage means ;
a prediction step of predicting a future image plane position of the subject based on the plurality of data stored in the storage means ;
a first calculation step of calculating a driving amount of the lens based on the image plane position;
a second calculation step of calculating a driving speed of the lens based on the driving amount;
When controlling the drive of the lens at the drive speed calculated in the second calculation step, the lens drive is controlled based on the image plane speed of the subject calculated based on the plurality of data stored in the storage means. a third calculation step of setting a first value corresponding to the upper limit of the driving speed and a second value corresponding to the lower limit;
A method for controlling a control device, further comprising: limiting a lens driving speed based on the first value and the second value calculated in the third calculating step.
JP2019217577A 2019-11-29 2019-11-29 Control device and its control method Active JP7433868B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019217577A JP7433868B2 (en) 2019-11-29 2019-11-29 Control device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019217577A JP7433868B2 (en) 2019-11-29 2019-11-29 Control device and its control method

Publications (2)

Publication Number Publication Date
JP2021086139A JP2021086139A (en) 2021-06-03
JP7433868B2 true JP7433868B2 (en) 2024-02-20

Family

ID=76087642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019217577A Active JP7433868B2 (en) 2019-11-29 2019-11-29 Control device and its control method

Country Status (1)

Country Link
JP (1) JP7433868B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006330567A (en) 2005-05-30 2006-12-07 Nikon Corp Autofocus device
JP2016156931A (en) 2015-02-24 2016-09-01 キヤノン株式会社 Imaging device and control method of the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006330567A (en) 2005-05-30 2006-12-07 Nikon Corp Autofocus device
JP2016156931A (en) 2015-02-24 2016-09-01 キヤノン株式会社 Imaging device and control method of the same

Also Published As

Publication number Publication date
JP2021086139A (en) 2021-06-03

Similar Documents

Publication Publication Date Title
JP4874669B2 (en) Autofocus unit and digital camera
US10264173B2 (en) Image capturing apparatus and control method thereof, and storage medium
JP5789098B2 (en) Focus detection apparatus and control method thereof
JP2008026788A (en) Imaging apparatus and focus control method
JP2008058788A (en) Focusing device, image pickup apparatus and control method
US20230034220A1 (en) Focusing apparatus, image pickup apparatus, focusing method, and storage medium
JP5930702B2 (en) Focus adjustment device
JP6168994B2 (en) Imaging apparatus and control method thereof
JP7066388B2 (en) Focus control device, its control method, and program, storage medium, and image pickup device.
US9036075B2 (en) Image pickup apparatus, method for controlling the same, and storage medium
JP7433868B2 (en) Control device and its control method
US20220345636A1 (en) Image capturing apparatus, control method therefor, and storage medium
JP5947489B2 (en) Focus adjustment device and focus adjustment method
US9402023B2 (en) Image capturing apparatus, control method therefor, and storage medium
JP6624789B2 (en) Focus control device, control method thereof, control program, and imaging device
US11528406B2 (en) Control apparatus, image pickup apparatus which changes an autofocus operation based on a ratio of a number of low contrast frames to a number of focus detecting frames
US11012609B2 (en) Image pickup apparatus and its control method, and storage medium
JP7353826B2 (en) Control device and its control method
US20220337756A1 (en) Control apparatus, image capturing apparatus, control method, and memory medium
CN111510619B (en) Focus detection apparatus, focus detection method, focus adjustment apparatus, image pickup apparatus, and storage medium
JP2006011068A (en) Optical equipment
JP2005227447A (en) Autofocus camera
KR20060007792A (en) Imaging device containing auto focus control function and method thereof
JP2021157160A (en) Imaging device and control method therefor
JP2006047749A (en) Lens device and imaging system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231020

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231114

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231220

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: 20240109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240207

R151 Written notification of patent or utility model registration

Ref document number: 7433868

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151