KR20020061241A - Analog/digital signal converting method - Google Patents
Analog/digital signal converting method Download PDFInfo
- Publication number
- KR20020061241A KR20020061241A KR1020010002186A KR20010002186A KR20020061241A KR 20020061241 A KR20020061241 A KR 20020061241A KR 1020010002186 A KR1020010002186 A KR 1020010002186A KR 20010002186 A KR20010002186 A KR 20010002186A KR 20020061241 A KR20020061241 A KR 20020061241A
- Authority
- KR
- South Korea
- Prior art keywords
- value
- offset
- average value
- analog
- signal
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/21—Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
Description
본 발명은 아날로그/디지털 신호 변환 방법에 관한 것으로, 특히 아날로그로 입력된 신호를 정확히 디지털 신호로 변환할 수 있도록 하여 디지털 신호 처리의 성능을 향상시키기 위한 아날로그/디지털 신호 변환 방법에 관한 것이다.The present invention relates to an analog / digital signal conversion method, and more particularly, to an analog / digital signal conversion method for improving the performance of digital signal processing by converting an analog input signal accurately into a digital signal.
현재, 대부분의 전자기기는 디지털 방식에 의해 데이터를 처리하고 있는데, 디지털 신호는 매우 많은 데이터를 요구하기 때문에 압축기술이 사용되지 않는 곳에서는 전송에 어려움이 따르게 된다.Currently, most electronic devices process data by digital methods, and since digital signals require a great deal of data, transmission is difficult where compression technology is not used.
이러한 이유로 피씨 등에서 영상신호를 처리할 경우에 내부적으로는 디지털 방식에 의해 데이터를 처리하고, 그 영상 처리된 데이터를 전송할 경우에는 아날로그 방식에 의해 전송하게 된다.For this reason, when the video signal is processed by the PC, the data is processed internally by a digital method, and when the video processed data is transmitted, it is transmitted by the analog method.
따라서, 상기와 같이 디지털 데이터를 아날로그 방식으로 출력할 경우, 이 신호를 수신하여 처리하기 위해서는 아날로그 신호를 다시 디지털로 바꾸어 주는 작업이 필요하게 되고, 일반적으로 아날로그-디지털 컨버터에 의해 그 작업이 이루어진다.Therefore, when digital data is output in an analog manner as described above, in order to receive and process this signal, an operation of converting the analog signal back to digital is required. In general, the operation is performed by an analog-to-digital converter.
이와 같이, 정확한 A/D 변환은 디지털 신호처리에서는 그 정확성을 결정하는 매우 중요한 작업으로서, 대부분의 아날로그-디지털 컨버터에서는 이득(gain)과 오프셋(offset)을 조정하여 신호를 0∼FF(8bit인 경우)로 나누어왔다.As such, accurate A / D conversion is a very important task in determining the accuracy of digital signal processing. In most analog-to-digital converters, the gain and offset are adjusted to adjust the signal from 0 to FF (8 bits). Case).
이때, 오프셋은 화이트와 블랙을 구분하기 위한 기준 레벨이 되고, 이득은이 오프셋을 기준으로 그 이상되는 레벨의 신호값에 대해 일정한 기울기를 가지도록 한다.In this case, the offset becomes a reference level for distinguishing white from black, and the gain has a constant slope with respect to a signal value of a level higher than this offset.
종래의 이득과 오프셋 조정에 의한 아날로그-디지털 신호 변환 방법은 크게 세가지 방법이 있으며, 첫 번째 방법으로는 여러 세트를 테스트 해 보고 이를 이용해 이득과 오프셋의 평균값을 찾아서 이용하는 방법으로서, 매우 편리하기는 하지만 각 세트별 편차를 반영하지 못하는 단점이 있다.Conventional analog-to-digital signal conversion method using gain and offset adjustment is largely three methods. The first method is to test several sets and find and use the average value of gain and offset. There is a disadvantage that it does not reflect the deviation of each set.
다음, 두 번째 방법으로는 각 세트의 신호를 직접 테스트 장비로 측정하면서 이득과 오프셋을 설정하는 방법으로서, 정확하지만 많은 시간과 노력을 필요로 하기 때문에 고가의 제품에만 주로 사용되는 단점이 있다.The second method is to set the gain and offset while measuring each set of signals directly with the test equipment, which is accurate but requires a lot of time and effort.
다음, 세 번째 방법으로는 프로그램 방식에 의해 내부적으로 이득과 오프셋을 자동 설정하는 방법으로서, 이는 최근 통신을 지원하는 IC 칩이 출시되면서 이용하게 된 방법으로서, A/D 컨버터가 처리한 값을 IC 칩에서 입력받아 체크하고 이를 바탕으로 이득과 오프셋 값을 설정하는 방법이다.Next, the third method is a method of automatically setting gain and offset internally by a program method. This is a method recently used when an IC chip supporting communication is released, and the value processed by the A / D converter is used. It is a method of receiving input from a chip and checking it and setting gain and offset values based on it.
그 중 상기 세 번째 방법인 프로그램 방식에 의해 자동으로 이득과 오프셋을 설정하는 방법은, 도3과 도4에 도시된 바와 같은 알고리즘에 의해 수행되는데, 이를 위해서는 반드시 도1 내지 도2에 도시된 바와 같이 화이트(White)와 블랙(Black)이 모두 포함되어 있는 패턴(pattern) 신호를 입력 받아야 한다.The method of automatically setting gain and offset by the third method, which is the third method, is performed by an algorithm as shown in FIGS. 3 and 4. Likewise, a pattern signal containing both white and black must be input.
그럼, 상기와 같은 패턴 신호를 입력받아 오프셋 및 이득을 조정하는 방법에 대하여 설명하기로 한다.Next, a method of adjusting the offset and the gain by receiving the pattern signal as described above will be described.
먼저, 아날로그-디지털 컨버터의 오프셋 값 조정 방법에 대하여 도3의 순서도를 참조하여 설명하면 다음과 같다.First, a method of adjusting an offset value of an analog-digital converter will be described with reference to the flowchart of FIG. 3.
일단, 오프셋 조정을 하기 위해서는 화이트와 블랙이 포함되어 있는 패턴 신호를 입력받고, 오프셋 값을 초기화 한 다음(S11) 에이디 변환한 결과치의 최소값을 검출한다(S12).First, in order to perform the offset adjustment, a pattern signal including white and black is input, an offset value is initialized (S11), and a minimum value of the result of the AD conversion is detected (S12).
이때, 상기 최소값은 블랙 패턴에 해당되는 휘도 레벨로써 완전한 블랙일 경우에 '0'이 된다.In this case, the minimum value is a luminance level corresponding to the black pattern, and becomes '0' when it is completely black.
따라서, 상기 최소값이 '0'보다 크면(S13) 오프셋 값을 한스텝 증가시켜(S15) 최소값이 '0'보다 큰지를 비교 판단하는 과정을 반복 수행하고, 그 결과 최소값이 '0'보다 작아지면 이번에는, 상기 최소값이 '0'보다 작은지를 비교하여(S14) 최소값이 '0'보다 작을 경우, 오프셋 값을 한스텝 감소시켜(S16) 최소값이 '0'보다 작은지를 비교 판단하는 과정을 반복 수행하고, 그 결과 최소값이 '0'과 같아지면 그 값을 오프셋 값으로 결정한다(S17).Therefore, if the minimum value is greater than '0' (S13), the offset value is increased by one step (S15), and the process of comparing and determining whether the minimum value is greater than '0' is repeated, and as a result, if the minimum value is smaller than '0', This time, if the minimum value is smaller than '0' (S14), if the minimum value is smaller than '0', the offset value is decreased by one step (S16) and the process of comparing and determining whether the minimum value is smaller than '0' is repeated. If the minimum value is equal to '0' as a result, the value is determined as an offset value (S17).
다음, 아날로그-디지털 컨버터의 이득 값 조정 방법에 대하여 도4의 순서도를 참조하여 설명하면 다음과 같다.Next, the gain value adjusting method of the analog-digital converter will be described with reference to the flowchart of FIG. 4.
일단, 이득을 조정하기 위해서는 화이트와 블랙이 포함되어 있는 패턴 신호를 입력받고, 이득 값을 초기화 한 다음(S21) 에이디 변환한 결과치의 최대값을 검출한다(S22).First, in order to adjust the gain, a pattern signal including white and black is input, the gain value is initialized (S21), and the maximum value of the result of the AD conversion is detected (S22).
이때, 상기 최대값은 화이트 패턴에 해당되는 휘도 레벨로써 완전한 화이트일 경우에 'Max'는 FF(8bit인 경우)가 된다.In this case, the maximum value is a luminance level corresponding to the white pattern, and when the value is completely white, 'Max' becomes FF (when 8 bits).
따라서, 상기 검출된 최대값이 'FF'보다 크면(S23) 이득 값을 한스텝 증가시켜(S25) 최대값이 'Max'보다 큰지를 비교 판단하는 과정을 반복 수행하고, 그 결과 최대값이 'Max'보다 작아지면 이번에는, 상기 최대값이 'Max'보다 작은지를 비교하여(S24) 최대값이 'Max'보다 작을 경우, 이득 값을 한스텝 감소시켜(S26) 최대값이 'Max'보다 작은지를 비교 판단하는 과정을 반복 수행하고, 이에 따라 최대값이 'Max'와 같아지면 그 값을 이득 값으로 결정한다(S27).Therefore, when the detected maximum value is greater than 'FF' (S23), the gain value is increased by one step (S25), and the process of comparing and determining whether the maximum value is greater than 'Max' is repeated, and as a result, the maximum value is' If the maximum value is smaller than 'Max', this time is compared (S24). If the maximum value is smaller than 'Max', the gain value is decreased by one step (S26). The process of comparing and determining whether the value is small is repeated. Accordingly, if the maximum value is equal to 'Max', the value is determined as a gain value (S27).
이상으로, 상기 이득과 오프셋 값 조정 방법은, 화이트와 블랙이 모두 포함되어 있는 신호패턴을 인가하고, 이 신호중 최소값과 최대값을 찾아서 이 값으로 이득과 오프셋을 찾아 내는 방법으로서, 이론상 블랙의 레벨은 최소값을 통해 찾고 화이트의 레벨은 최대값을 이용해 찾고자 하는 것이다.As described above, the gain and offset value adjusting method is a method of applying a signal pattern including both white and black, finding a minimum and maximum value among these signals, and finding a gain and an offset using this value. Is the minimum value and the white level is the maximum value.
그러나, 최대값과 최소값을 이용해서 이득과 오프셋 값을 설정함에 있어서, 실제로 얻어지는 신호의 최대값과 최소값에는 노이즈가 포함되어 있지만, 노이즈가 어느정도 포함되어 있는지 전혀 알지 못하기 때문에, 이 노이즈 성분을 보상할 만한 이득과 오프셋 값을 찾아 내지 못하게 된다.However, in setting the gain and offset values using the maximum and minimum values, the noise is included in the maximum and minimum values of the signal actually obtained, but the noise component is not known at all, so this noise component is compensated for. You won't find any gain and offset values you can.
이와 같이, 이득과 오프셋이 정확하지 못하게 되면 도1 및 도2와 같이 화이트/블랙 패턴 입력시에 완전한 화이트와 블랙이 되지 않는 문제점이 발생하게 된다.As such, when the gain and offset are not accurate, a problem of not being completely white and black at the time of inputting the white / black pattern as shown in FIGS. 1 and 2 occurs.
즉, 상기 세 번째 방법은 각 세트별 차이를 고려할 수 있고 이득과 오프셋 값을 손쉽게 설정할 수 있는 장점이 있지만, 최대값은 신호의 화이트의 값이 아니라 이 값에 양의 노이즈가 실린 값이되고, 최소값은 블랙의 값이 아니라 이 값에 음의 노이즈가 실린 값이 되기 때문에, 이 방법에 의해서는 블랙과 화이트의 레벨을 정확히 설정하지 못하는 문제점이 있다.That is, the third method has the advantage of considering the difference of each set and easily setting the gain and offset values, but the maximum value is not the white value of the signal, but the value that contains positive noise in this value, Since the minimum value is not a black value but a negative noise on this value, there is a problem in that the level of black and white cannot be set correctly by this method.
따라서, 본 발명은 상기와 같은 종래의 문제점을 해결하기 위하여 창출한 것으로, 화이트 또는 블랙 중 하나의 패턴 신호만을 입력받아 그 각각에 대하여 휘도 레벨의 최대값과 최소값을 찾음으로써, 노이즈 성분이 포함되어 있는지 여부를 검출할 수 있게 되어 그 노이즈 성분에 대해 적절한 보상을 하여 정확한 이득과 오프셋 설정이 가능하도록 하는 아날로그/디지털 신호 변환 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve the above-mentioned conventional problems, and by receiving only one pattern signal of white or black, finding a maximum value and a minimum value of the luminance level for each of them, the noise component is included. It is an object of the present invention to provide an analog / digital signal conversion method capable of detecting whether or not there is a signal, and appropriately compensating for the noise component to enable accurate gain and offset setting.
도 1은 아날로그-디지털 컨버터에 있어서, 오프셋 값 조정을 제대로 수행하지 않았을 경우의 상태를 설명하기 위한 화면을 보인 예시도.1 is an exemplary view showing a screen for explaining a state when the offset value adjustment is not properly performed in the analog-to-digital converter.
도 2는 아날로그-디지털 컨버터에 있어서, 이득 값 조정을 제대로 수행하지 않았을 경우의 상태를 설명하기 위한 화면을 보인 예시도.2 is an exemplary view showing a screen for explaining a state when the gain value adjustment is not properly performed in the analog-to-digital converter.
도 3은 종래의 아날로그-디지털 컨버터에 있어서, 오프셋 값 조정 방법을 설명하기 위해 보인 순서도.3 is a flowchart illustrating a method of adjusting an offset value in a conventional analog-to-digital converter.
도 4는 종래의 아날로그-디지털 컨버터에 있어서, 이득 값 조정 방법을 설명하기 위해 보인 순서도.4 is a flowchart illustrating a gain value adjusting method in a conventional analog-to-digital converter.
도 5는 본 발명에 의해 아날로그-디지털 컨버터에 있어서의 오프셋 값 조정 방법을 설명하기 위해 보인 순서도.Fig. 5 is a flowchart showing a method of adjusting an offset value in an analog-digital converter by the present invention.
도 6은 본 발명에 의해 아날로그-디지털 컨버터에 있어서의 이득 값 조정 방법을 설명하기 위해 보인 순서도.6 is a flow chart shown to explain a gain value adjusting method in an analog-digital converter by the present invention.
이와 같은 목적을 달성하기 위한 본 발명은, 아날로그-디지털 컨버터에 있어서, 오프셋 값 조정을 위해 오프셋 값을 초기화 한 후 순수한 블랙패턴 만의 신호를 입력받아, 그 신호를 에이디 변환한 결과치로부터 휘도 레벨의 최소값과 최대값을 검출하여 그 평균값을 구하는 제1단계와; 상기 평균값이 아날로그-디지털 컨버터의 최소값과 같아질 때 까지, 오프셋 값의 스텝을 증가시키거나 감소시키는 과정을 반복 수행하여 오프셋 값을 설정하는 제2단계로 이루어진 것을 특징으로 한다.According to the present invention for achieving the above object, in the analog-to-digital converter, after initializing the offset value to adjust the offset value, receiving a signal of pure black pattern only, the minimum value of the luminance level from the result of the AD conversion of the signal Detecting a maximum value and a maximum value to obtain an average value thereof; Until the average value is equal to the minimum value of the analog-to-digital converter, it is characterized in that the second step of setting the offset value by repeatedly increasing or decreasing the step of the offset value.
또한, 본 발명은 아날로그-디지털 컨버터에 있어서, 이득 값 조정을 위해 이득 값을 초기화 한 후 순수한 화이트패턴 만의 신호를 입력받아, 그 신호를 에이디 변환한 결과치로부터 휘도 레벨의 최소값과 최대값을 검출하여 그 평균값을 구하는 제1단계와; 상기 평균값이 아날로그-디지털 컨버터의 최대값과 같아질 때 까지, 이득 값의 스텝을 증가시키거나 감소시키는 과정을 반복 수행하여 이득 값을 설정하는 제2단계로 이루어진 것을 특징으로 한다.In addition, the present invention, in the analog-to-digital converter, after initializing the gain value for adjusting the gain value, receives a signal of pure white pattern only, detects the minimum value and the maximum value of the luminance level from the result of the AD conversion of the signal; A first step of obtaining the average value; Until the average value is equal to the maximum value of the analog-to-digital converter, a second step of setting the gain value is repeated by repeatedly increasing or decreasing the step of the gain value.
이하, 본 발명에 따른 일실시예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 목적은 상술한 종래의 이득 및 오프셋 설정을 위한 자동 조정 방법에 있어서, 노이즈에 의해 블랙과 화이트의 레벨을 정확히 설정하지 못하는 문제점을 해결하여 보다 정확하고 빠르게 자동 조정이 이루어질 수 있도록 하는 방법을 제공하는데 있다.SUMMARY OF THE INVENTION An object of the present invention is to solve the problem of not accurately setting the levels of black and white due to noise in the above-described automatic adjustment method for setting the gain and offset, so that the automatic adjustment can be made more accurately and quickly. To provide.
본 발명은 종래와 달리 화이트와 블랙이 같이 포함되어 있는 패턴을 이용하지 않고, 화이트 또는 블랙의 한가지 패턴을 각각 입력하여 이득과 오프셋을 설정하도록 한다.According to the present invention, a gain and an offset are set by inputting one pattern of white or black, respectively, without using a pattern in which white and black are included.
물론, 최대값과 최소값 이외에 노이즈에 대한 더 많은 정보를 알 수 있으면 오프셋 및 이득에 대한 보정을 더 쉽게 할 수 있지만, IC 자체에서 이를 지원해 주지 않을 경우에는 이러한 문제를 해결할 수 없다.Of course, knowing more about noise in addition to the maximum and minimum values makes it easier to compensate for offsets and gains, but this problem cannot be solved if the IC itself does not support it.
따라서, 본 발명에서는 기존 방법과 달리 화이트 또는 블랙 중 하나의 패턴 신호만을 입력받아 그 각각에 대하여 휘도 레벨의 최대값과 최소값을 찾게 되므로, 노이즈 성분이 포함되어 있는지 여부를 검출할 수 있게 되고, 그 노이즈 성분에 대해 적절한 보상을 할 수 있게 되어 보다 정확한 이득과 오프셋의 설정이 가능해진다.Therefore, in the present invention, unlike the conventional method, since only one pattern signal of white or black is input, the maximum value and the minimum value of the luminance level are found for each of them, and thus it is possible to detect whether a noise component is included. Appropriate compensation can be made for noise components, enabling more accurate gain and offset settings.
즉, 화이트 또는 블랙 중 하나의 신호 패턴을 인가하여 그 신호에 대한 휘도 레벨의 최대값과 최소값을 검출했을 때, 만약 그 신호에 노이즈 성분이 포함되어있지 않다면 두 값은 같게 되고, 노이즈 성분이 포함되어 있다면 두 값은 차이가 발생하게 된다.That is, when a signal pattern of white or black is applied to detect the maximum value and the minimum value of the luminance level for the signal, if the signal does not contain a noise component, the two values are the same, and the noise component is included. If so, the two values will be different.
이때, 최대값에는 원래의 신호 레벨에 양 방향의 노이즈 신호를 더한 값이 되고, 최소값은 음 방향의 노이즈 신호를 더한 값이 된다.At this time, the maximum value is a value obtained by adding a noise signal in both directions to an original signal level, and the minimum value is a value obtained by adding a noise signal in a negative direction.
다시 말해, 하나의 휘도 레벨만을 가지는 신호를 인가한 상태에서 최대값과 최소값의 차이는 순수하게 노이즈에 의한 차이가 되며, 입력된 신호가 A/D 컨버터까지 전송되면서 받는 노이즈는 랜덤하게 발생한 노이즈이다.In other words, when a signal having only one luminance level is applied, the difference between the maximum value and the minimum value is purely a noise. The noise received while the input signal is transmitted to the A / D converter is randomly generated noise. .
여기서, 상기 랜덤하게 발생한 노이즈는 일정한 방향성을 띄는 노이즈가 아니므로, 양의 방향의 노이즈 성분과 그 반대 방향의 노이즈 성분은 거의 비슷하다고 볼 수 있다.Here, since the randomly generated noise is not a directional noise, the noise component in the positive direction and the noise component in the opposite direction are almost similar.
따라서, 상기 휘도 레벨의 최대값과 최소값의 평균값을 구하면 블랙 또는 화이트에 대한 원래의 휘도레벨 값에 거의 근접하는 값이 된다. 즉, 두 값의 평균값이 노이즈 성분에 대한 보상을 한 신호의 레벨이 되는 것이다.Therefore, if the average value of the maximum value and the minimum value of the luminance level is obtained, the value is almost close to the original luminance level value for black or white. That is, the average value of the two values is the level of the signal compensated for the noise component.
그럼, 본 발명에 의한 아날로그-디지털 컨버터의 오프셋 값 조정 방법에 대하여 도5의 순서도를 참조하여 설명하면 다음과 같다.Then, the offset value adjustment method of the analog-digital converter according to the present invention will be described with reference to the flowchart of FIG.
일단, 오프셋 조정을 하기 위해서는 블랙 패턴 신호를 입력받고, 오프셋 값을 초기화 한 다음(S31) 에이디 변환한 결과치의 최소값과 최대값을 검출한다(S32).First, in order to perform the offset adjustment, the black pattern signal is input, the offset value is initialized (S31), and the minimum and maximum values of the result of the AD conversion are detected (S32).
이때, 상기 최소값은 블랙 패턴에 해당되는 휘도 레벨로써, 완전한 블랙일 경우에는 '0'이 되며, 최대값 역시 완전한 블랙일 경우에는 '0'이 된다. 따라서,최소값과 최대값의 평균값 역시 '0'이 된다.In this case, the minimum value is a luminance level corresponding to the black pattern, and is '0' in the case of perfect black, and '0' in the case of the perfect black. Therefore, the average of the minimum and maximum values also becomes '0'.
따라서, 상기 평균값이 '0'보다 크면(S33) 오프셋 값을 한스텝 증가시켜(S35) 평균값이 '0'보다 큰지를 비교 판단하는 과정을 반복 수행하고, 그 결과 평균값이 '0'보다 작아지면 이번에는, 상기 평균값이 '0'보다 작은지를 비교하여(S34) 평균값이 '0'보다 작을 경우, 오프셋 값을 한스텝 감소시켜(S36) 평균값이 '0'보다 작은지를 비교 판단하는 과정을 반복 수행하고, 그 결과 평균값이 '0'과 같아지면 그 값을 오프셋 값으로 결정한다(S37).Therefore, when the average value is larger than '0' (S33), the offset value is increased by one step (S35), and the process of comparing and determining whether the average value is larger than '0' is repeated, and as a result, when the average value is smaller than '0', At this time, comparing the average value is smaller than '0' (S34), if the average value is smaller than '0', the offset value is decreased by one step (S36) and the process of comparing and determining whether the average value is smaller than '0' is repeated. As a result, when the average value is equal to '0', the value is determined as an offset value (S37).
다음, 본 발명에 의한 아날로그-디지털 컨버터의 이득 값 조정 방법에 대하여 도6의 순서도를 참조하여 설명하면 다음과 같다.Next, a gain value adjusting method of the analog-digital converter according to the present invention will be described with reference to the flowchart of FIG. 6.
일단, 이득을 조정하기 위해서는 화이트 패턴 신호를 입력받고, 이득 값을 초기화 한 다음(S41) 에이디 변환한 결과치의 최소값과 최대값을 검출한다(S42).First, in order to adjust the gain, a white pattern signal is input, the gain value is initialized (S41), and the minimum and maximum values of the result of the AD conversion are detected (S42).
이때, 상기 최대값은 화이트 패턴에 해당되는 휘도 레벨로써, 완전한 화이트일 경우에 'Max'는 FF(8비트일 경우)가 되며, 최소값 역시 완전한 화이트일 경우에는 FF가 된다. 따라서, 최소값과 최대값의 평균값 역시 'FF'가 되어야 한다.In this case, the maximum value is a luminance level corresponding to a white pattern. In the case of complete white, 'Max' becomes FF (when 8 bits) and the minimum value becomes FF in case of complete white. Therefore, the average of the minimum and maximum values should also be 'FF'.
이에 따라, 상기 검출된 평균값이 'Max'보다 크면(S43) 이득 값을 한스텝 증가시킨 후(S45) 다시 평균값이 'Max'보다 큰지를 비교 판단하는 과정을 반복 수행하고, 그 결과 평균값이 'Max'보다 작아지면 이번에는, 상기 평균값이 'Max'보다 작은지를 비교하여(S44) 평균값이 'Max'보다 작을 경우, 이득 값을 한스텝 감소시켜(S46) 평균값이 'Max'보다 작은지를 비교 판단하는 과정을 반복 수행하고, 이에 따라 평균값이 'Max'와 같아지면 그 값을 이득 값으로 결정한다(S47).Accordingly, if the detected average value is larger than 'Max' (S43), the gain value is increased by one step (S45), and then the process of comparing and determining whether the average value is larger than 'Max' is repeated, and as a result, the average value is' If the average value is smaller than 'Max', this time, if the average value is smaller than 'Max', the gain value is decreased by one step (S46), and the average value is smaller than the 'Max'. The process of determining is repeated, and when the average value is equal to 'Max', the value is determined as a gain value (S47).
다시 말해, 오프셋 조정은 기본 레벨을 잡기 위한 것이므로 블랙 패턴의 신호를 인가한 상황에서 최대값과 최소값을 읽고 이 두값의 평균값을 구한다.In other words, since the offset adjustment is to obtain the basic level, the maximum and minimum values are read and the average value of the two values is obtained when the signal of the black pattern is applied.
다음, 이 평균값이 0(base level)인가를 체크하고 그렇지 않다면 이는 정확한 오프셋 값이 아니므로 오프셋을 다시 조정한 후 상기 과정을 반복하게 된다.Next, it is checked whether the average value is 0 (base level), otherwise it is not an accurate offset value, and the above process is repeated after adjusting the offset again.
이에 따라, 만약 평균값이 기본 레벨(0)보다 크다면 이는 오프셋이 낮은 것을 의미하므로, 도1에 도시된 바와 같이 정상적인 블랙이 출력되지 않게 되고. 이러한 경우에는 오프셋 값을 일정한 크기만큼 올려야 한다.Accordingly, if the average value is larger than the basic level (0), this means that the offset is low, so that normal black is not output as shown in FIG. In this case, the offset value must be raised by a certain amount.
다음, 반대의 경우로 평균값이 기본 레벨(0)보다 낮다면 오프셋이 높은 것을 의미하므로, 낮은 레벨의 신호를 모두 없애버리게 되기 때문에 이 때에는 오프셋 값을 낮추어 주어야 한다.On the contrary, if the average value is lower than the base level (0), it means that the offset is high. Therefore, since the signal of the low level is eliminated, the offset value should be lowered at this time.
한편, 이득을 조정할 경우에는 화이트 패턴을 입력해야 하며 오프셋 설정때와 마찬가지 방법으로 진행이 이루어진다. 다만, 최대값은 기본 레벨인 오프셋의 영향을 받게 되므로 오프셋 조정이 끝난 후에 조정을 실행해야 한다.On the other hand, when adjusting the gain, a white pattern must be input and the process is performed in the same manner as when the offset is set. However, since the maximum value is affected by the offset, which is the basic level, the adjustment should be performed after the offset adjustment is finished.
이상에서 설명한 바와 같이 본 발명 아날로그/디지털 신호 변환 방법은 화이트 또는 블랙 중 하나의 패턴 신호만을 입력받아 그 각각에 대하여 휘도 레벨의 최대값과 최소값을 찾음으로써, 노이즈 성분이 포함되어 있는지 여부를 검출할 수 있게 되어 그 노이즈 성분에 대해 적절한 보상을 하여 정확한 이득과 오프셋 설정이 가능하도록 하는 효과가 있다.As described above, the analog-to-digital signal conversion method of the present invention receives only one pattern signal of white or black and finds the maximum value and the minimum value of the luminance level for each of them, thereby detecting whether a noise component is included. This makes it possible to properly compensate for the noise component so that accurate gain and offset settings can be made.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010002186A KR20020061241A (en) | 2001-01-15 | 2001-01-15 | Analog/digital signal converting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020010002186A KR20020061241A (en) | 2001-01-15 | 2001-01-15 | Analog/digital signal converting method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20020061241A true KR20020061241A (en) | 2002-07-24 |
Family
ID=27691713
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020010002186A KR20020061241A (en) | 2001-01-15 | 2001-01-15 | Analog/digital signal converting method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20020061241A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100688977B1 (en) * | 2004-09-13 | 2007-03-08 | 삼성전자주식회사 | Display apparatus |
KR100727120B1 (en) * | 2005-06-22 | 2007-06-12 | 엘지전자 주식회사 | TV and method for auto processing offset and gain of image signal |
KR100740839B1 (en) * | 2005-03-30 | 2007-07-20 | 엘지전자 주식회사 | Apparatus and method for correcting analog/digital converter |
KR100845866B1 (en) * | 2006-09-07 | 2008-07-14 | 엘지전자 주식회사 | Method for adjustment component signal and Image display apparatus thereof |
KR100929137B1 (en) * | 2002-11-20 | 2009-12-01 | 엘지전자 주식회사 | Signal Processing Apparatus and Method of Image Display Equipment |
KR100929671B1 (en) * | 2003-03-11 | 2009-12-03 | 삼성전자주식회사 | How to adjust offset and gain of liquid crystal display |
-
2001
- 2001-01-15 KR KR1020010002186A patent/KR20020061241A/en not_active Application Discontinuation
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100929137B1 (en) * | 2002-11-20 | 2009-12-01 | 엘지전자 주식회사 | Signal Processing Apparatus and Method of Image Display Equipment |
KR100929671B1 (en) * | 2003-03-11 | 2009-12-03 | 삼성전자주식회사 | How to adjust offset and gain of liquid crystal display |
KR100688977B1 (en) * | 2004-09-13 | 2007-03-08 | 삼성전자주식회사 | Display apparatus |
KR100740839B1 (en) * | 2005-03-30 | 2007-07-20 | 엘지전자 주식회사 | Apparatus and method for correcting analog/digital converter |
KR100727120B1 (en) * | 2005-06-22 | 2007-06-12 | 엘지전자 주식회사 | TV and method for auto processing offset and gain of image signal |
KR100845866B1 (en) * | 2006-09-07 | 2008-07-14 | 엘지전자 주식회사 | Method for adjustment component signal and Image display apparatus thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7733395B2 (en) | Variable-gain amplifier circuit and method of changing gain amplifier path | |
US7098945B1 (en) | Electronic camera apparatus | |
US6753851B2 (en) | Optical mouse having dynamic range | |
KR20020061241A (en) | Analog/digital signal converting method | |
US6535152B2 (en) | Analog-to-digital converter having gamma-corrected reference voltages | |
EP0178044A2 (en) | Analogue-to-digital converting apparatus for video signals | |
US5283635A (en) | White balance adjusting device with plural thresholds for range control | |
US11762507B2 (en) | Fingerprint sensing device and fingerprint sensing method | |
JP3507367B2 (en) | Image reading apparatus, method, and computer-readable storage medium | |
KR100514749B1 (en) | Apparatus and method for auto calibration of display device | |
US7265695B2 (en) | Video signal processing apparatus and video signal processing method | |
JP2650969B2 (en) | Digital television camera device | |
US6671001B2 (en) | Offset level detection method for auto color gain control of analog video signals | |
KR20050067931A (en) | Apparatus and method for calibrating adc of video display device | |
US7342681B2 (en) | High-speed calibration method and system for an image-capture apparatus | |
JPH10285432A (en) | Clamp device for video signal | |
JP2000134637A (en) | Signal processing circuit | |
TW201015979A (en) | Camera and compensating method for defective pixels of an image sensor | |
KR0176918B1 (en) | Signals distortion automatic evaluation apparatus | |
KR20020057287A (en) | Auto white balance circuit responds to light source and movie camera using auto white balence circuit responds to light source | |
JP3134401B2 (en) | Auto white balance circuit of television camera device | |
KR20060104703A (en) | Apparatus and method for correcting analog/digital converter | |
KR20050002687A (en) | Automatic white balance apparatus and method thereof | |
JPS61127274A (en) | Image signal processing circuit | |
JPH01137882A (en) | Original shifting type optical original reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |