Analog signal conditioning and digitizing integrated circuit
This invention relates to integrated circuits and more particularly to analog signal conditioning and digitizing integrated circuits for electro optic systems. 
     In the past, electro-optic systems such as Forward Looking Infrared systems have operated in the analog signal processing domain and more recently in the digital signal processing domain. The advantages of the digital approach are: better imagery, higher performance, more capabilities to enhance performance of the analog system. Also, digital signal processing allows more signal processing, frame storage and data transmission. Data transmission cannot be done from long-term storage using the analog technique. 
     The digital approach has been to use multiple chip circuits in separate packages. The packages have included the multiplying digital to analog converter (MDAC) for conditioning the analog outputs, the analog to digital converter (ADC) for digitizing the conditioned analog signal, logic circuitry for the ADC analog to digital converter and sequencing circuitry for the tri-state bus. A disadvantage of digital multiple chip processing systems is their size, which limits their use in many system applications. 
     Features of the present invention are: an offset correction circuit for minimizing offset errors, the inclusion of an output register which allows another conversion to start prior to transferring the previous result to external logic, and the ability to short cycle or prematurely terminate a conversion while saving the results collected up to the time of termination; terminating at six bits, for example, instead of the normal 10 bits. The short cycle feature can be used to increase the conversion rate at the expense of reduced resolution. 
     For additional information concerning the prior art techniques those persons skilled in the art are referred to &#34;All-MOS Analog/Digital Conversion Techniques,--An Overview,&#34; Paul R. Gray and D. A. Hodges, IEEE Circuits and Systems Magazine, Vol. 1, No. 2, June 1979, pp. 822-831. 
     Accordingly, it is an object of this invention to provide an analog signal processor which is economical to manufacture, compact in size and highly reliable. 
     Another object of the invention is to provide an analog signal conditioning and digitizing integrated circuit for instrumentation, communication, and control subsystem and systems functions including those for electro-optic devices. 
     A further object of the invention is to provide an analog to digital converter having improved processing accuracy and speed without post processing, e.g. laser trimming. 
     Yet another object of the invention is to provide an analog to digital converter having a short cycle conversion to allow faster conversion rate with less than 10 bit resolution. 
     Briefly stated, the invention comprises an integrated circuit that operates on an analog continuous time signal. The IC processes the signal through a linear equation as follows: 
     
         Vout=A Vin+B 
    
     where Vout is a digital output, A is a digitally programmable gain, Vin is an analog input signal and B is a digitally programmed offset. 
    
    
     Other objects and features of the invention will become more readily apparent from the following detailed description when read in conjunction with the accompanying drawings, in which: 
     FIG. 1 is a functional block diagram of the multiplying digital to analog converter (MDAC)-analog to digital converter (ACD) integrated circuit (IC) constituting a first embodiment of the invention; 
     FIG. 2 is a functional block diagram of the MDAC; 
     FIG. 3 is a functional block diagram of the ADC; 
     FIG. 4 is a timing diagram for the ADC; 
     FIG. 5 is a block diagram of a second embodiment of the invention; 
     FIG. 6 is a block diagram of a third embodiment of the invention; and 
     FIG. 7 is a block diagram of a fourth embodiment of the invention. 
    
    
     Referring now to FIG. 1, an integrated circuit (IC) 10 includes two signal processing channels 12 and 14 which can process two signals of a full parallel data acquisition structure. Multiple ICs can be connected for processing several channels. For example, a forward looking infrared detector device may have a linear array of 180 detectors; in which case 90 of the ICs are connected for signal processing. 
     As the two channels 12 and 14 are identical, only Channel 12 will be described. Each channel comprises a multiplying digital to analog converter (MDAC)16, which contains two digital to analog converters (DACs) 18 and 20. DAC 18 performs a gain adjustment and DAC 20 performs an offset correction. Each channel 12 and 14 also has an analog to digital converter (ADC) 22 connected to its MDAC 16. ADC 22 has a built in sample and hold (S and H) circuit and buffer register. The two channels 12 and 14 share a tri-state bus driver 24. 
     Referring now to FIG. 2, the MDAC 16 includes a gain capacitor array 16, offset capacitor array 28, operational amplifier (Op Amp) 30, buffer 32, control logic 34 and 36, feedback capacitor (Cfb) 38, a feedback clamp transistor 40, a series capacitor (Cs) 42, and a series clamp transistor 42. 
     The two capacitor arrays 26 and 28, feedback capacitor 38, feedback clamp transistor 40 and the op-amp 30 form a summing and inverting negative feedback amplifier. Each capacitor array contains a plurality of capacitors which have capacitance values that are related by a binary ratio, i.e., 1,2,4, 8, 16, 32, 64, 128 . . . One plate of each capacitor of the arrays of capacitors 26 and 28 is common to all capacitors in the arrays; the other plate of each capacitor is switched between a signal input and a reference voltage. The switches of the arrays of capacitors 26 and 28 are controlled by the control logic and the data of the coefficient registers 34 and 36. 
     The gain of the MDAC(Vout/Vin) is set by the sum of the capacitance values connected to Vin divided by the value of the feedback capacitor 38. The amount of offset adjustment is set by the sum of the capacitance values connected to MDAC Offset divided by the value of the feedback capacitor 38. Additional background information for the capacitor arrays for those persons skilled in the art is provided in &#34;An MOS Digitally Controlled Analog Attenuator for Voiceband Signals,&#34; IEEE Journal of Solid State Circuits, Vol. SC-14, No. 1, February 1979, pp. 74-79. 
     The feedback clamp transistor 40 is used to periodically reset the MDAC 16 and correct drifts that occur from charge leakage off the capacitor arrays 26 and 28 and feedback capacitor 38. The clamping operation causes excessive sampled noise to appear at the output of the op-amp 30. The series capacitor 42 and the series clamp transistor 44 forms a correlated double sample (CDS) circuit which allows the sampled noise to be subtracted or nulled across the series capacitor. The release of the series capacitor 42 is delayed until after clamp transistor 40 action by a preselected amount of time to allow operational amplifier 30 to stabilize. 
     Referring now to FIG. 3, the ADC 22 includes a serial shift register 46, successive approximation register (SAR) 48, output register 50, comparator 52, offset correction circuit 54, capacitor array 56 and control logic 58. 
     The sample and hold function of the data acquisition channel is obtained in the ADC by storing charge in the capacitor array 56 during a sample period and holding the charge in the capacitor array during a conversion. A conversion is accomplished by successively switching the isolated plate of each capacitor of the capacitor array 56 between analog ground (0.0 V) and a reference voltage (Vref). Following each switch, the voltage on the common plate of the capacitor array is compared to the output of the offset correction circuit 54. (The output of the offset correction circuit is constant during the conversion.) The result of the comparison is used to either reset or leave set the switches connected to the most recently switched (tested) capacitor. The ADC is sequenced by shifting a bit through the shift register 46. The compare operation is done by the comparator 52, and the test or reset operation or both is done by the SAR 48. The final state of the SAR is transferred to the output register 50 at the end of the conversion. A timing diagram for the ADC is shown in FIG. 4. 
     The offset correction circuit 54 minimizes offset errors and during the sample period nulls comparator offsets. The use of the output register 50 allows another conversion to be started prior to transferring the previous result to external logic. Further, the ADC can be short cycled or a conversion prematurely terminated while saving the results collected up to the time of termination. This feature can be used to increase the conversion rate at the expense of reduced resolution. Those persons skilled in the art requiring additional information are referred to James L. McCreary and Paul R. Gray. &#34;All-MOS Charge Redistribution Analog-to-Digital Conversion Techniques--Part I&#34; and Part II, IEEE J. Solid-State Circuits, SC-10, December 1975, pp. 371-385. 
     The integrated circuit 10 (FIG. 1) has separate bond pads for the analog signal inputs and outputs of the MDACs and ADCs; this feature allows the IC to be used for simple data conversion applications, i.e., isolated ADCs and DACs or for implementing feedback/feedforward discrete time transfer functions. 
     In the second embodiment (FIG. 5), the IC 10 functions as 2 ADC&#39;s 62 and 64 and 2 DACs 66 and 68 tied to a common digital bus 70. Data to and from each function is passed through the digital bus 60 under control of an external controller (not shown). 
     In a third embodiment (FIG. 6), the IC 10 is configured to implement a feedforward discrete time transfer function. The transfer function is as follows: 
     
         y(n)=k1×(n)+k2 ×(n-1) 
    
     and the z-domain transfer function is: 
     
         Y(Z)/X(Z)=k1+k2 Z.sup.-1 
    
     The delay operation is created by controlling the ADC to MDAC data transfer timing. 
     The circuit includes an ADC 72 and a digital delay device 74 connected to the gain adjustment circuit 18 of MDAC 16. A second ADC 76 is connected to the MDAC 18 for digitizing the output. Finally, in a fourth embodiment, the IC 10 is configured to implement a feedback operation. The time domain transfer function is as follows: 
     
         y(n)=K1 A×(n)-K2 y(n-1) 
    
     and the Z-domain transfer function is: 
     
         (Y(Z))/(×(Z))=(K1 A)/(1+K2 Z.sup.-1) 
    
     The circuit includes an external analog system 78 and a feedback circuit; the feedback circuit includes an ADC 80 connected to the external analog system 78 and an off chip digital device 82 connected to the ADC. The offset correction circuit 20 of MDAC 16 is connected to the digital delay device 82. 
     Although several embodiments of this invention have been described, it will be apparent to a person skilled in the art that various modifications to the details of construction shown and described may be made without departing from the scope of this invention.