Circuit for automatically focusing a camera based on changes in luminance signals derived from optical signals received by the camera
This is a continuation of application Ser. No. 08/024,028 filed Mar. 1, 1993, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     Applicant incorporates by reference herein the contents of Korean patent application No. 92-3389 filed Feb. 29, 1992. 
     The present invention relates to an automatic focus circuit used in a video camera, and more particularly to an automatic focus circuit for performing automatic focus by evaluating integrated values of digital luminance signals for a divided area on the monitor screen. 
     There are two basic types of conventional automatic focus apparatus used in a video camera, for example, the infrared ray type and the Honeywell type developed by the Honeywell Company. 
     Both the infrared ray type automatic focus apparatus and the Honeywell type automatic focus apparatus largely employ a mechanical system except for the electrical circuit, such as a comparator 2 and a controller 1. FIG. 1 is a diagram schematically showing an example of an automatic focus apparatus in accordance with the conventional system. 
     As shown in FIG. 1, a light emitting device emits infrared rays to an object, and a receiving sensor 5 receives an optical signal from a reflecting prism 4 which receives the optical signal through a fixed mirror 2 and an injection mirror 3. A microcomputer 7 makes a computation utilizing an electrical signal compared in comparing circuit 6 and provides a control signal for automatic focus to an automatic focus motor 8 which is mounted at a lower portion of the body of photographing lens 9. 
     The conventional automatic focus apparatuses have a complicated constitution and have difficulty in performing automatic focusing. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide an automatic focus circuit, with a simple constitution, for performing automatic focus by evaluating the integrated value of a digital luminance signal which is converted to a digital signal by an appropriate analog to digital converter (hereinafter referred to as an &#34;A/D converter&#34;). 
     To achieve the foregoing object, an automatic focus circuit according to the present invention comprises: an area dividing circuit for dividing the screen of the monitor by using clock signals provided from a clock signal generator 60 and a vertical blanking signal generator 61 which respectively generate a vertical driving signal and a predetermined frequency clock signal; a band pass filter for filtering a desired frequency bandwidth of an analog luminance signal; an A/D converter for converting the analog luminance signal provided from the band pass filter into a digital luminance signal; a memory for storing digital luminance signals supplied from the A/D converter and providing the digital luminance signal stored therein when one field is finished; a microcomputer for providing the memory and the area dividing circuit with a control signal in response to a system program stored therein and ultimately controlling an automatic focus motor, the microcomputer connecting an interface unit for converting a parallel form signal to a serial form signal. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a diagram schematically showing an example of a conventional automatic focus apparatus. 
     FIG. 2 is a block diagram showing an embodiment of an automatic focus circuit for use with a video camera according to the present invention. 
     FIG. 3 is a graph showing characteristics of the high pass filters of the present invention. 
     FIG. 4 is a diagram showing six areas divided by an area dividing circuit on the screen of a video camera. 
     FIG. 5 is a flow chart explaining the control operation of a microcomputer for performing automatic focus according to the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     FIG. 2 is a block diagram showing an embodiment of an automatic focus circuit for use with a video camera according to the present invention. 
     As shown in FIG. 2, an image signal processing circuit 10 which separates a luminance signal from the output signal of the charge coupled device for converting an optical signal to an electrical signal is connected to high pass filters 21 and 22 which pass a desired bandwidth frequency spectrum. A multiplexer 23 which performs multiplexing is connected to the high pass filters 21 and 22 in order to receive the output signal of one of them, and the multiplexed signal from the multiplexer 23 is fed to a low pass filter 24 which passes a low bandwidth frequency spectrum. 
     FIG. 3 is a graph showing the characteristics of the high pass filters according to the present invention. 
     As described later with reference to FIG. 5, the high pass filter 21 is initially operated in order to enhance the automatic focusing speed until the position X 3  (see FIG. 3) where delta value Δ 1  (i.e., integrated value/length of automatic focus) of the high pass filter 21 is smaller than delta value Δ 2  of the high pass filter 22. 
     Therefore, the luminance signal passing through the high pass filters 21 and 22, a multiplexer 23, and a low pass filter 24 has in effect passed through a band pass filter. 
     On the other hand, an A/D converter 30 is connected to the low pass filter 24 in order to convert the analog luminance signal to a digital luminance signal, and to a clock signal generator so as to respond to the output signal at 2 fsc (i.e., 2X the sub-carrier frequency). The output signal of a vertical blanking signal generator for generating a vertical blanking signal, acting as a vertical retrace eliminating signal, is supplied to a vertical dividing counter in area dividing portion 50. 
     The output signals of the vertical dividing counter 51 and a horizontal dividing counter 52 are respectively supplied to area decoding circuit 53. 
     FIG. 4 is diagram showing six areas as divided by the area decoding circuit on a screen of a video camera. 
     As shown in FIG. 4, the outputs of the vertical dividing counter and the horizontal dividing counter are decoded in the area decoding circuit so that the crossing points A to H are determined. Referring again to FIG. 2, the output signal of the A/D converter 30 is supplied to an integrating circuit 40 in which the integrating is performed. In this embodiment, the integrating circuit 40 uses a 20 bit full adder. 
     The data integrated in the integrating circuit 40 is stored in a memory circuit 90 shown in FIG. 2 and is again returned to the integrating circuit 40 so as to be added to the next data provided from A/D converter 30. 
     When one video field is completed, the integrated data is loaded in latch circuit 81 and is transmitted to a parallel-in-serial-out circuit (PISO) 82 in response to a control signal from microcomputer 110 connected to a data transmitting portion 83, during the vertical blanking period. 
     Area assigning control circuit 70 connected to the area decoding circuit 53 in the area dividing circuit 50 controls storage of the integrated luminance values into the corresponding registers of the memory circuit 90 in response to a control signal from the microcomputer 110. 
     FIG. 5 is a flow chart explaining the control operation of the microcomputer for performing automatic focus according to the present invention. As shown in FIG. 5, step 10 is an initializing step which moves the automatic focus unit forward or backward to a start point. In step 20, a luminance detection area is selected. As an example, areas 1 and 2 (the center area) shown in FIG. 4 are selected. In step 30, HPF1 21 is selected and the automatic focus motor is driven in step 40. In step 50, the moving direction of the automatic focus unit is determined depending upon the integrated value. 
     This will be explained as follows. Assuming that Xn(i)&gt;Xn-1(i) is given as shown in FIG. 3, the automatic focus motor is moved in the forward direction. If Xn(i)&lt;Xn-1(i), the automatic focus motor is moved in the opposite direction (step 55). 
     Prior to step 60, in step 52, HPF1 21 is operated until position X 3  is reached (where Δ2 becomes equal to or greater than Δ1 (see FIG. 3)) and the HPF2 22 is then operated in order to find a high density luminance position as explained above. Step 70 judges whether the integrated data value has peaked or not. If so, the movement of the motor stops (step 80). If not, step 75 determines whether an end switching (reversal) is to be performed or not. 
     In step 75, if end switching is to be performed, operation returns to step 30. Otherwise, step 70 is again performed. If the peak value is reached, the movement of the motor is stopped (step 80). Step 90 judges whether the position of the object has been changed. If so, the program is returned to the start. 
     The automatic focus circuit according to the present invention can perform not only automatic focus but also automatic iris control in the video camera, and provides accurate focusing with a simple construction. 
     While particular embodiments of the invention have been shown and described, it will be obvious to those skilled in the art that changes and modifications may be made without departing from the invention in its broader aspects and, therefore, the aim in the appended claims is to cover all such changes and modifications as fall within the true spirit and scope of the invention.