KR20070039677A - System and method of auto exposure control - Google Patents

System and method of auto exposure control Download PDF

Info

Publication number
KR20070039677A
KR20070039677A KR1020050094812A KR20050094812A KR20070039677A KR 20070039677 A KR20070039677 A KR 20070039677A KR 1020050094812 A KR1020050094812 A KR 1020050094812A KR 20050094812 A KR20050094812 A KR 20050094812A KR 20070039677 A KR20070039677 A KR 20070039677A
Authority
KR
South Korea
Prior art keywords
brightness
index
image sensor
distribution
exposure time
Prior art date
Application number
KR1020050094812A
Other languages
Korean (ko)
Other versions
KR100708933B1 (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 KR1020050094812A priority Critical patent/KR100708933B1/en
Publication of KR20070039677A publication Critical patent/KR20070039677A/en
Application granted granted Critical
Publication of KR100708933B1 publication Critical patent/KR100708933B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/53Control of the integration time
    • H04N25/533Control of the integration time by using differing integration times for different sensor regions

Abstract

본 발명은 자동 노출 제어장치 및 그 방법에 관한 것으로, 자동 노출 제어에 필요한 테이블을 생성함에 따라 상기 테이블의 인덱스만 산출하면 되므로 자동 노출 제어시간을 단축할 수 있으며, 마이크로 프로세서의 알고리즘 구현이 용이해지는 이점이 있다.The present invention relates to an automatic exposure control apparatus and a method thereof, and by only generating an index of the table according to the generation of a table for automatic exposure control, the automatic exposure control time can be shortened, and the microprocessor algorithm can be easily implemented. There is an advantage.

본 발명에 의한 자동 노출 제어장치는, 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 자동 노출 제어장치에 있어서, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 테이블 생성부; 밝기 성분의 분포도를 산출해내는 분포도 산출부; 상기 분포도 산출부에 의해 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 인덱스 선택부;를 포함한다.The automatic exposure control apparatus according to the present invention is an automatic exposure control apparatus that automatically adjusts an image sensor exposure time at intervals of one or more frames per resolution mode, and forms an index and stores values corresponding to a predetermined item in the index. A table generator for generating a table; A distribution calculator calculating a distribution of brightness components; Correcting the difference between the brightness average value and the target brightness value for a frame of a predetermined period currently input using the distribution chart calculated by the distribution calculator, and using the corrected value, the image sensor exposure time from the table. And an index selector for selecting an index in which values necessary to adjust the value are stored.

자동 제어 노출, 테이블, 자동 노출 평가치, 디지털 증폭비율, 인덱스 Auto Exposure Exposure, Table, Auto Exposure Evaluation, Digital Amplification Ratio, Index

Description

자동 노출 제어장치 및 그 방법{SYSTEM AND METHOD OF AUTO EXPOSURE CONTROL} Automatic exposure control device and its method {SYSTEM AND METHOD OF AUTO EXPOSURE CONTROL}

도 1은 본 발명에 의한 자동 노출 제어장치의 블록도1 is a block diagram of an automatic exposure control apparatus according to the present invention

도 2는 본 발명에 의한 테이블 생성부의 블록도2 is a block diagram of a table generation unit according to the present invention.

도 3은 본 발명에 의한 분포도 산출부의 저장영역을 나타낸 도면3 is a view showing a storage area of the distribution chart calculating unit according to the present invention;

도 4는 본 발명에 의한 인덱스 선택부의 블록도4 is a block diagram of an index selector according to the present invention.

도 5는 본 발명에 의한 자동 노출 제어방법의 흐름도5 is a flowchart of an automatic exposure control method according to the present invention.

도 6은 본 발명에 의한 제 1 단계의 흐름도6 is a flow chart of the first step according to the present invention

도 7은 본 발명에 의한 제 3 단계의 흐름도7 is a flow chart of the third step according to the present invention

도 8은 본 발명에 의한 제 4 단계의 흐름도8 is a flowchart of a fourth step according to the present invention.

<도면의 주요 부호에 대한 설명><Description of Major Symbols in Drawing>

100: 본 발명에 의한 자동 노출 제어장치100: automatic exposure control apparatus according to the present invention

110: 테이블 생성부 111: 모드 변환 제어부110: table generation unit 111: mode conversion control unit

112: 분포도 제어부 113: 노출시간 기본단위 계산부112: distribution chart control unit 113: exposure unit basic unit calculation unit

114: 테이블 생성 엔진 115: 테이블 완료 레지스터114: Table Generation Engine 115: Table Completion Register

116: 인터페이스 엔진 117: 센서 인터페이스 엔진116: interface engine 117: sensor interface engine

120: 분포도 산출도 130: 인덱스 선택부120: distribution chart calculation 130: index selector

131: 자동 노출 제어부 132: 평균 레벨 계산부131: automatic exposure control unit 132: average level calculation unit

133: 에러 계산부 134: 누적 에러 계산부133: error calculation unit 134: cumulative error calculation unit

135: 인덱스 탐색부 136: 휴지기 감지부135: index search unit 136: pause detection unit

137: 분포도 산출부 레지스터137: distribution calculator register

본 발명은 자동 노출 제어장치 및 그 방법에 관한 것으로, 자동 노출 제어에 필요한 테이블을 생성함에 따라 상기 테이블의 인덱스만 산출하면 되므로 자동 노출 제어시간을 단축할 수 있으며, 마이크로 프로세서의 알고리즘 구현이 용이해지는 자동 노출 제어장치 및 그 방법에 관한 것이다.The present invention relates to an automatic exposure control apparatus and a method thereof, and by only generating an index of the table according to the generation of a table for automatic exposure control, the automatic exposure control time can be shortened, and the microprocessor algorithm can be easily implemented. An automatic exposure control apparatus and method thereof are provided.

최근에 디지털 카메라 및 카메라 모듈이 장착된 휴대폰이 보편화 되고 있는 추세이다. 현재 출시되고 있는 디지털 카메라나 휴대폰용 디지털 카메라의 경우, 이미지 센서의 빛에 대한 노출시간을 수동으로 조절하지 않고 자동으로 조절하는 자동 노출 제어(Auto Exposure Control)가 기본적인 사용 모드로 되어 있다.Recently, mobile phones equipped with digital cameras and camera modules are becoming more common. In current digital cameras or mobile phone digital cameras, the default exposure mode is Auto Exposure Control, which automatically adjusts the exposure time of the image sensor without manual exposure.

즉, 조명이 밝을 경우에는 센서의 빛에 대한 노출시간을 짧게 하며 조명이 어두울 경우에는 센서의 빛에 대한 노출시간을 길게 하는 자동 노출 제어는, ISP(Image Signal Processing) 또는 DSP(Digital Signal Processing)에서 수행되고 있다. That is, automatic exposure control for shortening the exposure time of the sensor to light when the light is bright and to increase the exposure time to the light of the sensor when the light is dark is ISP (Image Signal Processing) or DSP (Digital Signal Processing). Is being performed on.

또한, 현재 출시되고 있는 디지털 카메라나 휴대폰용 디지털 카메라의 경우, 프리뷰(Preview) 모드와 캡쳐(Capture) 모드를 가지고 있다.In addition, digital cameras for mobile phones and digital cameras currently on the market have a preview mode and a capture mode.

여기서, 프리뷰 모드는 초당 수~수십 프레임의 이미지를 LCD를 통해 출력하는 모드이며, 캡쳐 모드는 사용자가 저장버튼을 누르는 순간, 상기 순간의 이미지를 메모리에 저장하는 모드이다. Here, the preview mode is a mode for outputting an image of several tens to tens of frames per second through the LCD, and the capture mode is a mode for storing the image of the instant in the memory when the user presses the save button.

일반적으로 디지털 카메라나 휴대폰용 디지털 카메라의 경우, 프리뷰 모드에서는 저해상도로 LCD에 출력하다가 캡쳐 모드에서는 고해상도로 변환시켜 고해상도의 이미지를 저장한다.In general, a digital camera or a digital camera for a mobile phone outputs the LCD to a low resolution in the preview mode, and converts the image to a high resolution in the capture mode to store a high resolution image.

그러나, 프리뷰 모드에서 저해상도로 동작시킬 때의 이미지 센서 클럭 및 레지스터 셋팅값과 캡쳐 모드에서 고해상도로 동작시킬 때의 이미지 센서 클럭 및 레지스터 셋팅값은 다른 경우가 많으므로, 이미지 센서를 프리뷰 모드에서 저해상도로 동작시킬 때의 특성과 이미지 센서를 캡쳐 모드에서 고해상도로 동작시킬 때의 특성은 다른 경우가 많다.However, the image sensor clock and register settings when operating at low resolution in preview mode and the image sensor clock and register settings when operating at high resolution in capture mode are often different. The characteristics when operating and the image sensor operating at high resolution in capture mode are often different.

따라서, 디지털 카메라나 휴대폰용 디지털 카메라의 사용자가 LCD를 통해서 프리뷰 이미지를 보다가 저장버튼을 누르게 되면, 자동 노출제어나 자동 화이트 밸런스 제어(Auto white balance control)를 변환된 모드에 따라 다시 해야 하므로, 실제 저장되는 이미지는 저장버튼을 누른 후 수백 내지 수천 ms 지난 후의 이미지가 저장되게 된다. Therefore, when a user of a digital camera or a digital camera for a mobile phone views the preview image on the LCD and then presses the save button, the automatic exposure control or the automatic white balance control must be re-configured according to the converted mode. The image that is actually stored will be saved hundreds to thousands of ms after pressing the save button.

종래 기술에 의한 자동 노출 제어방법은, 현재 출력되는 프레임의 밝기와 목표로 하는 밝기와의 차이를 계산하여 그 차이를 보정해주는 보상값을 산출해낸 다음, 상기 보상값을 현재 노출 환산값에 더해서 미래적용값을 구하고, 이미지 센서가 고해상도의 모드일 때, 상기 미래적용값을 최소 노출시간의 배수로 근사시켜서 상기 근사시킨 배수값을 센서에 전달하며, 부족한 보상값은 디지털 증폭비율로 환산하여 ISP에 전달하는 방법이었다.The automatic exposure control method according to the prior art calculates a difference between the brightness of the currently output frame and the target brightness, calculates a compensation value for correcting the difference, and then adds the compensation value to the current exposure conversion value in the future. When the applied value is obtained and the image sensor is in the high resolution mode, the future applied value is approximated to a multiple of the minimum exposure time, and the approximated multiple value is transmitted to the sensor, and the insufficient compensation value is converted to the digital amplification ratio to the ISP. It was how to do it.

그러나, 상술한 바와 같은, 종래 기술에 의한 자동 노출 제어방법은, 각각의 해상도 모드마다 매 프레임별로 이미지 센서의 노출시간을 조절해야 하므로 자동 노출 제어시간이 많이 소요되는 문제점이 있었다.However, the automatic exposure control method according to the prior art as described above has a problem in that the automatic exposure control time is required because the exposure time of the image sensor must be adjusted for each frame in each resolution mode.

또한, 각각의 해상도 모드마다 매 프레임별로 이미지 센서의 노출시간을 조절해야 하므로 마이크로 프로세서의 알고리즘 구현이 어려워지는 문제점이 있었다.In addition, since the exposure time of the image sensor must be adjusted for each frame in each resolution mode, it is difficult to implement an algorithm of the microprocessor.

따라서, 본 발명은 상기 문제점을 해결하기 위하여 이루어진 것으로, 자동 노출 제어에 필요한 테이블을 생성함에 따라 상기 테이블의 인덱스만 산출하면 되므로 자동 노출 제어시간을 단축할 수 있으며, 마이크로 프로세서의 알고리즘 구현이 용이해지는 자동 노출 제어장치 및 그 방법을 제공하는데 있다.Accordingly, the present invention has been made to solve the above problems, and since only the index of the table needs to be calculated as a table for automatic exposure control is generated, the automatic exposure control time can be shortened, and the microprocessor algorithm can be easily implemented. An automatic exposure control apparatus and method are provided.

상기 목적을 달성하기 위한 본 발명에 의한 자동 노출 제어장치는, 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 자동 노출 제어장치에 있어서, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 테이블 생성부; 밝기 성분의 분포도를 산출해내는 분포도 산출부; 상기 분포도 산출부에 의해 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 인덱스 선택부;를 포함한다.An automatic exposure control apparatus according to the present invention for achieving the above object, in the automatic exposure control apparatus for automatically adjusting the image sensor exposure time at the interval of one or more frames for each resolution mode, forming an index, a predetermined item in the index A table generator for storing a value corresponding to the table and generating a table; A distribution calculator calculating a distribution of brightness components; Correcting the difference between the brightness average value and the target brightness value for a frame of a predetermined period currently input using the distribution chart calculated by the distribution calculator, and using the corrected value, the image sensor exposure time from the table. And an index selector for selecting an index in which values necessary to adjust the value are stored.

여기서, 상기 테이블 생성부는, DSP로부터 모드 변환 명령을 받아 ISP 및 이미지 센서의 해상도 모드를 변환시키고, 상기 분포도 산출부의 밝기성분 분포도 산출 및 상기 이미지 센서로부터 출력되는 이미지 데이터를 제어하는 모드 변환 제어부; 상기 모드 변환 제어부로부터 명령을 받아 상기 분포도 산출부를 제어하는 분포도 제어부; 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산하는 노출시간 기본 단위 계산부; 상기 노출시간 기본 단위 계산부에서 환산된 노출시간 기본 단위를 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구하고, 변환된 모드에 대한 테이블을 생성하는 테이블 생성 엔진; 및 모드 변환시 리셋되고, 상기 테이블이 생성되면 셋팅되는 테이블 완료 레지스터;를 포함하는 것을 특징으로 한다.The table generation unit may include: a mode conversion controller configured to receive a mode conversion command from a DSP to convert resolution modes of an ISP and an image sensor, and to calculate a brightness component distribution of the distribution calculator and to control image data output from the image sensor; A distribution controller which receives a command from the mode conversion controller and controls the distribution calculator; An exposure time basic unit calculator for dividing an exposure time basic unit converted into a number of clocks by the image sensor by a clock frequency and converting it into time; A table generation engine that obtains an image sensor exposure time for a frame of a period immediately before mode conversion by using the exposure time basic unit converted by the exposure time basic unit calculator, and generates a table for the converted mode; And a table completion register which is reset when the mode is changed and is set when the table is generated.

이때, 상기 테이블 생성 엔진은, 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이, 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출 시간과 거의 동일하도록 테이블을 생성하는 것을 특징으로 한다.In this case, the table generation engine generates a table such that the image sensor exposure time of the frame of the first period after the mode conversion is substantially the same as the image sensor exposure time of the frame of the period immediately before the mode conversion.

또한, 상기 테이블 생성 엔진은, 상기 이미지 센서 노출시간을 상기 노출시간 기본 단위로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성된 테이블을 생성하는 것을 특징으로 한다.The table generation engine may generate a table including an automatic exposure evaluation value obtained by dividing the exposure time of the image sensor by the basic unit of exposure time and a digital amplification ratio item which is a brightness amplification ratio of the ISP.

또한, 상기 테이블 생성 엔진은, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장된 테이블을 생성하는 것을 특징으로 한다. The table generation engine may generate a table in which 100 pairs of automatic exposure evaluation values and digital amplification ratios are stored in the formed indexes.

한편, 상기 인덱스 선택부는, 상기 분포도 산출부에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산하는 평균 레벨 계산부; 상기 분포도 산출부의 완료 레지스터를 리셋시키거나, 상기 분포도 산출부 완료 레지스터(136)를 리셋시키고 상기 평균 레벨 계산부를 동작시키는 자동 노출 제어부; 상기 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산하는 에러 계산부; 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산하는 누적 에러 계산부; 상기 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 구하고, 상기 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색하는 인덱스 탐색부; 및 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 파악하는 휴지기 감지부;를 포함한다.The index selector may include: an average level calculator configured to calculate a brightness average level value by using the brightness distribution calculated by the distribution calculator; An automatic exposure control unit which resets the completion register of the distribution calculator, or resets the distribution calculator completion register 136 and operates the average level calculator; An error calculator configured to calculate a brightness error that is a difference between the brightness average level value and a target brightness value; A cumulative error calculator configured to calculate a cumulative value for a brightness error of a frame inputted before; Obtain a limit of the brightness error that can be corrected by using the calculated cumulative error of the brightness error, and using the brightness error limit value is stored the automatic exposure evaluation value and the digital amplification ratio for the frame of the current input period An index search unit for searching an index; And a pause detector detecting whether an ISP state for a frame of a predetermined period currently being input is a pause.

한편, 상기 모드 변환 제어부는, 상기 ISP 상태가 휴지기인 경우, 상기 인덱 스 탐색부에서 탐색된 인덱스에 저장되어 있는 자동 노출 평가치를 상기 이미지 센서에 셋팅하는 것을 특징으로 한다.On the other hand, the mode conversion controller, when the ISP state is idle, characterized in that for setting the automatic exposure evaluation value stored in the index found in the index search unit to the image sensor.

또한, 상기 모드 변환 제어부는, 상기 ISP 상태가 휴지기인 경우, 상기 인덱스 탐색부에서 탐색된 인덱스에 저장된 디지털 증폭비율을 상기 ISP에 셋팅하는 것을 특징으로 한다.The mode conversion controller may set the digital amplification ratio stored in the index searched by the index search unit to the ISP when the ISP state is idle.

또한, 상기 모드 변환 제어부는, 변환 직전의 모드에 대한 이미지 데이터 출력을 중지시키고 변환된 모드에 대한 이미지 데이터 출력이 진행되도록 제어하는 것을 특징으로 한다.The mode conversion controller may be configured to stop the image data output for the mode immediately before the conversion and to output the image data for the converted mode.

또한, 상기 모드 변환 제어부는, 상기 분포도 제어부에 의해, 상기 분포도 산출부가 변환 직전의 모드에 대한 밝기 성분의 분포도 산출을 중지하고 변환된 모드에 대한 밝기 성분의 분포도 산출을 수행하도록 제어하는 것을 특징으로 한다.The mode conversion controller may be configured to, by the distribution control unit, control the distribution calculator to stop calculating the distribution of the brightness components for the mode immediately before the conversion and to calculate the distribution of the brightness components for the converted mode. do.

한편, 상기 목적을 달성하기 위한 본 발명에 의한 자동 노출 제어방법은, 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 자동 노출 제어방법에 있어서, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 제 1 단계; 밝기 성분의 분포도를 산출해내는 제 2 단계; 상기 제 2 단계에서 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 제 3 단계; 및 상기 제 3 단계에서 선택된 인덱스에 저장된 값들을 이용하여 상기 이미지 센서 노출시간을 조절하는 제 4 단계;를 포함한다.On the other hand, the automatic exposure control method according to the present invention for achieving the above object, in the automatic exposure control method for automatically adjusting the image sensor exposure time at intervals of one or more frames per resolution mode, forming an index, A first step of generating a table by storing values corresponding to a predetermined item; Calculating a distribution of brightness components; The difference between the brightness average value and the target brightness value for the frame which is currently input is corrected using the distribution chart calculated in the second step, and the image sensor exposure time is determined from the table using the corrected value. Selecting an index in which values necessary to adjust are stored; And a fourth step of adjusting the exposure time of the image sensor by using values stored in the index selected in the third step.

여기서, 상기 제 1 단계는, DSP로부터 받은 모드 변환 명령을 전달하는 제 1-1 단계; 변환 직전의 모드에 대한 테이블의 완료 레지스터를 리셋시키는 제 1-2 단계; 변환 직전의 모드에 대한 밝기 성분의 분포도 산출을 중지하는 제 1-3 단계; 변환 직전의 모드에 대한 이미지 센서로부터의 이미지 데이터 출력을 중지하는 제 1-4 단계; 이미지 센서의 해상도를 변환하는 제 1-5 단계; ISP의 해상도를 변환하는 제 1-6 단계; 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산하는 제 1-7 단계; 상기 환산된 노출시간 기본 단위를 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구하는 제 1-8 단계; 및 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 제 1-9 단계; 및 상기 테이블이 생성되는 경우, 변환된 모드에 대한 테이블의 완료 레지스터를 셋팅하는 제 1-10 단계;를 포함하는 것을 특징으로 한다.Here, the first step may include a first to first step of delivering a mode conversion command received from the DSP; Resetting the completion register of the table for the mode immediately before conversion; Stopping the calculation of the distribution of the brightness components for the mode immediately before the conversion; 1-4 steps of stopping output of the image data from the image sensor for the mode immediately before conversion; 1-5 step of converting the resolution of the image sensor; First to sixth steps of converting the resolution of the ISP; A first to seventh steps of dividing an exposure time basic unit converted into a number of clocks by the image sensor by a clock frequency and converting the result into time; Calculating an image sensor exposure time for a frame of a period immediately before mode conversion by using the converted exposure time basic unit; And forming an index and generating a table by storing values corresponding to a predetermined item in the index; And setting the completion register of the table for the converted mode when the table is generated.

이때, 상기 제 1-9 단계는, 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출 시간과 거의 동일하도록 테이블을 생성하는 단계를 더 포함하는 것을 특징으로 한다.In this case, the steps 1-9 may further include generating a table such that the image sensor exposure time for the frame of the first period after the mode conversion is substantially the same as the image sensor exposure time for the frame of the period immediately before the mode conversion. It features.

또한, 상기 1-9 단계는, 상기 테이블이 상기 이미지 센서 노출시간을 상기 노출시간 기본 단위로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성되도록 생성하는 것을 특징으로 한다.In addition, in the step 1-9, the table is generated such that the image sensor exposure time divided by the exposure time basic unit is divided into a digital amplification ratio item which is the brightness amplification ratio of the ISP and the item. do.

또한, 상기 1-9 단계는, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장되도록 테이블을 생성하는 것을 특징으로 한다.In addition, the step 1-9, characterized in that for generating the table to store the automatic exposure evaluation value and the digital amplification ratio consisting of 100 pairs in each formed index.

한편, 상기 제 3 단계는, 상기 제 2 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키거나 상기 제 2 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키고 밝기 평균 레벨값을 계산하는 평균 레벨 계산부를 동작시키는 제 3-1 단계; 상기 제 2 단계에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산하는 제 3-2 단계; 상기 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산하는 제 3-3 단계; 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산하는 제 3-4 단계; 상기 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 계산하는 제 3-5 단계; 상기 계산된 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색하는 제 3-6 단계; 및 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 판단하는 제 3-7 단계;를 포함한다.The third step may include: an average level calculator configured to reset the completion register of the distribution calculator that performs the second step or reset the completion register of the distribution calculator that performs the second step and calculate a brightness average level value. Operating step 3-1; A third step of calculating a brightness average level value using the brightness distribution calculated in the second step; Calculating a brightness error which is a difference between the brightness average level value and a target brightness value; Calculating a cumulative value for a brightness error of a frame inputted before; Calculating a threshold of brightness errors that can be corrected using the accumulated values of the calculated brightness errors; Searching for an index in which an automatic exposure evaluation value and a digital amplification ratio are stored for a frame which is currently input using the calculated brightness error threshold value; And 3-7 determining whether an ISP state for a frame of a predetermined period that is currently input is at rest.

이때, 상기 제 3-7 단계는, 상기 현재 입력되는 일정 주기의 프레임에 대한 ISP의 상태가 휴지기인 경우 상기 제 4 단계로 진행하고, 휴지기가 아닌 경우 상기 제 3-7 단계로 피드백되는 것을 특징으로 한다.In this case, the step 3-7, if the status of the ISP for the frame of the current input period is in the idle state, the process proceeds to the fourth step, and if it is not the idle period is fed back to the 3-7 stage It is done.

한편, 상기 제 4 단계는, 상기 제 3-6 단계에서 탐색된 인덱스에 저장되어 있는 자동 노출 평가치를 이미지 센서에 셋팅하는 제 4-1 단계; 상기 제 3-6 단계 에서 탐색된 인덱스에 저장되어 있는 디지털 증폭비율을 ISP에 셋팅하는 제 4-2 단계; 상기 셋팅된 자동 노출 평가치 및 디지털 증폭비율을 이용하여 이미지 센서 노출 시간을 조절하는 제 4-3 단계; 상기 조절된 노출 시간에 따라 변환된 모드에 대한 밝기 성분의 분포도 산출을 수행하는 제 4-4 단계; 및 상기 조절된 노출 시간에 따라 변환된 모드에 대한 상기 이미지 센서로부터의 이미지 데이터 출력을 수행하는 제 4-5 단계;를 포함한다.On the other hand, the fourth step may include a step 4-1 of setting the automatic exposure evaluation value stored in the index searched in the step 3-6 to the image sensor; Step 4-2 of setting the digital amplification ratio stored in the index found in steps 3-6 to the ISP; Adjusting the exposure time of the image sensor using the set automatic exposure evaluation value and the digital amplification ratio; A fourth step of performing a calculation of distribution of brightness components for the mode converted according to the adjusted exposure time; And a fourth step of performing image data output from the image sensor for the mode converted according to the adjusted exposure time.

이하, 첨부된 도면을 참조하여 본 발명에 의한 바람직한 실시예에 대하여 보다 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 의한 자동 노출 제어장치(100)의 블록도로써, 도 1에서 도시한 바와 같이, 본 발명에 의한 자동 노출 제어장치(100)는 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 장치로써, 테이블 생성부(110), 분포도 산출부(120), 인덱스 선택부(130)로 구성되어 있다.1 is a block diagram of an automatic exposure control apparatus 100 according to the present invention. As shown in FIG. 1, the automatic exposure control apparatus 100 according to the present invention exposes an image sensor at one or more frames per resolution mode. As an apparatus for automatically adjusting the time, the apparatus includes a table generator 110, a distribution chart calculator 120, and an index selector 130.

여기서, 상기 테이블 생성부(110)는, 인덱스를 형성하고 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성한다.Here, the table generator 110 forms an index and generates a table by storing values corresponding to a predetermined item in the index.

도 2는 본 발명에 의한 테이블 생성부(110)의 블록도로써, 도 2에서 도시한 바와 같이, 상기 테이블 생성부(110)는, 모드 변환 제어부(111), 분포도 제어부(112), 노출시간 기본 단위 계산부(113), 테이블 생성 엔진(114), 테이블 완료 레지스터(115)로 구성되어 있다.2 is a block diagram of the table generator 110 according to the present invention. As shown in FIG. 2, the table generator 110 includes a mode conversion controller 111, a distribution chart controller 112, and an exposure time. The basic unit calculation unit 113, the table generation engine 114, and the table completion register 115 are configured.

여기서, 상기 모드 변환 제어부(111)는, DSP와 ISP 사이의 인터페이스 엔진(116)을 통하여 DSP로부터 모드 변환 명령을 전달받아 상기 명령을 해독한 후 상기 ISP 및 이미지 센서의 해상도 모드를 변환시키며, 상기 분포도 산출부(120)의 밝기성분 분포도 산출 및 상기 이미지 센서로부터 출력되는 이미지 데이터를 제어한다.Here, the mode conversion control unit 111 receives a mode conversion command from the DSP through the interface engine 116 between the DSP and the ISP, decodes the command, and converts the resolution modes of the ISP and the image sensor. The brightness component distribution diagram of the distribution calculator 120 and the image data output from the image sensor are controlled.

또한, 상기 분포도 제어부(112)는, 상기 모드 변환 제어부(111)로부터 명령을 받아 상기 분포도 산출부(120)를 제어하는 역할을 한다.In addition, the distribution control unit 112 serves to control the distribution calculation unit 120 by receiving a command from the mode conversion control unit 111.

또한, 상기 노출시간 기본 단위 계산부(113)는, 센서 인터페이스 엔진(117)을 통하여 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산한다. In addition, the exposure time basic unit calculator 113 divides the exposure time basic unit converted into the number of clocks by the image sensor through the sensor interface engine 117 by dividing the clock frequency into a time.

이때, 시간으로 환산된 노출시간 기본 단위를 EXP_basetime 이라 정의하고, 이하 후술하기로 한다.At this time, the base unit of exposure time converted into time is defined as EXP_basetime, which will be described later.

한편, 상기 테이블 생성 엔진(114)은, 상기 노출시간 기본 단위 계산부(113)에서 환산된 EXP_basetime을 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구한다.Meanwhile, the table generation engine 114 calculates an image sensor exposure time for a frame of a period immediately before the mode conversion, using the EXP_basetime converted by the exposure time base unit calculator 113.

이때, 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 OLD_expotime 이라 정의하고 이하 후술하기로 한다.At this time, the image sensor exposure time for the frame of the period immediately before the mode conversion is defined as OLD_expotime and will be described later.

또한, 상기 테이블 생성 엔진(114)은, 상기 OLD_expotime을 구한 후 상기 변환된 모드에 대한 테이블을 생성한다.In addition, the table generation engine 114 obtains the OLD_expotime and then generates a table for the converted mode.

이때, 상기 테이블 생성 엔진(114)은, 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이, 상기 OLD_expotime과 거의 동일하도록 테이블을 생 성한다.At this time, the table generation engine 114 generates a table such that the image sensor exposure time for the frame of the first period after the mode conversion is almost equal to the OLD_expotime.

또한, 상기 테이블 생성 엔진(114)에 의해 생성된 테이블에는 이미지 센서 노출시간을 상기 EXP_basetime으로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성되어 있으며, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있다. The table generated by the table generation engine 114 includes an automatic exposure evaluation value item obtained by dividing the image sensor exposure time by the EXP_basetime and a digital amplification ratio item which is a brightness amplification ratio of the ISP. 100 pairs of automatic exposure estimates and digital amplification ratios are stored in the index.

이때, 각각의 인덱스를 N(N : 0 내지 99 범위 내의 양수)이라 하고, 각각의 인덱스에 대한 이미지 센서 노출시간, 자동 노출 평가치, 디지털 증폭비율을 각각노출시간[N], 자동 노출 평가치[N], 디지털 증폭비율[N]이라 할 때, 노출시간[N]과 자동 노출 평가치[N] 및 디지털 증폭비율[N]은 다음에서 설명하는 수학식 1, 수학식 2, 수학식 3을 통해 구할 수 있다. In this case, each index is referred to as N (N: positive number within the range of 0 to 99), and the image sensor exposure time, automatic exposure evaluation value, and digital amplification ratio for each index are respectively exposure time [N] and automatic exposure evaluation value. [N] and the digital amplification ratio [N], the exposure time [N], the automatic exposure evaluation value [N] and the digital amplification ratio [N] are the following equations (1), (2) and (3). Obtained from

Figure 112005057047316-PAT00001
Figure 112005057047316-PAT00001

Figure 112005057047316-PAT00002
Figure 112005057047316-PAT00002

Figure 112005057047316-PAT00003
Figure 112005057047316-PAT00003

여기서, EXP_maxtime은 이미지 센서 노출시간의 최대값이며, 상기 테이블 생성 엔진(114)은, 노출시간[N+1]/노출시간[N]의 비율을 정할 수 있는데, 그 비율을 timefactor라 한다. 상기 timefactor는 0에서 1사이의 값을 가질 수 있다.Here, EXP_maxtime is the maximum value of the image sensor exposure time, and the table generation engine 114 may determine the ratio of exposure time [N + 1] / exposure time [N], which is referred to as time factor. The timefactor may have a value between 0 and 1.

또한, Gain_max는 디지털 증폭비율의 최대값이며, Gain_min은 디지털 증폭비율의 최소값이다.In addition, Gain_max is the maximum value of the digital amplification ratio, and Gain_min is the minimum value of the digital amplification ratio.

또한, 상기 테이블 생성 엔진(114)에서는 다음의 수학식 4가 성립하는 인덱스를 No로 정한다.In addition, the table generation engine 114 sets the index at which the following equation (4) holds to No.

Figure 112005057047316-PAT00004
Figure 112005057047316-PAT00004

또한, 상기 테이블 생성 엔진(114)은, 디지털 증폭비율[N+1]/디지털 증폭비율[N])의 비율을 정할 수 있는데, 그 비율을 gainfactor라 하며, 상기 gainfactor는 0에서 1사이의 값을 가질 수 있다.In addition, the table generation engine 114 may determine the ratio of the digital amplification ratio [N + 1] / digital amplification ratio [N], which is called a gain factor, and the gain factor is a value between 0 and 1. Can have

상기 수학식 1, 2, 3에서 실제로 테이블에 저장되는 값은, 앞서 설명한 대로, 100개의 자동 노출 평가치[N]와 디지털 증폭비율[N]의 쌍이다.In Equations 1, 2, and 3, the values actually stored in the table are a pair of 100 automatic exposure evaluation values [N] and a digital amplification ratio [N] as described above.

또한, 테이블 완료 레지스터(115)는, 모드 변환시 리셋(reset)되고, 상기 테이블이 생성되면 셋팅(setting)되어 테이블이 갱신되는 것을 알리는 역할을 한다. In addition, the table completion register 115 is reset when the mode is changed, and when the table is generated, the table completion register 115 is set to inform that the table is updated.

한편, 상기 분포도 산출부(120)는, 밝기 성분의 분포도를 산출해내는 기능 을 수행한다. On the other hand, the distribution calculation unit 120 performs a function of calculating the distribution of the brightness component.

도 3은 본 발명에 의한 분포도 산출부(120)의 저장영역을 나타낸 도면으로써, 도 3에 도시한 바와 같이, 픽셀의 밝기 성분 최소값이 0이고, 최대값이 255라고 가정했을 경우, 한 프레임의 이미지를 구성하는 픽셀의 총 개수 중에서, 밝기 성분이 0~15인 픽셀의 개수, 밝기 성분이 16~31인 픽셀의 개수, ......, 밝기 성분이 224~239인 픽셀의 개수, 밝기 성분이 240~255인 픽셀의 개수를 각각 구한다. FIG. 3 is a diagram illustrating a storage area of the distribution calculator 120 according to the present invention. As shown in FIG. 3, when the minimum value of the brightness component of the pixel is 0 and the maximum value is 255, the frame is calculated. Among the total number of pixels constituting the image, the number of pixels with brightness components 0-15, the number of pixels with brightness components 16-31, ..., the number of pixels with brightness components 224-239, Find the number of pixels whose brightness components are 240-255, respectively.

그 다음, 밝기 성분이 0~15인 픽셀의 개수를 Bin0에 저장하고, 밝기 성분이 16~31인 픽셀의 개수를 Bin1에 저장하고, ......, 밝기 성분이 224~239인 픽셀의 개수를 Bin14에 저장하고, 밝기 성분이 240~255인 픽셀의 개수를 Bin15에 저장한다. Then, store the number of pixels with brightness components 0-15 in Bin0, store the number of pixels with brightness components 16-31 in Bin1, ......, the pixels with brightness components 224-239 Store the number of bins in Bin14, and store the number of pixels whose brightness components are 240 ~ 255 in Bin15.

이때, 상기 분포도 산출부(120)의 밝기 성분 분포도 산출작업이 완료되었으면 분포도 산출부 완료 레지스터를 셋팅시킨다.At this time, if the brightness component distribution calculation operation of the distribution calculation unit 120 is completed, the distribution calculation unit completion register is set.

한편, 상기 인덱스 선택부(130)는, 상기 분포도 산출부(120)에 의해 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 기능을 수행한다. Meanwhile, the index selector 130 corrects a difference between a brightness average value and a target brightness value for a frame of a predetermined period currently input using the distribution chart calculated by the distribution chart calculator 120, and A function of selecting an index in which values necessary for adjusting the image sensor exposure time from the table is stored using the corrected value.

도 4는 본 발명에 의한 인덱스 선택부(130)의 블록도로써, 도 4에서 도시한 바와 같이, 본 발명에 의한 인덱스 선택부(130)는, 자동 노출 제어부(131), 평균 레벨 계산부(132), 에러 계산부(133), 누적 에러 계산부(134), 인덱스 탐색부 (135), 휴지기 감지부(136)으로 구성되어 있다.4 is a block diagram of the index selector 130 according to the present invention. As shown in FIG. 4, the index selector 130 according to the present invention includes an automatic exposure control unit 131 and an average level calculation unit ( 132, an error calculator 133, a cumulative error calculator 134, an index searcher 135, and a pause detector 136.

여기서, 상기 자동 노출 제어부(131)는, 테이블 완료 레지스터(115)가 셋팅된 상태에서 분포도 산출부 완료 레지스터(137)가 셋팅되었다면, 상기 분포도 산출부 완료 레지스터(137)를 리셋시키고 상기 평균 레벨 환산부(132)를 동작시킨다. 단, 만약 테이블 완료 레지스터(115)가 리셋된 상태에서 분포도 산출부 완료 레지스터(137)가 셋팅되었다면, 상기 자동 노출 제어부(131)는 상기 분포도 산출부 완료 레지스터(137)를 리셋시키는 작업만을 수행한다. Here, the automatic exposure control unit 131 resets the distribution calculation unit completion register 137 and converts the average level when the distribution calculation unit completion register 137 is set when the table completion register 115 is set. Operate unit 132. However, if the distribution calculation unit completion register 137 is set while the table completion register 115 is reset, the automatic exposure control unit 131 performs only the task of resetting the distribution calculation unit completion register 137. .

또한, 상기 평균 레벨 계산부(132)는, 상기 분포도 산출부(120)에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산한다.In addition, the average level calculator 132 calculates a brightness average level value using the brightness distribution chart calculated by the distribution chart calculator 120.

상기 밝기 평균 레벨값은 다음에 설명하는 수학식 5와 수학식 6 및 수학식 7을 통해 구할 수 있다.The brightness average level value can be obtained through Equation 5, Equation 6, and Equation 7 described below.

Figure 112005057047316-PAT00005
Figure 112005057047316-PAT00005

Figure 112005057047316-PAT00006
Figure 112005057047316-PAT00006

Figure 112005057047316-PAT00007
Figure 112005057047316-PAT00007

또한, 상기 에러 계산부(133)는, 상기 수학식 7에서 계산된 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산한다.In addition, the error calculator 133 calculates a brightness error that is a difference between the brightness average level value calculated in Equation 7 and a target brightness value.

상기 밝기 에러는, 다음에 설명하는 수학식 8을 통해 구할 수 있다.The brightness error can be obtained through Equation 8 described below.

Figure 112005057047316-PAT00008
Figure 112005057047316-PAT00008

또한, 상기 누적 에러 계산부(134)는, 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산한다. In addition, the cumulative error calculator 134 calculates a cumulative value for a brightness error of a frame inputted before.

상기 누적치(Error_ACC와 Final_Error)는 다음에 설명하는 수학식 9와 수학식 10을 통해 구할 수 있다.The cumulative values Error_ACC and Final_Error can be obtained through Equations 9 and 10 described below.

Figure 112005057047316-PAT00009
Figure 112005057047316-PAT00009

Figure 112005057047316-PAT00010
Figure 112005057047316-PAT00010

이때, Speed는 자동 노출 제어의 추적 속도를 조절할 수 있는 파라미터이며, Error_ACC_old는 이전까지 입력된 프레임 이미지의 Error_ACC이고, Bright_Error_old는 이전까지 입력된 프레임 이미지의 밝기 에러이다.In this case, Speed is a parameter that can adjust the tracking speed of the automatic exposure control, Error_ACC_old is Error_ACC of the frame image previously input, Bright_Error_old is the brightness error of the frame image previously input.

또한, 상기 인덱스 탐색부(135)는, 상기 수학식 10에서 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 구하는데, 상기 밝기 에러의 한계치는 다음에 설명하는 수학식 11을 통해 구할 수 있다.In addition, the index search unit 135 obtains a limit of a brightness error that can be corrected by using a cumulative value for the brightness error calculated in Equation 10. The limit of the brightness error is described in the following equation. Obtained from 11.

Figure 112005057047316-PAT00011
Figure 112005057047316-PAT00011

또한, 상기 인덱스 탐색부(135)는, 상기 수학식 11에서 구한 상기 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색한다. In addition, the index search unit 135 searches for an index in which an automatic exposure evaluation value and a digital amplification ratio are stored for a frame which is currently input by using the brightness error threshold obtained in Equation (11).

현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 Nc라 할 때, 상기 Nc는 다음에 설명하는 수학식 12를 통해 구할 수 있다.When Nc is an index in which an automatic exposure evaluation value and a digital amplification ratio are stored for a frame which is currently input, Nc can be obtained through Equation 12 described below.

Figure 112005057047316-PAT00012
Figure 112005057047316-PAT00012

또한, 상기 휴지기 감지부(136)는, 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 파악하는 기능을 수행한다.In addition, the pause detector 136 performs a function of determining whether an ISP state for a frame of a predetermined period that is currently input is a pause.

즉, 상기 인덱스 탐색부(135)에서 상기 인덱스 Nc를 탐색한 후, 상기 자동 노출 제어부(131)에서는 상기 휴지기 감지부(136)를 통해 현재의 ISP의 상태가 프레임 중간의 휴지기인지를 파악한다. That is, after the index search unit 135 searches for the index Nc, the automatic exposure control unit 131 determines whether the state of the current ISP is in the middle of the frame through the pause detector 136.

따라서, 휴지기이면, 상기 모드 변환 제어부(111)는 상기 테이블 생성 엔진(114)을 통해 이미지 센서와 ISP에 각각 자동 노출 평가치[Nc] 및 디지털 증폭비율[Nc]을 셋팅한다. 상기 이미지 센서에 자동 노출 평가치[Nc]를 셋팅하는 것은 센서 인터페이스 엔진(117)을 통해 할 수 있다. Therefore, during the pause period, the mode conversion control unit 111 sets the automatic exposure evaluation value [Nc] and the digital amplification ratio [Nc] to the image sensor and the ISP through the table generation engine 114, respectively. The setting of the automatic exposure evaluation value [Nc] in the image sensor may be performed through the sensor interface engine 117.

또한, 상기 모드 변환 제어부(111)는, 상기 테이블 생성 엔진(114)을 통해 변환 직전의 모드에 대한 이미지 데이터 출력을 중지시키고 변환된 모드에 대한 이미지 데이터 출력을 수행하는 역할도 한다. Also, the mode conversion control unit 111 stops outputting the image data for the mode immediately before the conversion through the table generation engine 114 and performs the image data output for the converted mode.

한편, 도 5는 본 발명에 의한 자동 노출 제어방법의 흐름도를 나타내고, 도 6은 본 발명에 의한 제 1 단계의 흐름도를 나타내며, 도 7은 본 발명에 의한 제 3 단계의 흐름도를 나타내고, 도 8은 본 발명에 의한 제 4 단계의 흐름도를 나타낸다.5 shows a flowchart of the automatic exposure control method according to the present invention, FIG. 6 shows a flowchart of the first step according to the present invention, FIG. 7 shows a flowchart of the third step according to the present invention, and FIG. 8 Shows a flowchart of the fourth step according to the present invention.

도 5에서 도시한 바와 같이, 본 발명에 의한 자동 노출 제어방법은 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 방법으로써 크게 4 단계로 나누어 볼 수 있다. As shown in FIG. 5, the automatic exposure control method according to the present invention is a method of automatically adjusting the image sensor exposure time at one or more frames per resolution mode, and can be divided into four steps.

먼저, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성한다(S501).First, an index is formed, and a table is generated by storing values corresponding to a predetermined item in the index (S501).

여기서, 도 6에서 도시한 바와 같이, 상기 S501 단계는, 크게 10 단계로 나누어 볼 수 있다Here, as shown in FIG. 6, the step S501 may be divided into 10 steps.

먼저, DSP로부터 받은 모드 변환 명령을 전달한다(S501a).First, the mode transfer command received from the DSP is transferred (S501a).

그 다음, 변환 직전의 모드에 대한 테이블의 완료 레지스터를 리셋시킨다(S501b).Next, the completion register of the table for the mode immediately before conversion is reset (S501b).

그 다음, 변환 직전의 모드에 대한 밝기 성분의 분포도 산출을 중지한다(S501c).Next, calculation of distribution of the brightness component for the mode immediately before conversion is stopped (S501c).

그 다음, 변환 직전의 모드에 대한 이미지 센서로부터의 이미지 데이터 출력을 중지한다.(S501d).Then, image data output from the image sensor for the mode immediately before conversion is stopped (S501d).

그 다음, 이미지 센서의 해상도를 변환한다(S501e).Next, the resolution of the image sensor is converted (S501e).

그 다음, ISP의 해상도를 변환한다(S501f).Then, the resolution of the ISP is converted (S501f).

그 다음, 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산한다(S501g).Subsequently, the basic unit of exposure time converted into the number of clocks by the image sensor is divided into clock frequencies and converted into time (S501g).

그 다음, 상기 환산된 노출시간 기본 단위를 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구한다(S501h).Next, the exposure time of the image sensor for the frame of the period immediately before the mode conversion is obtained using the converted exposure time basic unit (S501h).

그 다음, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성한다(S501i).Next, an index is formed, and a table is generated by storing values corresponding to a predetermined item in the index (S501i).

이때, 상기 S501i 단계는, 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출 시간과 거의 동일하도록 테이블을 생성하는 단계를 더 포함한다.In this case, step S501i further includes generating a table such that the image sensor exposure time for the frame of the first period after the mode conversion is substantially the same as the image sensor exposure time for the frame of the period immediately before the mode conversion.

또한, 상기 S501i 단계는, 상기 테이블이 상기 이미지 센서 노출시간을 상기 노출시간 기본 단위로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성되도록 하며, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장되도록 한다.In addition, the step S501i, so that the table is composed of the automatic exposure evaluation value item divided by the exposure time basic unit of the image sensor exposure time and the digital amplification ratio item which is the brightness amplification ratio of the ISP, wherein each formed index 100 pairs of automatic exposure estimates and digital amplification ratios are stored.

그 다음은, 상기 S501 단계의 마지막 단계로, 상기 테이블이 생성되는 경우, 변환된 모드에 대한 테이블의 완료 레지스터를 셋팅한다(S501j).Next, as a final step of the step S501, when the table is generated, set the completion register of the table for the converted mode (S501j).

한편, 상기 S501 단계 다음으로, 밝기 성분의 분포도를 산출해낸다(S502). On the other hand, after step S501, the distribution of the brightness component is calculated (S502).

또한, 상기 S502 단계 다음으로, 상기 제 S502 단계에서 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택한다(S503).Further, after step S502, the difference between the brightness average value and the target brightness value for the frame which is currently input is corrected using the distribution chart calculated in step S502, and the corrected value is used to correct the difference. In operation S503, an index in which values necessary for adjusting the image sensor exposure time are stored is selected from a table.

여기서, 도 7에서 도시한 바와 같이, 상기 S503 단계는, 크게 7 단계로 나누어 볼 수 있다.As illustrated in FIG. 7, the S503 stage may be divided into seven stages.

먼저, 상기 S502 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키거나 상기 S502 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키고 밝기 평균 레벨값을 계산하는 평균 레벨 계산부를 동작시킨다(S503a).First, the completion register of the distribution chart calculation unit performing the step S502 is reset or the average register calculation unit that resets the completion register of the distribution chart calculating unit performing the step S502 and calculates the brightness average level value (S503a).

즉, 테이블 완료 레지스터가 셋팅된 상태에서 분포도 산출부 완료 레지스터가 셋팅되었다면, 상기 분포도 산출부 완료 레지스터를 리셋시키고 상기 평균 레벨 환산부를 동작시킨다. 단, 만약 테이블 완료 레지스터가 리셋된 상태에서 분포도 산출부 완료 레지스터가 셋팅되었다면, 상기 분포도 산출부 완료 레지스터를 리셋 시키는 작업만 수행한다.That is, if the distribution calculator complete register is set while the table completion register is set, the distribution calculator complete register is reset and the average level converting unit is operated. However, if the distribution calculator completion register is set while the table completion register is reset, only the task of resetting the distribution calculator completion register is performed.

그 다음, 상기 S502 단계에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산한다(S503b).Next, the brightness average level value is calculated using the brightness distribution chart calculated in step S502 (S503b).

그 다음, 상기 S503b 단계에서 계산된 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산한다(S503c).Next, a brightness error that is a difference between the brightness average level value calculated in step S503b and the target brightness value is calculated (S503c).

그 다음, 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산한다(S503d).Next, the cumulative value for the brightness error of the frame inputted before is calculated (S503d).

그 다음, 상기 S503d 단계에서 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 계산한다(S503e).Then, the threshold of the brightness error that can be corrected is calculated using the cumulative value for the brightness error calculated in step S503d (S503e).

그 다음, 상기 S503e 단계에서 계산된 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색한다(S503f).Next, the index in which the automatic exposure evaluation value and the digital amplification ratio are stored for the frame which is currently input is searched using the brightness error threshold calculated in step S503e (S503f).

그 다음, 상기 S503 단계의 마지막 단계로, 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 판단하여(S503g) 휴지기인 경우 상기 S504 단계로 진행하고, 휴지기가 아닌 경우 상기 S503g 단계로 피드백된다.Next, as a final step of the step S503, it is determined whether the ISP state for the frame of the current input period is at rest (S503g) and proceeds to the step S504 in the case of a rest period, and if it is not a rest period, feedback to the step S503g. do.

한편, 상기 S503 단계 다음으로, 상기 S503 단계에서 선택된 인덱스에 저장된 값들을 이용하여 상기 이미지 센서 노출시간을 조절한다(S504).Meanwhile, after step S503, the exposure time of the image sensor is adjusted using the values stored in the index selected in step S503 (S504).

여기서, 도 8에서 도시한 바와 같이, 상기 S504 단계는, 크게 5 단계로 나누어 볼 수 있다.Here, as shown in FIG. 8, the step S504 may be divided into five steps.

먼저, 상기 S503 단계에서 탐색된 인덱스에 저장되어 있는 자동 노출 평가치 를 이미지 센서에 셋팅한다(S504a).First, the automatic exposure evaluation value stored in the searched index in step S503 is set in the image sensor (S504a).

그 다음, 상기 S503 단계에서 탐색된 인덱스에 저장되어 있는 디지털 증폭비율을 ISP에 셋팅한다(S504b).Next, the digital amplification ratio stored in the index found in step S503 is set in the ISP (S504b).

그 다음, 상기 S504a 및 S504b 단계에서 셋팅된 자동 노출 평가치 및 디지털 증폭비율을 이용하여 이미지 센서 노출 시간을 조절한다(S504c).Next, the image sensor exposure time is adjusted using the automatic exposure evaluation value and the digital amplification ratio set in the steps S504a and S504b (S504c).

그 다음, 상기 S504c 단계에서 조절된 노출 시간에 따라 변환된 모드에 대한 밝기 성분의 분포도 산출을 수행한다(S504d).Next, the distribution of brightness components for the mode converted according to the exposure time adjusted in step S504c is performed (S504d).

그 다음, 상기 S504 단계의 마지막 단계로, 상기 S504c 단계에서 조절된 노출 시간에 따라 변환된 모드에 대한 상기 이미지 센서로부터의 이미지 데이터 출력을 수행한다(S504e).Next, as the last step of the step S504, image data output from the image sensor for the mode converted according to the exposure time adjusted in the step S504c is performed (S504e).

이상에서 설명한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환, 변형 및 변경이 가능할 것이며, 이러한 치환, 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for the purpose of illustration, and various substitutions, modifications, and changes within the scope of the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It will be appreciated that such substitutions, changes, and the like should be considered to be within the scope of the following claims.

상술한 바와 같이, 본 발명에 따른 자동 노출 제어장치 및 그 방법에 따르면, 자동 노출 제어에 필요한 테이블을 생성함에 따라 상기 테이블의 인덱스만 산 출하면 되므로 자동 노출 제어시간을 단축할 수 있는 효과가 있다.As described above, according to the automatic exposure control apparatus and method according to the present invention, since only the index of the table needs to be calculated as a table necessary for automatic exposure control is generated, the automatic exposure control time can be shortened. .

또한, 상기 테이블의 인덱스만 산출하면 되므로 마이크로 프로세서의 알고리즘 구현이 용이해지는 이점이 있다.In addition, since only the index of the table needs to be calculated, an algorithm of the microprocessor may be easily implemented.

Claims (18)

해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 자동 노출 제어장치에 있어서,In the automatic exposure control device that automatically adjusts the image sensor exposure time at least one frame per resolution mode, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 테이블 생성부;A table generation unit which forms an index and generates a table by storing values corresponding to a predetermined item in the index; 밝기 성분의 분포도를 산출해내는 분포도 산출부;A distribution calculator calculating a distribution of brightness components; 상기 분포도 산출부에 의해 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 인덱스 선택부;를 포함하는 자동 노출 제어장치.Correcting the difference between the brightness average value and the target brightness value for a frame of a predetermined period currently input using the distribution chart calculated by the distribution calculator, and using the corrected value, the image sensor exposure time from the table. And an index selector for selecting an index in which values necessary to adjust the value are stored. 제 3항에 있어서, 상기 테이블 생성부는, The method of claim 3, wherein the table generation unit, DSP로부터 모드 변환 명령을 받아 ISP 및 이미지 센서의 해상도 모드를 변환시키고, 상기 분포도 산출부의 밝기성분 분포도 산출 및 상기 이미지 센서로부터 출력되는 이미지 데이터를 제어하는 모드 변환 제어부;A mode conversion control unit which receives a mode conversion command from a DSP to convert resolution modes of the ISP and the image sensor, and calculates a brightness component distribution diagram of the distribution calculator and controls image data output from the image sensor; 상기 모드 변환 제어부로부터 명령을 받아 상기 분포도 산출부를 제어하는 분포도 제어부;A distribution controller which receives a command from the mode conversion controller and controls the distribution calculator; 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산하는 노출시간 기본 단위 계산부;An exposure time basic unit calculator for dividing an exposure time basic unit converted into a number of clocks by the image sensor by a clock frequency and converting it into time; 상기 노출시간 기본 단위 계산부에서 환산된 노출시간 기본 단위를 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구하고, 변환된 모드에 대한 테이블을 생성하는 테이블 생성 엔진; 및A table generation engine that obtains an image sensor exposure time for a frame of a period immediately before mode conversion by using the exposure time basic unit converted by the exposure time basic unit calculator, and generates a table for the converted mode; And 모드 변환시 리셋되고, 상기 테이블이 생성되면 셋팅되는 테이블 완료 레지스터;를 포함하는 것을 특징으로 하는 자동 노출 제어장치.And a table completion register which is reset when the mode is changed and is set when the table is generated. 제 2항에 있어서, 상기 테이블 생성 엔진은,The method of claim 2, wherein the table generation engine, 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이, 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출 시간과 거의 동일하도록 테이블을 생성하는 것을 특징으로 하는 자동 노출 제어장치. And generating a table such that the image sensor exposure time for the frame of the first period after the mode change is approximately equal to the image sensor exposure time for the frame of the period immediately before the mode change. 제 2항에 있어서, 상기 테이블 생성 엔진은, The method of claim 2, wherein the table generation engine, 상기 이미지 센서 노출시간을 상기 노출시간 기본 단위로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성된 테이블을 생성하는 것을 특징으로 하는 자동 노출 제어장치.And an automatic exposure evaluation value item obtained by dividing the exposure time of the image sensor by the basic unit of exposure time and a digital amplification ratio item which is a brightness amplification ratio of the ISP. 제 4항에 있어서, 상기 테이블 생성 엔진은,The method of claim 4, wherein the table generation engine, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장된 테이블을 생성하는 것을 특징으로 하는 자동 노출 제어장치. And a table in which the automatic exposure evaluation value and the digital amplification ratio, which are composed of 100 pairs, are stored in each of the formed indexes. 제 5항에 있어서, 상기 인덱스 선택부는, The method of claim 5, wherein the index selector, 상기 분포도 산출부에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산하는 평균 레벨 계산부;An average level calculator for calculating a brightness average level value using the brightness distribution calculated by the distribution calculator; 상기 분포도 산출부의 완료 레지스터를 리셋시키거나, 상기 분포도 산출부 완료 레지스터(136)를 리셋시키고 상기 평균 레벨 계산부를 동작시키는 자동 노출 제어부;An automatic exposure control unit which resets the completion register of the distribution calculator, or resets the distribution calculator completion register 136 and operates the average level calculator; 상기 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산하는 에러 계산부;An error calculator configured to calculate a brightness error that is a difference between the brightness average level value and a target brightness value; 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산하는 누적 에러 계산부;A cumulative error calculator configured to calculate a cumulative value for a brightness error of a frame inputted before; 상기 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 구하고, 상기 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색하는 인덱스 탐색부; 및Obtain a limit of the brightness error that can be corrected by using the calculated cumulative error of the brightness error, and using the brightness error limit value is stored the automatic exposure evaluation value and the digital amplification ratio for the frame of the current input period An index search unit for searching an index; And 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 파악하는 휴지기 감지부;를 포함하는 자동 노출 제어장치.Automatic exposure control device comprising a; idle state detection unit for determining whether the ISP state for the frame of the current period is a pause. 제 6항에 있어서, 상기 모드 변환 제어부는, The method of claim 6, wherein the mode conversion control unit, 상기 ISP 상태가 휴지기인 경우, 상기 인덱스 탐색부에서 탐색된 인덱스에 저장되어 있는 자동 노출 평가치를 상기 이미지 센서에 셋팅하는 것을 특징으로 하는 자동 노출 제어장치.And when the ISP state is idle, setting the automatic exposure evaluation value stored in the index searched by the index search unit to the image sensor. 제 6항에 있어서, 상기 모드 변환 제어부는,The method of claim 6, wherein the mode conversion control unit, 상기 ISP 상태가 휴지기인 경우, 상기 인덱스 탐색부에서 탐색된 인덱스에 저장된 디지털 증폭비율을 상기 ISP에 셋팅하는 것을 특징으로 하는 자동 노출 제어장치.And when the ISP state is idle, setting the digital amplification ratio stored in the index searched by the index searching unit to the ISP. 제 2항에 있어서, 상기 모드 변환 제어부는,The method of claim 2, wherein the mode conversion control unit, 변환 직전의 모드에 대한 이미지 데이터 출력을 중지시키고 변환된 모드에 대한 이미지 데이터 출력이 진행되도록 제어하는 것을 특징으로 하는 자동 노출 제 어장치.Automatic exposure control device characterized in that to stop the output of the image data for the mode immediately before conversion and to proceed to output the image data for the converted mode. 제 2항에 있어서, 상기 모드 변환 제어부는, The method of claim 2, wherein the mode conversion control unit, 상기 분포도 제어부에 의해, 상기 분포도 산출부가 변환 직전의 모드에 대한 밝기 성분의 분포도 산출을 중지하고 변환된 모드에 대한 밝기 성분의 분포도 산출을 수행하도록 제어하는 것을 특징으로 하는 자동 노출 제어장치.And the distribution control unit controls the distribution calculator to stop calculating the distribution of the brightness components for the mode immediately before the conversion and to calculate the distribution of the brightness components for the converted mode. 해상도 모드마다 하나 이상의 프레임을 주기로 이미지 센서 노출 시간을 자동으로 조절하는 자동 노출 제어방법에 있어서,In the automatic exposure control method for automatically adjusting the image sensor exposure time at least one frame per resolution mode, 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 제 1 단계;A first step of forming an index and storing a value corresponding to a predetermined item in the index to generate a table; 밝기 성분의 분포도를 산출해내는 제 2 단계; Calculating a distribution of brightness components; 상기 제 2 단계에서 산출된 분포도를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 밝기 평균값과 목표로 하는 밝기값의 차이를 보정하고, 상기 보정된 값을 이용하여 상기 테이블로부터 상기 이미지 센서 노출시간을 조절하는데 필요한 값들이 저장된 인덱스를 선택하는 제 3 단계; 및The difference between the brightness average value and the target brightness value for the frame which is currently input is corrected using the distribution chart calculated in the second step, and the image sensor exposure time is determined from the table using the corrected value. Selecting an index in which values necessary to adjust are stored; And 상기 제 3 단계에서 선택된 인덱스에 저장된 값들을 이용하여 상기 이미지 센서 노출시간을 조절하는 제 4 단계;를 포함하는 자동 노출 제어방법.And a fourth step of adjusting the exposure time of the image sensor by using values stored in the index selected in the third step. 제 11항에 있어서, 상기 제 1 단계는, The method of claim 11, wherein the first step, DSP로부터 받은 모드 변환 명령을 전달하는 제 1-1 단계;A first step of delivering a mode conversion command received from the DSP; 변환 직전의 모드에 대한 테이블의 완료 레지스터를 리셋시키는 제 1-2 단계; Resetting the completion register of the table for the mode immediately before conversion; 변환 직전의 모드에 대한 밝기 성분의 분포도 산출을 중지하는 제 1-3 단계;Stopping the calculation of the distribution of the brightness components for the mode immediately before the conversion; 변환 직전의 모드에 대한 이미지 센서로부터의 이미지 데이터 출력을 중지하는 제 1-4 단계;1-4 steps of stopping output of the image data from the image sensor for the mode immediately before conversion; 이미지 센서의 해상도를 변환하는 제 1-5 단계;1-5 step of converting the resolution of the image sensor; ISP의 해상도를 변환하는 제 1-6 단계;First to sixth steps of converting the resolution of the ISP; 상기 이미지 센서에 의해 클럭 갯수로 환산된 노출시간 기본 단위를 클럭 주파수로 나누어 시간으로 환산하는 제 1-7 단계;A first to seventh steps of dividing an exposure time basic unit converted into a number of clocks by the image sensor by a clock frequency and converting the result into time; 상기 환산된 노출시간 기본 단위를 이용하여 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출시간을 구하는 제 1-8 단계; 및Calculating an image sensor exposure time for a frame of a period immediately before mode conversion by using the converted exposure time basic unit; And 인덱스를 형성하고, 상기 인덱스에 소정 항목에 해당하는 값들을 저장하여 테이블을 생성하는 제 1-9 단계; 및Forming an index and storing a value corresponding to a predetermined item in the index to generate a table; And 상기 테이블이 생성되는 경우, 변환된 모드에 대한 테이블의 완료 레지스터를 셋팅하는 제 1-10 단계;를 포함하는 것을 특징으로 하는 자동 노출 제어방법.When the table is generated, steps 1-10 of setting a completion register of the table for the converted mode; automatic exposure control method comprising a. 제 12항에 있어서, 상기 제 1-9 단계는,The method of claim 12, wherein steps 1-9 include: 모드 변환 후 첫번째 주기의 프레임에 대한 이미지 센서 노출시간이 모드 변환 직전 주기의 프레임에 대한 이미지 센서 노출 시간과 거의 동일하도록 테이블을 생성하는 단계를 더 포함하는 것을 특징으로 하는 자동 노출 제어방법.And generating a table such that the image sensor exposure time for the frame of the first period after the mode change is substantially the same as the image sensor exposure time for the frame of the period immediately before the mode change. 제 12항에 있어서, 상기 1-9 단계는, The method of claim 12, wherein the steps 1-9, 상기 테이블이 상기 이미지 센서 노출시간을 상기 노출시간 기본 단위로 나눈 자동 노출 평가치 항목과 상기 ISP의 밝기 증폭비율인 디지털 증폭비율 항목으로 구성되도록 생성하는 것을 특징으로 하는 자동 노출 제어방법.And generating, by the table, an automatic exposure evaluation value item obtained by dividing the exposure time of the image sensor by the basic unit of exposure time and a digital amplification ratio item which is a brightness amplification ratio of the ISP. 제 14항에 있어서, 상기 1-9 단계는,The method of claim 14, wherein the steps 1-9, 상기 형성된 각각의 인덱스에 100개의 쌍으로 구성된 자동 노출 평가치 및 디지털 증폭비율이 저장되도록 테이블을 생성하는 것을 특징으로 하는 자동 노출 제어방법.And generating a table to store the automatic exposure evaluation value and the digital amplification ratio composed of 100 pairs in each of the formed indexes. 제 15항에 있어서, 상기 제 3 단계는, The method of claim 15, wherein the third step, 상기 제 2 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키거나 상기 제 2 단계를 수행하는 분포도 산출부의 완료 레지스터를 리셋시키고 밝기 평균 레벨값을 계산하는 평균 레벨 계산부를 동작시키는 제 3-1 단계;A step 3-1 of resetting the completion register of the distribution calculator calculating the second stage or operating the average level calculator calculating the brightness average level value by resetting the completion register of the distribution calculator calculating the second stage; 상기 제 2 단계에서 산출된 밝기 분포도를 이용하여 밝기 평균 레벨값을 계산하는 제 3-2 단계;A third step of calculating a brightness average level value using the brightness distribution calculated in the second step; 상기 밝기 평균 레벨값과 목표로 하는 밝기값의 차이인 밝기 에러를 계산하는 제 3-3 단계;Calculating a brightness error which is a difference between the brightness average level value and a target brightness value; 이전까지 입력된 프레임의 밝기 에러에 대한 누적치를 계산하는 제 3-4 단계;Calculating a cumulative value for a brightness error of a frame inputted before; 상기 계산된 밝기 에러에 대한 누적치를 이용하여 보정할 수 있는 밝기 에러의 한계치를 계산하는 제 3-5 단계;Calculating a threshold of brightness errors that can be corrected using the accumulated values of the calculated brightness errors; 상기 계산된 밝기 에러 한계치를 이용하여 현재 입력되는 일정 주기의 프레임에 대한 자동 노출 평가치 및 디지털 증폭비율이 저장되어 있는 인덱스를 탐색하는 제 3-6 단계; 및Searching for an index in which an automatic exposure evaluation value and a digital amplification ratio are stored for a frame which is currently input using the calculated brightness error threshold value; And 현재 입력되는 일정 주기의 프레임에 대한 ISP 상태가 휴지기인지를 판단하는 제 3-7 단계;를 포함하는 자동 노출 제어방법.And 3-7 determining whether an ISP state for a frame of a predetermined period that is currently input is at rest. 제 16항에 있어서, 상기 제 3-7 단계는,The method of claim 16, wherein the steps 3-7, 상기 현재 입력되는 일정 주기의 프레임에 대한 ISP의 상태가 휴지기인 경우 상기 제 4 단계로 진행하고, 휴지기가 아닌 경우 상기 제 3-7 단계로 피드백되는 것을 특징으로 하는 자동 노출 제어방법.If the status of the ISP for the frame of the current input period is in the idle state, go to the fourth step, if not the automatic exposure control method, characterized in that fed back to the steps 3-7. 제 16항에 있어서, 상기 제 4 단계는, The method of claim 16, wherein the fourth step, 상기 제 3-6 단계에서 탐색된 인덱스에 저장되어 있는 자동 노출 평가치를 이미지 센서에 셋팅하는 제 4-1 단계;Step 4-1 of setting an automatic exposure evaluation value stored in the index found in steps 3-6 to the image sensor; 상기 제 3-6 단계에서 탐색된 인덱스에 저장되어 있는 디지털 증폭비율을 ISP에 셋팅하는 제 4-2 단계;Step 4-2 of setting the digital amplification ratio stored in the index searched in step 3-6 to the ISP; 상기 셋팅된 자동 노출 평가치 및 디지털 증폭비율을 이용하여 이미지 센서 노출 시간을 조절하는 제 4-3 단계;Adjusting the exposure time of the image sensor using the set automatic exposure evaluation value and the digital amplification ratio; 상기 조절된 노출 시간에 따라 변환된 모드에 대한 밝기 성분의 분포도 산출을 수행하는 제 4-4 단계; 및A fourth step of performing a calculation of distribution of brightness components for the mode converted according to the adjusted exposure time; And 상기 조절된 노출 시간에 따라 변환된 모드에 대한 상기 이미지 센서로부터의 이미지 데이터 출력을 수행하는 제 4-5 단계;를 포함하는 자동 노출 제어방법.And a fourth step of outputting image data from the image sensor for the mode converted according to the adjusted exposure time.
KR1020050094812A 2005-10-10 2005-10-10 System and method of auto exposure control KR100708933B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050094812A KR100708933B1 (en) 2005-10-10 2005-10-10 System and method of auto exposure control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050094812A KR100708933B1 (en) 2005-10-10 2005-10-10 System and method of auto exposure control

Publications (2)

Publication Number Publication Date
KR20070039677A true KR20070039677A (en) 2007-04-13
KR100708933B1 KR100708933B1 (en) 2007-04-17

Family

ID=38160373

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050094812A KR100708933B1 (en) 2005-10-10 2005-10-10 System and method of auto exposure control

Country Status (1)

Country Link
KR (1) KR100708933B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101039406B1 (en) * 2010-02-11 2011-06-07 엠텍비젼 주식회사 Image processing apparatus and method using timing control
KR101137144B1 (en) * 2010-06-21 2012-04-19 (주) 넥스트칩 Image signal processing device and method of controlling electric charge accumulation time of light receiving element by linearly estimating exposure time

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100992367B1 (en) 2008-12-01 2010-11-04 삼성전기주식회사 Method for controlling auto exposure

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0176953B1 (en) * 1996-04-12 1999-05-15 구자홍 Ae control method of a camera
JP4264920B2 (en) * 2001-06-22 2009-05-20 ソニー株式会社 Exposure control method and exposure control apparatus for digital camera

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101039406B1 (en) * 2010-02-11 2011-06-07 엠텍비젼 주식회사 Image processing apparatus and method using timing control
KR101137144B1 (en) * 2010-06-21 2012-04-19 (주) 넥스트칩 Image signal processing device and method of controlling electric charge accumulation time of light receiving element by linearly estimating exposure time

Also Published As

Publication number Publication date
KR100708933B1 (en) 2007-04-17

Similar Documents

Publication Publication Date Title
JP4960605B2 (en) Automatic exposure compensation method and compensation device
US7245320B2 (en) Method and apparatus for automatic gain and exposure control for maintaining target image brightness in video imager systems
US7796176B2 (en) Phase adjusting device, phase adjusting method, and digital camera
US20060044459A1 (en) Image pickup apparatus, exposure control method, and computer program installed in the image pickup apparatus
US20150181102A1 (en) Control device, control method, and control system
JP2011097141A (en) Imaging device, method for controlling the same, and program
CN107948634B (en) Image dead pixel detection method and device and image processing chip
US20100194925A1 (en) Image sensing apparatus and method for controlling the same
US9329466B2 (en) Image projection apparatus in which lamp power is determined by measured illuminance
KR100708933B1 (en) System and method of auto exposure control
JP2008170507A (en) Imaging apparatus and automatic focusing method
TW201304528A (en) Method for capturing image
JP4416272B2 (en) IMAGING DEVICE AND CONTROL METHOD OF IMAGING DEVICE
US20230020060A1 (en) Imaging support apparatus, imaging apparatus, imaging support method, and program
US6952525B2 (en) Method of photographing by varying flash trigger time and camera adopting the same
EP2549740B1 (en) Apparatus and method for automatically adjusting focus in image capturing device
JP2006135601A (en) Imaging apparatus
US9299147B2 (en) Image processing apparatus, image capturing apparatus, and image processing method
CN111770283B (en) Gain adjustment method and device for image exposure
KR100721154B1 (en) System and method of auto exposure control
JP2010256519A (en) Imaging apparatus
CN100416399C (en) Focusing mehtod of image picking-up method
TWI768282B (en) Method and system for establishing light source information prediction model
JP5653178B2 (en) Imaging apparatus and control method thereof
JP2008020528A (en) Imaging apparatus

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
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee