KR20100048641A - Method for adjusting auto focus and camera having a function of the same - Google Patents

Method for adjusting auto focus and camera having a function of the same Download PDF

Info

Publication number
KR20100048641A
KR20100048641A KR1020080107899A KR20080107899A KR20100048641A KR 20100048641 A KR20100048641 A KR 20100048641A KR 1020080107899 A KR1020080107899 A KR 1020080107899A KR 20080107899 A KR20080107899 A KR 20080107899A KR 20100048641 A KR20100048641 A KR 20100048641A
Authority
KR
South Korea
Prior art keywords
distance
focus lens
focus
subject
camera
Prior art date
Application number
KR1020080107899A
Other languages
Korean (ko)
Other versions
KR101511783B1 (en
Inventor
서자원
윤영권
이용구
임성준
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR20080107899A priority Critical patent/KR101511783B1/en
Publication of KR20100048641A publication Critical patent/KR20100048641A/en
Application granted granted Critical
Publication of KR101511783B1 publication Critical patent/KR101511783B1/en

Links

Images

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/18Focusing aids
    • G03B13/20Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

PURPOSE: A method for adjusting auto focus and camera having a function of the same are provided to reduce time which auto focusing adjustment is completed to accurately perform the adjustment of auto focusing. CONSTITUTION: An ISP(Image Signal Processor)(20) process a video signal which is inputted from an image sensor. A distance measurer(30) measures a distance with an object. A controller(40) adjusts location of focus lens corresponding to the distance measured from the distance measurer. The controller calculates a focus adjustment value about different locations. The controller readjusts a location of focus lens to a location which shows optimum focus adjustment value.

Description

자동초점조절 방법 및 자동초점조절 기능을 구비한 카메라{METHOD FOR ADJUSTING AUTO FOCUS AND CAMERA HAVING A FUNCTION OF THE SAME}METHOD FOR ADJUSTING AUTO FOCUS AND CAMERA HAVING A FUNCTION OF THE SAME}

본 발명은 카메라에 관한 것으로, 특히 카메라의 자동 초점 조절을 수행하는 방법 및 이를 위한 장치에 관한 것이다.The present invention relates to a camera, and more particularly, to a method for performing autofocus adjustment of a camera and an apparatus therefor.

통상의 카메라는 피사체의 이미지를 필름이나 이미지 센서면(image sensor)에 형성하기 위한 렌즈부(lens system)와 상기 렌즈부에 의해 형성된 이미지를 전기 신호로 검출하기 위한 이미지 센서(image sensor)를 포함한다. 상기 렌즈와 피사체간의 거리에 따라 렌즈부의 초점도 변화한다. 피사체의 위치에 따른 이미지면의 위치 변화량이 그 카메라의 초점 심도(depth of focus)범위 내에 있을 경우에 한하여 우수한 품질의 사진 촬상이 가능하다.Conventional cameras include a lens system for forming an image of a subject on a film or an image sensor, and an image sensor for detecting an image formed by the lens as an electrical signal. do. The focus of the lens unit also changes according to the distance between the lens and the subject. Only when the amount of change in the position of the image plane according to the position of the subject is within the depth of focus range of the camera, it is possible to capture a high quality photograph.

따라서 통상적인 카메라는 우수한 품질의 사진 촬상을 위하여, 피사체와의 거리 변화에 따라 초점을 자동으로 조절할 수 있는 기능, 즉 자동초점조절(Auto Focus: AF) 기능이 요구된다. Therefore, a conventional camera requires a function capable of automatically adjusting focus according to a change in distance from a subject, that is, an auto focus (AF) function, in order to capture a high quality photograph.

현재 사용되고 있는 대표적인 자동초점조절 알고리즘은 힐 클라이밍(hill climbing) 방식이다. 상기 힐 클라이밍(hill climbing) 방식의 자동초점 알고리즘 은, 현재 위치에서 초점 렌즈를 앞뒤로 움직여 본 후 포커스가 맞는 방향으로 초점 렌즈를 움직여 최적의 초점 위치를 찾는 방법이다. 구체적으로, 1차적으로 초점 렌즈의 위치가 이동할 수 있는 영역을 복수의 스텝으로 분할한 후, 상기 초점 렌즈의 각 스텝별 초점 조정값을 취득한다. 상기 취득한 초점 조정값 중에서 가장 큰 수치가 되는 지점을 1차 적정점(PF; Peak Focus)으로 설정한다. 그런 다음, 1차 적정점을 중심으로 한 주변의 미리 정해진 영역을 설정하고, 상기 미리 정해진 영역을 다시 복수의 스텝으로 분할한다. 그리고, 상기 초점 렌즈의 각 스텝별 초점 조정값을 취득하고, 초점 조정값 중에서 가장 큰 수치가 되는 지점을 최종 적정점으로 설정한다.A representative auto focusing algorithm currently in use is hill climbing. The hill climbing autofocus algorithm is a method of finding an optimal focus position by moving a focus lens back and forth at a current position and then moving the focus lens in a direction in which focus is achieved. Specifically, after dividing an area in which the position of the focus lens can move primarily into a plurality of steps, a focus adjustment value for each step of the focus lens is obtained. The point that becomes the largest value among the acquired focus adjustment values is set as the first proper point (PF). Then, a predetermined area around the center around the first proper point is set, and the predetermined area is further divided into a plurality of steps. Then, the focus adjustment value for each step of the focus lens is acquired, and the point which becomes the largest value among the focus adjustment values is set as the final proper point.

이러한 힐 클라이밍 방식은 피사체에 초점을 맞추기 위해 초점 렌즈를 스텝 별로 움직여 초점 조정값들을 검출하고, 초점 조정값이 최대가 되는 스텝에 초점 렌즈를 위치하게 함으로써 스텝의 숫자만큼 시간이 걸리게 되는 문제가 있다. 나아가, 이미지를 촬상하는데 있어서 자동초점조정을 수행하는 시간이 길어지게 되고, 동영상 촬영 시 연속적인 자동초점조절이 용이하지 않아 선명한 동영상을 촬영할 수 없게 되는 문제가 야기된다.The heel climbing method has a problem in that it takes time by the number of steps by moving the focus lens step by step to focus on the subject and detecting the focus adjustment values, and placing the focus lens in the step where the focus adjustment value is maximum. . In addition, the time for performing the auto focus adjustment in the imaging of the image is long, and the continuous auto focus adjustment is not easy when shooting a video, causing a problem that a clear video cannot be taken.

본 발명은 전술한 점을 고려하여 안출된 것으로서, 자동초점조절이 완료될 때까지의 시간을 줄이면서 동시에 정확하게 자동초점조절을 수행할 수 있는 방법 및 장치를 제공하는데 그 목적이 있다.The present invention has been made in view of the above-described point, and an object thereof is to provide a method and apparatus capable of accurately performing autofocus control while reducing the time until the autofocus control is completed.

또한, 자동 초정 조절에 사용될 거리를 측정할 때 발생하는 오차를 보상하여 다양한 환경에서도 정확게 거리를 측정할 수 있는 방법을 제공하는데 또 다른 목적이 있다.In addition, another object of the present invention is to provide a method for accurately measuring a distance in various environments by compensating for an error occurring when measuring a distance to be used for automatic priming.

상기한 목적을 달성하기 위하여 본 발명의 일 측면에 따른 자동초점조절 방법은 카메라의 자동 초점 조절 방법에 있어서, 초점 렌즈의 초기 위치를 확인하는 과정과, 피사체와의 거리를 측정하는 과정과, 측정된 거리에 기초하여, 초점 렌즈가 이동해야 할 변위를 결정하고 초점 렌즈를 이동시키는 과정과, 초점 조정 값을 측정하고, 초점 렌즈의 위치를 최적의 초점 조정 값을 나타내는 위치로 조정하는 과정을 포함한다.In order to achieve the above object, the automatic focusing method according to an aspect of the present invention is a method for automatically focusing a camera, the process of checking an initial position of a focus lens, a process of measuring a distance from a subject, and a measurement Determining the displacement to which the focus lens should move, moving the focus lens, measuring the focus adjustment value, and adjusting the position of the focus lens to the position representing the optimal focus adjustment value based on the determined distance. do.

미리 정해진 조건에 대응하는 각 유형에 따라, 피사체와의 거리를 지시하는 값과 거리 사이의 관계를 미리 설정하는 과정을 더 포함하며, 상기 피사체와의 거리를 측정하는 과정은, 거리 측정 센서를 이용하여 거리를 지시하는 값을 측정하는 과정과, 현재의 조건에 대응하는 유형에, 측정된 상기 거리를 지시하는 값을 적용하고, 상기 거리를 지시하는 값이 해당되는 영역을 확인하는 과정과, 피사체와의 거리를 지시하는 값과 거리 사이의 관계에 기초하여, 상기 영역의 기울기를 연산하는 과정과, 상기 기울기에 기초에 기초하여, 상기 피사체와의 거리를 연산하는 과정을 포함할 수 있다.According to each type corresponding to a predetermined condition, the method further includes a step of presetting a relationship between a value indicating a distance to a subject and a distance, and the process of measuring the distance to the subject comprises using a distance measuring sensor. Measuring a value indicating a distance, applying a value indicating the measured distance to a type corresponding to a current condition, identifying a region to which the value indicating the distance corresponds, and a subject The method may include calculating a slope of the area based on a relationship between a value indicating a distance and a distance to the distance, and calculating a distance from the subject based on the slope.

상기 미리 정해진 조건은, 이미지 신호 처리기(ISP; Image Signal Processor)에 의해 측정되는 조명, 반사율, 및 색감을 포함하는 촬영정보를 조합한 조건일 수 있다.The predetermined condition may be a condition that combines photographing information including illumination, reflectance, and color measured by an image signal processor (ISP).

바람직하게, 상기 미리 정해진 조건은, 온도센서에 의해 측정되는 온도정보를 더 포함하여 조합한 조건일 수 있다.Preferably, the predetermined condition may be a condition including a combination further including temperature information measured by the temperature sensor.

상기 촬영정보는, 거리 측정 센서가 거리를 지시하는 영역의 조명, 반사율, 및 색감을 포함하는 것이 바람직하다.The photographing information preferably includes illumination, reflectance, and color of an area in which the distance measuring sensor indicates the distance.

상기 초점 렌즈의 위치를 조정하는 과정은, 미리 정해진 간격을 이동하여 초점 조정 값을 측정하되, 미리 정해진 횟수만큼 반복하여 수행하는 과정과, 초점 렌즈를 초점 조정 값이 최고값을 지시하는 위치로 이동시키는 과정을 포함한다.The process of adjusting the position of the focus lens includes measuring a focus adjustment value by moving a predetermined interval, repeating a predetermined number of times, and moving the focus lens to a position where the focus adjustment value indicates the highest value. It includes the process of making.

상기 측정된 거리에 기초하여 초점 렌즈가 이동된 지점을 기준으로 하여 상기 초점 렌즈의 위치를 조정하는 것이 바람직하다It is preferable to adjust the position of the focus lens based on the point where the focus lens is moved based on the measured distance.

상기 측정된 거리에 대응하여, 미리 정해진 간격 및 미리 정해진 횟수를 설정하는 과정을 더 포함할 수 있다.The method may further include setting a predetermined interval and a predetermined number of times corresponding to the measured distance.

본 발명의 다른 측면에 따른 자동초점조절 기능을 구비한 카메라는 고정 렌즈 및 이동이 가능한 초점 렌즈를 포함하는 렌즈 어셈블리와, 상기 초점 렌즈의 위치를 측정하는 인코더(Encoder)와, 상기 초점 렌즈를 구동하는 구동부와, 피사체로 부터 반사되는 특정 파장 대역의 가시광 신호를 입력받아 영상 신호로 변환하는 이미지 센서와, 상기 이미지 센서로부터의 입력받은 영상 신호를 처리하는 이미지 신호 처리기(ISP; Image Signal Processor)와, 피사체와의 거리를 측정하는 거리 측정기와, 상기 거리 측정기로부터 측정된 거리에 대응하여 초점 렌즈의 위치를 조정하고, 서로 다른 위치에 대한 초점 조정 값을 연산하여, 초점 렌즈의 위치를 최적의 초점 조정 값을 나타내는 위치로 재 조정하는 제어부를 포함한다.According to another aspect of the present invention, a camera having an automatic focusing function includes a lens assembly including a fixed lens and a movable focus lens, an encoder for measuring a position of the focus lens, and a drive of the focus lens. An image sensor for receiving a visible light signal of a specific wavelength band reflected from a subject and converting the image signal into an image signal, an image signal processor (ISP) for processing the image signal received from the image sensor; And a distance measurer measuring a distance from a subject, and adjusting a position of a focus lens in response to the distance measured from the distance measurer, and calculating a focus adjustment value for different positions, thereby adjusting the position of the focus lens to an optimal focus. And a control unit for readjusting to a position representing the adjustment value.

상기 제어부는, 미리 정해진 조건에 대응하는 각 유형에 따라, 피사체와의 거리를 지시하는 값과 거리 사이의 관계를 미리 설정하고, 거리측정기로부터의 거리를 지시하는 값을 현재의 조건에 대응하는 유형에 적용하고, 상기 거리를 지시하는 값이 해당되는 영역을 확인한 후, 상기 관계에 기초하여, 상기 영역의 기울기 및 피사체와의 거리를 연산하는 것이 바람직하다.The control unit presets a relationship between a distance indicating a distance to a subject and a distance according to each type corresponding to a predetermined condition, and sets a value indicating a distance from a range finder to a current condition. It is preferable to calculate the inclination of the area and the distance to the subject based on the relationship after confirming the area to which the value indicating the distance is applied.

상기 미리 정해진 조건은, 이미지 신호 처리기(ISP; Image Signal Processor)에 의해 측정되는 조명, 반사율, 및 색감을 포함하는 촬영정보를 조합한 조건일 수 있다.The predetermined condition may be a condition that combines photographing information including illumination, reflectance, and color measured by an image signal processor (ISP).

온도정보를 측정하여 제어부에 제공하는 온도센서를 더 포함하며, 상기 미리 정해진 조건은, 상기 온도정보를 더 포함하는 것이 바람직하다.The apparatus further includes a temperature sensor measuring temperature information and providing the same to the controller, wherein the predetermined condition further includes the temperature information.

상기 촬영정보는, 거리 측정 센서가 거리를 지시하는 영역의 조명, 반사율, 및 색감을 포함하는 것이 바람직하다.The photographing information preferably includes illumination, reflectance, and color of an area in which the distance measuring sensor indicates the distance.

상기 제어부는, 미리 정해진 간격을 이동하여 초점 조정 값을 측정하되, 미리 정해진 횟수만큼 반복하여 수행하고, 초점 렌즈를 초점 조정 값이 최고값을 지 시하는 위치로 이동시켜, 상기 초점 렌즈의 위치를 재 조정할 수 있다.The control unit measures a focus adjustment value by moving a predetermined interval, repeats a predetermined number of times, moves the focus lens to a position where the focus adjustment value indicates the highest value, and adjusts the position of the focus lens. Can be readjusted.

상기 제어부는, 상기 측정된 거리에 대응하여, 미리 정해진 간격 및 미리 정해진 횟수를 설정할 수 있다.The controller may set a predetermined interval and a predetermined number of times corresponding to the measured distance.

본 발명에 따른 자동초점조정방법 및 장치에 따르면, 거리 측정을 이용하여 초점 렌즈의 위치를 조정함으로써 종래에 비하여 상대적으로 빠르게 초점 렌즈의 위치를 조정하고, 초점 조정값을 이용하여 초점 렌즈의 위치를 정밀하게 조절함으로써 초점 렌즈의 위치를 정확하게 조정할 수 있다.According to the method and apparatus for auto focusing according to the present invention, the position of the focusing lens is adjusted relatively faster by adjusting the position of the focusing lens using distance measurement, and the position of the focusing lens is adjusted using the focusing adjustment value. By precise adjustment, the position of the focus lens can be precisely adjusted.

또한, 거리측정기 출력의 오차를 보상한 알고리즘을 적용한 뒤 거리를 연산함으로써, 다양한 환경에서도 정확하고 빠르게 자동초점조절을 수행할 수 있다.In addition, by calculating the distance after applying the algorithm that compensates for the error of the rangefinder output, it is possible to accurately and quickly autofocus control in various environments.

이하 본 발명에 따른 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명에서는 구체적인 구성 소자 등과 같은 특정 사항들이 나타나고 있는데 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐 이러한 특정 사항들이 본 발명의 범위 내에서 소정의 변형이나 혹은 변경이 이루어질 수 있음은 이 기술분야에서 통상의 지식을 가진 자에게는 자명하다 할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, specific matters such as specific elements are shown, which are provided to help a more general understanding of the present invention. It is self-evident to those of ordinary knowledge in Esau.

종래기술에 따른 자동초점조절 방법은 초점 렌즈의 조절을 위해 두 번(Coarse Search 및 Second Search)의 힐 크라이밍을 수행한다. 이에 따라, 초점 렌즈의 위치를 여러번 이동시키고, 이동된 위치에서 초점 조정값을 반복하여 연산함으로써, 자동초점조절이 완료될 때까지 많은 시간이 소요되고, 많은 연산이 요구 되는 문제가 있다.The automatic focusing method according to the prior art performs hill climbing twice (Coarse Search and Second Search) to adjust the focus lens. Accordingly, by moving the position of the focus lens several times and repeatedly calculating the focus adjustment value at the moved position, it takes a long time until the automatic focus adjustment is completed, there is a problem that a lot of calculations are required.

이에 따라, 본 발명에서는 자동초점조절이 완료될 때까지의 시간을 최소화하면서 정확하게 자동초점조절을 수행하기 위하여, 피사체와의 거리를 측정하여 1차적으로 초점 렌즈의 위치를 조정하고, 일부 영약에 대해 2차적으로 초점 조정값을 이용하여 초점 렌즈의 위치를 조정하는 방법을 제안한다. 또한, 거리측정기 출력의 오차를 보상한 알고리즘을 적용한 뒤 거리를 연산함으로써, 다양한 환경에서도 정확게 거리를 측정할 수 있는 방법을 제안한다.Accordingly, in the present invention, in order to accurately perform the autofocus control while minimizing the time until the autofocus control is completed, the position of the focus lens is first adjusted by measuring the distance to the subject, and for some weak spots. Secondly, a method of adjusting the position of the focus lens by using the focus adjustment value is proposed. In addition, by applying an algorithm that compensates for the error of the rangefinder output and calculates the distance, we propose a method that can accurately measure the distance in various environments.

도 1은 본 발명의 일 실시예에 따른 자동초점조절 기능을 구비한 카메라의 대략적인 구성을 도시하는 블록도이다.1 is a block diagram illustrating a schematic configuration of a camera having an autofocus control function according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 자동초점조절 기능을 구비한 카메라는 파사체에 대한 영상 신호를 생성하는 촬상부(10), 상기 영상 신호를 처리하는 이미지 신호 처리기(ISP; Image Signal Processor)(20), 피사체와의 거리를 측정하는 거리 측정기(30), 카메라에 구비된 구성요소들의 동작을 제어하는 제어부(40), 렌즈의 구동하는 구동부(50), 및 이미지를 표시하는 표시부(60)를 포함한다.Referring to FIG. 1, a camera having an autofocus control function according to an embodiment of the present invention includes an imaging unit 10 for generating an image signal for a projectile and an image signal processor (ISP) for processing the image signal. Signal Processor (20), the distance measuring device 30 to measure the distance to the subject, the controller 40 for controlling the operation of the components provided in the camera, the driving unit 50 for driving the lens, and displays an image The display unit 60 is included.

상기 촬상부(10)는 카메라의 전방에 고정되어 피사체의 이미지를 형성하는 이미지 캡쳐 렌즈(11), 상기 이미지 캡쳐 렌즈(11)의 후방에 이동 가능하게 정렬되는 초점 렌즈(13), 상기 초점 렌즈(13)의 위치를 검출하여 제어부(40)로 전송하는 인코더(17), 및 피사체로부터 반사되는 특정 파장 대역의 가시광 신호를 입력받아 영상 신호로 변환하는 이미지 센서(15)를 구비한다.The image capturing unit 10 is fixed to the front of the camera to form an image capturing lens 11, a focus lens 13 movably aligned behind the image capture lens 11, the focus lens The encoder 17 detects the position of 13 and transmits it to the control unit 40, and an image sensor 15 which receives a visible light signal having a specific wavelength band reflected from the subject and converts it into an image signal.

이미지 캡쳐 렌즈(11) 및 초점 렌즈(13)는 볼록 렌즈, 오목 렌즈, 비구면 렌즈 등의 조합으로 구성될 수 있다. 그리고, 이미지 캡쳐 렌즈(11) 및 초점 렌즈(13)는 광축(Optical Axis)에 대해 회전 대칭성을 가질 수 있으며, 광축은 다수의 렌즈면의 정점을 지나는 축으로 정의될 수 있다.The image capture lens 11 and the focus lens 13 may be composed of a combination of convex lenses, concave lenses, aspherical lenses and the like. The image capture lens 11 and the focus lens 13 may have rotational symmetry with respect to an optical axis, and the optical axis may be defined as an axis passing through vertices of a plurality of lens surfaces.

이미지 센서(15)는 CMOS(Complementary Metal-Oxide Semiconductor), CCD(Charge-Coupled Device)와 같은 촬상 소자 일 수 있다.The image sensor 15 may be an imaging device such as a complementary metal-oxide semiconductor (CMOS) or a charge-coupled device (CCD).

인코더(17)는 초점 렌즈(13)의 위치를 검출하고, 위치를 나타내는 위치 검출 신호를 제어부(40)에 제공한다.The encoder 17 detects the position of the focus lens 13 and provides the control unit 40 with a position detection signal indicating the position.

인코더(17)는 통상적으로 홀 센서(Hall Sensor)와 영구자석의 조합으로 구현될 수 있으며, 상기 홀 센서는 이미지 캡쳐 렌즈(11) 및 초점 렌즈(13)가 마련되는 어셈블리의 하단부에 설치되어 초점 렌즈(13)의 위치 변화를 검출하게 된다. 홀 센서는 영구자석에 의해 인가되는 자계의 세기에 따라 그 출력 전압이 변하며, 제어부(40)에서 홀 센서로부터 입력된 위치 검출 신호의 전압을 바탕으로 초점 렌즈(13)의 위치를 파악한다. The encoder 17 may be typically implemented by a combination of a Hall sensor and a permanent magnet, which is installed at a lower end of an assembly in which an image capture lens 11 and a focus lens 13 are provided to focus. The position change of the lens 13 is detected. The hall sensor changes its output voltage according to the intensity of the magnetic field applied by the permanent magnet, and the controller 40 determines the position of the focus lens 13 based on the voltage of the position detection signal input from the hall sensor.

이미지 신호 처리기(ISP)(20)는 상기 이미지 센서(15)로부터 입력되는 이미지 신호를 프레임 단위로 처리하며, 상기 표시부(60)의 화면 특성(크기, 화질, 해상도 등)에 맞도록 변환된 이미지 프레임을 출력한다. The image signal processor (ISP) 20 processes the image signal input from the image sensor 15 in units of frames, and converts the image signal to match the screen characteristics (size, image quality, resolution, etc.) of the display unit 60. Output the frame.

거리측정기(30)는 적외선, 초음파, 레이져 등의 신호를 방출하는 송신부(Tx)와, 피사체에 의해 반사된 상기 방출 신호를 검출하는 수신부(Rx)를 구비한다. 또한, 거리측정기(30)는 상기 방출 신호가 피사체에 의해 반사되어 수신될 때까지의 시간을 확인하여 피사체와의 거리를 연산한 후, 그 결과를 제어부(40)에 제공한다.The range finder 30 includes a transmitter Tx for emitting signals such as infrared rays, ultrasonic waves, and lasers, and a receiver Rx for detecting the emission signals reflected by a subject. In addition, the distance measurer 30 checks the time until the emission signal is reflected by the subject and calculates the distance from the subject, and provides the result to the controller 40.

구동부(50)는 제어부(40)의 제어에 따라 초점 렌즈(13)를 이동시킨다. 예컨대, 구동부(50)는 구동력을 제공하는 액추레이터와, 구동력에 의해 초점 렌즈(13)를 그 광축을 따라 진퇴 이동시키는 캐리어를 포함한다. The driver 50 moves the focus lens 13 under the control of the controller 40. For example, the driving unit 50 includes an actuator for providing a driving force, and a carrier for moving the focus lens 13 along its optical axis by the driving force.

상기 표시부(60)는 상기 이미지 신호 처리기(ISP)(20)로부터 입력된 이미지 프레임을 화면에 표시한다. 또한, 상기 표시부(60)는 자동초점조절 절차에서 이미지 프레임 상의 자동초점조절 윈도우를 화면에 표시할 수 있다.The display unit 60 displays an image frame input from the image signal processor (ISP) 20 on the screen. In addition, the display unit 60 may display the autofocus control window on the image frame in the autofocus control procedure on the screen.

제어부(40)는 카메라의 전반적인 기능을 수행하기 위한 알고리즘을 제공한다.The controller 40 provides an algorithm for performing the overall functions of the camera.

특히, 제어부(40)는 자동 초점 조절 기능을 통해 피사체의 거리에 따른 초점 위치를 파악하고, 상기 초점 위치에 대응하여 상기 초점 렌즈(13)를 위치시키기 위한 제어신호를 생성한다.In particular, the controller 40 determines the focus position according to the distance of the subject through the auto focus adjustment function, and generates a control signal for positioning the focus lens 13 corresponding to the focus position.

이하에서는 도 2 내지 도 10을 참조하여, 제어부(40)가 자동 초점 조절 기능을 수행하는 과정을 구체적으로 설명한다.Hereinafter, a process in which the controller 40 performs an auto focusing function will be described in detail with reference to FIGS. 2 to 10.

도 2는 본 발명의 일 실시예에 따른 자동초점조절 방법의 순서를 도시하는 흐름도이다.2 is a flow chart showing the procedure of the automatic focus control method according to an embodiment of the present invention.

도 2를 참조하면, 우선 S100단계에서는, 인코더(17)를 이용하여 초점 렌즈의 초기값을 확인한다. 즉, 제어부(40)가 인코더(17)에 구비된 홀 센서의 출력 전압(Vh)을 읽어들인다. 그리고, 제어부(40)는 자계의 세기를 지시하는 상기 출력 전 압(Vh)과 인코더(17)에 구비된 영구자석의 위치를 바탕으로 초점 렌즈(13)의 위치를 확인한다.Referring to FIG. 2, first, in step S100, the initial value of the focus lens is checked using the encoder 17. That is, the control unit 40 reads the output voltage V h of the hall sensor provided in the encoder 17. Then, the control section 40 confirms the position of the output voltage (V h) and the permanent magnet a focusing lens 13 on the basis of the position provided to the encoder 17 for indicating the intensity of the magnetic field.

S200단계에서는, 제어부(40)가 거리측정기(30)로부터 거리를 지시하는 출력 전압(Vd)을 입력받고, 출력전압(Vd)과 거리 사이의 관계를 이용하여 피사체와의 거리를 측정한다.In operation S200, the controller 40 receives an output voltage V d indicating the distance from the range finder 30, and measures the distance to the subject using the relationship between the output voltage V d and the distance. .

S200단계에서 거리를 지시하는 정보로서 상기 출력 전압(Vd)을 별도의 보상을 수행하지 않고 사용하는 것이 가능하다. 그러나, 일반적으로 거리측정기(30)는 광을 방출하는 송신부(Tx), 상기 광을 반사하는 피사체, 및 피사체에 의해 반사된 상기 방출 신호를 검출하는 수신부(Rx)의 위치를 고려한 삼각법으로 거리를 연산한다. 이때, 주변 환경, 피사체의 특성 등이 거리측정기(30)의 출력 전압(Vd)에 영향을 미칠 수 있다. 따라서, 정확한 거리 연산을 수행하기 위해서는, 거리 연산에 영향을 미치는 요인들 대한 보상을 수행하는 것이 바람직하다.In step S200, the output voltage V d may be used as information indicating a distance without performing a separate compensation. Generally, however, the distance measuring device 30 adjusts the distance by a trigonometry considering the positions of the transmitter Tx that emits light, the subject that reflects the light, and the receiver Rx that detects the emission signal reflected by the subject. Calculate In this case, the surrounding environment, the characteristics of the subject, and the like may affect the output voltage V d of the range finder 30. Therefore, in order to perform an accurate distance calculation, it is desirable to perform compensation for factors influencing the distance calculation.

일반적으로 광원의 종류, 피사체 반사도, 색, 주변 온도 등의 요인에 따라 거리에 대한 거리측정기(30)의 출력 전압(Vd)이 변화한다. 따라서, 거리 연산에 영향을 미치는 요인들의 조합에 따른 유형(case)을 설정하고, 실험을 통해, 상기 각 유형(case)별 거리 대 DMS 출력 전압(Vd) 사이의 관계를 나타내는 테이블을 미리 생성하는 것이 바람직하다. 이때, 각 요인에 대한 정보 중, 일부의 정보는 이미지 신호 처리기(ISP)(20)에서 출력되는 값을 통해 확인할 수 있다. 즉, 광원의 종류는 AWB 상태로, 피사체 반사도는 계조(Gradation) 구분 정보로, 색은 RGB 비율을 통해 확인할 수 있다. 또한, 온도 정보는 시스템 내부의 온도 정보를 측정하기 위해 카메라의 내부에 마련된 온도센서(예컨대, Thermistor)등을 활용하여 측정할 수 있다.In general, the output voltage V d of the distance meter 30 with respect to the distance varies according to factors such as the type of light source, object reflectivity, color, and ambient temperature. Therefore, a case is set according to a combination of factors influencing the distance calculation, and, through experiments, a table representing the relationship between the distance for each case and the DMS output voltage V d is generated in advance. It is desirable to. At this time, some of the information on each factor can be confirmed through a value output from the image signal processor (ISP) (20). That is, the type of the light source may be in the AWB state, the reflectivity of the subject may be identified by gradation information, and the color may be identified through the RGB ratio. In addition, the temperature information may be measured using a temperature sensor (eg, thermistor) provided inside the camera to measure temperature information inside the system.

나아가, 미리 생성된 상기 각 유형(case)별 테이블은, 도 3과 같이 예시될 수 있다. 또한, 도 3을 통해 예시되는 각 유형별 테이블은 도 4와 같이, 거리 대 DMS 출력 전압(Vd) 사이의 관계를 나타내는 곡선 그래프로 표현하고, 상기 곡선을 복수의 영역으로 분할할 수 있다. 그리고, 분할된 영역을 각각 미리 정해진 영역(예컨대, Region 1, Region 2, Region n)으로 설정할 수 있다. 이때, 그래프에서 변화율이 큰 부분은 구간의 폭을 좁게 설정하고, 변화율이 작은 부분은 구간의 폭을 넓게 설정함으로써, 제한된 자원을 활용하여 특정 환경에서 비교적 정확하게 거리 대 DMS 출력 관계를 표현할 수 있다.Furthermore, the pre-generated table for each case may be illustrated as shown in FIG. 3. In addition, each type table illustrated in FIG. 3 may be represented by a curve graph representing a relationship between distance vs. DMS output voltage V d , as shown in FIG. 4, and the curve may be divided into a plurality of regions. The divided regions may be set to predetermined regions (for example, Region 1, Region 2, and Region n). In this case, a portion having a large change rate is set to have a narrow width of a section, and a portion having a small change rate is set to have a wide width of a section, so that a relationship between distance and DMS output can be represented relatively accurately in a specific environment by using limited resources.

한편, 거리 연산에 영향을 미치는 요인들의 조합에 따른 각 유형(case)은 하기의 표 1과 같이 예시될 수 있다.On the other hand, each case (case) according to the combination of factors affecting the distance calculation can be illustrated as Table 1 below.

광원 종류Light source type 반사율reflectivity 색감(color)Color 온도Temperature case 1case 1 직사광Direct sunlight 흰색White 적색Red 16~20oC16-20 o C case 2case 2 AC광AC light 흰색White 적색Red 16~20oC16-20 o C :: :: :: :: :: case ncase n AC광AC light 검정black 청색blue 0~5oC0 ~ 5 o C

도 5는 도 2의 S200단계의 순서를 상세하게 도시하는 흐름도이다. 도 5를 참조하면, 도 2의 S200단계는 S210, S220, S230, S240단계를 포함할 수 있다.FIG. 5 is a flowchart illustrating in detail the sequence of step S200 of FIG. 2. Referring to FIG. 5, step S200 of FIG. 2 may include steps S210, S220, S230, and S240.

S210단계에서는, 제어부(40)가 거리측정센서(DMS; Distance Measurement Sensor)를 구비한 거리측정기(30)의 동작을 지시하고, 거리측정기(30)로부터 거리를 지시하는 출력 전압(Vd)을 입력받는다.In step S210, the control unit 40 instructs the operation of the range finder 30 having a distance measuring sensor (DMS), and outputs an output voltage V d indicating the distance from the range finder 30. Get input.

S220단계에서, 제어부(40)는 이미지 신호 처리기(ISP)(20)로부터 광원의 종류, 피사체 반사도, 색감 등의 요인을 입력받고, 온도센서(미도시)로부터 온도 정보를 입력받는다. 그리고, 입력받은 상기 요인들이 조합된 값과 일치하는 미리 정해진 유형을 확인한다. 또한, 제어부(40)는 S210단계에서 입력받은 상기 출력 전압(Vd)이 상기 어느 유형의 어느 영역에 포함되는지 확인하여 한다.In operation S220, the controller 40 receives factors such as the type of light source, object reflectivity, and color from the image signal processor (ISP) 20, and receives temperature information from a temperature sensor (not shown). Then, a predetermined type is identified in which the input factors correspond to a combined value. In addition, the controller 40 checks whether the output voltage V d input in step S210 is included in which region of which type.

한편, 도 6을 참조하면, 거리측정기(30)는 도시된 바와 같이 촬상부(10)와 근접하여 위치하기 때문에, 실제 거리측정기에서 발광된 빛은 화면의 중심을 기준으로 거리측정기(30) 광원의 위치와 촬상부(10)의 렌즈(11) 사이의 거리만큼 이격된 부분에서 반사된다. 따라서, 피사체 중, 빛이 도달하는 중심을 기준으로 적절하게 거리측정기(30)의 윈도우를 설정하여 정보를 얻게 되면, 자동초점조절을 위한 거리를 측정하는데 필요한 요인들을 좀 더 정확하게 확보할 수 있다. Meanwhile, referring to FIG. 6, since the range finder 30 is located close to the image pickup unit 10 as illustrated, the light emitted from the actual range finder is a light source of the range finder 30 based on the center of the screen. It is reflected in the spaced apart portion by the distance between the position of and the lens 11 of the imaging unit 10. Therefore, when the information of the distance measuring device 30 is appropriately set based on the center of light reaching among the subjects, information necessary for measuring the distance for auto focusing can be more accurately obtained.

따라서, S220단계에서, 이미지 신호 처리기(ISP)(20)로부터 광원의 종류, 피사체 반사도, 색감 등에 대한 정보를 입력받을 때, 실제 거리측정에 사용되는 화면의 특정 부분, 즉 거리측정기(30)의 거리를 측정하는 부분을 윈도우로 설정하고, 상기 윈도우에 해당되는 부분의 요인들을 입력받는 것이 바람직하다.Therefore, in step S220, when receiving information on the type of light source, the reflectivity of the object, the color sense, etc. from the image signal processor (ISP) 20, the specific part of the screen, that is, the distance measurer 30 It is preferable to set the distance measuring part as a window and receive the factors of the part corresponding to the window.

다음으로 S230단계에서, 제어부(40)는 상기 출력 전압(Vd)이 속한 영역(예컨대, 도 4의 region 1)의 경사도(기울기)를 연산한다. 예컨대, 상기 경사도는 S220단계에서 확인된 영역의 시작점과 종료점의 X축 증가량에 대한 Y축 증가량을 연산함으로써, 획득할 수 있다.Next, in step S230, the controller 40 calculates the inclination (tilt) of the region (eg, region 1 of FIG. 4) to which the output voltage V d belongs. For example, the inclination may be obtained by calculating the Y-axis increase amount with respect to the X-axis increase amount of the start point and the end point of the region identified in S220.

상기 S230단계를 통해 상기 영역의 경사도가 연산되면, 제어부(40)는 상기 경사도를 이용하여 피사체까지의 거리를 연산한다(S240). 예컨대, 상기 거리는 하기의 수학식 1의 연산을 통해 획득될 수 있다.When the inclination of the area is calculated through the step S230, the controller 40 calculates the distance to the subject using the inclination (S240). For example, the distance may be obtained through the calculation of Equation 1 below.

Figure 112008075921433-PAT00001
Figure 112008075921433-PAT00001

Dn, Dn +1은 도 4의 X축 변수인 거리를 지시하며, Vd ,n, Vd ,n+1은 Y축 변수인 출력 전압(Vd)을 지시한다.D n , D n +1 indicates a distance which is an X-axis variable of FIG. 4, and V d , n , V d , n + 1 indicates an output voltage V d which is a Y-axis variable.

다시, 도 2를 참조하면, 본 발명의 일 실시예에 따른 자동초점조절 방법은 S200단계에서 측정된 거리를 기준으로 렌즈의 위치를 조정한다(S300단계). Referring back to FIG. 2, in the auto focus control method according to an embodiment of the present invention, the position of the lens is adjusted based on the distance measured in step S200 (step S300).

S300단계에서, 제어부(40)는 구동부(50) 액추레이터의 스트로크(St) 대 구동 전압(Vout)의 관계(예컨대, 도 7의 그래프에 도시된 관계)를 통해 구동부(50)에 포함된 캐리어를 이동시키기 위한 구동 전압(Vout)을 연산한다. 상기 구동 전압(Vout)은 하기의 수학식 2를 연산하여 결정될 수 있다.In operation S300, the controller 40 may be included in the driver 50 through a relationship between the stroke St of the actuator 50 and the drive voltage V out (eg, the relationship illustrated in the graph of FIG. 7). The driving voltage V out for moving the carrier is calculated. The driving voltage V out may be determined by calculating Equation 2 below.

Vout = α·St+(Vh + Voffset)V out = αSt + (V h + V offset )

α는 도 7의 그래프에 도시된 스트로크(St)의 단위 증가량에 대한 구동 전압(Vout)의 증가량을 지시하고, Vh 는 홀 센서의 출력 전압값이고, Voffset은 홀 센서출력의 오차 보정값을 지시한다.α indicates an increase amount of the driving voltage V out with respect to the unit increase amount of the stroke St shown in the graph of FIG. 7, V h is an output voltage value of the hall sensor, and V offset is an error correction of the hall sensor output. Indicates a value.

또한, S300단계에서 제어부(40)는 도 8에 도시되는 피사체와 렌즈 사이의 거리(D) 관계, 초점 렌즈(13)의 초기위치와 현재위치 사이의 거리(S)관계를 이용하여 구동부(50)를 제어하기 위한 신호를 생성한다. 상기 구동부(50)를 제어하기 위한 신호는 펄스 폭 변조(PWM) 신호일 수 있으며, 제어부(40)는 비율(Duty)을 연산하여 펄스 폭 변조(PWM) 신호를 생성할 수 있다. 펄스 폭 변조(PWM) 신호의 비율(Duty)은 하기의 수학식 3을 통해 연산할 수 있다.In operation S300, the controller 40 uses the distance D relationship between the subject and the lens and the distance S relationship between the initial position and the current position of the focus lens 13 as illustrated in FIG. 8. Generates a signal to control). The signal for controlling the driver 50 may be a pulse width modulation (PWM) signal, and the controller 40 may generate a pulse width modulation (PWM) signal by calculating a ratio (Duty). The ratio of the pulse width modulation (PWM) signal may be calculated through Equation 3 below.

Figure 112008075921433-PAT00002
Figure 112008075921433-PAT00002

Figure 112008075921433-PAT00003
Figure 112008075921433-PAT00003

다음으로, S400단계에서, 캡쳐신호를 입력받으면 S500단계를 진행하고, 캡쳐신호를 입력받지 못하면 S200 및 S300단계를 반복하여 프리뷰 상태에서도 자동초점조절을 연속적으로 수행한다.Next, in step S400, if the capture signal is input, the process proceeds to step S500, and if the capture signal is not received, steps S200 and S300 are repeated to continuously perform autofocus control even in the preview state.

S400단계에서 입력되는 캡쳐신호는 사용자가 사진의 촬영을 지시하기 위해 입력하는 정보, 예컨대 사용자가 카메라의 셧터를 작동시킴으로써 발생되는 신호일 수 있다. 나아가, S400단계에서 입력되는 캡쳐 신호는 동영상 촬영시, 미리 설정된 시간 단위(예컨대, 1/30 초)마다 동영상에 포함되는 각 프레임의 촬영을 지시하는 신호일 수 있다.The capture signal input in step S400 may be information input by the user to instruct to take a picture, for example, a signal generated by the user operating the camera's shutter. In addition, the capture signal input in operation S400 may be a signal for instructing the capturing of each frame included in the video every predetermined time unit (for example, 1/30 second) when the video is captured.

S500단계에서는 S300단계에서 조정된 초점 렌즈(13)의 위치를 기준으로 한, 특정 영역의 초점 조정값을 연산하고, 연산된 상기 초점 조정값에 기초하여 초점 렌즈의 위치를 조정한다. 그리고, S600단계에서는 이미지 센서(15)가 위치 조정된 초점 렌즈(13)를 통해 촬상되는 영상 신호를 이미지 신호 처리부(ISP)(20)로 제공하여, 이미지의 촬영을 수행한다.In operation S500, a focus adjustment value of a specific area is calculated based on the position of the focus lens 13 adjusted in operation S300, and the position of the focus lens is adjusted based on the calculated focus adjustment value. In operation S600, the image sensor 15 may provide an image signal captured by the positioned focusing lens 13 to the image signal processing unit (ISP) 20 to capture an image.

한편, 도 9는 도 2의 S500의 상세 순서를 도시하는 흐름도이다. 도 9를 참조하면, S500단계는 S510, S520, S530, S540, S550, S560, S570단계를 포함한다.9 is a flowchart showing the detailed procedure of S500 of FIG. Referring to FIG. 9, step S500 includes steps S510, S520, S530, S540, S550, S560, and S570.

S510단계에서는 S300단계에서 조정된 초점 렌즈(13)의 위치에 대한 초점 조정값을 연산한다. 연산된 초기 초점 조정값은 버퍼 또는 레지스터 등의 저장매체에 임시 저장된다.In operation S510, a focus adjustment value for the position of the focus lens 13 adjusted in operation S300 is calculated. The calculated initial focus adjustment value is temporarily stored in a storage medium such as a buffer or a register.

520단계에서는 200단계에서 설정된 거리를 확인하고, 상기 설정된 거리가 근거리 또는 원거리인지를 확인한다. 예컨대, 상기 설정된 거리가 미리 설정된 근거리 기준 값보다 상대적으로 더 작은 값을 갖는 경우 근거리로 설정하고, 미리 설정된 원거리 기준 값보다 상대적으로 더 큰 값을 갖는 경우 원거리로 설정할 수 있다. 또한, 상기 설정된 거리가 근거리 기준 값보다 상대적으로 더 크고 원거리 기준 값보다 상대적으로 더 작은 값을 지시할 경우, 중간 거리로 설정할 수도 있다.In step 520, the distance set in step 200 is checked, and whether the set distance is near or far. For example, when the set distance has a value that is relatively smaller than the preset short distance reference value, the distance may be set to a short distance, and when the set distance has a value that is relatively larger than the preset far reference value. In addition, when the set distance indicates a value that is relatively larger than the near reference value and smaller than the far reference value, the distance may be set to an intermediate distance.

또한, 520단계에서 상기 설정된 거리가 근거리 또는 원거리인지 확인되면, 근거리 또는 원거리에 대응하여 (S300단계에서 조정된 초점 렌즈(13)의 위치를 기준으로 한)상기 특정 영역에 대한 초점 조정값을 연산한 스텝의 횟수 및 스텝 사이의 이동 거리 등을 설정한다. 예컨대, 근거리일 경우, 상기 특정 영역을 4개의 스텝으로 균등 분할하고, 원거리일 경우 8개의 스텝으로 균등 분할한다.In operation 520, when the set distance is determined to be near or far, the focus adjustment value for the specific area may be calculated based on the position of the focus lens 13 adjusted in step S300. The number of steps and the moving distance between steps are set. For example, in a short distance, the specific area is equally divided into four steps, and in a long distance, the specific area is evenly divided into eight steps.

다음으로, 530단계에서는 제어부(40)가 S510단계의 초기 초점 조정값이 연산된 위치를 기준으로 한 스텝만큼 이동하기 위한 제어신호를 생성하여 구동부(50)에 전송한다. 이에 대응하여 구동부(50)는 초점 렌즈(13)를 초기 초점 조정값이 연산된 위치로부터 한 스텝 이동시킨다. Next, in step 530, the control unit 40 generates a control signal for moving by the step based on the calculated position of the initial focus adjustment value in step S510 and transmits the control signal to the driving unit 50. In response, the driver 50 moves the focus lens 13 one step from the position at which the initial focus adjustment value is calculated.

530단계를 통해 초점렌즈(13)의 이동이 완료되면, 540단계에서 제어부(40)는 초점 조정값을 연산하고, 연산한 초점 조정값을 버퍼 또는 레지스터 등의 저장매체에 임시 저장한다.When the movement of the focus lens 13 is completed in operation 530, the controller 40 calculates a focus adjustment value in step 540, and temporarily stores the calculated focus adjustment value in a storage medium such as a buffer or a register.

그리고, S550단계에서는 초점 렌즈(13)가 이동한 횟수를 확인한 후, 이동한 횟수가 S520단계에서 설정한 횟수에 미치지 못할 경우, S530, S540단계를 반복하여 수행한다. 반면, 초점 렌즈(13)가 S520단계에서 설정한 횟수만큼 이동하였을 경우, S560단계를 수행한다.In operation S550, after checking the number of movements of the focus lens 13, if the number of movements does not reach the number set in operation S520, the operation S530 and S540 are repeatedly performed. On the other hand, if the focus lens 13 has moved the number of times set in step S520, step S560 is performed.

S560단계에서, 제어부(40)는 각 스텝에서 연산된 초점 조정값들 중, 가장 큰 값을 갖는 초점 조정값을 확인한다. 그리고, S570단계에서는 가장 큰 값을 갖는 초점 조정값에 대응하는 초점 렌즈(13)의 위치를 적정점으로하여, 상기 적정점에 대응하는 위치로 초점 렌즈(13)를 이동시키기 위한 제어신호를 생성한다.In operation S560, the controller 40 checks the focus adjustment value having the largest value among the focus adjustment values calculated in each step. In operation S570, a control signal for moving the focus lens 13 to a position corresponding to the appropriate point is generated by using the position of the focus lens 13 corresponding to the focus adjustment value having the largest value as an appropriate point. do.

이하, 도 10을 참조하여 S500단계를 좀 더 상세하게 설명한다.Hereinafter, operation S500 will be described in more detail with reference to FIG. 10.

도 10은 본 발명의 일 실시예에 따른 자동초점조절 방법에서 초점 렌즈의 위치에 따라 연산된 초점 조정값을 예시하는 그래프이다. 도 10을 참조하면, S520단계를 통해, S300단계에서 조정된 초점 렌즈(13)의 위치가 기준점에 위치하고 상기 설정된 거리가 근거리로 확인되는 경우, S520단계에서는 초점 렌즈(13)의 원점과 상기 기준점을 4개의 영역으로 분할하고 각 스텝 사이의 이동 거리를 L로 설정한다. 그리고, 530단계에서는 기준점에 위치한 초점 렌즈(13)를 초점 렌즈(13)의 원점 방향으로 L만큼 이동시키고, S540단계에서는 이동된 지점에서의 초점 조정값을 연산하여 임시 저장한다.10 is a graph illustrating a focus adjustment value calculated according to the position of the focus lens in the autofocus control method according to an embodiment of the present invention. Referring to FIG. 10, when the position of the focus lens 13 adjusted in step S300 is located at a reference point and the set distance is confirmed at a short distance through step S520, the origin of the focus lens 13 and the reference point are determined in step S520. Is divided into four areas and the moving distance between each step is set to L. In operation 530, the focus lens 13 positioned at the reference point is moved by L in the direction of the origin of the focus lens 13, and in operation S540, the focus adjustment value at the moved point is calculated and temporarily stored.

나아가, S550단계에서는 초점 렌즈(13)가 이동한 횟수를 확인한다. 이동한 횟수가 S520단계에서 설정한 횟수에 미치지 못하므로, 다시 530단계를 통해, 초점 렌즈(13)를 초점 렌즈(13)의 원점 방향으로 L만큼 한 스템 이동시키고, S540단계에서는 이동된 지점에서의 초점 조정값을 연산하여 임시 저장한다. 이러한 과정(S530, S540, S550)을 반복하여, S520단계에서 설정한 횟수만큼 초점 렌즈(13)를 이동시키고, 이동된 각 위치의 초점 조정값을 연산한다.In operation S550, the number of times the focus lens 13 is moved is checked. Since the number of movements does not reach the number set in step S520, the focus lens 13 is moved by one stem in the origin direction of the focus lens 13 by L through step 530. Calculate and temporarily store the focus adjustment value. By repeating these processes (S530, S540, S550), the focus lens 13 is moved by the number of times set in step S520, and the focus adjustment value of each moved position is calculated.

560단계에서는 연산된 초점 조정값을 비교하여, 세번째 연산된 초점 조정값이 가장 큰 값을 나타내는 점인 것을 확인한다. 그리고, S570 단계에서는 제어부(40)는 세번째 연산된 초점 조정값이 연산된 위치로 초점 렌즈(13)를 이동시키기 위한 제어신호(예컨대, 펄스 폭 변조 신호)를 생성하여 구동부(50)에 입력한다. 이에 대응하여, 구동부(50)는 초점 렌즈(13)의 위치를 조정하게 된다.In operation 560, the calculated focus adjustment value is compared to determine that the third calculated focus adjustment value is the point representing the largest value. In operation S570, the controller 40 generates a control signal (for example, a pulse width modulation signal) for moving the focus lens 13 to the position at which the third calculated focus adjustment value is calculated, and inputs it to the driver 50. . Correspondingly, the driving unit 50 adjusts the position of the focus lens 13.

전술한 바와 같은, 본 발명의 일 실시예에 따른 자동초점조정방법 및 장치에 따르면, 거리 측정을 이용하여 초점 렌즈의 위치를 조정함으로써 종래에 비하여 상대적으로 빠르게 초점 렌즈의 위치를 조정하고, 초점 조정값을 이용하여 초점 렌즈의 위치를 정밀하게 조절함으로써 초점 렌즈의 위치를 정확하게 조정할 수 있다.As described above, according to the automatic focusing method and apparatus according to an embodiment of the present invention, by adjusting the position of the focus lens by using the distance measurement to adjust the position of the focus lens relatively faster than the conventional, and focus adjustment By precisely adjusting the position of the focus lens using the value, the position of the focus lens can be precisely adjusted.

또한, 거리측정기 출력의 오차를 보상한 알고리즘을 적용한 뒤 거리를 연산함으로써, 다양한 환경에서도 정확하고 빠르게 자동초점조절을 수행할 수 있다.In addition, by calculating the distance after applying the algorithm that compensates for the error of the rangefinder output, it is possible to accurately and quickly autofocus control in various environments.

이로써, 프리뷰간 응답속도가 빠르고 지속적인 자동초점조절이 수행 가능하여, 거의 실시간으로 자동초점조절이 수행하여 디스플레이에 출력할 수 있다. 나아가, coarse Search에 소요되는 시간을 제거하여 자동초점조절 수행 속도 개선이 가능하다. 특히, 근거리 자동초점조절시 일반적으로 현 소요시간 대비 50% 이상 개선이 가능해진다.As a result, the response speed between the previews is fast and continuous autofocus control can be performed, and autofocus control can be performed on a display in almost real time. Furthermore, it is possible to improve the speed of automatic focusing by removing the time spent on coarse search. In particular, when near-focus autofocusing is generally improved by more than 50% compared to the current time required.

상기와 같이 본 발명의 일 실시 예에 따른 카메라의 자동 초점 조절 방법 및 장치의 동작이 이루어질 수 있다. 한편 상기한 본 발명의 설명에서는 구체적인 실시 예에 관해 설명하였으나, 여러 가지 변형이 본 발명의 범위를 벗어나지 않고 실시될 수 있다. 따라서 본 발명의 범위는 설명된 실시 예에 의하여 정할 것이 아니고 청구범위와 청구범위의 균등한 것에 의하여 정하여져야 할 것이다.As described above, the operation and method of adjusting the auto focus of the camera according to an embodiment of the present invention can be made. Meanwhile, in the above description of the present invention, specific embodiments have been described, but various modifications may be made without departing from the scope of the present invention. Accordingly, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by equivalents of the claims and the claims.

도 1은 본 발명의 일 실시예에 따른 자동초점조절 기능을 구비한 카메라의 대략적인 구성을 도시하는 블록도,1 is a block diagram showing a schematic configuration of a camera having an automatic focusing function according to an embodiment of the present invention;

도 2는 본 발명의 일 실시예에 따른 자동초점조절 방법의 순서를 도시하는 흐름도,2 is a flowchart illustrating a procedure of an autofocus control method according to an embodiment of the present invention;

도 3은 본 발명의 일 실시예에 따른 유형별 테이블을 예시하는 도면,3 is a diagram illustrating a table for each type according to an embodiment of the present invention;

도 4는 도 3에 예시되는 유형별 테이블의 거리 대 DMS 출력 전압(Vd) 사이의 관계를 나타내는 곡선 그래프.4 is a curve graph illustrating the relationship between the distance of the type table illustrated in FIG. 3 versus the DMS output voltage (V d ).

도 5는 도 2의 S200단계의 순서를 상세하게 도시하는 흐름도,5 is a flowchart showing in detail the sequence of step S200 of FIG.

도 6은 본 발명의 일 실시예에 따른 자동초점조절 기능을 구비한 카메라에 구비된 거리측정기와 촬상부의 위치적 관계를 예시하는 도면,6 is a view illustrating a positional relationship between a range finder and an image pickup unit included in a camera having an automatic focusing function according to an embodiment of the present invention;

도 7은 본 발명의 일 실시예에 따른 자동초점조절 방법에서 액추레이터의 스트로크(St) 대 구동 전압(Vout)의 관계를 예시하는 그래프, 7 is a graph illustrating a relationship between a stroke St of a actuator and a driving voltage V out in an autofocus control method according to an embodiment of the present invention;

도 8은 본 발명의 일 실시예에 따른 자동초점조절 방법에서, 피사체와 렌즈 사이의 거리(D) 관계 및 초점 렌즈의 초기위치와 현재위치 사이의 거리(S)관계를 예시하는 도면, 8 is a view illustrating a distance (D) relationship between a subject and a lens and a distance (S) relationship between an initial position and a current position of a focus lens in the autofocus control method according to an embodiment of the present invention;

도 9는 도 2의 S500의 상세 순서를 도시하는 흐름도,9 is a flowchart showing the detailed procedure of S500 of FIG. 2;

도 10은 본 발명의 일 실시예에 따른 자동초점조절 방법에서 초점 렌즈의 위치에 따라 연산된 초점 조정값을 예시하는 그래프.10 is a graph illustrating a focus adjustment value calculated according to a position of a focus lens in the autofocus control method according to an embodiment of the present invention.

Claims (15)

카메라의 자동초점조절 방법에 있어서,In the automatic focusing method of the camera, 초점 렌즈의 초기 위치를 확인하는 과정과,Checking the initial position of the focus lens, 피사체와의 거리를 측정하는 과정과,Measuring the distance to the subject, 측정된 거리에 기초하여, 초점 렌즈가 이동해야 할 변위를 결정하고 초점 렌즈를 이동시키는 과정과,Based on the measured distance, determining the displacement that the focus lens should move and moving the focus lens, 초점 조정 값을 측정하고, 초점 렌즈의 위치를 최적의 초점 조정 값을 나타내는 위치로 조정하는 과정을 포함하는 것을 특징으로 하는 자동초점조절 방법.Measuring a focus adjustment value and adjusting a position of the focus lens to a position representing an optimal focus adjustment value. 제1항에 있어서, The method of claim 1, 미리 정해진 조건에 대응하는 각 유형에 따라, 피사체와의 거리를 지시하는 값과 거리 사이의 관계를 미리 설정하는 과정을 더 포함하며,According to each type corresponding to a predetermined condition, further comprising the step of presetting the relationship between the distance and the value indicating the distance to the subject, 상기 피사체와의 거리를 측정하는 과정은,Measuring the distance to the subject, 거리 측정 센서를 이용하여 거리를 지시하는 값을 측정하는 과정과,Measuring a value indicating a distance by using a distance measuring sensor; 현재의 조건에 대응하는 유형에, 측정된 상기 거리를 지시하는 값을 적용하고, 상기 거리를 지시하는 값이 해당되는 영역을 확인하는 과정과,Applying a value indicating the measured distance to a type corresponding to a current condition, identifying a region to which the value indicating the distance corresponds; 피사체와의 거리를 지시하는 값과 거리 사이의 관계에 기초하여, 상기 영역의 기울기를 연산하는 과정과,Calculating a slope of the area based on a relationship between the distance indicating the distance to the subject and the distance; 상기 기울기에 기초에 기초하여, 상기 피사체와의 거리를 연산하는 과정을 포함함을 특징으로 하는 자동초점조절 방법.And calculating a distance to the subject based on the inclination. 제2항에 있어서, 상기 미리 정해진 조건은, 이미지 신호 처리기(ISP; Image Signal Processor)에 의해 측정되는 조명, 반사율, 및 색감을 포함하는 촬영정보를 조합한 조건임을 특징으로 하는 자동초점조절 방법.The method of claim 2, wherein the predetermined condition is a condition that combines photographing information including illumination, reflectance, and color measured by an image signal processor (ISP). 제3항에 있어서, 상기 미리 정해진 조건은, 온도센서에 의해 측정되는 온도정보를 더 포함하여 조합한 조건임을 특징으로 하는 자동초점조절 방법.The method of claim 3, wherein the predetermined condition is a condition including a combination of temperature information measured by a temperature sensor. 제3항에 있어서, 상기 촬영정보는, The method of claim 3, wherein the shooting information, 거리 측정 센서가 거리를 지시하는 영역의 조명, 반사율, 및 색감을 포함하는 정보인 것을 특징으로 하는 자동초점조절 방법.Autofocusing method characterized in that the distance sensor is information including the illumination, reflectance, and color of the area indicating the distance. 제1항 내지 제5항 중, 어느 한 항에 있어서,The method according to any one of claims 1 to 5, 상기 초점 렌즈의 위치를 조정하는 과정은,The process of adjusting the position of the focus lens, 미리 정해진 간격을 이동하여 초점 조정 값을 측정하되, 미리 정해진 횟수만큼 반복하여 수행하는 과정과, Measuring a focus adjustment value by moving a predetermined interval, and repeating a predetermined number of times, 초점 렌즈를 초점 조정 값이 최고값을 지시하는 위치로 이동시키는 과정을 포함함을 특징으로 하는 자동초점조절 방법.Moving the focus lens to a position at which the focus adjustment value indicates the highest value. 제6항에 있어서, The method of claim 6, 상기 측정된 거리에 기초하여 초점 렌즈가 이동된 지점을 기준으로 하여 상기 초점 렌즈의 위치를 조정하는 것을 특징으로 하는 자동초점조절 방법.And adjusting the position of the focus lens based on the point where the focus lens is moved based on the measured distance. 제6항에 있어서, The method of claim 6, 상기 측정된 거리에 대응하여, 미리 정해진 간격 및 미리 정해진 횟수를 설정하는 과정을 더 포함함을 특징으로 하는 자동초점조절 방법.And setting a predetermined interval and a predetermined number of times corresponding to the measured distance. 자동 초점 조절 기능을 구비한 카메라에 있어서,In the camera with the auto focus function, 고정 렌즈 및 이동이 가능한 초점 렌즈를 포함하는 렌즈 어셈블리와,A lens assembly comprising a fixed lens and a movable focus lens; 상기 초점 렌즈의 위치를 측정하는 인코더(Encoder)와,An encoder for measuring the position of the focus lens; 상기 초점 렌즈를 구동하는 구동부와,A driving unit for driving the focus lens; 피사체로부터 반사되는 특정 파장 대역의 가시광 신호를 입력받아 영상 신호로 변환하는 이미지 센서와,An image sensor which receives a visible light signal of a specific wavelength band reflected from a subject and converts the image into a video signal; 상기 이미지 센서로부터의 입력받은 영상 신호를 처리하는 이미지 신호 처리기(ISP; Image Signal Processor)와,An image signal processor (ISP) for processing the image signal received from the image sensor; 피사체와의 거리를 측정하는 거리 측정기와,With a distance meter measuring the distance to the subject, 상기 거리 측정기로부터 측정된 거리에 대응하여 초점 렌즈의 위치를 조정하고, 서로 다른 위치에 대한 초점 조정 값을 연산하여, 초점 렌즈의 위치를 최적의 초점 조정 값을 나타내는 위치로 재 조정하는 제어부를 포함함을 특징으로 하는 자 동초점조절 기능을 구비한 카메라.A control unit for adjusting the position of the focus lens in response to the distance measured from the distance meter, calculating a focus adjustment value for different positions, and re-adjusting the position of the focus lens to a position representing an optimal focus adjustment value. Camera with automatic focusing function characterized in that. 제9항에 있어서, 상기 제어부는,The method of claim 9, wherein the control unit, 미리 정해진 조건에 대응하는 각 유형에 따라, 피사체와의 거리를 지시하는 값과 거리 사이의 관계를 미리 설정하고,According to each type corresponding to a predetermined condition, the relationship between the distance and the value indicating the distance to the subject is set in advance, 거리측정기로부터의 거리를 지시하는 값을 현재의 조건에 대응하는 유형에 적용하고, 상기 거리를 지시하는 값이 해당되는 영역을 확인한 후, 상기 관계에 기초하여, 상기 영역의 기울기 및 피사체와의 거리를 연산함을 특징으로 하는 자동초점조절 기능을 구비한 카메라.After applying a value indicating a distance from a range finder to a type corresponding to a current condition, identifying an area to which the value indicating the distance corresponds, and based on the relationship, the slope of the area and the distance to the subject Camera with an automatic focusing function, characterized in that for calculating. 제10항에 있어서, 상기 미리 정해진 조건은, 이미지 신호 처리기(ISP; Image Signal Processor)에 의해 측정되는 조명, 반사율, 및 색감을 포함하는 촬영정보를 조합한 조건임을 특징으로 하는 자동초점조절 기능을 구비한 카메라.The automatic focus control function of claim 10, wherein the predetermined condition is a condition in which photographing information including illumination, reflectance, and color measured by an image signal processor (ISP) is combined. Equipped camera. 제11항에 있어서, The method of claim 11, 온도정보를 측정하여 제어부에 제공하는 온도센서를 더 포함하며, Further comprising a temperature sensor for measuring the temperature information provided to the control unit, 상기 미리 정해진 조건은, 상기 온도정보를 더 포함하여 조합함을 특징으로 하는 자동초점조절 기능을 구비한 카메라.The predetermined condition is a camera having an autofocus control function, characterized in that the combination further comprises the temperature information. 제11항에 있어서, 상기 촬영정보는, The method of claim 11, wherein the shooting information, 거리 측정 센서가 거리를 지시하는 영역의 조명, 반사율, 및 색감을 포함하는 정보인 것을 특징으로 하는 자동초점조절 기능을 구비한 카메라.A camera having an autofocus control function, wherein the distance sensor is information including illumination, reflectance, and color of an area indicating a distance. 제9항 내지 제13항 중, 어느 한 항에 있어서, 상기 제어부는,The method according to any one of claims 9 to 13, wherein the control unit, 미리 정해진 간격을 이동하여 초점 조정 값을 측정하되, 미리 정해진 횟수만큼 반복하여 수행하고, 초점 렌즈를 초점 조정 값이 최고값을 지시하는 위치로 이동시켜, 상기 초점 렌즈의 위치를 재 조정하는 것을 특징으로 하는 자동초점조절 기능을 구비한 카메라.Measuring a focus adjustment value by moving a predetermined interval, it is performed repeatedly a predetermined number of times, and repositioning the focus lens by moving the focus lens to a position where the focus adjustment value indicates the highest value. Camera with automatic focusing function. 제14항에 있어서, 상기 제어부는,The method of claim 14, wherein the control unit, 상기 측정된 거리에 대응하여, 미리 정해진 간격 및 미리 정해진 횟수를 설정하는 것을 특징으로 하는 자동초점조절 기능을 구비한 카메라.And a predetermined interval and a predetermined number of times corresponding to the measured distance.
KR20080107899A 2008-10-31 2008-10-31 Method for adjusting auto focus and camera having a function of the same KR101511783B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20080107899A KR101511783B1 (en) 2008-10-31 2008-10-31 Method for adjusting auto focus and camera having a function of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20080107899A KR101511783B1 (en) 2008-10-31 2008-10-31 Method for adjusting auto focus and camera having a function of the same

Publications (2)

Publication Number Publication Date
KR20100048641A true KR20100048641A (en) 2010-05-11
KR101511783B1 KR101511783B1 (en) 2015-04-14

Family

ID=42275376

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20080107899A KR101511783B1 (en) 2008-10-31 2008-10-31 Method for adjusting auto focus and camera having a function of the same

Country Status (1)

Country Link
KR (1) KR101511783B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101521184B1 (en) * 2013-08-28 2015-05-18 삼성전기주식회사 Camera module and control method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4759329B2 (en) * 2005-06-23 2011-08-31 Hoya株式会社 Imaging device having autofocus function
JP4207980B2 (en) * 2006-06-09 2009-01-14 ソニー株式会社 IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
JP4571617B2 (en) * 2006-12-28 2010-10-27 三星デジタルイメージング株式会社 Imaging apparatus and imaging method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101521184B1 (en) * 2013-08-28 2015-05-18 삼성전기주식회사 Camera module and control method thereof

Also Published As

Publication number Publication date
KR101511783B1 (en) 2015-04-14

Similar Documents

Publication Publication Date Title
US7405762B2 (en) Camera having AF function
US20140063287A1 (en) Imaging apparatus
US8416317B2 (en) Automatic focus system calibration for image capture systems
KR100851477B1 (en) Projecting apparatus and method and recording medium recording the program of the projecting method
US8150252B2 (en) Imaging apparatus and imaging apparatus control method
CN109451244A (en) A kind of automatic focusing method and system based on liquid lens
US7365790B2 (en) Autofocus system for an image capturing apparatus
JP2003066321A (en) Af control device and af control method
US9794473B2 (en) Imaging device, imaging device body, and lens barrel
KR20080028764A (en) Imaging apparatus with af optical zoom
US7864239B2 (en) Lens barrel and imaging apparatus
US20050168624A1 (en) Image capturing apparatus
JP2005221731A (en) Imaging device
JP5211680B2 (en) Autofocus device, autofocus method selection method, and program
KR101511783B1 (en) Method for adjusting auto focus and camera having a function of the same
JP2007139819A (en) Imaging apparatus
CN109387992B (en) Image pickup apparatus capable of sufficiently ensuring light emission accuracy and control method thereof
JP2017191212A (en) Focus detection device
JP2004069953A (en) Camera
KR100509362B1 (en) Passive focusing control device for digital camera thereof merhod
JP2005143019A (en) Camera
JP2021056532A (en) Imaging device and control method therefor
JP2004191634A (en) Camera
JP5981898B2 (en) Imaging apparatus and control method thereof
JP2019053315A (en) Focus adjustment device and imaging device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
FPAY Annual fee payment

Payment date: 20180329

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190925

Year of fee payment: 5