Automatic white balance control circuit

Abstract: In an automatic white balance control circuit for adjusting gain levels of a plurality of color signals included in a video signal composed of successive fields and received from a video camera while a light source provides illumination for the scene in the field of view of the camera; first, second and third integrators (8, 11, 14; 9, 12, 15; 10, 13, 16) generate integration signals for each of the received color signals in each of first, second and third fields, respectively, a control signal (DGR, DGB) for each of the fields is generated on the basis of the respective integration signals, and gain levels of at least two of the color signals are adjusted in response to the control signal so as to perform white balancing for preventing variation in video signal brightness or flicker, such as is caused by a difference between the video camera exposure frequency and the light source power supply frequency.

Description: The present invention relates to an automatic white balance control circuit and, more particularly, to a picture integration type automatic white balance control circuit. As shown in Fig. 1, in a conventional automatic white balance control circuit, an optical image is projected by a lens system 51 onto a charge-coupled device (CCD) 52, having complementary color filters, and wherein the image is converted into an electric signal which is supplied to a sample/hold, color separation and automatic gain control (AGC) circuit 53. Color-sequential signals S3, comprising yellow (Ye), green (G) and cyan (Cy) signals, are separated at the sample/hold and color separation portion of circuit 53 by color separation pulses having respective color phases. The separated signals S3(Ye), S3(G) and S3(Cy) are supplied through the AGC portion of circuit 53 to an arithmetic circuit 54, in which such signals are converted into three primary color signals, that is, red, green and blue (R,G,B). The color signals R,G and B are supplied to an automatic white balance control circuit which generally comprises variable gain amplifiers 55, 56 and 57, integration circuits 58, 59 and 60, analog-to-digital converters 61, 62 and 63, a controller 68 and digital-to-analog converters 69 and 70. More specifically, the color signals R, G and B are supplied to the variable gain amplifiers 55, 56 and 57, respectively, and the variable gain amplifier 56 has a constant gain level of 1. The color signals R, G and B are also supplied to the integration circuits 58, 59 and 60, respectively, which are adapted to integrate the received color signals and provide respective integrated value signals therefrom. Thus, the output level of the color signal R is integrated at integration circuit 58 and an integrated value signal IR, representing an average level of the color signal R, is supplied to the analog-to digital converter 61. Integrated value signals IG and IB are similarly obtained from integration circuits 59 and 60, respectively, and are supplied to analog-to-digital converters 62 and 63, respectively. The digitized integrated value signals are supplied to controller 68 which is adapted to calculate the ratio of the integrated value signal IR to the integrated value signal IG and the ratio of the integrated value signal IB to the integrated value IG, that is, the ratios IR/IG and IB/IG, respectively. Reference ratios IRO/IGO and IBO/IGO, obtained while viewing a "white" camera subject under a light source with various color temperatures, are previously calculated and retained by controller 68, and are utilized in generating a blackbody radiation curve CBL, such as is shown in Fig. 2. A tracking range A1 is provided on each side of the blackbody radiation curve CBL. As illustrated in Fig. 2, the ratios IRO/IGO and IBO/IBO are inversely proportional to each other, that is, as one of the ratios IRO/IGO and IBO/IGO increases, the other decreases. Further, as the color temperature increases so does the ratio IBO/IGO. On the other hand, as the color temperature decreases the ratio IRO/IGO increases. White balancing is only performed when the ratios IR/IG and IB/IG fall within the tracking ranges A1. More specifically, a determination is made, at controller 68, whether the ratios IR/IG and IB/IG obtained from actual picture data are within the tracking ranges A1. If the ratios lie within the tracking range A1, white balancing is effected with the gain levels of the color signals R and B being calculated on the basis of the ratios IR/IG and IB/IG. In other words, digital gain control signals are produced in controller 68 and are supplied as analog control signals DGR and DGB to variable gain amplifiers 55 and 57 through D/A converters 69 and 70, respectively. The gain levels of the amplifiers 55 and 57, which are proportionally controlled by gain control signals DGR and DGB, respectively, can be expressed as follows: gain of the amplifier 55 (Rg) = 1 /(IR/IG) gain of the amplifier 57 (Bg) = 1/ (IB/IG) As a result, the output signal levels of the three primary color signals R, G and B from the respective amplifiers 55, 56 and 57 are set equal to each other, that is, (R:G:B = 1:1:1) when the camera is focused on a "white" subject. Further, when the ratios IR/IG and IB/IG lie within the tracking ranges A1, white balancing is performed. On the other hand, when the ratios IR/IG and IB/IG fall outside the tracking ranges A1, white balancing is difficult to achieve, and, in this situation, white balancing is not performed and the gain levels of amplifiers 55 and 57 are maintained at their previous levels. The three primary color signals R, G and B from variable gain amplifiers 55, 56 and 57 are supplied to a matrix circuit 64 in which, the color signals are converted into color difference signals R-Y and B-Y. The color difference signals R-Y and B-Y and a luminance signal Y suitably applied to a terminal 65 are supplied to an encoder 66 which is adapted to convert the received signals into a color video signal SVD in the NTSC format supplied to an output terminal 67. When a conventional video camera equipped with the described automatic white balance control circuit is operated with the scene in the field of view illuminated by a light source of varying intensities and color temperatures, such as, a fluorescent lamp, the conventional automatic white balance control circuit may not operate properly. More specifically, the intensity and color temperature of a fluorescent lamp energized from an AC power supply source vary depending upon the instantaneous voltage of such power supply source. The resulting variation in the intensity and color temperature frequently causes the ratios IR/IG and IB/IG to fall outside the tracking ranges A1. As previously mentioned, adjustment of the primary color gain levels by the known automatic white balance circuit is normally effected only when the ratios IR/IG and IB/IG fall within the tracking ranges A1. Further, when the camera exposure or field frequency and the light source power supply frequency differ, flicker may result, that is, there may be a variation in the brightness of the color image signal from one field to the next. For example, in Japan, if the exposure period of an imager, such as the CCD 52, corresponds to 60 Hz while the standard power supply source frequency is 50 Hz, the amount of light to which the imager is exposed varies between fields as shown in Fig. 3, in which a full wave rectified 50 Hz power supply signal is shown in relation to successive field periods F1, F2, F3 ... etc. Thus, the produced image signal contains a variation in brightness, or flicker. It is to be appreciated from Fig. 3 that the amount of light to which a scene is exposed in the field F4 is the same as that for the field F1. In other words, the exposure of a field F n is equal to that of a field F n+3 which is positioned three fields later so that the flicker has a frequency of 20 Hz. Since the integration output signals from integration circuits 58, 59 and 60 include the flicker component, the conventional automatic white balance control circuit cannot remove flicker during the balancing operation. US-A-4 833 525 discloses a color balance adjustment device capable of compensating for a flicker in the output of the light source illuminating the scene to be viewed. The known apparatus comprises a red and and a blue color signal sensor, each connected to a respective logarithmic amplifier. The outputs of the amplifiers are sent to a differential amplifier. The differential signal is low-pass filtered and A/D-converted. The digital signal is sent to a microprocessor where the signal is averaged over a period of 50 msec (the period of a 20 Hz signal). The white balance control is performed on the basis of the averaged signal. The teaching of US-A-4 833 525 may be or may not be included in the above described conventional automatic white balance control circuit, which the applicant used internally before the priority day of this application. Furthermore, from EP-A-0 356 123, which is state of the art under Article 54(3) EPC, it is known to provide a control circuit in a camera having a lens for focussing incident light onto a light reception surface of a pick-up so that the latter outputs a camera signal, a stop for limiting the amount of the incident light, and a variable gain amplifier for correcting the level of the camera signal, which controls a focus of the lens, the stop and a gain of the variable gain amplifier on the basis of the output of the variable gain amplifier, thereby simplifying the construction of the camera as a whole. It is the object of the present invention to provide an improved automatic white balance control circuit capable of removing flicker components. It is another object of the present invention to provide an improved automatic white balance control circuit, as aforesaid, which is capable of detecting a three-phase change in the color temperature of the light source and acting in response thereto to switch tracking ranges so as to allow white balancing to be performed even when the light source has a relatively wide variation in color temperatures. The object is solved by the features claim 1 or claim 8. Claims 2 - 7 define further developments of the invention. The above, and other objects, features and advantages of the present invention, will be apparent in the following detailed description of a preferred embodiment of the invention when read in conjunction with the accompanying drawings in which corresponding parts are identified by the same reference numerals in the several views. Fig. 1 is a block diagram illustrating an automatic white balance control circuit according to the prior art; Fig. 2 is a diagram illustrating a blackbody radiation curve and the tracking ranges therefor used in the white balance control circuit of Fig. 1; Fig. 3 is a waveform diagram showing a relationship between a power supply source frequency and a field frequency; Fig. 4 is a block diagram showing an automatic white balance control circuit according to an embodiment of this invention; Fig. 5 is a diagram illustrating a blackbody radiation curve and the tracking ranges therefor employed in the white balance control circuit of Fig. 4; Fig. 6 is a flowchart to which reference will be made in explaining the processing performed in a decision circuit included in the white balance control circuit of Fig. 4; and Fig. 7 is a diagram to which reference will be made in explaining three phases of the video signal. An improved picture integration-type automatic white balance control circuit of the feedforward type according to an embodiment of the present invention will now be described in detail with reference to Figs. 4-7. As shown in Fig. 4, an optical image from a lens system 51 is converted into an electric signal by a CCD 52 and outputted through a sample/hold, color separation and an AGC circuit 53 to an arithmetic circuit 54 in a manner similar to that previously described with reference to Fig. 1 so that such description will not be here repeated. As before, the three primary color signals R,G and B from arithmetic circuit 54 are supplied to variable gain amplifiers 55, 56 and 57, respectively, with the variable gain amplifier 56 having a constant gain level of 1. The R, G and B color signals from arithmetic circuit 54 are further supplied to switching circuits 17, 18 and 19, respectively, which are ganged so as to simultaneously supply the respective color signals for successive fields to the respective integration circuits 8-16. More specifically, the color signal R is switched between successive fields by switching circuit 17 so as to be supplied to integration circuits 14, 15 and 16 during first, second and third fields, respectively. Likewise, the color signal G is switched between the successive fields by switching circuit 18 and supplied to integration circuits 11, 12 and 13, respectively, during the first, second and third fields, respectively, and the color signal B is switched between successive fields by switching circuit 19 and supplied during the first, second and third fields to integration circuits 8, 9 and 10, respectively. Each of the integration circuits 8-16 operates in a manner similar to the integration circuits 58-60 previously described with reference to Fig. 1, that is, to integrate the respective received color signals and provide respective integrated value signals therefrom. The integrated value signals from integration circuits 14-16, 11-13 and 8-10 are supplied to switching circuits 20, 21 and 22, respectively, which are also ganged to operate simultaneously with the switching circuits 17, 18 and 19, respectively. The overall operation of integration circuits 8-16 will now be described with reference to Figs. 4 and 7. When a video camera is operated with the scene in its field of view illuminated by a light source, such as, a fluorescent lamp, energized from a power supply having a frequency of 50 Hz while the camera has an exposure or field frequency of 60 Hz, the video camera output signal undergoes a three-phase change, as previously described. To accommodate the three phases, three sets of integration circuits are utilized, with each set generating successive integration value signals for the respective phases. More specifically, and by way of example, the three integration circuits 8, 9 and 10 generate integrated value signals for respective phases of the color signal B. The color signal B contained in a first phase Ph1, is integrated during an interval T61 by integration circuit 8. The color signals B contained in the second phase Ph2 and the third phase Ph3 are integrated by integration circuits 9 and 10 during intervals T62 and T63, respectively. Thus, an integration output signal IB is obtained for each phase. Likewise, the integration circuits 11, 12 and 13 and the integration circuits 14, 15 and 16 generate integrated value signals IG and IR for respective phases of color signals G and R, respectively. More specifically, integration circuits 11 and 14 provide integrated value signals IG, IR for the first phase Ph1 in the interval T61, integration circuits 12 and 15 provide integrated value signals IG, IR for the second phase Ph2 in the interval T62 and integration circuits 13, 16 provide integrated value signals IG, IR for the third phase Ph3 in the interval T63. Therefore, the integration circuits 8, 11, 14 provide integration output signals IB, IG, IR corresponding to a first phase Ph1 in each of successive intervals T21, T22, T23...etc. shown on Fig. 7. In a similar manner, integration circuits 9, 12, 15 and integration circuits 10, 13, 16 provide integrated output signals IB, IG, IR for a second phase Ph2 and a third phase Ph3, respectively. It is to be appreciated that, for the described example, the intervals T21, T22, T23 ... etc. have periods corresponding to a frequency of 20 Hz, whereas the periods of the phases Ph1, Ph2 and Ph3, that is, T61, T62 and T63, correspond to that of a field, that is, to a frequency of 60 Hz. The integrated value signals IR for phases Ph1, Ph2 and Ph3 are supplied from integration circuits 14, 15 and 16, respectively, through the switching circuit 20, to an A/D converter 23 in which the IR signals are digitized. The digitized IR signals are supplied to one input of a dividing circuit 26. The integrated value signals IG for phases Ph1-Ph3 are supplied through the switching circuit 21 and an A/D converter 24 to another input of the dividing circuit 26 and to one input of a dividing circuit 27, and the integrated value signals IB for phases Ph1-Ph3 are supplied through the switching circuit 22 and an A/D converter 25 to another input of dividing circuit 27. Dividing circuit 26 is adapted to calculate the ratio IR/IG for every phase. Similarly, dividing circuit 27 calculates the ratio IB/IG for every phase. The calculated ratios IR/IG and IB/IG are supplied to a judgement circuit 28 and to a gain control signal generator 29. It is to be appreciated that dividing circuits 26 and 27, judgement circuit 28, and gain control signal generator 29 may be constituted by a microprocessor as represented by the one-dot and dash lines enclosing such components in Fig. 4. The judgement circuit 28 is adapted to store reference ratios IRO/IGO and IBO/IGO, which are initially obtained on the basis of a "white" camera subject illuminated by light sources having various color temperatures, and, on the basis of such reference ratios, the judgement circuit 28 generates a blackbody radiation curve CBL with two tracking ranges A 1 and A 2 , as shown in Fig. 5. The characteristics of the curve CBL in Fig. 5 are generally similar to the characteristics of the curve CBL described with reference to Fig. 2 and will not be repeated. The judgement circuit 28 is further adapted to decide whether or not there is a three phase change in the color temperature of the light source, and whether the ratios IR/IG and IB/IG, which are provided in the intervals T61, T62, T63 shown in Fig. 7, lie within tracking ranges A 1 or A 2 . Then, in a manner similar to what has been described with reference to Fig. 2, white balancing is only effected when the ratios IR/IG and IB/IG lie within the tracking ranges A 1 or A 2 . The operation of the judgement circuit 28 will now be further described with reference to the flowchart of Fig. 6. As previously described, the ratios IR/IG and IB/IG are supplied to judgement circuit 28. At an initial step 101, it is determined whether or not a three phase change exists in the integrated output signals IR, IG, IB by detecting if a change occurs in the ratios IR/IG and IB/IG in intervals T61, T62 and T63. For example, when a fluorescent lamp energized by a power supply frequency of 50 Hz is used for illuminating the scene in the field of view, the ratio levels IR/IG and IB/IG vary between intervals T61, T62 and T63, as shown in Fig. 7, and such variations are repeated during intervals T21, T22 and so forth. Thus, by detecting the change in ratio levels which occur between intervals T61, T62 and T63, the presence of a three phase change is detected. If the answer to step 101 is affirmative, tracking range A 2 is selected in step 102 of Fig. 6. On the other hand, if the answer to step 101 is negative, or if a determination cannot be made as to whether or not a three phase change exists, tracking range A 1 is selected in step 103. For example, until completion of the initial interval T21, the existence of a three-phase change cannot be determined, and in that case, tracking range A 1 is used for interval T21. Upon the completion of interval T21, the occurrence of a three-phase change can be determined from the phases Ph1, Ph2 and Ph3 in interval T21 and then the appropriate tracking range can be selected for the subsequent interval, that is, the interval T22. For example, if a three phase change is detected in interval T21, tracking range A2 is selected for the following interval T22. Identification of the tracking range selected in step 102 or 103 is supplied to step 104 wherein, the ratios IR/IG and IB/IG are compared with the stored blackbody radiation curve CBL and a determination is made whether such ratios fall within the selected tracking range A 1 or A 2 . If the answer to step 104 is affirmative, a gain control signal DGA is outputted from judgement circuit 28 to gain control signal generator 29, as indicated in step 105. On the other hand, if the answer to step 104 is negative, there is no output of the gain control signal DGA as indicated in step 106. Upon completion of step 105 or 106, the operation of judgement circuit 28 in an interval, for example, in the interval T22, is completed, and, thereupon, the decision processing is repeated as shown in Fig. 6. As previously mentioned, the gain control signal DGA is supplied from the judgement circuit 28 to the gain control signal generator 29 which is adapted to calculate the adjusted gain levels of the color signals R and B based on the ratios IR/IG and IB/IG for each phase Ph1, Ph2 and Ph3. The calculated adjusted gain levels are supplied as control signals DGR and DGB to variable gain amplifiers 55 and 57 through digital-to-analog converters 31 and 30, respectively. The gain levels of the variable gain amplifiers 55 and 57, which are proportionally controlled by control signals DGR and DGB, respectively, for each of the phases Ph1, Ph2 and Ph3, can be expressed as follows: gain of amplifier 55 (Rg) = 1/(IR/IG) gain of amplifier 57 (Bg) = 1/(IB/IG) As a result, the output signal levels of the three primary color signals R, G and B from amplifiers 55, 56 and 57, respectively, are adjusted or balanced to be equal to each other, that is, (R:G:B = 1:1:1), when the camera is focused on a "white" subject. Thus, so long as the ratios IR/IG and IB/IG lie within the selected tracking range A 1 or A 2 , white balancing may be achieved for obtaining improved color reproduction even though the power supply frequency for the light source differs from the field or exposure frequency of the video camera. When the gain control signal DGA is not output from judgement circuit 28, as in step 106 of Fig. 6, the ratios IR/IG and IB/IG lie outside the selected tracking range A 1 or A 2 whereby white balancing is difficult to perform. Accordingly, in this situation, further white balancing is not performed and the gain levels of variable gain amplifiers 55 and 57 are maintained at their previous levels. In a manner similar to that described with reference to Fig. 1, the color signals R, G and B from variable gain amplifiers 55, 56 and 57, respectively, are converted into color difference signals R-Y and B-Y by a matrix circuit 64. The color difference signals R-Y and B-Y and a luminance signal Y from a terminal 65 are supplied to an encoder 66, which is adapted to convert the received signals into a color video signal SVD according to the NTSC format available an output terminal 67. In the automatic white balance control circuit according to an embodiment of the present invention as described hereinabove, integrated value signals are calculated for each phase of the imager output and are utilized for automatic white balancing so that improved automatic white balancing is obtained. As a result, the described generation of flicker having a frequency of 20 Hz, is prevented. Further, a three phase change due to variation of color temperatures of a light source can be detected whereby an appropriate tracking range can be adaptively selected. Thus, even if the light source has a relatively wide range of variation of color temperatures, corresponding adaptive automatic white balancing can be achieved. Although the described embodiment of the invention is applied to a feedforward type automatic white balancing circuit, the present invention is not so limited and can also be applied to a feedback type-automatic white balancing circuit.

Claims: An automatic white balance control circuit for adjusting gain levels of a plurality of color signals included in a video signal composed of successive video fields and received from a video camera while a light source provides illumination for the scene in the field of view of the camera, comprising: first integrating means (8, 11, 14) for generating a first integration output signal for each of said color signals in a first video field, second integrating means (9, 12, 15) for generating a second integration output signal for each of said color signals in a second video field occurring after said first video field; third integrating means (10, 13, 16) for generating a third integration output signal for each of said color signals in a third video field occurring after said second video field; generating means (26-29) for generating at least two control signals (DGR, DGB) for each of said video fields on the basis of said first, second and third integration output signals for the respective video field; gain control means (55, 57) for adjusting gain levels of at least two (R, B) of said color signals (R, G, B) in response to respective ones of said control signals (DGR, DGB) so as to effect white balancing; dividing means (26, 27) for dividing the integration output signal (IR) of a field corresponding to a first color signal (R) by the integration output signal (IG) of the same field corresponding to a second color signal (G) and the integration output signal (IB) of the same field corresponding to a third color signal (B) by the integration output signal (IG) of the same field corresponding to the second color signal (G) so as to obtain first and second signal ratios (IR/IG; IB/IG), respectively and detecting means (28) for detecting a change between said first, second and third integration output signals including comparing means for comparing said signal ratios (IR/IG; IB/IG) to a range of reference signal ratios selected from a first range (A 1 ) and a second range (A 2 ), whereby in the absence of a detected change, white balancing is performed if said signal ratios lie within said first range (A 1 ), and, upon detection of said detected change, white balancing is performed if said signal ratios lie within said second range (A 2 ). An automatic white balance control circuit according to claim 1; in which each of said two control signals is proportional to the respective inverse of said first and second signals ratios (IR/IG ; IB/IG) An automatic white balance control circuit according to claim 1 or 2; in which said first, second and third integration output signals vary in accordance with the color temperature of said light source. An automatic white balance control circuit according to claim 3; in which said light source is a fluorescent lamp. An automatic white balance control circuit according to claim 4; in which the video camera has a predetermined exposure frequency, and said fluorescent lamp is energized by a power supply having a frequency different from said exposure frequency; and in which said first, second and third integration output signals correspond to respective phases (Ph1, Ph2, Ph3) due to the difference between said video camera exposure frequency and said power supply frequency. An automatic white balance control circuit according to claim 5; in which said video camera exposure frequency is 60Hz and said light source power supply frequency is 50 Hz. An automatic white balance control circuit according to anyone of claims 1 to 6; in which said plurality of color signals include three signals (R, G, B) each for a respective one of three primary colors. An automatic white balance control circuit for adjusting gain levels of a plurality of color signals included in a video signal composed of successive video fields and received from a video camera while a light source provides illumination for a scene in the field of view of the camera, comprising first integrating means (8, 11, 14) for generating a first integration output signal for each of said color signals in a first video field; second integrating means (9, 12, 15) for generating a second integration output signal for each of said color signals in a second video field occuring after said first video field; third integrating means (10, 13, 16) for generating a third integration output signal for each of said color signals in a third video field occuring after said second video field; first, second and third analog-to-digital converters (25, 24, 23) for digitally converting said first, second and third integration output signals, respectively; generating means (26 - 29) for generating at least two digital control signals for each of said video fields on the basis of said first, second and third digitized integration output signals for the respective video field; digital-to-analog converter means (30, 31) for converting said digital control signals to respective analog control signals; gain control means (55, 57) for adjusting gain levels of at least two of said color signals in response to respective ones of said analog control signals so as to effect white balancing; dividing means (26, 27) for dividing a digitized integration output signal (IR) of a field corresponding to a first color signal (R) by the digitized integration output signal (IG) of the same field corresponding to a second color signal (G) and the digitized integration output signal (IB) of the same field corresponding to a third color signal (B) by the digitized integration output signal (IG) of the same field corresponding to the second color signal (G) so as to obtain first and second digitized signal ratios (IR/IG; IB/IG), respectively, and detecting means (28) for detecting a change between said first, second and third digitized integration output signals including comparing means for comparing said digitized signal ratios (IR/IG, IB/IG) to a range of reference digitized signal ratios, selected from a first range (A 1 ) and a second range (A 2 ); whereby in the absence of a detected change, white balancing is performed if said signal ratios lie within said first range (A 1 ), and, upon detection of said detected change, white balancing is performed if said signal ratios lie within said second range (A 2 ).

Inventors: KOHASHI TAKASHI C O SONY CORPO, KONDO TOSHIHARU C O SONY CORPO, KOHASHI, TAKASHI, C/O SONY CORPORATION, KONDO, TOSHIHARU, C/O SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1990
Main classification: H04N9
IPC codes: H04N9