Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6916419B2 - Focus adjuster - Google Patents
[go: Go Back, main page]

JP6916419B2 - Focus adjuster - Google Patents

Focus adjuster Download PDF

Info

Publication number
JP6916419B2
JP6916419B2 JP2019113772A JP2019113772A JP6916419B2 JP 6916419 B2 JP6916419 B2 JP 6916419B2 JP 2019113772 A JP2019113772 A JP 2019113772A JP 2019113772 A JP2019113772 A JP 2019113772A JP 6916419 B2 JP6916419 B2 JP 6916419B2
Authority
JP
Japan
Prior art keywords
focus detection
signal
signals
pair
focus
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
JP2019113772A
Other languages
Japanese (ja)
Other versions
JP2019164384A (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.)
Nikon Corp
Original Assignee
Nikon Corp
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
Priority claimed from JP2013243944A external-priority patent/JP2015102735A/en
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2019113772A priority Critical patent/JP6916419B2/en
Publication of JP2019164384A publication Critical patent/JP2019164384A/en
Application granted granted Critical
Publication of JP6916419B2 publication Critical patent/JP6916419B2/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 a focus adjusting device.

焦点検出に位相差検出方式を適用したカメラにおいて、撮影画面内で遠くの被写体と近くの被写体が競合している場合などに、予め測距センサの演算に使用する焦点検出信号列を分割して、遠くの被写体および近くの被写体のうちの任意の被写体のデフォーカス量を検出する技術がある。 In a camera that applies the phase difference detection method to focus detection, when a distant subject and a near subject compete with each other in the shooting screen, the focus detection signal sequence used for the calculation of the distance measuring sensor is divided in advance. , There is a technique for detecting the amount of defocus of an arbitrary subject among a distant subject and a near subject.

特開平6−82686号公報Japanese Unexamined Patent Publication No. 6-82686

特許文献1によると、焦点検出画素列が複数のブロックに分割されるが、そのブロック境界が必ずしも遠近競合被写体の境界に一致するとは限らないため、焦点検出誤差が生じる場合がある。 According to Patent Document 1, the focus detection pixel sequence is divided into a plurality of blocks, but the block boundaries do not always match the boundaries of the perspective competing subjects, so that a focus detection error may occur.

本発明の第1の態様によると、焦点調節装置は、被写体の像を形成する光学系を通過した光が入射するレンズと、前記レンズを透過した光を受光し第1信号を出力する第1受光部と、前記レンズを透過した光を受光し第2信号を出力する第2受光部とを含むセンサを複数有する検出部と、複数の前記第1信号からなる第1信号列と複数の前記第2信号からなる第2信号列との第1のずれ量を算出し、前記第1のずれ量分相対的にずらした前記第1信号と前記第2信号との差分値に基づいて、前記第1信号列と前記第2信号列との第2のずれ量を算出する算出部と、前記算出部により算出された前記第2のずれ量に基づいて前記光学系を制御する制御部と、を備える。
本発明の第2の態様によると、焦点調節装置は、被写体の像を形成する光学系の第1の領域を通過した光を受光して複数の第1信号をそれぞれ出力する複数の第1受光部と、前記光学系の第2の領域を通過した光を受光して複数の第2信号をそれぞれ出力する複数の第2受光部とを有する検出部と、前記複数の第1信号と前記複数の第2信号との第1のずれ量を算出し、前記複数の第1信号と前記複数の第2信号とを前記第1のずれ量分相対的にずらして算出した前記複数の第1信号の各信号と前記複数の第2信号の各信号との差分値に基づき、前記複数の第1信号及び前記複数の第2信号をそれぞれ複数の範囲に分割し、前記範囲ごとに前記複数の第1信号と前記複数の第2信号との第2のずれ量を算出する算出部と、前記算出部により算出された前記第2のずれ量に基づいて前記光学系を制御する制御部と、を備える。
According to the first aspect of the present invention, the focus adjusting device receives a lens in which light passing through an optical system forming an image of a subject is incident and light transmitted through the lens and outputs a first signal. A detection unit having a plurality of sensors including a light receiving unit, a second light receiving unit that receives light transmitted through the lens and outputs a second signal, a first signal train composed of the plurality of first signals, and a plurality of the above. The first deviation amount from the second signal train composed of the second signal is calculated, and based on the difference value between the first signal train and the second signal train that are relatively shifted by the first deviation amount. There, the control for controlling a calculation unit for calculating a second deviation between said second signal sequence and the first signal sequence, the optical system on the basis of the second shift amount calculated by the calculation unit It has a part and.
According to a second aspect of the present invention, the focus adjusting device receives a plurality of first light receiving light that has passed through a first region of an optical system that forms an image of a subject and outputs a plurality of first signals. A detection unit having a unit, a plurality of second light receiving units that receive light that has passed through a second region of the optical system and output a plurality of second signals, and the plurality of first signals and the plurality of units. The first signal with respect to the second signal of the above is calculated, and the plurality of first signals and the plurality of second signals are relatively shifted by the amount of the first deviation, and the plurality of first signals are calculated. Based on the difference value between each signal of the above and each signal of the plurality of second signals, the plurality of first signals and the plurality of second signals are each divided into a plurality of ranges, and the plurality of first signals are divided into a plurality of ranges. A calculation unit that calculates a second deviation amount between the one signal and the plurality of second signals, and a control unit that controls the optical system based on the second deviation amount calculated by the calculation unit. Be prepared.

本発明によれば、遠近競合被写体に対してピントを合わせる際に、被写体の状況に合わせ、被写体の遠近に応じて焦点検出信号列を適切に分割した後、焦点調節することができる。 According to the present invention, when focusing on a perspective competing subject, the focus detection signal sequence can be appropriately divided according to the perspective of the subject according to the situation of the subject, and then the focus can be adjusted.

本発明の一実施の形態における焦点検出装置を有する撮像装置の構成を示す図である。It is a figure which shows the structure of the image pickup apparatus which has the focal point detection apparatus in one Embodiment of this invention. 焦点検出センサおよび焦点検出センサを覆うマイクロレンズアレイを示す図である。It is a figure which shows the focus detection sensor and the microlens array which covers the focus detection sensor. 焦点検出画素とマイクロレンズとの対応関係を示す図である。It is a figure which shows the correspondence relationship between a focus detection pixel and a microlens. 制御装置によって行われる焦点検出処理のフローチャートである。It is a flowchart of the focus detection process performed by a control device. 焦点検出エリアに2つの被写体像が含まれる一例を示す図である。It is a figure which shows an example which includes two subject images in a focus detection area. 制御装置によって行われるデフォーカス量決定処理のフローチャートである。It is a flowchart of the defocus amount determination process performed by a control device. 焦点検出エリア内での焦点検出画素位置に対する一対の焦点検出信号列の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value of a pair of focus detection signal trains with respect to the focus detection pixel position in a focus detection area. 一対の焦点検出信号列の相関量の最小値を与える特定のシフト量だけ相対的に一対の焦点検出信号列をシフトさせた状態を表す図である。It is a figure which shows the state which shifted the pair of focus detection signal trains relatively by the specific shift amount which gives the minimum value of the correlation amount of a pair of focus detection signal trains. 一対の焦点検出信号列の分割処理を説明するための図である。It is a figure for demonstrating the division processing of a pair of focus detection signal trains. 一対の部分信号列における相関量が最小値をとる際の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value when the correlation amount in a pair of partial signal trains takes the minimum value. 一対の部分信号列における相関量が最小値をとる際の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value when the correlation amount in a pair of partial signal trains takes the minimum value. 制御装置によって行われる撮像処理のフローチャートである。It is a flowchart of the imaging process performed by a control device. 焦点検出エリアに3つの被写体像が含まれる一例を示す図である。It is a figure which shows an example which includes three subject images in a focus detection area. 焦点検出エリア内での焦点検出画素位置に対する一対の焦点検出信号列の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value of a pair of focus detection signal trains with respect to the focus detection pixel position in a focus detection area. 一対の焦点検出信号列の相関量の最小値を与える特定のシフト量だけ相対的に一対の焦点検出信号列をシフトさせた状態を表す図である。It is a figure which shows the state which shifted the pair of focus detection signal trains relatively by the specific shift amount which gives the minimum value of the correlation amount of a pair of focus detection signal trains. 一対の焦点検出信号列の分割処理を説明するための図である。It is a figure for demonstrating the division processing of a pair of focus detection signal trains. 一対の部分信号列における相関量が最小値をとる際の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value when the correlation amount in a pair of partial signal trains takes the minimum value. 一対の部分信号列における相関量が最小値をとる際の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value when the correlation amount in a pair of partial signal trains takes the minimum value. 一対の部分信号列における相関量が最小値をとる際の焦点検出信号値の変化を表す図である。It is a figure which shows the change of the focus detection signal value when the correlation amount in a pair of partial signal trains takes the minimum value. 他の焦点検出装置を有する撮像装置の構成を示す図である。It is a figure which shows the structure of the image pickup apparatus which has another focus detection apparatus. 他の焦点検出装置を有する撮像装置の構成を示す図である。It is a figure which shows the structure of the image pickup apparatus which has another focus detection apparatus.

本発明の一実施の形態における焦点検出装置およびその焦点検出装置を含む撮像装置について、図を用いて説明する。図1は、本実施の形態における焦点検出装置50を含む撮像装置100の構成を示す図である。撮像装置100は、焦点検出装置50と、液晶表示素子1と、撮像素子2と、撮影光学系4と、レンズ駆動用モータ5と、ハーフミラー7と、焦点調節装置8と、記憶装置15とを含む。焦点検出装置50は、焦点検出センサ6と、マイクロレンズアレイ9と、制御装置3とを含む。 The focus detection device and the image pickup device including the focus detection device according to the embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration of an image pickup apparatus 100 including a focus detection apparatus 50 according to the present embodiment. The image pickup device 100 includes a focus detection device 50, a liquid crystal display element 1, an image pickup element 2, a photographing optical system 4, a lens driving motor 5, a half mirror 7, a focus adjustment device 8, and a storage device 15. including. The focus detection device 50 includes a focus detection sensor 6, a microlens array 9, and a control device 3.

撮影光学系4は、被写体像を結像面上に結像させるための光学系である。撮影光学系4は複数のレンズや絞りを含み、それら複数のレンズのうち、焦点調節レンズが、レンズ駆動用モータ5によって、撮影光学系4の光軸10の方向に移動可能である。 The photographing optical system 4 is an optical system for forming a subject image on an imaging surface. The photographing optical system 4 includes a plurality of lenses and an aperture, and among the plurality of lenses, the focus adjusting lens can be moved in the direction of the optical axis 10 of the photographing optical system 4 by the lens driving motor 5.

ハーフミラー7は、例えばペリクルミラーのような薄いミラーであって、図1に示すように光軸10に沿った光路中に位置し、撮影光学系4を通過した入射光束の一部を光軸10aの方向、すなわちマイクロレンズアレイ9の方へ反射させるとともに、その入射光束のうちの反射されなかった残りを透過させる。ハーフミラー7によって反射された反射光束は、複数のマイクロレンズが2次元的に配列されることによって構成されたマイクロレンズアレイ9を透過し、焦点検出センサ6へ入射する。ハーフミラー7を透過した透過光束は、撮像素子2へ入射する。マイクロレンズアレイ9は撮影光学系4の結像面に配置され、その位置は撮像素子2の撮像面の位置と等価である。 The half mirror 7 is a thin mirror such as a pellicle mirror, is located in an optical path along the optical axis 10 as shown in FIG. 1, and has an optical axis of a part of an incident light beam passing through the photographing optical system 4. It reflects in the direction of 10a, that is, toward the microlens array 9, and transmits the unreflected rest of the incident light beam. The reflected light flux reflected by the half mirror 7 passes through the microlens array 9 formed by arranging a plurality of microlenses two-dimensionally, and is incident on the focus detection sensor 6. The transmitted luminous flux transmitted through the half mirror 7 is incident on the image pickup device 2. The microlens array 9 is arranged on the image plane of the photographing optical system 4, and its position is equivalent to the position of the image pickup surface of the image sensor 2.

焦点検出センサ6には、受光した光束に応じて電気的な焦点検出信号を生成する複数の焦点検出画素が配列される。それら複数の焦点検出画素のうち、焦点検出エリア内の一部の焦点検出画素によって構成される一対の焦点検出画素グループが、マイクロレンズアレイ9を介して焦点検出センサ6へ入射する光束のうちの一対の光束を受光して光電変換処理を行うことによって、被写体像に対応する電気的な一対の焦点検出信号列が生成される。詳細について、図3を用いて後述する。焦点検出エリアは、液晶表示素子1が、撮像素子2によって出力される後述する複数の撮像信号に基づくスルー画像を画面表示する際に、そのスルー画像に重畳して画面表示されることとしてもよい。複数の焦点検出エリアが液晶表示素子1に画面表示され、それら表示された複数の焦点検出エリアのうちから1つを、使用者が液晶表示素子1の画面を見ながら指定することとしてもよい。 The focus detection sensor 6 is arranged with a plurality of focus detection pixels that generate an electrical focus detection signal according to the received light flux. Of the plurality of focus detection pixels, a pair of focus detection pixel groups composed of some focus detection pixels in the focus detection area are among the light beams incident on the focus detection sensor 6 via the microlens array 9. By receiving a pair of light beams and performing a photoelectric conversion process, a pair of electrical focus detection signal sequences corresponding to the subject image is generated. Details will be described later with reference to FIG. When the liquid crystal display element 1 displays a through image based on a plurality of image pickup signals to be described later output by the image pickup element 2 on the screen, the focus detection area may be superimposed on the through image and displayed on the screen. .. A plurality of focus detection areas may be displayed on the screen of the liquid crystal display element 1, and one of the displayed plurality of focus detection areas may be designated by the user while looking at the screen of the liquid crystal display element 1.

上述した一対の焦点検出信号列生成の際には、焦点検出センサ6の光電変換制御として、例えば複数の焦点検出画素の露光制御、複数の焦点検出信号の読み出し制御、および/または読み出した複数の焦点検出信号の増幅制御等が、制御装置3によって行われる。焦点検出センサ6によって生成された一対の焦点検出信号列は、制御装置3へ出力される。 When generating the pair of focus detection signal trains described above, as photoelectric conversion control of the focus detection sensor 6, for example, exposure control of a plurality of focus detection pixels, read control of a plurality of focus detection signals, and / or a plurality of read outs. Amplification control of the focus detection signal and the like are performed by the control device 3. The pair of focus detection signal sequences generated by the focus detection sensor 6 is output to the control device 3.

制御装置3は、焦点検出センサ6によって出力された一対の焦点検出信号列に基づいて、瞳分割型位相差検出方式により撮影光学系4の焦点検出を行う。制御装置3は、焦点検出により得られる焦点検出用パラメータとして一対の焦点検出信号列の位相差量を検出する。あるいは、その位相差量に応じた焦点検出用パラメータとしてデフォーカス量を演算する。制御装置3は、それらの位相差量またはデフォーカス量に基づいて焦点調節用パラメータを決定し、その決定した焦点調節用パラメータに基づいて、撮影光学系4の焦点調節レンズのレンズ駆動量を演算し、そのレンズ駆動量を焦点調節装置8に送信する。そのレンズ駆動量を受信した焦点調節装置8は、レンズ駆動用モータ5を介して撮影光学系4の焦点調節レンズのレンズ駆動をそのレンズ駆動量だけ行う。制御装置3によって行われる焦点検出処理の詳細については、図4および図6を用いて後述する。 The control device 3 detects the focus of the photographing optical system 4 by the pupil division type phase difference detection method based on the pair of focus detection signal sequences output by the focus detection sensor 6. The control device 3 detects the amount of phase difference between the pair of focus detection signal trains as the focus detection parameter obtained by the focus detection. Alternatively, the defocus amount is calculated as a focus detection parameter according to the phase difference amount. The control device 3 determines the focus adjustment parameter based on the phase difference amount or the defocus amount, and calculates the lens drive amount of the focus adjustment lens of the photographing optical system 4 based on the determined focus adjustment parameter. Then, the lens drive amount is transmitted to the focus adjustment device 8. The focus adjustment device 8 that has received the lens drive amount drives the focus adjustment lens of the photographing optical system 4 by the lens drive amount via the lens drive motor 5. Details of the focus detection process performed by the control device 3 will be described later with reference to FIGS. 4 and 6.

撮影処理の際、ハーフミラー7は、焦点検出センサ6を覆うように跳ね上がることによって、光路から退避するため、撮影光学系4を通過した入射光束のすべてが撮像素子2に入射し、撮像素子2の受光面上に被写体像を結像する。撮像素子2には、複数の撮像画素が2次元状に配列されており、複数の撮像画素がその入射光束を受光し、光電変換を行うことによって、撮影光学系4によって結像された被写体像に対応する電気的な複数の撮像信号を生成する。生成された複数の撮像信号が、撮像素子2によって出力される。 During the photographing process, the half mirror 7 jumps up so as to cover the focus detection sensor 6 and is retracted from the optical path. Therefore, all the incident light flux passing through the photographing optical system 4 is incident on the image sensor 2, and the image sensor 2 A subject image is formed on the light receiving surface of the. A plurality of imaging pixels are arranged in a two-dimensional manner on the image pickup element 2, and the plurality of imaging pixels receive the incident light beam and perform photoelectric conversion to perform a photoelectric conversion to form a subject image imaged by the photographing optical system 4. Generates a plurality of electrical imaging signals corresponding to. The generated plurality of image pickup signals are output by the image pickup element 2.

制御装置3は、撮像素子2によって出力された複数の撮像信号に基づいて画像を生成し、その生成した画像を、液晶表示素子1にスルー画像として表示させるとともに、使用者による撮像指示に応じて実行する撮像処理の際に記憶装置15に記録する。制御装置3によって行われる撮像処理の詳細については、図12を用いて後述する。 The control device 3 generates an image based on a plurality of image pickup signals output by the image pickup element 2, causes the liquid crystal display element 1 to display the generated image as a through image, and responds to an image pickup instruction by the user. The image is recorded in the storage device 15 at the time of the image pickup process to be executed. The details of the imaging process performed by the control device 3 will be described later with reference to FIG.

図2は、焦点検出センサ6および焦点検出センサ6を覆うマイクロレンズアレイ9を示す図である。図2(a)は、図1に示した光軸10a近傍における焦点検出センサ6およびマイクロレンズアレイ9を拡大表示した様子を示している。焦点検出センサ6には複数の焦点検出画素60が2次元状に配列される。マイクロレンズアレイ9には複数のマイクロレンズ90が2次元状に(ハニカム状に)、100μm以下のピッチで配列されている。マイクロレンズ90の形状を球形で図示しているが、ハニカム状の配列に合わせて六角形であってもよい。 FIG. 2 is a diagram showing a focus detection sensor 6 and a microlens array 9 covering the focus detection sensor 6. FIG. 2A shows an enlarged display of the focus detection sensor 6 and the microlens array 9 in the vicinity of the optical axis 10a shown in FIG. A plurality of focus detection pixels 60 are arranged two-dimensionally in the focus detection sensor 6. In the microlens array 9, a plurality of microlenses 90 are arranged two-dimensionally (honeycomb shape) at a pitch of 100 μm or less. Although the shape of the microlens 90 is shown as a sphere, it may be hexagonal according to the honeycomb-like arrangement.

図2(b)は、マイクロレンズアレイ9の直上から見たときの、マイクロレンズアレイ9およびその向こう側の焦点検出センサ6を重ねて表した図である。図2(b)の例では、各マイクロレンズ90に垂直方向5画素×水平方向5画素からなる複数の焦点検出画素60が対応している。図1に示した撮影光学系4を通過した入射光束の一部がハーフミラー7によって反射されて到来する反射光束は、マイクロレンズアレイ9を透過して焦点検出センサ6へ入射する。図3を用いて後述するように、各マイクロレンズ90を透過した光束は、各マイクロレンズ90に対応する垂直方向5画素×水平方向5画素の合計25画素からなる複数の焦点検出画素60によって受光され、光電変換により電気的な焦点検出信号に変換される。各マイクロレンズ90に対応する複数の焦点検出画素60は、垂直方向5画素×水平方向5画素の合計25画素に限られない。 FIG. 2B is an superimposed view of the microlens array 9 and the focus detection sensor 6 on the other side thereof when viewed from directly above the microlens array 9. In the example of FIG. 2B, each microlens 90 corresponds to a plurality of focus detection pixels 60 composed of 5 pixels in the vertical direction and 5 pixels in the horizontal direction. A part of the incident luminous flux that has passed through the photographing optical system 4 shown in FIG. 1 is reflected by the half mirror 7, and the reflected luminous flux that arrives is transmitted through the microlens array 9 and incident on the focus detection sensor 6. As will be described later with reference to FIG. 3, the light beam transmitted through each microlens 90 is received by a plurality of focus detection pixels 60 consisting of a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction corresponding to each microlens 90. It is converted into an electrical focus detection signal by photoelectric conversion. The plurality of focus detection pixels 60 corresponding to each microlens 90 are not limited to a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction.

図3は、複数の焦点検出画素60とマイクロレンズ90との対応関係を示す図である。図3(a)および図3(b)は、複数の焦点検出画素60およびマイクロレンズ90の平面図である。図3(a)および図3(b)に示す例では、各マイクロレンズ90に対応する複数の焦点検出画素60は、垂直方向5画素×水平方向5画素の合計25画素である。それら25画素の焦点検出画素60のうちから、上述した一対の焦点検出画素グループが規定される。図3(a)に示す各マイクロレンズ90に対応する垂直方向5画素×水平方向5画素の合計25画素の焦点検出画素60の例では、水平方向の両端に位置する2つの垂直方向の焦点検出画素列のそれぞれに含まれる5つずつの焦点検出画素のうち、中央の3つずつの焦点検出画素が、一対の焦点検出画素グループ610aおよび610bとして、ハッチングされて示されている。 FIG. 3 is a diagram showing a correspondence relationship between the plurality of focus detection pixels 60 and the microlens 90. 3A and 3B are plan views of the plurality of focus detection pixels 60 and the microlens 90. In the example shown in FIGS. 3A and 3B, the plurality of focus detection pixels 60 corresponding to each microlens 90 are 5 pixels in the vertical direction and 5 pixels in the horizontal direction, for a total of 25 pixels. From the focus detection pixels 60 of those 25 pixels, the above-mentioned pair of focus detection pixel groups is defined. In the example of the focus detection pixel 60 having a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction corresponding to each microlens 90 shown in FIG. 3A, two vertical focus detections located at both ends in the horizontal direction are detected. Of the five focus detection pixels included in each of the pixel sequences, the three center focus detection pixels are hatched and shown as a pair of focus detection pixel groups 610a and 610b.

図3(b)に示す各マイクロレンズ90に対応する垂直方向5画素×水平方向5画素の合計25画素の焦点検出画素60の例では、水平方向の紙面に向かって左端に位置する垂直方向の焦点検出画素列と、それに隣接する垂直方向の焦点検出画素列とのそれぞれに含まれる5つずつの焦点検出画素のうち、中央の3つずつの焦点検出画素が、一対の焦点検出画素グループ620aおよび620bのうちの一方の焦点検出画素グループ620aとして、ハッチングされて示されている。水平方向の紙面に向かって右端に位置する垂直方向の焦点検出画素列と、それに隣接する垂直方向の焦点検出画素列とのそれぞれに含まれる5つずつの焦点検出画素のうち、中央の3つずつの焦点検出画素が、一対の焦点検出画素グループ620aおよび620bのうちの他方の焦点検出画素グループ620bとして、ハッチングされて示されている。図3(b)に示すように、一対の焦点検出画素グループ620aおよび620bの各々は、垂直方向に並ぶ3つの焦点検出画素が水平方向に2列隣接して並ぶことによって、合計6個の焦点検出画素を含む。 In the example of the focus detection pixel 60 having a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction corresponding to each microlens 90 shown in FIG. Of the five focus detection pixels included in each of the focus detection pixel array and the adjacent vertical focus detection pixel array, the central three focus detection pixels are a pair of focus detection pixel groups 620a. And one of 620b, as a focus detection pixel group 620a, is shown hatched. Of the five focus detection pixels included in each of the vertical focus detection pixel array located at the right end of the horizontal paper and the vertical focus detection pixel array adjacent to it, the three in the center. Each focus detection pixel is hatched and shown as the other focus detection pixel group 620b of the pair of focus detection pixel groups 620a and 620b. As shown in FIG. 3B, each of the pair of focus detection pixel groups 620a and 620b has a total of six focal points by arranging three focus detection pixels arranged in the vertical direction in two rows adjacent to each other in the horizontal direction. Includes detection pixels.

図3(c)および図3(d)は、それぞれ図3(a)および図3(b)に示す垂直方向5画素×水平方向5画素の合計25画素の焦点検出画素60およびマイクロレンズ90の平面図を、25画素の焦点検出画素60の中心に位置する焦点検出画素を通って水平方向に延びる一点鎖線S1およびS2で切ったときの断面図である。図3(c)において、一対の焦点検出画素グループ610aおよび610bは、撮影光学系4の一対の瞳領域およびマイクロレンズ90を通過する一対の光束11および12を受光し、光電変換により電気的な一対の焦点検出信号を生成する。図3(a)には、25画素の焦点検出画素60およびマイクロレンズ90の組合せが5組、例示されている。したがって、5つの焦点検出画素グループ610aによって生成される5つの焦点検出信号を含む焦点検出信号列と、5つの焦点検出画素グループ610bによって生成される5つの焦点検出信号を含む焦点検出信号列とが得られ、それら2つの焦点検出信号列が一対の焦点検出信号列を形成する。同様に、図3(d)において、一対の焦点検出画素グループ620aおよび620bは、撮影光学系4の一対の瞳領域およびマイクロレンズ90を通過する一対の光束13および14を受光し、光電変換により電気的な一対の焦点検出信号を生成する。図3(b)には、25画素の焦点検出画素60およびマイクロレンズ90の組合せが5組、例示されている。したがって、5つの焦点検出画素グループ620aによって生成される5つの焦点検出信号列と、5つの焦点検出画素グループ620bによって生成される5つの焦点検出信号列とが得られ、それら2つの焦点検出信号列が一対の焦点検出信号列を形成する。 3 (c) and 3 (d) show the focus detection pixels 60 and the microlens 90, which have a total of 25 pixels of 5 pixels in the vertical direction and 5 pixels in the horizontal direction shown in FIGS. 3 (a) and 3 (b), respectively. It is sectional drawing when the plan view is cut by the one-point chain line S1 and S2 extending in the horizontal direction through the focus detection pixel located at the center of the focus detection pixel 60 of 25 pixels. In FIG. 3C, the pair of focus detection pixel groups 610a and 610b receive the pair of luminous fluxes 11 and 12 passing through the pair of pupil regions of the photographing optical system 4 and the microlens 90, and are electrically converted by photoelectric conversion. Generate a pair of focus detection signals. FIG. 3A exemplifies five combinations of a 25-pixel focus detection pixel 60 and a microlens 90. Therefore, the focus detection signal sequence including the five focus detection signals generated by the five focus detection pixel groups 610a and the focus detection signal sequence including the five focus detection signals generated by the five focus detection pixel groups 610b are included. Obtained, these two focus detection signal sequences form a pair of focus detection signal sequences. Similarly, in FIG. 3D, the pair of focus detection pixel groups 620a and 620b receive the pair of luminous fluxes 13 and 14 passing through the pair of pupil regions of the photographing optical system 4 and the microlens 90, and are subjected to photoelectric conversion. Generates a pair of electrical focus detection signals. FIG. 3B illustrates five combinations of a 25-pixel focus detection pixel 60 and a microlens 90. Therefore, five focus detection signal sequences generated by the five focus detection pixel groups 620a and five focus detection signal sequences generated by the five focus detection pixel groups 620b are obtained, and these two focus detection signal sequences are obtained. Form a pair of focus detection signal sequences.

こうして得られた一対の焦点検出信号列の位相差、あるいは位相差に基づいて演算されるデフォーカス量に基づいて、撮影光学系4の焦点調節を行うことができる。なお、図3(c)に示す一対の焦点検出画素グループ610aおよび610b相互間の距離は、図3(d)に示す一対の焦点検出画素グループ620aおよび620b相互間の距離よりも大きい。したがって、図3(c)に示す一対の光束11および12が成す開き角の大きさは、図3(d)に示す一対の光束13および14が成す開き角の大きさよりも大きい。いずれの場合であっても本発明を適用することは可能であるが、開き角の大きさが大きい方が、後述する遠近競合に起因する焦点検出信号値の変化の違いが検出されやすいため、図3(c)に示すような開き角の大きな構成が採用できる場合に本発明を適用することが好ましい。 The focus of the photographing optical system 4 can be adjusted based on the phase difference of the pair of focus detection signal trains thus obtained or the defocus amount calculated based on the phase difference. The distance between the pair of focus detection pixel groups 610a and 610b shown in FIG. 3C is larger than the distance between the pair of focus detection pixel groups 620a and 620b shown in FIG. 3D. Therefore, the size of the opening angle formed by the pair of luminous fluxes 11 and 12 shown in FIG. 3C is larger than the size of the opening angle formed by the pair of luminous fluxes 13 and 14 shown in FIG. 3D. Although the present invention can be applied in any case, the larger the opening angle, the easier it is to detect the difference in the change in the focus detection signal value due to the perspective competition described later. It is preferable to apply the present invention when a configuration having a large opening angle as shown in FIG. 3C can be adopted.

図4は、制御装置3によって行われる焦点検出処理のフローチャートである。制御装置3は、例えばCPUおよびメモリによって構成されるコンピュータである。そのCPUがメモリに格納されたコンピュータプログラムを実行することによって、図4に示す焦点検出処理を構成する各ステップの処理が行われる。 FIG. 4 is a flowchart of the focus detection process performed by the control device 3. The control device 3 is, for example, a computer composed of a CPU and a memory. When the CPU executes a computer program stored in the memory, the processing of each step constituting the focus detection processing shown in FIG. 4 is performed.

図4に示す焦点検出処理を構成する各ステップの処理について、図5に示す撮影画面250の例を用いて説明する。図5において、撮影画面250には、撮影光学系4によって結像される2つの被写体像、すなわち樹木を含む背景の被写体像210と、人物の被写体像220とが含まれている。撮影画面250には、焦点検出エリア200も表示されており、その焦点検出エリア200の中にも、撮像装置100から遠くに位置する樹木を含む背景の被写体像210と、近くに位置する人物の被写体像220とが含まれている。撮影画面250には、通常は複数の焦点検出エリア200が表示されるが、図5の撮影画面250においては、後述する図4のステップS101で使用者によって指定された1個の焦点検出エリア200だけを例示している。 The processing of each step constituting the focus detection processing shown in FIG. 4 will be described with reference to the example of the photographing screen 250 shown in FIG. In FIG. 5, the photographing screen 250 includes two subject images imaged by the photographing optical system 4, that is, a background subject image 210 including trees and a person subject image 220. A focus detection area 200 is also displayed on the shooting screen 250, and in the focus detection area 200, a background subject image 210 including a tree located far from the image pickup device 100 and a person located near the image pickup device 100 are displayed. The subject image 220 and the like are included. Normally, a plurality of focus detection areas 200 are displayed on the shooting screen 250, but on the shooting screen 250 of FIG. 5, one focus detection area 200 designated by the user in step S101 of FIG. 4 to be described later. Only exemplify.

ステップS101において、制御装置3は、使用者によって不図示の操作部材を介して本焦点検出処理が開始されるとともに焦点検出エリア200が指定されたか否かを判定する。否定判定の場合は、肯定判定がなされるまでステップS101の処理が繰り返される。肯定判定の場合、制御装置3は、指定された焦点検出エリア200を対象とした本処理をステップS102へ進める。上述した操作部材は例えば自動焦点検出起動スイッチであって、本処理は、その自動焦点検出起動スイッチがオンに設定されることによって開始される。あるいは、その操作部材はシャッターレリーズボタンであって、本処理は、そのシャッターレリーズボタンが半押し状態に設定されることによって開始される。 In step S101, the control device 3 determines whether or not the main focus detection process is started by the user via an operation member (not shown) and the focus detection area 200 is designated. In the case of a negative determination, the process of step S101 is repeated until an affirmative determination is made. In the case of an affirmative determination, the control device 3 advances the present process targeting the designated focus detection area 200 to step S102. The above-mentioned operating member is, for example, an automatic focus detection activation switch, and this process is started when the automatic focus detection activation switch is set to ON. Alternatively, the operating member is a shutter release button, and this process is started when the shutter release button is set to the half-pressed state.

ステップS102において、制御装置3は、焦点検出センサ6の光電変換制御を行う。焦点検出センサ6の光電変換制御としては、例えば、焦点検出センサ6に配置された複数の焦点検出画素60の露光制御、複数の焦点検出信号の読み出し制御、および/または読み出した複数の焦点検出信号の増幅制御等が行われる。 In step S102, the control device 3 performs photoelectric conversion control of the focus detection sensor 6. The photoelectric conversion control of the focus detection sensor 6 includes, for example, exposure control of a plurality of focus detection pixels 60 arranged in the focus detection sensor 6, read control of a plurality of focus detection signals, and / or a plurality of read focus detection signals. Amplification control and the like are performed.

ステップS103において、制御装置3は、ステップS102で読み出された複数の焦点検出信号に基づいて、一対の焦点検出信号列を取得する。 In step S103, the control device 3 acquires a pair of focus detection signal sequences based on the plurality of focus detection signals read in step S102.

ステップS104において、制御装置3は、焦点調節用デフォーカス量を決定するためのデフォーカス量決定処理を行う。デフォーカス量決定処理の詳細については、図6を用いて後述する。 In step S104, the control device 3 performs a defocus amount determination process for determining the defocus amount for focus adjustment. The details of the defocus amount determination process will be described later with reference to FIG.

ステップS105において、制御装置3は、ステップS104で決定された焦点調節用デフォーカス量がほぼ0であるか否かに基づいて、撮影光学系4が合焦位置にあるか否かを判定する。肯定判定の場合、本処理は終了する。否定判定の場合、本処理はステップS106へ進む。なお、ステップS104で決定された焦点調節用デフォーカス量の信頼性判定を制御装置3が行うことによって、信頼性が低く、焦点検出可能でないと判定された場合はスキャン動作をすることとしてもよい。既に焦点調節レンズ駆動開始後に被写体像が焦点検出エリア200内から消えた場合には、直近に検出されていた焦点調節用デフォーカス量に基づいて焦点調節レンズのレンズ駆動を行ってから本処理を終了させてもよい。 In step S105, the control device 3 determines whether or not the photographing optical system 4 is in the in-focus position based on whether or not the defocus amount for focus adjustment determined in step S104 is substantially 0. In the case of an affirmative judgment, this process ends. In the case of a negative determination, this process proceeds to step S106. It should be noted that the control device 3 may determine the reliability of the defocus amount for focus adjustment determined in step S104, and if it is determined that the reliability is low and the focus cannot be detected, a scanning operation may be performed. .. If the subject image disappears from the focus detection area 200 after the focus adjustment lens drive has already started, the focus adjustment lens is driven based on the most recently detected focus adjustment defocus amount, and then this process is performed. You may end it.

ステップS106において、制御装置3は、ステップS104で決定された焦点調節用デフォーカス量に基づいて、撮影光学系4のレンズ駆動量を演算する。 In step S106, the control device 3 calculates the lens drive amount of the photographing optical system 4 based on the focus adjustment defocus amount determined in step S104.

ステップS107において、制御装置3は、ステップS106で演算されたレンズ駆動量を焦点調節装置8に送信し、焦点調節装置8にレンズ駆動用モータ5を介した撮影光学系4のレンズ駆動を行わせるように、焦点調節装置8を制御する。ステップS107の処理が完了すると、本処理はステップS101へ戻る。 In step S107, the control device 3 transmits the lens drive amount calculated in step S106 to the focus adjustment device 8, and causes the focus adjustment device 8 to drive the lens of the photographing optical system 4 via the lens drive motor 5. As a result, the focus adjusting device 8 is controlled. When the process of step S107 is completed, this process returns to step S101.

図6は、図4のステップS104で制御装置3によって行われるデフォーカス量決定処理の詳細を示すフローチャートである。図4のステップS103で取得された一対の焦点検出信号列{a[i]}および{b[j]}とする。一対の焦点検出信号列{a[i]}および{b[j]}の相対的な位相シフト量kの初期値は0である。一対の焦点検出信号列{a[i]}および{b[j]}の位相差量に上記位相シフト量kの大きさを近づければ近づけるほど、一対の焦点検出信号列{a[i]}および{b[j]}の相関は高くなる(k=i−j)。一対の焦点検出信号列{a[i]}および{b[j]}の相関が最も高いとき、次式(1)で表される一対の焦点検出信号列{a[i]}および{b[j]}の相関値C(k)は最小値を示す。式(1)の右辺の積算は、一対の焦点検出信号列{a[i]}および{b[j]}の信号数分だけ行われる。
C(k)=Σ|a[i]−b[j]| (1)
FIG. 6 is a flowchart showing details of the defocus amount determination process performed by the control device 3 in step S104 of FIG. Let it be a pair of focus detection signal sequences {a [i]} and {b [j]} acquired in step S103 of FIG. The initial value of the relative phase shift amount k of the pair of focus detection signal sequences {a [i]} and {b [j]} is 0. The closer the magnitude of the phase shift amount k is to the phase difference amount of the pair of focus detection signal sequences {a [i]} and {b [j]}, the closer the pair of focus detection signal sequences {a [i] } And {b [j]} have a high correlation (k = i−j). When the correlation between the pair of focus detection signal sequences {a [i]} and {b [j]} is the highest, the pair of focus detection signal sequences {a [i]} and {b represented by the following equation (1) The correlation value C (k) of [j]} indicates the minimum value. The integration on the right side of the equation (1) is performed for the number of signals of the pair of focus detection signal sequences {a [i]} and {b [j]}.
C (k) = Σ | a [i] -b [j] | (1)

ステップS201において、制御装置3は、図4のステップS103で取得された一対の焦点検出信号列{a[i]}および{b[j]}の位相を相対的に所定シフト量ずつシフトさせながら相関量C(k)を順次演算することによって、相関量C(k)の最小値C(k)_minを特定する。制御装置3は、その最小値を与える一対の焦点検出信号列{a[i]}および{b[j]}の特定のシフト量X0を取得し、その特定のシフト量X0に基づいて焦点検出量パラメータとしてのデフォーカス量D0を演算する。 In step S201, the control device 3 shifts the phases of the pair of focus detection signal sequences {a [i]} and {b [j]} acquired in step S103 of FIG. 4 by a predetermined shift amount. The minimum value C (k) _min of the correlation amount C (k) is specified by sequentially calculating the correlation amount C (k). The control device 3 acquires a specific shift amount X0 of the pair of focus detection signal sequences {a [i]} and {b [j]} that give the minimum value, and focuses detection based on the specific shift amount X0. The defocus amount D0 as a quantity parameter is calculated.

ステップS202において、制御装置3は、ステップS201で特定された相関量C(k)の最小値C(k)_minが、所定閾値C(k)_thよりも小さいか否かを判定する。肯定判定の場合、制御装置3は、本処理をステップS208へ進める。図5に示すように、焦点検出エリア200の中に遠くの被写体像と近くの被写体像とが含まれているような場合は、相関量C(k)の最小値C(k)_minを与える特定のシフト量分(X0)だけ一対の焦点検出信号列{a[i]}および{b[j]}の相対的な位相をシフトさせても、一対の焦点検出信号列{a[i]}および{b[j]}が焦点検出エリア内全体にわたって一致することとはならず、部分的に一致しない区間が生じる(図8を用いて後述する)。したがって、相関量C(k)の最小値C(k)_minは0から離れる。逆に、焦点検出エリア200の中に遠くの被写体像と近くの被写体像との混在が生じていない場合や、遠くの被写体像と近くの被写体像との距離差が僅かである場合は、相関量C(k)の最小値C(k)_minは0に近づく。このような場合には本発明を適用する必要が無いため、ステップS202で否定判定がなされた場合、制御装置3は、本処理をステップS203へ進める。 In step S202, the control device 3 determines whether or not the minimum value C (k) _min of the correlation amount C (k) specified in step S201 is smaller than the predetermined threshold value C (k) _th. In the case of an affirmative determination, the control device 3 advances this process to step S208. As shown in FIG. 5, when a distant subject image and a near subject image are included in the focus detection area 200, the minimum value C (k) _min of the correlation amount C (k) is given. Even if the relative phases of the pair of focus detection signal sequences {a [i]} and {b [j]} are shifted by a specific shift amount (X0), the pair of focus detection signal sequences {a [i] } And {b [j]} do not match over the entire focus detection area, resulting in a partially non-matching interval (described later with reference to FIG. 8). Therefore, the minimum value C (k) _min of the correlation amount C (k) is separated from 0. On the contrary, when there is no mixture of a distant subject image and a near subject image in the focus detection area 200, or when the distance difference between the distant subject image and the near subject image is small, there is a correlation. The minimum value C (k) _min of the quantity C (k) approaches 0. In such a case, it is not necessary to apply the present invention. Therefore, if a negative determination is made in step S202, the control device 3 advances the present process to step S203.

ステップS203において、制御装置3は、樹木を含む背景の被写体像210および人物の被写体像220を含む被写体像の明るさが、図4のステップS101で指定された焦点検出エリア200内で、所定の明るさよりも暗いか否かを判定する。肯定判定の場合、すなわち被写体像の明るさが所定の明るさよりも暗い場合、図4のステップS102で大きな増幅度で増幅制御が行われている可能性がある。大きな増幅度で増幅制御が行われると、焦点検出信号に重畳されるノイズも増幅されてしまう。このような場合には、ステップS204の説明で後述する焦点検出信号どうしの差の算出に誤差が生じやすくなるため、本発明の適用を行わないこととするため、制御装置3は、本処理をステップS208へ進める。ステップS203で否定判定がなされる場合、制御装置3は、本処理をステップS204へ進める。 In step S203, the control device 3 determines the brightness of the subject image 210 including the background subject image 210 including trees and the subject image 220 including the subject image 220 of a person within the focus detection area 200 designated in step S101 of FIG. Determine if it is darker than the brightness. In the case of affirmative determination, that is, when the brightness of the subject image is darker than the predetermined brightness, there is a possibility that the amplification control is performed with a large amplification degree in step S102 of FIG. If amplification control is performed with a large amplification degree, the noise superimposed on the focus detection signal will also be amplified. In such a case, since an error is likely to occur in the calculation of the difference between the focus detection signals described later in the description of step S204, the present invention is not applied. Therefore, the control device 3 performs this process. Proceed to step S208. If a negative determination is made in step S203, the control device 3 advances this process to step S204.

図6のステップS203における明るさの判定指標としては、例えば図4のステップS102で行われる増幅制御の増幅度の大きさを用いる。その増幅度が所定値未満のとき、制御装置3は、被写体像全体の明るさが所定の明るさよりも暗くないと判定し、すなわちステップS203で否定判定がなされる。 As the brightness determination index in step S203 of FIG. 6, for example, the magnitude of the amplification degree of the amplification control performed in step S102 of FIG. 4 is used. When the amplification degree is less than a predetermined value, the control device 3 determines that the brightness of the entire subject image is not darker than the predetermined brightness, that is, a negative determination is made in step S203.

ステップS204において、制御装置3は、ステップS201で取得された特定のシフト量X0だけ相対的にシフトさせた一対の焦点検出信号列{a[i]}および{b[j]}、すなわち相関が最も高い状態にシフトされた一対の焦点検出信号列{a[i]}および{b[j]}における対応する焦点検出信号どうしの差の絶対値|a[i]−b[j]|を順次算出することによって、複数の差を得る。 In step S204, the control device 3 has a pair of focus detection signal sequences {a [i]} and {b [j]}, that is, correlations, which are relatively shifted by the specific shift amount X0 acquired in step S201. The absolute value of the difference between the corresponding focus detection signals in the pair of focus detection signal sequences {a [i]} and {b [j]} shifted to the highest state | a [i] -b [j] | Multiple differences are obtained by sequential calculation.

ステップS205において、制御装置3は、ステップS201で取得された特定のシフト量X0だけ相対的にシフトさせた一対の焦点検出信号列{a[i]}および{b[j]}を、遠くの被写体像(樹木を含む背景の被写体像210)に対応する一対の部分信号列および近くの被写体像(人物の被写体像220)に対応する一対の部分信号列という二対の部分信号列に分割する。例えば、制御装置3は、ステップS204で差の絶対値|a[i]−b[j]|が順次算出されることによって得られた複数の差の各々が、それら複数の差の平均値以上か否かに基づいて、ステップS205における分割処理を行う。詳細については、図9を用いて後述する。 In step S205, the control device 3 distantly shifts the pair of focus detection signal sequences {a [i]} and {b [j]} acquired in step S201 by the specific shift amount X0. Divide into two pairs of partial signal sequences, one is a pair of partial signal sequences corresponding to the subject image (the subject image 210 in the background including trees) and the other is a pair of partial signal sequences corresponding to the nearby subject image (the subject image 220 of a person). .. For example, in the control device 3, each of the plurality of differences obtained by sequentially calculating the absolute value | a [i] −b [j] | of the difference in step S204 is equal to or greater than the average value of the plurality of differences. Based on whether or not, the division process in step S205 is performed. Details will be described later with reference to FIG.

ステップS206において、制御装置3は、ステップS205で得られた二対の部分信号列の各対の部分信号列間の位相差量を算出する。こうして算出される二対の部分信号列のそれぞれに対応する2つの位相差量X1およびX2は、焦点検出用パラメータの一種である。したがって、これら2つの位相差量X1およびX2に基づいてステップS207以降の処理を行うことも可能だが、ここではさらに、制御装置3は、それら2つの位相差量X1およびX2に基づいて2つのデフォーカス量D1およびD2を演算する。二対の部分信号列のそれぞれに対応する2つのデフォーカス量D1およびD2もまた、焦点検出用パラメータの一種である。 In step S206, the control device 3 calculates the amount of phase difference between each pair of partial signal trains of the two pairs of partial signal trains obtained in step S205. The two phase difference quantities X1 and X2 corresponding to each of the two pairs of partial signal sequences calculated in this way are a kind of focus detection parameters. Therefore, it is possible to perform the processing after step S207 based on these two phase difference amounts X1 and X2, but further, here, the control device 3 further determines two devices based on the two phase difference amounts X1 and X2. The focus amounts D1 and D2 are calculated. The two defocus quantities D1 and D2 corresponding to each of the two pairs of subsignal sequences are also a type of focus detection parameter.

ステップS207において、制御装置3は、ステップS206において演算された2つのデフォーカス量D1およびD2のうち、至近側のデフォーカス量を、焦点調節用デフォーカス量として決定する。撮像装置100から最も至近の被写体に対する撮影光学系4の合焦位置は、撮影光学系4から最も離れた位置に位置するという点に基づき、至近側のデフォーカス量は特定される。ステップS206において演算された2つのデフォーカス量D1およびD2のうち、近くの被写体像(人物の被写体像220)に対応するデフォーカス量が至近側のデフォーカス量である。ステップS207の処理が完了すると本処理は終了し、制御装置3は、図4の焦点検出処理をS105へ進める。 In step S207, the control device 3 determines the closest defocus amount of the two defocus amounts D1 and D2 calculated in step S206 as the focus adjustment defocus amount. The defocus amount on the closest side is specified based on the fact that the focusing position of the photographing optical system 4 with respect to the subject closest to the image pickup apparatus 100 is located at the position farthest from the photographing optical system 4. Of the two defocus amounts D1 and D2 calculated in step S206, the defocus amount corresponding to the nearby subject image (human subject image 220) is the nearest defocus amount. When the process of step S207 is completed, this process ends, and the control device 3 advances the focus detection process of FIG. 4 to S105.

ステップS202またはS203で肯定判定がなされた場合に行われるステップS208において、制御装置3は、ステップS201で取得された一対の焦点検出信号列{a[i]}および{b[j]}の特定のシフト量X0に基づいて演算されたデフォーカス量D0を焦点調節用デフォーカス量として決定する。ステップS208の処理が完了すると本処理は終了し、制御装置3は、図4の焦点検出処理をS105へ進める。 In step S208, which is performed when an affirmative determination is made in step S202 or S203, the control device 3 identifies the pair of focus detection signal sequences {a [i]} and {b [j]} acquired in step S201. The defocus amount D0 calculated based on the shift amount X0 of is determined as the defocus amount for focus adjustment. When the process of step S208 is completed, this process ends, and the control device 3 advances the focus detection process of FIG. 4 to S105.

図7は、図5に示す撮影画面250の例に対応し、水平方向に50画素程度の長さを有する焦点検出エリア200内での焦点検出画素位置に対する一対の焦点検出信号列{a[i]}および{b[j]}の焦点検出信号値の変化を表す図である。図7に示す一対の焦点検出信号列{a[i]}および{b[j]}である一対の焦点検出信号列655aおよび655bは、図4のステップS103で取得された一対の焦点検出信号列に対応する。図7において、焦点検出エリア200内での水平方向の焦点検出画素位置1〜13の区間310は、図5に示す撮像装置100から近い位置の人物の被写体像220に対応し、この区間では、一対の焦点検出信号列655aおよび655bのうちの一方の焦点検出信号列655aの位相が、他方の焦点検出信号列655bの位相よりも進んでいる。図7において、焦点検出エリア200内での水平方向の焦点検出画素位置14〜46の区間320は、図5に示す撮像装置100から遠い位置の樹木を含む背景の被写体像210に対応し、この区間では、一対の焦点検出信号列655aおよび655bのうちの一方の焦点検出信号列655aの位相が、他方の焦点検出信号列655bの位相よりも遅れている。一対の焦点検出信号列655aおよび655bに対して、図6のステップS201において行われる特定のシフト量分(X0)の位相の相対的なシフトによって相関量C(k)が最小値C(k)_minを示したときの一対の焦点検出信号列{a[i]}および{b[j]}である一対の焦点検出信号列660aおよび660bは、図8に例示される。 FIG. 7 corresponds to the example of the photographing screen 250 shown in FIG. 5, and shows a pair of focus detection signal sequences {a [i] with respect to the focus detection pixel positions in the focus detection area 200 having a length of about 50 pixels in the horizontal direction. ]} And {b [j]} are diagrams showing changes in the focus detection signal values. The pair of focus detection signal sequences {a [i]} and {b [j]} shown in FIG. 7 are the pair of focus detection signal sequences 655a and 655b, which are the pair of focus detection signals acquired in step S103 of FIG. Corresponds to the column. In FIG. 7, the sections 310 of the focus detection pixel positions 1 to 13 in the horizontal direction in the focus detection area 200 correspond to the subject image 220 of a person at a position close to the image pickup apparatus 100 shown in FIG. The phase of one of the pair of focus detection signal sequences 655a and 655b of the focus detection signal sequence 655a is ahead of the phase of the other focus detection signal sequence 655b. In FIG. 7, the section 320 of the horizontal focus detection pixel positions 14 to 46 in the focus detection area 200 corresponds to the subject image 210 in the background including the tree at a position far from the image pickup apparatus 100 shown in FIG. In the interval, the phase of one of the focus detection signal trains 655a and 655b of the pair of focus detection signal trains 655a is behind the phase of the other focus detection signal train 655b. The correlation amount C (k) is the minimum value C (k) due to the relative shift of the phase of the specific shift amount (X0) performed in step S201 of FIG. 6 with respect to the pair of focus detection signal sequences 655a and 655b. The pair of focus detection signal sequences {a [i]} and {b [j]} when _min is indicated are exemplified in FIG. 8 as a pair of focus detection signal sequences 660a and 660b.

図8は、一対の焦点検出信号列{a[i]}および{b[j]}の相関量C(k)の最小値C(k)_minを与える特定のシフト量X0だけ相対的に図7の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせた状態を表す図である。図7に示す人物の被写体像220に対応する区間310よりも樹木を含む背景の被写体像210に対応する区間320において、コントラストが、より高いために、一対の焦点検出信号列655aおよび655bの相関が、より高いとする。その場合、図6のステップS201において取得される特定のシフト量X0は、樹木を含む背景の被写体像210の影響を大きく受ける場合があるため、特定のシフト量X0だけ相対的に図7の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせると、図8に示すように、樹木を含む背景の被写体像210に対応する焦点検出エリア200内での水平方向の焦点検出画素位置14〜46の区間320では、一対の焦点検出信号列660aおよび660bは一致した状態に近くなる場合がある。図8に示すように、人物の被写体像220に対応する焦点検出エリア200内での水平方向の焦点検出画素位置1〜13の区間310では、一対の焦点検出信号列660aおよび660bの間には位相差が生じている。焦点検出エリア200の水平方向での全体の区間300を、焦点検出画素位置13と14との間において、上述した人物の被写体像220に対応する区間310と、樹木を含む背景の被写体像210に対応する区間320とに分断する境界350の特定方法を、図9を用いて説明する。 FIG. 8 shows relative to a specific shift amount X0 that gives the minimum value C (k) _min of the correlation amount C (k) of the pair of focus detection signal sequences {a [i]} and {b [j]}. It is a figure which shows the state which shifted the pair of focus detection signal sequences {a [i]} and {b [j]} of 7. Correlation of the pair of focus detection signal sequences 655a and 655b in the section 320 corresponding to the background subject image 210 including trees than in the section 310 corresponding to the subject image 220 of the person shown in FIG. 7 because the contrast is higher. But suppose it is higher. In that case, the specific shift amount X0 acquired in step S201 of FIG. 6 may be greatly affected by the subject image 210 in the background including trees. Therefore, only the specific shift amount X0 is relative to the pair in FIG. 7. When the focus detection signal sequences {a [i]} and {b [j]} of the above are shifted, as shown in FIG. 8, the horizontal direction in the focus detection area 200 corresponding to the subject image 210 of the background including trees. In the section 320 of the focus detection pixel positions 14 to 46, the pair of focus detection signal sequences 660a and 660b may be close to the coincident state. As shown in FIG. 8, in the section 310 of the horizontal focus detection pixel positions 1 to 13 in the focus detection area 200 corresponding to the subject image 220 of a person, between the pair of focus detection signal sequences 660a and 660b. There is a phase difference. The entire horizontal section 300 of the focus detection area 200 is divided into the section 310 corresponding to the subject image 220 of the person described above and the subject image 210 of the background including trees between the focus detection pixel positions 13 and 14. A method of specifying the boundary 350 that is divided into the corresponding section 320 will be described with reference to FIG.

図9は、図7に示す一対の焦点検出信号列{a[i]}および{b[j]}の分割処理を説明するための図であって、図6のステップS204の処理に対応する。図9は、特定のシフト量X0だけ相対的に図7の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせた図8の状態において、一対の焦点検出信号列660aおよび660bにおける対応する焦点検出信号どうしの差の絶対値|a[i]−b[j]|を順次算出することによって、焦点検出エリア200内での水平方向の焦点検出画素位置毎に得られた複数の差671の変動を表している。 FIG. 9 is a diagram for explaining the division processing of the pair of focus detection signal sequences {a [i]} and {b [j]} shown in FIG. 7, and corresponds to the processing in step S204 of FIG. .. FIG. 9 shows a pair of focus detection signals in the state of FIG. 8 in which the pair of focus detection signal sequences {a [i]} and {b [j]} of FIG. 7 are relatively shifted by a specific shift amount X0. By sequentially calculating the absolute value | a [i] -b [j] | of the difference between the corresponding focus detection signals in the columns 660a and 660b, for each horizontal focus detection pixel position in the focus detection area 200. It represents the variation of the plurality of differences 671 obtained.

焦点検出エリア200の水平方向での全体の区間300の中で、上述した樹木を含む背景の被写体像210に対応する区間320では、焦点検出エリア200内での水平方向の焦点検出画素位置の変化に対する差の絶対値|a[i]−b[j]|の変動は概ね小さい。上述した人物の被写体像220に対応する区間310では、焦点検出エリア200内での水平方向の焦点検出画素位置が1画素ずつ増加するたびに差の絶対値|a[i]−b[j]|が激しく増減している。焦点検出エリア200の水平方向での全体の区間300にわたる複数の差671の平均値を求めると、樹木を含む背景の被写体像210に対応する区間320では、平均値以上の値を示す差の絶対値|a[i]−b[j]|は存在しないが、人物の被写体像220に対応する区間310では、平均値以上の値を示す差の絶対値|a[i]−b[j]|が多い。したがって、図9において、焦点検出エリア200内での水平方向の焦点検出画素位置の変化に対して、複数の差671の各々が、それら複数の差671の平均値未満で推移する区間、すなわち焦点検出画素位置14〜46の区間を区間320として特定することができるとともに、焦点検出画素位置13および14の間に境界350が位置するというように境界350を特定することができる。全体の区間300のうち、境界350を挟んで区間320とは反対側の区間である焦点検出画素位置1〜13の区間を区間310として特定することができる。この結果に基づき、図6のステップS205において、現在の焦点状態を表す図7に示す一対の焦点検出信号列655aおよび655bを、人物の被写体像220に対応する焦点検出画素位置1〜13の区間310の一対の部分信号列と、樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間320の一対の部分信号列とに分割することができる。 In the entire section 300 in the horizontal direction of the focus detection area 200, in the section 320 corresponding to the subject image 210 of the background including the above-mentioned tree, the change in the position of the focus detection pixel in the horizontal direction in the focus detection area 200 The variation of the absolute value | a [i] -b [j] | of the difference with respect to is generally small. In the section 310 corresponding to the subject image 220 of the person described above, the absolute value of the difference | a [i] -b [j] each time the horizontal focus detection pixel position in the focus detection area 200 increases by one pixel. | Is increasing or decreasing sharply. When the average value of a plurality of differences 671 over the entire section 300 in the horizontal direction of the focus detection area 200 is obtained, the absolute value of the difference indicating a value equal to or higher than the average value is obtained in the section 320 corresponding to the subject image 210 in the background including trees. The value | a [i] -b [j] | does not exist, but in the section 310 corresponding to the subject image 220 of the person, the absolute value of the difference indicating a value equal to or more than the average value | a [i] -b [j] There are many |. Therefore, in FIG. 9, with respect to the change in the focus detection pixel position in the horizontal direction in the focus detection area 200, each of the plurality of differences 671 changes below the average value of the plurality of differences 671, that is, the focal point. The section between the detection pixel positions 14 to 46 can be specified as the section 320, and the boundary 350 can be specified such that the boundary 350 is located between the focus detection pixel positions 13 and 14. Of the entire section 300, the sections of the focus detection pixel positions 1 to 13, which are sections on the opposite side of the boundary 350 with the boundary 350 in between, can be specified as the section 310. Based on this result, in step S205 of FIG. 6, the pair of focus detection signal sequences 655a and 655b shown in FIG. 7 showing the current focus state are the sections of the focus detection pixel positions 1 to 13 corresponding to the subject image 220 of the person. It can be divided into a pair of partial signal sequences of 310 and a pair of partial signal sequences of sections 320 of the focus detection pixel positions 14 to 46 corresponding to the subject image 210 of the background including trees.

図10は、人物の被写体像220に対応する焦点検出画素位置1〜13の区間の一対の部分信号列における相関量が最小値をとる際の、一対の部分信号列661aおよび661bの焦点検出信号値の変化を表す図である。上述したように、図6のステップS205において、図7に示す一対の焦点検出信号列655aおよび655bを分割することによって、人物の被写体像220に対応する焦点検出画素位置1〜13の区間の一対の部分信号列が得られる。人物の被写体像220に対応する焦点検出画素位置1〜13の区間の一対の部分信号列の位相をシフトしながら相関演算を行うことによって、一対の部分信号列の位相差量X1が得られる。人物の被写体像220に対応する焦点検出画素位置1〜13の区間の一対の部分信号列を位相差量X1だけ相対的にシフトさせた様子を示したのが図10である。図6のステップS206では、その位相差量X1に基づいてデフォーカス量D1が演算される。 FIG. 10 shows the focus detection signals of the pair of partial signal sequences 661a and 661b when the amount of correlation in the pair of partial signal sequences in the section of the focus detection pixel positions 1 to 13 corresponding to the subject image 220 of the person is the minimum value. It is a figure which shows the change of a value. As described above, in step S205 of FIG. 6, by dividing the pair of focus detection signal sequences 655a and 655b shown in FIG. 7, a pair of sections of focus detection pixel positions 1 to 13 corresponding to the subject image 220 of a person. A subsignal sequence of is obtained. The phase difference amount X1 of the pair of partial signal trains can be obtained by performing the correlation calculation while shifting the phase of the pair of partial signal trains in the section of the focus detection pixel positions 1 to 13 corresponding to the subject image 220 of the person. FIG. 10 shows a state in which a pair of partial signal sequences in the sections of the focus detection pixel positions 1 to 13 corresponding to the subject image 220 of a person are relatively shifted by the phase difference amount X1. In step S206 of FIG. 6, the defocus amount D1 is calculated based on the phase difference amount X1.

図11は、樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間の一対の部分信号列における相関量が最小値をとる際の、一対の部分信号列662aおよび662bの焦点検出信号値の変化を表す図である。上述したように、図6のステップS205において、図7に示す一対の焦点検出信号列655aおよび655bを分割することによって、樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間の一対の部分信号列が得られる。樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間の一対の部分信号列の位相をシフトしながら相関演算を行うことによって、一対の部分信号列の位相差量X2が得られる。樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間の一対の部分信号列を位相差量X2だけ相対的にシフトさせた様子を示したのが図11である。図6のステップS206では、その位相差量X2に基づいてデフォーカス量D2が演算される。 FIG. 11 shows the pair of partial signal sequences 662a and 662b when the amount of correlation in the pair of partial signal sequences in the section of the focal detection pixel positions 14 to 46 corresponding to the background subject image 210 including trees has the minimum value. It is a figure which shows the change of the focus detection signal value. As described above, in step S205 of FIG. 6, by dividing the pair of focus detection signal sequences 655a and 655b shown in FIG. 7, the focus detection pixel positions 14 to 46 corresponding to the subject image 210 of the background including trees A pair of sub-signal sequences of intervals is obtained. By performing the correlation calculation while shifting the phase of the pair of partial signal trains in the section of the focus detection pixel positions 14 to 46 corresponding to the subject image 210 of the background including trees, the phase difference amount X2 of the pair of partial signal trains can be obtained. can get. FIG. 11 shows a state in which a pair of partial signal sequences in the section of the focus detection pixel positions 14 to 46 corresponding to the subject image 210 in the background including trees are relatively shifted by the phase difference amount X2. In step S206 of FIG. 6, the defocus amount D2 is calculated based on the phase difference amount X2.

図12は、制御装置3によって行われる撮像処理のフローチャートである。上述したように、制御装置3は、例えばCPUおよびメモリによって構成されるコンピュータである。そのCPUがメモリに格納されたコンピュータプログラムを実行することによって、図12に示す撮像処理を構成する各ステップの処理が行われる。 FIG. 12 is a flowchart of an imaging process performed by the control device 3. As described above, the control device 3 is, for example, a computer composed of a CPU and a memory. When the CPU executes a computer program stored in the memory, the processing of each step constituting the imaging process shown in FIG. 12 is performed.

ステップS501において、制御装置3は、使用者によって操作部材を介して撮像指示があったか否かを判定する。否定判定の場合は、肯定判定がなされるまでステップS501の処理が繰り返される。肯定判定の場合、制御装置3は、本処理をステップS502へ進める。操作部材は、例えばシャッターレリーズボタンであって、そのシャッターレリーズボタンが全押し状態に設定されると、ステップS501で肯定判定がなされる。 In step S501, the control device 3 determines whether or not an imaging instruction has been given by the user via the operating member. In the case of a negative determination, the process of step S501 is repeated until an affirmative determination is made. In the case of an affirmative determination, the control device 3 advances this process to step S502. The operating member is, for example, a shutter release button, and when the shutter release button is set to the fully pressed state, an affirmative determination is made in step S501.

ステップS502において、制御装置3は、撮像素子2の光電変換制御を行う。撮像素子2の光電変換制御としては、例えば、撮像素子2に配置された複数の撮像画素の露光制御、複数の撮像信号の読み出し制御、および/または読み出した複数の撮像信号の増幅制御等が行われる。 In step S502, the control device 3 controls the photoelectric conversion of the image sensor 2. As the photoelectric conversion control of the image pickup device 2, for example, exposure control of a plurality of image pickup pixels arranged in the image pickup element 2, read control of a plurality of image pickup signals, and / or amplification control of a plurality of read image pickup signals are performed. It is said.

ステップS503において、制御装置3は、ステップS502で読み出され、かつ増幅制御が行われた複数の撮像信号を取得する。 In step S503, the control device 3 acquires a plurality of imaging signals read out in step S502 and whose amplification control has been performed.

ステップS504において、制御装置3は、ステップS503で取得された複数の撮像信号に基づいて画像を生成する。 In step S504, the control device 3 generates an image based on the plurality of imaging signals acquired in step S503.

ステップS505において、制御装置3は、ステップS504で生成された画像を記憶装置15に記録する。ステップS505の処理が完了すると、本処理は終了する。 In step S505, the control device 3 records the image generated in step S504 in the storage device 15. When the process of step S505 is completed, this process ends.

本実施の形態における焦点検出装置50は、上述したように焦点検出センサ6と、制御装置3とを含む。焦点検出センサ6は、撮影光学系4の一対の瞳領域を通過した一対の光束を受光し、それぞれ複数の焦点検出信号からなる一対の焦点検出信号列655aおよび655bを出力する。制御装置3は、一対の焦点検出信号列655aおよび655bにおいて対応する焦点検出信号どうしの差の絶対値|a[i]−b[j]|を順次算出することによって、複数の差671を得る。制御装置3は、得られた複数の差671に基づいて、一対の焦点検出信号列655aおよび655bを、撮像装置100から近くに位置する人物の被写体像220に対応する一対の部分信号列、および撮像装置100から遠くに位置する樹木を含む背景の被写体像210に対応する一対の部分信号列の、少なくとも2つの一対の部分信号列に分割する。制御装置3は、人物の被写体像220に対応する一対の部分信号列の位相差量X1に応じたデフォーカス量D1と、樹木を含む背景の被写体像210に対応する一対の部分信号列の位相差量X2に応じたデフォーカス量D2とを演算する。制御装置3は、デフォーカス量D1およびD2のうちのいずれか一つを、焦点調節に用いられる焦点調節用デフォーカス量として決定する。したがって、撮像装置100から遠くに位置する樹木を含む背景の被写体像210および撮像装置100から近くに位置する人物の被写体像220のいずれか一方にピントを合わせることができる。 The focus detection device 50 in the present embodiment includes the focus detection sensor 6 and the control device 3 as described above. The focus detection sensor 6 receives a pair of light fluxes that have passed through the pair of pupil regions of the photographing optical system 4, and outputs a pair of focus detection signal sequences 655a and 655b, respectively, which are composed of a plurality of focus detection signals. The control device 3 obtains a plurality of differences 671 by sequentially calculating the absolute value | a [i] −b [j] | of the difference between the corresponding focus detection signals in the pair of focus detection signal sequences 655a and 655b. .. Based on the obtained plurality of differences 671, the control device 3 performs a pair of focus detection signal sequences 655a and 655b, a pair of partial signal sequences corresponding to a subject image 220 of a person located close to the image pickup apparatus 100, and a pair of partial signal sequences. It is divided into at least two pairs of partial signal sequences of a pair of partial signal sequences corresponding to a subject image 210 in the background including a tree located far from the image pickup apparatus 100. The control device 3 has a defocus amount D1 corresponding to the phase difference amount X1 of the pair of partial signal trains corresponding to the subject image 220 of the person, and the position of the pair of partial signal trains corresponding to the subject image 210 of the background including trees. The defocus amount D2 corresponding to the phase difference amount X2 is calculated. The control device 3 determines any one of the defocus amounts D1 and D2 as the focus adjustment defocus amount used for the focus adjustment. Therefore, it is possible to focus on either the background subject image 210 including trees located far from the image pickup device 100 or the subject image 220 of a person located near from the image pickup device 100.

制御装置3は、デフォーカス量D1およびD2をそれぞれ演算し、デフォーカス量D1およびD2のうちの至近側のデフォーカス量を、焦点調節用デフォーカス量として決定する。したがって、撮像装置100から近くに位置する人物の被写体像220にピントを合わせることができる。 The control device 3 calculates the defocus amounts D1 and D2, respectively, and determines the defocus amount on the nearest side of the defocus amounts D1 and D2 as the focus adjustment defocus amount. Therefore, it is possible to focus on the subject image 220 of a person located close to the image pickup apparatus 100.

−−−変形例−−−
(1)上述した実施の形態においては、図5に示すように、焦点検出エリア200に2つの被写体像が含まれる例に本発明を適用したが、焦点検出エリア200に3つ以上の被写体像が含まれる場合であっても本発明を適用することができる。これについて、図13を用いて説明する。
--- Modification example ---
(1) In the above-described embodiment, as shown in FIG. 5, the present invention is applied to an example in which the focus detection area 200 includes two subject images, but three or more subject images are included in the focus detection area 200. The present invention can be applied even when the above is included. This will be described with reference to FIG.

図13は、撮影画面250内の焦点検出エリア200に3つの被写体像210、220および230が含まれる一例を示す図である。撮影画面250および焦点検出エリア200には、樹木を含む背景の被写体像210と、人物の被写体像220と、もう一人の人物の被写体像230とが含まれている。撮影画面250には、通常は複数の焦点検出エリア200が表示されるが、図13の撮影画面250においては、使用者によって指定された1個の焦点検出エリア200だけを例示している。図13に示す例をもとに、制御装置18による焦点検出処理を、図14〜図19を用いて説明する。 FIG. 13 is a diagram showing an example in which the focus detection area 200 in the photographing screen 250 includes three subject images 210, 220, and 230. The shooting screen 250 and the focus detection area 200 include a background subject image 210 including trees, a subject image 220 of a person, and a subject image 230 of another person. Normally, a plurality of focus detection areas 200 are displayed on the shooting screen 250, but in the shooting screen 250 of FIG. 13, only one focus detection area 200 designated by the user is illustrated. Based on the example shown in FIG. 13, the focus detection process by the control device 18 will be described with reference to FIGS. 14 to 19.

図14は、図13に示す撮影画面250の例に対応し、水平方向に50画素程度の長さを有する焦点検出エリア200内での焦点検出画素位置に対する一対の焦点検出信号列{a[i]}および{b[j]}の焦点検出信号値の変化を表す図である。図14に示す一対の焦点検出信号列{a[i]}および{b[j]}である一対の焦点検出信号列655aおよび655bは、図4のステップS103に準じる処理で取得される一対の焦点検出信号列に対応する。図14において、焦点検出エリア200内での水平方向の焦点検出画素位置1〜12の区間310は、図13に示す撮像装置100から近い位置の人物の被写体像220に対応し、この区間では、一対の焦点検出信号列655aおよび655bのうちの一方の焦点検出信号列655aの位相が、他方の焦点検出信号列655bの位相よりも遅れている。図14において、焦点検出エリア200内での水平方向の焦点検出画素位置13〜28の区間320は、図13に示す撮像装置100から遠い位置の樹木を含む背景の被写体像210に対応し、この区間では、一対の焦点検出信号列655aおよび655bのうちの一方の焦点検出信号列655aの位相が、他方の焦点検出信号列655bの位相よりも進んでいる。図14において、焦点検出エリア200内での水平方向の焦点検出画素位置29〜46の区間330は、図13に示す撮像装置100から最も近い位置のもう一人の人物の被写体像230に対応し、この区間では、一対の焦点検出信号列655aおよび655bのうちの一方の焦点検出信号列655aの位相が、他方の焦点検出信号列655bの位相よりも大きく遅れている。一対の焦点検出信号列655aおよび655bに対して、図6のステップS201に準じた処理において行われる特定のシフト量分(X0)の位相の相対的なシフトによって相関量C(k)が最小値C(k)_minを示したときの一対の焦点検出信号列{a[i]}および{b[j]}である一対の焦点検出信号列660aおよび660bは、図15に例示される。 FIG. 14 corresponds to the example of the photographing screen 250 shown in FIG. 13, and shows a pair of focus detection signal sequences {a [i] with respect to the focus detection pixel positions in the focus detection area 200 having a length of about 50 pixels in the horizontal direction. ]} And {b [j]} are diagrams showing changes in the focus detection signal values. The pair of focus detection signal sequences {a [i]} and {b [j]} shown in FIG. 14 is a pair of focus detection signal sequences 655a and 655b obtained by a process according to step S103 of FIG. Corresponds to the focus detection signal sequence. In FIG. 14, the section 310 of the focus detection pixel positions 1 to 12 in the horizontal direction in the focus detection area 200 corresponds to the subject image 220 of a person at a position close to the image pickup apparatus 100 shown in FIG. The phase of one of the pair of focus detection signal sequences 655a and 655b of the focus detection signal sequence 655a is behind the phase of the other focus detection signal sequence 655b. In FIG. 14, the section 320 of the horizontal focus detection pixel positions 13 to 28 in the focus detection area 200 corresponds to the subject image 210 in the background including the tree at a position far from the image pickup apparatus 100 shown in FIG. In the section, the phase of one of the pair of focus detection signal sequences 655a and 655b, the focus detection signal sequence 655a, is ahead of the phase of the other focus detection signal sequence 655b. In FIG. 14, the section 330 of the horizontal focus detection pixel positions 29 to 46 in the focus detection area 200 corresponds to the subject image 230 of another person at the position closest to the image pickup apparatus 100 shown in FIG. In this section, the phase of one of the pair of focus detection signal sequences 655a and 655b, the focus detection signal sequence 655a, lags significantly behind the phase of the other focus detection signal sequence 655b. The correlation amount C (k) is the minimum value due to the relative shift of the phase of a specific shift amount (X0) performed in the process according to step S201 of FIG. 6 with respect to the pair of focus detection signal sequences 655a and 655b. The pair of focus detection signal sequences {a [i]} and {b [j]} when C (k) _min is shown are exemplified in FIG. 15 of the pair of focus detection signal sequences 660a and 660b.

図15は、一対の焦点検出信号列{a[i]}および{b[j]}の相関量C(k)の最小値C(k)_minを与える特定のシフト量X0だけ相対的に図14の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせた状態を表す図である。図13において、焦点検出エリア200の水平方向において、紙面に向かって焦点検出エリア200の左側に人物の被写体像220が位置し、中央に樹木を含む背景の被写体像210が位置し、右側にもう一人の人物の被写体像230が位置する。図14に示す人物の被写体像220に対応する区間310およびもう一人の人物の被写体像230に対応する区間330よりも樹木を含む背景の被写体像210に対応する区間320において、コントラストが、より高いために、一対の焦点検出信号列655aおよび655bの相関が、より高いとする。その場合、図6のステップS201に準じた処理において取得される特定のシフト量X0は、樹木を含む背景の被写体像210の影響を大きく受ける場合がある。その場合、特定のシフト量X0だけ相対的に図14の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせると、図15に示すように、樹木を含む背景の被写体像210に対応する焦点検出エリア200内での水平方向の焦点検出画素位置13〜28の区間320において、一対の焦点検出信号列660aおよび660bが一致した状態に近くなる場合がある。 FIG. 15 shows relative to a specific shift amount X0 that gives the minimum value C (k) _min of the correlation amount C (k) of the pair of focus detection signal sequences {a [i]} and {b [j]}. It is a figure which shows the state which shifted the pair of focus detection signal sequences {a [i]} and {b [j]} of 14. In FIG. 13, in the horizontal direction of the focus detection area 200, the subject image 220 of a person is located on the left side of the focus detection area 200 toward the paper surface, the subject image 210 of the background including trees is located in the center, and the subject image 210 of the background including trees is located on the right side. The subject image 230 of one person is located. The contrast is higher in the section 310 corresponding to the subject image 220 of the person shown in FIG. 14 and the section 320 corresponding to the subject image 210 in the background including trees than in the section 330 corresponding to the subject image 230 of another person. Therefore, it is assumed that the correlation between the pair of focus detection signal sequences 655a and 655b is higher. In that case, the specific shift amount X0 acquired in the process according to step S201 of FIG. 6 may be greatly affected by the subject image 210 in the background including trees. In that case, when the pair of focus detection signal sequences {a [i]} and {b [j]} of FIG. 14 are relatively shifted by a specific shift amount X0, as shown in FIG. 15, the background including trees is included. In the section 320 of the horizontal focus detection pixel positions 13 to 28 in the focus detection area 200 corresponding to the subject image 210, the pair of focus detection signal sequences 660a and 660b may be close to the same state.

図15に示すように、人物の被写体像220に対応する焦点検出エリア200内での水平方向の焦点検出画素位置1〜12の区間310では、一対の焦点検出信号列660aおよび660bの間には位相差が生じている。図15に示すように、もう一人の人物の被写体像230に対応する焦点検出エリア200内での水平方向の焦点検出画素位置29〜46の区間330では、一対の焦点検出信号列660aおよび660bの間には位相差が生じている。焦点検出エリア200の水平方向での全体の区間300を、焦点検出画素位置12と13との間において、上述した人物の被写体像220に対応する区間310と、樹木を含む背景の被写体像210に対応する区間320とに分断する境界350と、樹木を含む背景の被写体像210に対応する区間320と、もう一人の人物の被写体像230に対応する区間330とに分断する境界360との特定方法を、図16を用いて説明する。 As shown in FIG. 15, in the section 310 of the horizontal focus detection pixel positions 1 to 12 in the focus detection area 200 corresponding to the subject image 220 of a person, between the pair of focus detection signal sequences 660a and 660b. There is a phase difference. As shown in FIG. 15, in the section 330 of the horizontal focus detection pixel positions 29 to 46 in the focus detection area 200 corresponding to the subject image 230 of another person, the pair of focus detection signal sequences 660a and 660b There is a phase difference between them. The entire horizontal section 300 of the focus detection area 200 is divided between the focus detection pixel positions 12 and 13 into a section 310 corresponding to the subject image 220 of the person described above and a background subject image 210 including trees. A method for specifying a boundary 350 that divides into a corresponding section 320, a section 320 that corresponds to a background subject image 210 including trees, and a boundary 360 that divides into a section 330 that corresponds to a subject image 230 of another person. Will be described with reference to FIG.

図16は、図14に示す一対の焦点検出信号列{a[i]}および{b[j]}の分割処理を説明するための図であって、図6のステップS204に準じた処理に対応する。図16は、特定のシフト量X0だけ相対的に図14の一対の焦点検出信号列{a[i]}および{b[j]}をシフトさせた図15の状態において、一対の焦点検出信号列660aおよび660bにおける対応する焦点検出信号どうしの差の絶対値|a[i]−b[j]|を順次算出することによって、焦点検出エリア200内での水平方向の焦点検出画素位置毎に得られた複数の差671の変動を表している。焦点検出エリア200の水平方向での全体の区間300の中で、上述した樹木を含む背景の被写体像210に対応する区間320では、焦点検出エリア200内での水平方向の焦点検出画素位置の変化に対する差の絶対値|a[i]−b[j]|の変動は概ね小さい。 FIG. 16 is a diagram for explaining a division process of the pair of focus detection signal sequences {a [i]} and {b [j]} shown in FIG. 14, and is a process according to step S204 of FIG. handle. FIG. 16 shows a pair of focus detection signals in the state of FIG. 15 in which the pair of focus detection signal sequences {a [i]} and {b [j]} of FIG. 14 are relatively shifted by a specific shift amount X0. By sequentially calculating the absolute value | a [i] -b [j] | of the difference between the corresponding focus detection signals in the columns 660a and 660b, for each horizontal focus detection pixel position in the focus detection area 200. It represents the variation of the plurality of differences 671 obtained. In the entire section 300 in the horizontal direction of the focus detection area 200, in the section 320 corresponding to the subject image 210 of the background including the above-mentioned tree, the change in the position of the focus detection pixel in the horizontal direction in the focus detection area 200 The variation of the absolute value | a [i] -b [j] | of the difference with respect to is generally small.

上述した人物の被写体像220に対応する区間310およびもう一人の人物の被写体像230に対応する区間330では、焦点検出エリア200内での水平方向の焦点検出画素位置が1画素ずつ増加するたびに差の絶対値|a[i]−b[j]|が激しく増減している。焦点検出エリア200の水平方向での全体の区間300にわたる複数の差671の平均値を求めると、樹木を含む背景の被写体像210に対応する区間320では、平均値以上の値を示す差の絶対値|a[i]−b[j]|は存在しないが、人物の被写体像220に対応する区間310およびもう一人の人物の被写体像230に対応する区間330では、平均値以上の値を示す差の絶対値|a[i]−b[j]|が多い。したがって、図16において、焦点検出エリア200内での水平方向の焦点検出画素位置の変化に対して、複数の差671の各々が、それら複数の差671の平均値未満で推移する区間、すなわち焦点検出画素位置13〜28の区間を区間320として特定することができるとともに、焦点検出画素位置12および13の間に境界350が位置し、かつ焦点検出画素位置28および29の間に境界360が位置するというように境界350および360を特定することができる。全体の区間300のうち、境界350を挟んで区間320とは反対側の区間である焦点検出画素位置1〜12の区間を区間310として特定し、境界360を挟んで区間320とは反対側の区間である焦点検出画素位置29〜46の区間を区間330として特定することができる。この結果に基づき、図6のステップS205に準じて行うことが可能な三分割の処理において、現在の焦点状態を表す図14に示す一対の焦点検出信号列655aおよび655bを、人物の被写体像220に対応する焦点検出画素位置1〜12の区間の一対の部分信号列と、樹木を含む背景の被写体像210に対応する焦点検出画素位置13〜28の区間の一対の部分信号列と、もう一人の人物の被写体像230に対応する焦点検出画素位置29〜46の区間の一対の部分信号列とに分割することができる。 In the section 310 corresponding to the subject image 220 of the person and the section 330 corresponding to the subject image 230 of another person described above, each time the horizontal focus detection pixel position in the focus detection area 200 increases by one pixel. The absolute value of the difference | a [i] -b [j] | is increasing or decreasing sharply. When the average value of a plurality of differences 671 over the entire section 300 in the horizontal direction of the focus detection area 200 is obtained, the absolute value of the difference indicating a value equal to or higher than the average value is obtained in the section 320 corresponding to the subject image 210 in the background including trees. The value | a [i] -b [j] | does not exist, but the section 310 corresponding to the subject image 220 of a person and the section 330 corresponding to the subject image 230 of another person show a value equal to or higher than the average value. The absolute value of the difference | a [i] -b [j] | is common. Therefore, in FIG. 16, with respect to the change in the focus detection pixel position in the horizontal direction within the focus detection area 200, each of the plurality of differences 671 changes below the average value of the plurality of differences 671, that is, the focal point. The section of the detection pixel positions 13 to 28 can be specified as the section 320, the boundary 350 is located between the focus detection pixel positions 12 and 13, and the boundary 360 is located between the focus detection pixel positions 28 and 29. Boundaries 350 and 360 can be identified as such. Of the entire section 300, the sections of the focus detection pixel positions 1 to 12, which are the sections on the opposite side of the section 320 with the boundary 350 in between, are specified as the sections 310, and the sections on the opposite side of the section 320 with the boundary 360 in between. The section of the focus detection pixel positions 29 to 46, which is a section, can be specified as the section 330. Based on this result, in the three-division process that can be performed according to step S205 of FIG. 6, the pair of focus detection signal sequences 655a and 655b shown in FIG. A pair of partial signal sequences in the section of the focus detection pixel positions 1 to 12 corresponding to, a pair of partial signal sequences in the section of the focus detection pixel positions 13 to 28 corresponding to the subject image 210 of the background including trees, and another. It can be divided into a pair of partial signal sequences in the section of the focus detection pixel positions 29 to 46 corresponding to the subject image 230 of the person.

図17は、人物の被写体像220に対応する焦点検出画素位置1〜12の区間の一対の部分信号列における相関量が最小値をとる際の、一対の部分信号列661aおよび661bの焦点検出信号値の変化を表す図である。上述したように、図6のステップS205に準じて行うことが可能な三分割の処理において、図14に示す一対の焦点検出信号列655aおよび655bを分割することによって、人物の被写体像220に対応する焦点検出画素位置1〜12の区間の一対の部分信号列が得られる。人物の被写体像220に対応する焦点検出画素位置1〜12の区間の一対の部分信号列の位相をシフトしながら相関演算を行うことによって、一対の部分信号列の位相差量X1が得られる。人物の被写体像220に対応する焦点検出画素位置1〜12の区間の一対の部分信号列を位相差量X1だけ相対的にシフトさせた様子を示したのが図17である。図6のステップS206に準じた処理において、その位相差量X1に基づいてデフォーカス量D1が演算される。 FIG. 17 shows the focus detection signals of the pair of partial signal sequences 661a and 661b when the amount of correlation in the pair of partial signal sequences in the section of the focus detection pixel positions 1 to 12 corresponding to the subject image 220 of the person is the minimum value. It is a figure which shows the change of a value. As described above, in the three-division process that can be performed according to step S205 of FIG. 6, the pair of focus detection signal sequences 655a and 655b shown in FIG. 14 are divided to correspond to the subject image 220 of a person. A pair of partial signal sequences in the section of the focus detection pixel positions 1 to 12 to be performed is obtained. The phase difference amount X1 of the pair of partial signal trains can be obtained by performing the correlation calculation while shifting the phase of the pair of partial signal trains in the section of the focus detection pixel positions 1 to 12 corresponding to the subject image 220 of the person. FIG. 17 shows a state in which a pair of partial signal sequences in the sections of the focus detection pixel positions 1 to 12 corresponding to the subject image 220 of a person are relatively shifted by the phase difference amount X1. In the process according to step S206 of FIG. 6, the defocus amount D1 is calculated based on the phase difference amount X1.

図18は、樹木を含む背景の被写体像210に対応する焦点検出画素位置13〜28の区間の一対の部分信号列における相関量が最小値をとる際の、一対の部分信号列662aおよび662bの焦点検出信号値の変化を表す図である。上述したように、図6のステップS205に準じて行うことが可能な三分割の処理において、図14に示す一対の焦点検出信号列655aおよび655bを分割することによって、樹木を含む背景の被写体像210に対応する焦点検出画素位置13〜28の区間の一対の部分信号列が得られる。樹木を含む背景の被写体像210に対応する焦点検出画素位置13〜28の区間の一対の部分信号列の位相をシフトしながら相関演算を行うことによって、一対の部分信号列の位相差量X2が得られる。樹木を含む背景の被写体像210に対応する焦点検出画素位置13〜28の区間の一対の部分信号列を位相差量X2だけ相対的にシフトさせた様子を示したのが図18である。図6のステップS206に準じた処理において、その位相差量X2に基づいてデフォーカス量D2が演算される。 FIG. 18 shows the pair of partial signal sequences 662a and 662b when the amount of correlation in the pair of partial signal sequences in the section of the focus detection pixel positions 13 to 28 corresponding to the background subject image 210 including trees has the minimum value. It is a figure which shows the change of the focus detection signal value. As described above, in the three-division process that can be performed according to step S205 of FIG. 6, by dividing the pair of focus detection signal sequences 655a and 655b shown in FIG. 14, the subject image of the background including trees A pair of partial signal sequences in the section of the focus detection pixel positions 13 to 28 corresponding to 210 is obtained. By performing the correlation calculation while shifting the phase of the pair of partial signal trains in the section of the focus detection pixel positions 13 to 28 corresponding to the subject image 210 of the background including trees, the phase difference amount X2 of the pair of partial signal trains can be obtained. can get. FIG. 18 shows a state in which a pair of partial signal sequences in the section of the focus detection pixel positions 13 to 28 corresponding to the subject image 210 in the background including trees are relatively shifted by the phase difference amount X2. In the process according to step S206 of FIG. 6, the defocus amount D2 is calculated based on the phase difference amount X2.

図19は、もう一人の人物の被写体像230に対応する焦点検出画素位置29〜46の区間の一対の部分信号列における相関量が最小値をとる際の、一対の部分信号列663aおよび663bの焦点検出信号値の変化を表す図である。上述したように、図6のステップS205に準じて行うことが可能な三分割の処理において、図14に示す一対の焦点検出信号列655aおよび655bを分割することによって、もう一人の人物の被写体像230に対応する焦点検出画素位置29〜46の区間の一対の部分信号列が得られる。そのもう一人の人物の被写体像230に対応する焦点検出画素位置29〜46の区間の一対の部分信号列の位相をシフトしながら相関演算を行うことによって、一対の部分信号列の位相差量X3が得られる。そのもう一人の人物の被写体像230に対応する焦点検出画素位置29〜46の区間の一対の部分信号列を位相差量X3だけ相対的にシフトさせた様子を示したのが図19である。図6のステップS206に準じた処理において、その位相差量X3に基づいてデフォーカス量D3が演算される。 FIG. 19 shows a pair of sub-signal sequences 663a and 663b when the amount of correlation in the pair of sub-signal sequences in the section of the focus detection pixel positions 29 to 46 corresponding to the subject image 230 of another person is the minimum value. It is a figure which shows the change of the focus detection signal value. As described above, in the three-division process that can be performed according to step S205 of FIG. 6, the subject image of another person is obtained by dividing the pair of focus detection signal sequences 655a and 655b shown in FIG. A pair of partial signal sequences in the interval of the focus detection pixel positions 29 to 46 corresponding to 230 is obtained. By performing the correlation calculation while shifting the phase of the pair of partial signal trains in the section of the focus detection pixel positions 29 to 46 corresponding to the subject image 230 of the other person, the phase difference amount X3 of the pair of partial signal trains Is obtained. FIG. 19 shows a state in which a pair of partial signal sequences in the section of the focus detection pixel positions 29 to 46 corresponding to the subject image 230 of the other person are relatively shifted by the phase difference amount X3. In the process according to step S206 of FIG. 6, the defocus amount D3 is calculated based on the phase difference amount X3.

(2)上述した一実施の形態の図6のステップS205において、制御装置3は、ステップS204で差の絶対値|a[i]−b[j]|が順次算出されることによって図9に示すように得られた複数の差671の各々が、それら複数の差671の平均値以上か否かに基づいて、ステップS205における分割処理を行う。しかし、他の方法を用いてもよい。例えば、制御装置3は、複数の差671の微分値を計算する。微分値は、焦点検出エリア200内での水平方向の焦点検出画素位置が互いに隣接する2つの差の絶対値|a[i]−b[j]|どうしの差をとる計算を、焦点検出画素位置1〜46の全範囲にわたって行うことによって得られる。 (2) In step S205 of FIG. 6 of the above-described embodiment, the control device 3 sequentially calculates the absolute value | a [i] −b [j] | of the difference in step S204, so that FIG. 9 shows. The division process in step S205 is performed based on whether or not each of the plurality of differences 671 obtained as shown is equal to or greater than the average value of the plurality of differences 671. However, other methods may be used. For example, the control device 3 calculates a derivative value of a plurality of differences 671. The differential value is the absolute value of the difference between two horizontal focus detection pixel positions within the focus detection area 200 that are adjacent to each other | a [i] -b [j] | It is obtained by performing over the entire range of positions 1-46.

上述したように、図9を参照すると、焦点検出エリア200の水平方向での全体の区間300の中で、上述した樹木を含む背景の被写体像210に対応する区間320では、焦点検出エリア200内での水平方向の焦点検出画素位置の変化に対する差の絶対値|a[i]−b[j]|の変動は概ね小さい。したがって、この区間320における微分値の大きさは0に近い所定値未満である。上述した人物の被写体像220に対応する区間310では、焦点検出エリア200内での水平方向の焦点検出画素位置が1画素ずつ増加するたびに差の絶対値|a[i]−b[j]|が激しく増減している。したがって、この区間310における微分値の大きさは上述した所定値以上である。すなわち、図6のステップS205において、制御装置3は、ステップS204で得られた複数の差671において互いに隣接する差の絶対値|a[i]−b[j]|どうしの差である微分値の大きさが所定値未満であるか否かに基づいて、一対の焦点検出信号列655aおよび655bを、撮像装置100から近くに位置する人物の被写体像220に対応する一対の部分信号列、および撮像装置100から遠くに位置する樹木を含む背景の被写体像210に対応する一対の部分信号列に分割することとしてもよい。 As described above, referring to FIG. 9, in the entire section 300 in the horizontal direction of the focus detection area 200, in the section 320 corresponding to the background subject image 210 including the trees described above, the focus detection area 200 is included. The variation of the absolute value | a [i] −b [j] | of the difference with respect to the change in the focus detection pixel position in the horizontal direction in is generally small. Therefore, the magnitude of the differential value in this interval 320 is less than a predetermined value close to 0. In the section 310 corresponding to the subject image 220 of the person described above, the absolute value of the difference | a [i] -b [j] each time the horizontal focus detection pixel position in the focus detection area 200 increases by one pixel. | Is increasing or decreasing sharply. Therefore, the magnitude of the differential value in this section 310 is equal to or larger than the above-mentioned predetermined value. That is, in step S205 of FIG. 6, the control device 3 has an absolute value | a [i] −b [j] | of the difference between the plurality of differences 671 obtained in step S204, which are adjacent to each other. A pair of focus detection signal sequences 655a and 655b, a pair of partial signal sequences corresponding to a subject image 220 of a person located close to the image pickup apparatus 100, and a pair of partial signal sequences based on whether or not the magnitude of is less than a predetermined value. It may be divided into a pair of partial signal sequences corresponding to the subject image 210 in the background including trees located far from the image pickup apparatus 100.

(3)上述した一実施の形態の図6のステップS203において、制御装置3は、樹木を含む背景の被写体像210および人物の被写体像220を含む被写体像全体の明るさが所定の明るさよりも暗いか否かを判定する。上述したように、被写体像全体の明るさが所定の明るさよりも暗い場合においては、焦点検出信号に重畳されるノイズも増幅されてしまうため、ステップS203の処理を行わずにステップS204において複数の差が得られると、図9における樹木を含む背景の被写体像210に対応する焦点検出画素位置14〜46の区間においても、平均値以上の値を示す差の絶対値|a[i]−b[j]|が含まれることとなる。したがって、制御装置3は、ステップS203の処理を行わずに、ステップS204において、焦点検出エリア200の水平方向での区間300全体にわたって平均値以上の値を示す差の絶対値|a[i]−b[j]|が存在すると判定した場合に、本処理をステップS208へ進めることとしてもよい。 (3) In step S203 of FIG. 6 of the above-described embodiment, in the control device 3, the brightness of the entire subject image including the background subject image 210 including the trees and the subject image 220 of the person is higher than the predetermined brightness. Determine if it is dark. As described above, when the brightness of the entire subject image is darker than the predetermined brightness, the noise superimposed on the focus detection signal is also amplified. Therefore, in step S204, a plurality of objects are used without performing the process of step S203. When the difference is obtained, the absolute value of the difference indicating a value equal to or higher than the average value | a [i] -b even in the section of the focus detection pixel positions 14 to 46 corresponding to the subject image 210 in the background including the trees in FIG. [J] | will be included. Therefore, the control device 3 does not perform the process of step S203, and in step S204, the absolute value of the difference indicating a value equal to or more than the average value over the entire horizontal section 300 of the focus detection area 200 | a [i]-. When it is determined that b [j] | exists, this process may proceed to step S208.

(4)上述した実施の形態においては、図6のステップS206およびS207において、制御装置3は、二対の部分信号列のそれぞれに対応する2つの位相差量X1およびX2に基づいて演算される2つのデフォーカス量D1およびD2のうち、至近側のデフォーカス量を、焦点調節用デフォーカス量として決定する。しかし、制御装置3は、二対の部分信号列のそれぞれに対応する2つの位相差量X1およびX2のうちの至近側の位相差量に基づいて演算される1つのデフォーカス量を、焦点調節用デフォーカス量として決定してもよい。 (4) In the above-described embodiment, in steps S206 and S207 of FIG. 6, the control device 3 is calculated based on the two phase difference amounts X1 and X2 corresponding to each of the two pairs of partial signal sequences. Of the two defocus amounts D1 and D2, the nearest defocus amount is determined as the focus adjustment defocus amount. However, the control device 3 focuses on one defocus amount calculated based on the nearest phase difference amount of the two phase difference amounts X1 and X2 corresponding to each of the two pairs of partial signal trains. It may be determined as the defocus amount for use.

(5)上述した実施の形態においては、図4のステップS105において、制御装置3は、ステップS104で決定された焦点調節用デフォーカス量がほぼ0であるか否かに基づいて、撮影光学系4が合焦位置にあるか否かを判定する。しかし、ステップS106を先に行って、ステップS106で演算された撮影光学系4のレンズ駆動量がほぼ0であるか否かに基づいて、撮影光学系4が合焦位置にあるか否かを判定することとしてもよい。 (5) In the above-described embodiment, in step S105 of FIG. 4, the control device 3 is a photographing optical system based on whether or not the defocus amount for focus adjustment determined in step S104 is substantially 0. It is determined whether or not 4 is in the in-focus position. However, step S106 is performed first, and whether or not the photographing optical system 4 is in the in-focus position is determined based on whether or not the lens drive amount of the photographing optical system 4 calculated in step S106 is substantially 0. It may be determined.

(6)上述した実施の形態においては、図4のステップS106およびS107において、制御装置3は、焦点調節用デフォーカス量に基づき、撮影光学系4のレンズ駆動による焦点調節制御を行っている。しかし、制御装置3は、焦点調節用デフォーカス量に基づき、撮像素子2を駆動することによって焦点調節制御を行ってもよい。 (6) In the above-described embodiment, in steps S106 and S107 of FIG. 4, the control device 3 performs focus adjustment control by driving the lens of the photographing optical system 4 based on the focus adjustment defocus amount. However, the control device 3 may perform focus adjustment control by driving the image sensor 2 based on the focus adjustment defocus amount.

(7)本発明は、図1に示したマイクロレンズアレイ9に覆われた焦点検出センサ6を有する焦点検出装置50だけでなく、ハーフミラー7を透過後にさらにサブミラー70に反射されて再結像光学系17を通過した光束を受光する焦点検出センサ16を有する焦点検出装置50や、マイクロレンズアレイ19に覆われた焦点検出センサを含む撮像素子2を有する焦点検出装置50に対しても適用することができる。図20は、ハーフミラー7を透過後にさらにサブミラー70に反射されて再結像光学系17を通過した光束を受光する複数の焦点検出画素が配列された焦点検出センサ16を有する焦点検出装置50を有する撮像装置100の構成を示す図である。図21は、マイクロレンズアレイ19に覆われた焦点検出センサを含む撮像素子2を有する焦点検出装置50を有する撮像装置100の構成を示す図である。すなわち、マイクロレンズアレイ19に覆われた撮像素子2には、複数の焦点検出信号を生成する複数の焦点検出画素と、複数の撮像信号を生成する複数の撮像画素とが、混在して配列されている。図20および図21において、図1と共通する符号が付された部分については、図1に示す撮像装置100と同様であるため、説明を省略する。 (7) In the present invention, not only the focus detection device 50 having the focus detection sensor 6 covered with the microlens array 9 shown in FIG. 1 but also the half mirror 7 is transmitted and then reflected by the sub mirror 70 for reimaging. It is also applied to the focus detection device 50 having the focus detection sensor 16 that receives the light beam passing through the optical system 17 and the focus detection device 50 having the image pickup element 2 including the focus detection sensor covered with the microlens array 19. be able to. FIG. 20 shows a focus detection device 50 having a focus detection sensor 16 in which a plurality of focus detection pixels that receive light rays that have passed through the half mirror 7 and then reflected by the sub mirror 70 and passed through the reimaging optical system 17 are arranged. It is a figure which shows the structure of the image pickup apparatus 100 which has. FIG. 21 is a diagram showing a configuration of an image pickup device 100 having a focus detection device 50 having an image pickup device 2 including a focus detection sensor covered with a microlens array 19. That is, in the image pickup device 2 covered with the microlens array 19, a plurality of focus detection pixels that generate a plurality of focus detection signals and a plurality of image pickup pixels that generate a plurality of image pickup signals are arranged in a mixed manner. ing. In FIGS. 20 and 21, the parts with the same reference numerals as those in FIG. 1 are the same as those of the image pickup apparatus 100 shown in FIG. 1, and thus the description thereof will be omitted.

図21に示す撮像装置100においては、図6のステップS203における明るさの判定指標として、撮像素子2による撮像処理の際のISO感度の大きさを用いることとしてもよい。そのISO感度が所定値未満のとき、制御装置3は、被写体像全体の明るさが所定の明るさよりも暗くないと判定し、すなわちステップS203で否定判定がなされる。 In the image pickup apparatus 100 shown in FIG. 21, the magnitude of the ISO sensitivity during the image pickup process by the image pickup device 2 may be used as a determination index of the brightness in step S203 of FIG. When the ISO sensitivity is less than a predetermined value, the control device 3 determines that the brightness of the entire subject image is not darker than the predetermined brightness, that is, a negative determination is made in step S203.

上述した実施の形態および変形例を組み合わせてもよい。本発明の特徴を損なわない限り、本発明は上記実施の形態および変形例に限定されるものではなく、本発明の技術的思想の範囲内で考えられるその他の形態も、本発明の範囲内に含まれる。 The above-described embodiments and modifications may be combined. The present invention is not limited to the above-described embodiments and modifications as long as the features of the present invention are not impaired, and other embodiments considered within the scope of the technical idea of the present invention are also within the scope of the present invention. included.

1 液晶表示素子、2 撮像素子、3 制御装置、4 撮影光学系、
5 レンズ駆動用モータ、6 焦点検出センサ、7 ハーフミラー、
8 焦点調節装置、9 マイクロレンズアレイ、10 光軸、
15 記憶装置、16 焦点検出センサ、17 再結像光学系、
19 マイクロレンズアレイ、50 焦点検出装置、70 サブミラー
1 Liquid crystal display element, 2 Image sensor, 3 Control device, 4 Imaging optical system,
5 Lens drive motor, 6 Focus detection sensor, 7 Half mirror,
8 focus adjuster, 9 microlens array, 10 optical axis,
15 storage device, 16 focus detection sensor, 17 re-imaging optical system,
19 microlens array, 50 focus detector, 70 submirror

Claims (7)

被写体の像を形成する光学系を通過した光が入射するレンズと、前記レンズを透過した光を受光し第1信号を出力する第1受光部と、前記レンズを透過した光を受光し第2信号を出力する第2受光部とを含むセンサを複数有する検出部と、
複数の前記第1信号からなる第1信号列と複数の前記第2信号からなる第2信号列との第1のずれ量を算出し、前記第1のずれ量分相対的にずらした前記第1信号と前記第2信号との差分値に基づいて、前記第1信号列と前記第2信号列との第2のずれ量を算出する算出部と、
前記算出部により算出された前記第2のずれ量に基づいて前記光学系を制御する制御部と、
を備える焦点調節装置。
A lens in which light that has passed through an optical system that forms an image of a subject is incident, a first light receiving unit that receives light transmitted through the lens and outputs a first signal, and a second light receiving unit that receives light transmitted through the lens and outputs a first signal. A detection unit having a plurality of sensors including a second light receiving unit that outputs a signal, and a detection unit.
The first signal sequence composed of the plurality of the first signals and the second signal sequence composed of the plurality of second signals are calculated, and the first deviation amount is relatively shifted by the first deviation amount. and based on the difference value of the first signal sequence and the second signal sequence, and a calculation unit for calculating a second deviation between said second signal sequence and the first signal sequence,
A control unit that controls the optical system based on the second deviation amount calculated by the calculation unit, and
A focus adjuster equipped with.
請求項1に記載の焦点調節装置において、In the focus adjusting device according to claim 1,
前記算出部は、前記第1のずれ量分相対的にずらした前記第1信号列と前記第2信号列との差分値に基づいて前記第1信号列及び前記第2信号列をそれぞれ複数の範囲に分割し、前記範囲ごとに前記第1信号列と前記第2信号列との前記第2のずれ量を算出する焦点調節装置。 The calculation unit sets a plurality of the first signal string and the second signal string based on the difference value between the first signal string and the second signal string that are relatively shifted by the first deviation amount. A focus adjusting device that divides into a range and calculates the second deviation amount between the first signal string and the second signal string for each range.
請求項1または2に記載の焦点調節装置において、
前記被写体の像を撮像する撮像素子をさらに有し、
前記第2のずれ量は、前記光学系が形成する前記被写体の像の位置と前記撮像素子との合焦状態に関する量である焦点調節装置。
In the focus adjusting device according to claim 1 or 2.
It further has an image pickup device that captures an image of the subject, and has an image pickup device.
The second deviation amount is a focus adjusting device which is an amount related to a position of an image of the subject formed by the optical system and a focused state of the image sensor.
請求項1から3までのいずれか一項に記載の焦点調節装置において、
前記算出部は、前記第1信号列と前記第2信号列とを相対的にずらしたときの前記第1信号列と前記第2信号列との一致の度合いを複数のずらし量に対して算出し、複数の前記ずらし量と、前記ずらし量に対応する前記一致の度合いとに基づいて前記第2のずれ量を算出する焦点調節装置。
The focus adjusting device according to any one of claims 1 to 3.
The calculation unit calculates the degree of coincidence between the first signal string and the second signal string when the first signal string and the second signal string are relatively shifted with respect to a plurality of shift amounts. A focus adjusting device that calculates the second shift amount based on the plurality of shift amounts and the degree of coincidence corresponding to the shift amount.
請求項1から請求項までのいずれか一項に記載の焦点調節装置において、
前記算出部は、前記第1信号列と前記第2信号列との前記第1のずれ量分、前記第1信号列と前記第2信号列とを相対的にずらしたときの前記第1信号列と前記第2信号列との一致の度合いが、所定の値より低いと前記第1信号列と前記第2信号列とをそれぞれ複数の範囲に分割する焦点調節装置。
The focus adjusting device according to any one of claims 1 to 4.
The calculation unit performs the first signal when the first signal string and the second signal string are relatively shifted by the first deviation amount between the first signal string and the second signal string. A focus adjusting device that divides the first signal train and the second signal train into a plurality of ranges when the degree of coincidence between the train and the second signal train is lower than a predetermined value.
請求項1から請求項までのいずれか一項に記載の焦点調節装置において、
前記算出部は、前記第1信号列と前記第2信号列とを前記第1のずれ量分相対的にずらして算出した複数の前記第1信号のそれぞれと複数の前記第2信号のそれぞれとの複数の前記差分値の平均値を算出し、前記差分値が前記平均値より大きい範囲と小さい範囲とに、前記第1信号列と前記第2信号列とを分割する焦点調節装置。
The focus adjusting device according to any one of claims 1 to 4.
The calculation unit includes each of the plurality of the first signals and each of the plurality of the second signals calculated by relatively shifting the first signal sequence and the second signal sequence by the amount of the first deviation. A focus adjusting device that calculates the average value of a plurality of the difference values, and divides the first signal sequence and the second signal sequence into a range in which the difference value is larger than the average value and a range in which the difference value is smaller than the average value.
被写体の像を形成する光学系の第1の領域を通過した光を受光して複数の第1信号をそれぞれ出力する複数の第1受光部と、前記光学系の第2の領域を通過した光を受光して複数の第2信号をそれぞれ出力する複数の第2受光部とを有する検出部と、
前記複数の第1信号と前記複数の第2信号との第1のずれ量を算出し、前記複数の第1信号と前記複数の第2信号とを前記第1のずれ量分相対的にずらして算出した前記複数の第1信号の各信号と前記複数の第2信号の各信号との差分値に基づき、前記複数の第1信号及び前記複数の第2信号をそれぞれ複数の範囲に分割し、前記範囲ごとに前記複数の第1信号と前記複数の第2信号との第2のずれ量を算出する算出部と、
前記算出部により算出された前記第2のずれ量に基づいて前記光学系を制御する制御部と、
を備える焦点調節装置。
A plurality of first light receiving units that receive light that has passed through a first region of an optical system that forms an image of a subject and output a plurality of first signals, and light that has passed through a second region of the optical system. A detection unit having a plurality of second light receiving units that receive light and output a plurality of second signals, respectively.
The first deviation amount between the plurality of first signals and the plurality of second signals is calculated, and the plurality of first signals and the plurality of second signals are relatively shifted by the first deviation amount. Based on the difference value between each signal of the plurality of first signals and each signal of the plurality of second signals calculated as described above, the plurality of first signals and the plurality of second signals are each divided into a plurality of ranges. , A calculation unit that calculates a second deviation amount between the plurality of first signals and the plurality of second signals for each range.
A control unit that controls the optical system based on the second deviation amount calculated by the calculation unit, and
A focus adjuster equipped with.
JP2019113772A 2013-11-26 2019-06-19 Focus adjuster Active JP6916419B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019113772A JP6916419B2 (en) 2013-11-26 2019-06-19 Focus adjuster

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013243944A JP2015102735A (en) 2013-11-26 2013-11-26 Focus detection apparatus and imaging apparatus
JP2019113772A JP6916419B2 (en) 2013-11-26 2019-06-19 Focus adjuster

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013243944A Division JP2015102735A (en) 2013-11-26 2013-11-26 Focus detection apparatus and imaging apparatus

Publications (2)

Publication Number Publication Date
JP2019164384A JP2019164384A (en) 2019-09-26
JP6916419B2 true JP6916419B2 (en) 2021-08-11

Family

ID=68066312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019113772A Active JP6916419B2 (en) 2013-11-26 2019-06-19 Focus adjuster

Country Status (1)

Country Link
JP (1) JP6916419B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6118912A (en) * 1984-07-06 1986-01-27 Canon Inc Focus detecting device
JP3248257B2 (en) * 1992-09-02 2002-01-21 株式会社ニコン Focus detection device
JP3491343B2 (en) * 1994-06-29 2004-01-26 株式会社ニコン Focus detection device and focus detection method
JP2001324305A (en) * 2000-05-17 2001-11-22 Minolta Co Ltd Image correspondent position detector and range finder equipped with the same
JP5531774B2 (en) * 2010-05-20 2014-06-25 リコーイメージング株式会社 Automatic focusing apparatus and camera equipped with the same
JP5845023B2 (en) * 2011-08-08 2016-01-20 キヤノン株式会社 FOCUS DETECTION DEVICE, LENS DEVICE HAVING THE SAME, AND IMAGING DEVICE

Also Published As

Publication number Publication date
JP2019164384A (en) 2019-09-26

Similar Documents

Publication Publication Date Title
US10291840B2 (en) Focus detection device and image-capturing apparatus
JP6593396B2 (en) Detection device and imaging device
JP5898501B2 (en) Image processing apparatus, imaging apparatus, control method, program, and recording medium
US9503633B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and storage medium
JP2013145314A5 (en)
JP6159097B2 (en) Image processing apparatus, imaging apparatus, control method, and program
JP2008152012A (en) Imaging device, focus detection device, and imaging device
JP2021184102A (en) Imaging apparatus
JP2010139563A (en) Focus detector, focusing device, and imaging apparatus
US10404904B2 (en) Focus detection device, focus adjustment device, and camera
JP6916419B2 (en) Focus adjuster
JP7292123B2 (en) IMAGING DEVICE AND CONTROL METHOD THEREOF, PROGRAM, STORAGE MEDIUM
JP2016224372A (en) FOCUS DETECTION DEVICE, IMAGING DEVICE, AND ELECTRONIC DEVICE
US20190320122A1 (en) Control apparatus, image capturing apparatus, control method, and non-transitory computer-readable storage medium
JP2009294301A (en) Light receiving device and focus detector
JP2009128438A (en) Camera focus detection device
JP5610005B2 (en) Imaging device
KR101839357B1 (en) Imaging apparatus and imaging method
JP6106026B2 (en) Image processing apparatus, imaging apparatus, playback apparatus, control method, and program
JP4576157B2 (en) Camera focus detection device
JP2016114721A (en) Imaging apparatus and method of controlling the same
JP2015106057A (en) Focus detection device and imaging device
JP2015022264A (en) FOCUS DETECTION DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND IMAGING DEVICE
JP2008256848A (en) Focus detection apparatus and imaging apparatus
JP2018180136A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201026

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

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20210423

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210419

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20210715

R150 Certificate of patent or registration of utility model

Ref document number: 6916419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20210817

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250