CLOSED LOOP AUTOFOCUS SYSTEM

Abstract: An improved automatic focus system having a closed loop focus servo which is driven by only information derived from the scene. The video is high passed to form gradients, double low passed to minimize noise and peak detected with a conditional integrator to dertermine the amplitude of the gradients, which are mostly high frequency components. The system then utilizes only the differences between sequential conditionally integrated gradients to drive the hunting servo in a direction to continually maximize the amplitude of the high frequency gradients and provide high resolution video data.

Description: CLOSED LOOP AUTOFOCUS SYSTEM TECHNICAL FIELD This invention relates to focusing systems utilizing data received from a source and particularly to a.closed loop autofocus system that provides high resolution auto matic focusing by utilizing only the scene information. BACKGROUND OF THE INATTENTION 1. Field of the Invention One of the problems associated with display of infor mation received from a scene is the low resolution resul ting from out of focus conditions and-the difficulty that. the operator experiences in trying to mÅanuÅally maintain a- degree of focus.. Characteristically, operator is un able to maintain continual focus or to maintain a stable appearing focus under varying conditions of scene, range to the scene and thermal effects on the optics. A system thaf would provide automatic focus would not only provide a higher resolution picture but would free the operator of the task of changing the focus controls. The concept for .autofocus utilizing sensor data received from a scene is to provide.a dev.ice that performs the same function as the operator, i.e., it must move an optical element in a direc tion to maintain optimum focus so as to provide a high degree of resolution. 2. De-scription of the Prior Art A focus control concept was discussed in a technical report AFAL-TR-76-161 Video Controlled FLIR Focus, November 1976 by Texas Instruments Incorporated, Defense Document Center No. ADA034116, received by Defense Document Center on January 10, 1977.. This report shows a focus system utilizing a full wave rectifier or conventional peak detector forming a signal proportional to the amount of At signal present in a video controlled low focus step rate system and concludes that the system does not provide sufficient focus dependent signal to provide proper operation. Other prior art systems utilize a standard reference image such as in U.S. Patent No. 3,356,792 by D.L. Peters, which approach has been found to have certain limitations. It would be a substantial advance to the art if an autofocus system were provided which responded to only scene information and noise in a manner so that reliable and continuous near optimum focusing of the data and the display scene were provided. SUMMARY OF THE INVENTION It is therefore an object of the invention to provide an improved closed loop focus system that provides focusing as is a function of only the scene information. It is a further object of the invention to provide an autofocus system that provides reliable focusing in the presence of system noise and substantially accommodates the SNR (signal to noise ratio) of the input video signals. It is another object of the invention to provide an autofocus system that is readily adaptable to different types of sensor systems. It is still another object of the invention to pro- vide an automatic focus system that operates to realiably dampens ate for variations in range to the target or in range over the field of view as well as to compensate for. mechanically induced or temperature induced displacements in the sensor system. It is another object of the invention to provide an automatic focus system that operates on a parameter with relatively small dynamic range requirements. The autofocus system in accordance with the invention includes a sensor, a band-pass filter and gating arrangement, a focus discriminator, a hunting type servo having a logic algorithm to control the focusing optics and a motor to drive the focusing optics in directions toward improving focus and at speeds for quickly correcting the focus errors. The focus discriminator includes a gated peak to peak detector including a conditional integrator and a sample and hold circuit. The output of the focus discriminator increases with increasing optical resolution so that optimum focus is obtained by maximizing the discriminator output. The focus discriminator is substantially independent of the scene type and it responds only to variations in focus of the sensor data, principally to the high frequency components of the sensor data. The large dynamic range of the scene is accommodated by the.conditional integrator whicha.llowsthe input peak to peÅak detectiont signals to contribute to the integrated value only if they exceed the amplitude of the present integrator output signal. This integrator signal is periodically sampled and the samples differentiated. The hunting servo responds to the differentiated signal to conti r.-ally drive the optics in a direction which maximizes the amplitudes of the high frequency components of the incoming video signal. The system responds to minute focus variations which are imperceptible to the operator to reliably maintain focus regardless of noise, range or temperature variations. BRIEF DESCRIPTION OF THE DRAWINGS The novel features that are considered-characteristic of this invention are set forth with particularity in the appended claims. The invention itself, both as to its organization and method of operation as well as additional objects and advantages thereof, will best be understood from the following description when read in connection with the accompanying drawing in which like reference members refer to like part and in which: : FIG. 1 is a schematic block and circuit diagram for generally explaining the autofocus system in accordance with the invention; FIGS. 2a and 2b are schematic circuit and block diagrams showing an illustrative arrangement of the system of FIG. 1 in further detail; FIG. 3 is a schematic diagram of waveforms of voltage as a function of time showing the raster gating and other signals for further explaining the system of FIGS. 2a and 2b; FIG. 4 is a schematic diagram of waveforms of voltage as a function of time showing the gating of the indi visual lines of the scene; ' FIG. 5 'is a- schematic graph .of amplitude response in db as a function of frequency for further explaining the focus filter response of the system of FIGS. 2a and 2b; ; FIG. 6 is a schematic graph of the noise suppression factor versus input SNR for further explaining the advantages of the conditional integrator in accordance with the invention; and FIG. 7 is a schematic graph of focus discrnainator output in volts versus relative resolution for further explaining the overall focus discriminator response in the system of FIGS. 2a and 2b. DETAILED DESCR1eTION OF TKE INVENTION Many previous approaches to autofocus of video scene data have relied on methods which involve measuring scene energy. However, these techniques must contend with the very large dynamic range associated with different scenes and with large objects in the scene. For example, the overall dynamic range required when a scene changes from one dark grey pixel in a sea of black pixels to a light grey pixel in a sea of white pixels has been determined to be approximately 4.5 times 1010:1 or a voltage ratio of 213 db. Some of the energy methods that have been considered in the prior art are direct fourier transforms, narrow-band filters with RMS meters and spectrum analyzers, all of which have a dynamic range limitation. The system in accordance with the invention utilizes frequency component amplitude information for determining focus variation and is not limited by the size of objects in the scene or the number of gradients that are formed. The focus results of the system of the invention are substantially independent of the picture area and the system operates reliably over all scene types. Referring first to FIG. 1 which is a schematic block and circuit diagram of the closed loop autofocus system in accordance with the invention, a sensor system 10 which may include a sensor 12 and a variable lens or antenna 14 applies video signal data to a lead 16 from which the data may be applied to a suitable display (not shown). The sensor 12 which receives data from a scene 18 is not limited to operation at any particular frequency and may be of any suitable type such as a TV camera or Vidicon, an IR sensor,a laser energy sensor for receiving reflected laser energy or any sensor responding to reflected or emitted microwave energy. The variable lens or antenna 14 within the scope of the invention may be a portion of the sensor or a separate element as shown, focusing the received scene data as an image on a focal plane which may.be a set of detectors, the photo cathode of a vidicon, for example. If the sensor 10 is a vidicon, the focal plane may be a photocathode 19 on which as scene 18 is focused by controlling the lens 14. The variable lens 14 has the requirement that it must rapidly change the focus in response to a lens control motor 17 which in turn responds to an input focus control signal The sensor 12 in the illus traced system receives data from the scene 18 and scans the image on a focal plane in a raster format such as a TV type format, but it is to be understood that the invention is not limited to any particular scan format or to any particular method of forming the scan format as long as time adjacent samples correspond to spatially adjacent samples. The video signal on the lead 16 is then applied to a focus discriminator 20 which includes a band pass filter and scene gate unit 24 with the filter having a selected frequency response and the scene gate selecting a portion of the raster of video data such as a central one-third of the scene 18 that is imaged on the focal plane or selecting any portion of the lines of video data. The band pass and scene gate unit 24 receives the video signals from the lead 16 and GATE signals from a pulse generator 30 to apply the filtered a.nd scene gated signal through a lead 32 to a conditional integrator 26 which also receives a RESET pulse from the pulse generator 30. The conditional integrator 26 is a special form of peak detector that only integrates -signal gradients having values greater than the current by stored integrated value. Any suitable timing unit may be utilized for the pulse generator 30 such as a divider and pulse forming arrangement, as is well known in the art, responsive to horizontal and vertical synchronizing signals as well as to clock signals which may be received through a composite lead 34 from the sensor 12. The high pass filter of the unit 24 weights the high frequency components of the video signal more heavily than the low frequency components and the peak detection operation acting as a conditional integrator senses a conditional voltage proportional to the peak to peak amplitude of the resulting gradients. The sensed amplitude in the conditional integrator is a quantity derived only from the scene information, which quantity indicates the effective resolution of the input video data. The signal provided by the conditional integrator unit 26 is applied through a lead 36 to a sample and hold unit 38 responding to a SAMPLE signal from the pulse generator 30 to periodically sample conditional integrator output. A differentiator 40 received the sampled signal from the sample and hold circuit 38 through a lead 42 and responds to the change of the sampled values for determining the change of the focus signal, the differentiated signal being then applied to a comparator circuit 46 also re receiving a threshold (THR) voltage for making the comparison. The threshold voltage represents the minimum focus error to which the system will respond. When the differentiated signal which represents a decreasing focus condition has a negative value greater than the threshold, a signal is applied through a lead 48 to a toggle flip flop 50 for triggering it to the opposite state. As a result of the flip flop 50 being triggered, the 'continuously moving servo which is moving the focus lens 14 in a first or a second direction, reverses the direction of movement to a direction of an improved focus condition. The lens control unit 17, which includes a bi-directional motor (not shown) responds to a power driver 56 to apply a movement signal through a suitable coupler58 to the variable lens 14. The power driver 56 may include any suitable arrangement such as a high gain amplifier 59 as is well known in the art. An amplifier driver 60 provides the first stage of the motor drive and may include first, second and third operational amplifiers 62, 64 and 66 coupled in series with a suitable offset voltage, from a terminal 63 applied to the input of the amplifier 66. The amplifier 62 has an integrating capacitor 67 and a discharge switch. 69 coupled between its input and output terminals. The offset voltage from the terminal 63 maintains the lens control motor 17 rotating at a low speed when the integrating capacitor 69 is discharged. The output terminal of the amplifier 66 is applied to an inverter 68 which applies an inverted. drive signal to one terminal of a switch 70, the other terminal being coupled to the output of the amplifier 66. The output terminal of the inverter 68 is also applied to the input terminal of the amplifier 62 for providing feedback control. The switch 70 has its output terminal coupled through a lead 74 to the power driver amplifier 56. The direction of movement of the lens control motor 17 is determined by the state of the toggle flip flop 50 which applies its output signal through a lead 75 to a switch driver 76 for changing the state of the switch 70 each time the flip flop 50 is triggered by the comparator 46. Thus, either a positive or an inverted driving signal is applied to the lens control motor 54 to control its direction of rotation. In order to reset the amplitude driver 60t a one shot circuit 78 responds to the comparator signal on the lead 48 to provide a signal through a lead 65 to activate a switch driver 80 and open and close a switch 82 at periodic scene scanning intervals. The illustrated amplitude driver 60 is an integrating type as a result of the capacitor 67 which increases the speed of the control motor 17 as a function of time. It is to be noted that the driver units 56 and 60 are only illustrative examples of a plurality of motor driver units as are well known in the art. Referring now also to FIGS. 2a and 2b, which show a portion of the system of FIG. 1 in further detail, the video signal on the lead 16 is applied to a band pass amplifier 84 including a resistor 86 coupled between the lead 16 and a lead 83 and a capacitor 90 coupled between the lead 88 and ground, these two elements forming a characteristic having a low pass corner frequency with an amplitude,slope at lower frequencies to provide a desired attenuation of the video signal components. A capacitor 92 is coupled between the lead 88 and a lead 94 which in turn is coupled to . ^resistor 96, these two elements having a high pass corner characteristic. The resistor 96 is coupled through a lead 98 to an operational amplifier 100 of a switching unit 101 having its output coupled to a scene gating switch 102 which in turn is coupled to a lead 104. A capacitor 106 and a resistor 108 are coupled in parallel between the leads 98 and 104 with the capacitor 106 in cooperation with the resistor 96 forming a second low pass corner filter characteristic so that a double pole band pass filter is provided. The switching unit 101 which may be a standard HA2405-5 chip, also includes an operational amplifier 112 having its output coupled to the lead 102 and its signal input terminal coupled to ground through a parallel coupled resistor and a capacitor so that when the switch 102 is in the opposite position shown, a reference level signal is applied to the lead 104. A suitable feedback resistor and capacitor are coupled in parallel from one input terminal of the operational amplifier 112 to the lead 104. A switch driver unit 114 controls the switch 102 in response to scene GATE signals received from the pulse generator 30 of FIG. 1, so that filtered video signals are only passed during a portion of the scene raster. An amplifier stage 118 includes an n-p-n type transistor 120 having its base coupled through a coupling capacitor 122 to the lead 104 as well as through a resistor 124 to a -15 volt terminal 126 and through a resistor 128 to ground. The emitter of the transistor 120 is coupled through a load resistor 132 to the -15 volt terminal 126 and the collector is coupled through a resistor 134 as well as, a suitable bypass capacitor to a +15 volt terminal 136. An emitter follower transistor 138 of the n-p-n type has its base coupled to the collector of the transistor 120, its collector coupled to the +15 volt terminal 136 and its emitter coupled to a lead 140as well as through a resistor 142 to the -15 volt terminal 126. The conditional integrator 26 includes a coupling capacitor 146 coupled between the lead 140 and a lead 148 which in turn is coupled through a timing resistor 150 to a lead 152. 'An integrating capacitor 154 has one terminal coupled through a lead 156 and the anode to cathode path of a charging diode 158 to the lead 152 and the other terminal coupled through a lead 160 and the cathode to anode path of a.clamping diode 162 to the lead 152. The lead 160 is biased by being connected to a zener diode 166 which is in turn coupled through a resistor 168 to a +15 volt terminal 170 The zener diode 146 is biased in its avalanche region so that approximately 9 volts is maintained on the lead 160, for example. A bypass capacitor 172 is also coupled between the lead 160 and ground potential to maintain a constant DC voltage on the lead 160. A high impedance isolating amplifier 174 has its input terminal coupled to the lead 156 to allow the conditional integra t'on of the signal peaks to be performed. For resetting the detector, the leads 140 and 148 are cdupled together through a resistor 176 and a switch 178 and the leads 156 and 160 are coupled together through a resistor 180 and a switch 182 for respectvely discharging the capacitors 146 and 154. The RESET signal from the pulse generator 30 of FIG. 1 is applied to switch control units 186 and 188 for controlling the respective switches 178 and 182. In the operation of a conditional integrator, a positive voltage Vz is maintained on the lead-160 and the voltage at the start of integration on the lead 148 is VztVDIODE where VDIODE is the voltage drop across the diode 162. The clamping diode 162 prevents the voltage on the leads 148 and 152 from rising above the voltage Vz+VDIO At the start of integration, the capacitor 146 and the resistor 150 provide a time constant which determines when the clamping diode 162 is able to conduct. The voltage VZ+VDIODE shifts the input signal levels on the lead 152 so that the positive peak of any signal component is clamped at that voltage value and only the negative peak is detected. The detected negative signal is thus representative of the conditionally integrated high frequency components of the input signal. As signals are applied through the capacitor 146 to the lead 152, the integrating capacitor 154 responds to the negative peaks of the signals and starts to charge up to provide an increasing positive voltage on the lead 156 as the diode 158 conducts. However, the integration is conditional because only signals on the lead 152 that are more negative than the currently integrated value represented by the charge on the integrating capacitor 154, cause the diode 158 to conduct and provide iptegration. Thus, the conditional integrator act to intetrate the difference between its input and its output values which provides integration with substantial noise suppression and operation allowing a relatively small dynamic range. The sample and hold circuit 38 receives the peak detected signal on a lead 190 frctn the amplifier 174 and applies the signal through a resistor 192 and a lead 193 to one input terminal of an amplifier 194 of a standard 2425 unit. The other input terminal of the amplifier 194 is coupled to ground through a suitable resistor. The output terminal of the amplifier 194 is coupled through a switch 195 to a lead 198 which in turn is coupled to one input terminal of a voltage follower amplifier 200. The lead 198 is also coupled to ground through a holding or storage capacitor 204. The other input terminal of the amplifier 200 is coupled to an output lead 206 from the output terminal of the amplifier 200. The lead 193 is also coupled through a resistor 28 to the lead 206. The SAMPLE signal from the pulse generator 30 of FIG. I is applied to the switch 196 to provide each new sample from the amplifier 194-to the storage capacitor 204. The differentiator 40 receives a voltage represen ting the change in sampled signal levels on the lead 206 and applies the change of voltage levels through a differentiating capacitor 212 and in turn through a resistor 214 to apply a differential signal to one input terminal of an operational amplifier 216. The other input terminal of the operational amplifier 216 is coupled through a suitable resistor to ground and the output terminal is coupled to a lead 218. The differentiation is provided by the capacitor 212 and the resistor 214 relative to a virtual ground po tential at the input terminal of the amplifier 216. The comparator 46 applies the differential signal on the lead 218 through a resistor 222 to one input terminal of a differential amplifier 224. The other input terminal of the comparator 224 is coupled through a resistor 226 to a lead 228 which in turn is coupled through a resistor 230 to a -15 volt terminal 232, through a tapped resistor 234 to ground and through a by pass capacitor 236 to ground. A comparator threshold voltage is applied from a tap on the 'resistor 234 as well as to the lead 228. In operation, when the negative differential signal on the lead 218 is less than the negative threshold, the differential ampli- fier 224 applies a trigger signal to an output lead 242 for triggering the toggle flip flop 50 to the opposite state and for triggering the one shot circuit 78 to form a pulse which temporarily discharges the integrating capacitor 67 CFIG. 1) in the amplifier driver 60. At the end of the discharge pulses, the amplifier driver 60 applies an in creasing drive signal through the resistor 65 to the inver ter 68. The inverter 68 applies an inverted drive signal through the lead 83 to a first termunal of the switch 70 which may be a standard 2405 unit. The amplifier drive signal is also applied through the lead 79 to-a second switch terminal of the switch 70. In response to a pulse from the toggle flip flop 50 on the lead 75, the switch 70 changes to an opposite state to change the direction of the len's control motor 17 of FIG. 1. Referring now to FIG. 3 as well as to FIGS. 1, 2a and 2b, the operation of the automatic focus system will be explained in further. detail. The video signal provided by the sensor 12 on the lead 16 is shown by a waveform 250 for fields n, n+l, n+2 and n+3. The gating of a portion of the field or raster is shown by a waveform 252 which may be any portion such as a central portion of the field to be displayed. The width of the pulses of the waveform 252 determines the number of lines of data in the vertical dimension that are passed into the focus control system. Gating of a portion of each line will be explained subsequently relative to FIG. 4. 'Sampling may be performed during each second or third field, for example, as indicated by respective waveforms 254 and 256. Reset pulses which are applied to the conditional integrator of the gated pulse to pulse detector 26, follow the sample pulses 254 and 256 as shown by respective waveforms 258 and 260. The remainder of the waveforms of FIG. 3 are based on the sample divided by 2 and the field video and reset pulses of respective waveforms 250, 254 and 258. The conditional integrator output on the lead 156 of FIG. 2a as shown by a waveform 262 at sample time t, has an integrated value V1 resulting from integration of the video signals during the previous gate period (not shown) of the waveform 252 and of the line gate periods of FIG. 4. This integrated voltage V1 is stored on the capacitor 154. In response to the sample pulse of the waveform 254, the voltage V' is stored on the capacitor 204 of the sample and hold circuit 38 as shown by a waveform 264, the stored value decreasing from the previously sampled and stored value Vo'. In response to this change, the differentiator 40 develops the negative differential pulse of a waveform 266 having a negative peak value representative of (Y'o-V'i). However, since the negative differential pulse of the waveform 266 does not go below a threshold voltage level 268, the comparator 46 does Mot provide a pulse. to trigger the toggle flip flop.50 to the opposite state, as shown by a waveform 270. The threshold 268 represents a minimum focus change that would cause the focus motor to change direction. Thus, the lens control motor continues to rotate at an in- creasing and fast speed in the same and unchanged direction, which is the direction of improving the focus. At a time t2, the reset pulse of the waveform 258 resets the conditioned integrator of the detector 26 and the integrator output voltage of the waveform 262 falls to a reference level. At a time t3 in response to the gate pulse of the waveform 252 and the line gate pulses of FIG. 4, the video signal is applied to the conditional integrator of the detector 26 and the capacitor 154 conditionally charges until time t4 which is the end of the gating pulse of the waveform .252, which charge value V2 is maintained until a time t6. At a time t5 in responsive to the sample pulse of the waveform 254, the sample and hold circuit 38 samples and stores on the capacitor 204 a new value V21 of the waveform 264, representative of tile change of value of the gated scene. The differentiator circuit 40 responds to this negative change to provide a negative differential pulse at a time t5 as shown by the waveform 266, this pulse being below the threshold 268. As a result, the comparator 46 applies a trigger pulse to the toggle flip flop 50 which changes its state as shown by the waveform 270. The lens control motor 17 then changes direction so that the lens 14 is moving in the direction of better focus. Also in response to the comparison at time t5, the one shot circuit 78 provides an output pulse of a waveform 272 which shorts the switch 69 of. FIG. 1 to discharge the integrating capacitor 67. After discharge, the capacitor 67 starts to charge and the motor is driven at a relative slow but increasing speed in the direction which is opposite to the previous direction of rotation. At the time t6, a rest pulse of the waveform 258 resets the conditional integrator 26. Referring now to FIG. 4 which shows the gating and integration on a time scale for two lines of video, the gating of a portion of the lines for forming the dimension of the window of data being sampled along the video lines will be explained. The video signal for lines n and (n+l) is shown by a waveform 278 and the gating pulses for selecting a portion of each line is shown by a waveform 280. It is to be noted that the gate pulse of the waveform 280 are included in the gate pulse of the waveform 252 of FIG. 3 and are generated by the pulse generator 30(FIG. 1) and applied as the scene GATE pulses to the switch control 114 of FIG. 2a. The gated.bandpass video signals for lines n and (n+l) are shown by a waveform 282 with the gated video of each portion of a line causing the conditional integrator capacitor 154 of FIG. 2a to charge as shown by a waveform 284, assuming the condition is met, that is, the level shifted video has a greater negative amplitude than the voltage provided by the negative charge on the integrating capacitor 154. This type of gating of a portion of the scene such as a central one-third of the video raster is well known in the art and will not be explained in further detail. Referring now to FIG. 5, the response of the focus filter of the bandpass amplifier and scene gate unit 24 of FIG. 1 will be further explained. As shown by a curve 288 which has a common corner frequency of 1.0MHZ, the filter has a characteristic at low frequencies that attenuation is inversely proportional to frequency. This portion of the characteristic is like a weighting factor which favors higher relative frequencies, but rejects none of the signals. Thus, since signals at all video frequencies can contribute to the discriminator output, any scene can be accommodated, even those with unusuaI frequency .components, The system operates reliably over a wide range of frequency regions. The portion of the filter characteristic of the curve 288 above the common corner frequency has a decreasing frequency response for noise rejection. It has been found that the. corner frequency portions of a scene are the most important signals for providing focus control. Thus, the input video to the conditional integrator consists principally of the high frequency components of the scene as determined by the band-pass amplifier. Referring now to FIG. 6, the noise suppression factors shown are based on integrator output averages taken over ten trials with a sequence of 100 signal pulses integrated per trial and a signal pulse duty factor of 40 percent. The unconditional or conventional integrator has a consistent noise suppression factor as shown by a curve 290, at least for all input signal to noise ratios (SNR) greater than one The conditional integrators performance in accordance with the invention was found to increase exponentially with the input S gnal to noise ratio as shown by a curve 292. Thus, the system of the invention with the conditional integrator is relatively free of the effects of noise Referring to FIG. 7, the response characteristic of the focus discriminator system is shown by a curve 296 which is the output of the sample and hold circuit 38 on the lead 206. Because the high frequency components in the system of the invention are maximized when the image is in sharp focus, the relative resolution increases with the sample and hold focus voltage. The slope of the curve 296 is monotonic and reduced at high frequencies to reduce the effect of noise. Although the disciminator response varies slightly from scene to scene and significantly with noise, it retains the same general characteristic of the waveform 296. Because this characteristic provides d basis for forming differences in the differentiator circuit 40 (FIG. 2b) the absolute value of the focus volts out of the sample and hold circuit 38 is relatively unimportant. Also because the conditional integrator accumulates the aggregate of noise signals over the sample period, the aggregate is substantially the same for sequential sample periods. Thus, because the differentiator 40 responds to the difference between sequential sample periods and the aggregate of the noise is substantially the same during different sample periods, the noise has a substantially small effect on the focus control voltage. The system of the invention is relatively immune to noise because of the bandpass filter characteristic, because of the spatial scene gating and because the system only responds to the differences of the accumulated or integrated signal. The servo loop driving system which automatically maximizes the high frequency content of the scene and thus the resolution of the data will now be further explained. The loop acts as a hunting servo to constantly validate focus with test excursions which are imperceptable to the viewer of a display. Because the optics are constantly in motion, adjacent sampled outputs are not normally taken at the same lens location and do not have the same value. If the control values are improving, the loop continues in the same direction at a relatively high speed and accelerates as the integrating capacitor 67 (FIG. 1) charges. If the control values are not improving, the loop reverses motor direction and the lens is driven with a minimum but increasing speed. The truth table for the direction of rotation as a function of a voltage t on the lead 206 at the output of the sample and hold circuit 38 of FIG. 2b assuming the negative signal is below the threshold, is as follows where Vt-l is the previous voltage: Vt < Vt-l = Continues in the same direction Vt > Vet 1 = Reverse direction By continually moving the lens in a direction of improved focus, the system maximizes the high frequency components of the video data on the lead 16 (FIG. 1) so that high resolution video data is provided such as for a high resolution display

Claims: 'CLAIMS What is Claimed is: 1. A focusing system responsive to filtered video signals from a scene to control focusing optics comprising: a conditional integrator which is responsive to said filtered video signals to provide conditionally integrated signals, sample and hold means coupled to said conditional integrator for sampling and storing said conditionally inte µrated signals at predetermined intervals, a differentiator coupled to said sample and hold means for determining the difference between the sampled and stored signals and providing a differential signal, a comparator coupled to said differentiator for comparing said differential signal with a threshold and providing a control signal when the amplitude of the differential signal is greater than the amplitude of said threshold, and servo means coupled to said comparator for controlling said focus optics to continually change in the direction of improved focus in response to said control signal. 2. The combination of Claim I in which said conditional integrator includes means that only integrates peaks of filtered video signal components that have an amplitude greater than the integrated amplitude. 3. The combination of Claim 2 in which said conditional integrator includes a capacitor biased at a first terminal to a source of reference potential, a resistor for receiving said filtered video signal, a detecting diode coupled to a second terminal of said capacitor and coupled to said resistor for being responsive at one terminal to said filtered video signal, a clamping diode coupled between said one terminal and said source of reference potential and isolating means coupled between a second terminal of said capacitor and said sample and hold means. 4 The combination of Claim 2 in wh ed said servo. means includes a toggle flip flop responsive to said control signal from said comparator representing a decrease of focus, to trigger to the opposite state, a lens control motor coupled to said focusing optics and driver means coupled to said lens control motor and including logic means coupled to said toggle flip flop for changing the direction of said lens control motor when said toggle flip flop triggers to an opposite state. 5. The combination of Claim 2 in which a scene gate is provided to be responsive to said filtered video signals for gating the video signals and applying gated video signals to said conditional integrator, the gated video signals being a predetermined portion of the video signals representing the scene, EMI21.1 6. A focusing system systemXresponsive to video data repre- senting a scene, said system including sensor means and controllable focus optics for focusing said video data on a focal plane and for providing said video data in a raster format comprising: a band-pass filter responsive to the video data from said sensor for accentuating the high frequency components of said video data and attenuating high frequency noise, scene gating means coupled to said band-pass filter for passing said video data from a portion of said scene, conditional integrator means coupled to said scene gating means for integrating the gated bandpassed video data as a function of the peak voltages of said gated video data and of the currently integrated value, sample and hold means coupled to said conditional integrator means for periodically sampling and storing the integrated value from said conditional integrator means, differentiating means coupled to said sample and hold means for providing a differential signal representing the change between sequential stored integrated values, comparator means coupled to said differentiating means for comparing said differential signal with a threshold amplitude and providing a control signal when the am'- plitude of said differential signal exceeds said. threshold amplitude, toggle means coupled to said comparator means and responding to said control signal to change state, a focus control motor coupled to said controllable focus optics, and driver means coupled to said focus control motor and including logic gating means coupled to said toggle means to change the direction of rotation of said focus control motor in response to said toggle means changing state. 7. The combination of Claim 6 in which said conditional integrating means for integrating only the peaks of the gated video data that have an amplitude greater than the amplitude of the currently integrated value. 8. The combination of Claim 6 in which said driver means includes means to control said focus motor to rotate at a relatively slow speed when said toggle means periodically changes state and at a relatively fast- speed when said toggle means does not periodica71y change state. 9. The combination of Claim 7 in which said conditional integrator means includes: a source of reference potential, an integrating capacitor having a first terminal coupled to said source of reference potential, a detecting diode and a resistor coupled between a second terminal of said integrating capacitor and an output of said scene gating means, clamping means coupled between said source of reference potential and said diode, and isolating means coupled between the second terminal of said integrating capacitor and said sample and hold means 10. The combination of Claim 9 further including a coupling capacitor and a resistor coupled in series between the output of said scene gating means and said detecting diode and said clamping means. 11. The combination of Claim 10 further including reset means coupled across said coupling capacitor and said integrating capacitor for periodically discharging said capacitors. 12. The combination of Claim 6 in which said driver means includes an integrating amplifier for controlling the speed rotation of said lens control motor and includes reset means responsive to the control signal from said comparator means to periodically discharge said integrating amplifier. EMI23.1 13. A systemAfor focusing filtered and gated video data received from a scene by sensor means, said sensor means including controllable focus optics having a control motor for changing the focus of the optics comprising: conditional integrating means responsive to the filtered and gated video data for integrating peak values of said filtered and gated video data having amplitudes greater than said currently integrated signal, sample and hold means coupled to said conditional integrating means for periodically sampling said integrated signal, differentiating means could to said sample and hold means for forming differential signals in response to sequential changes of said periodically sampled signals, and control means responsive to said differential signal for controlling said control motor to change said focus optics in directions of improved focus.

Inventors: ZWIRN, ROBERT
Applicants: HUGHES AIRCRAFT COMPANY
Application year: 1980
Main classification: H04N5
IPC codes: H04N5, G03B13, G02B7