Background of the Invention
1. Field of the Invention
The present invention relates to sampling circuits for sampling analog signals, and in particular, sampling circuits which can be selectively configured to sample multiple types of analog signals, including "return-to-reference" and "non-return-to-reference" types of signals.
2. Description of the Related Art
Solid state image sensors are used in many imaging applications, such as scanners, digital cameras and video cameras. Two of the most widely used image sensors are charge coupled devices (CCD) and contact image sensors (CIS). The output image signals for a CCD sensor typically have a negative polarity, while the output image signals for a CIS sensor typically have a positive polarity. Furthermore, some sensors generate output signal waveforms of the type referred to as return-to-reference ("RTR"), i.e., where the output waveforms remain at the signal reference level (e.g., corresponding to the signal level for a black pixel) for a predetermined time interval during each pixel time period. For other types of sensors, however, the output signal waveform is of the type referred to as non-return-to-reference ("NRTR") where the output signal waveform does not necessarily go to the signal reference level during each pixel time period.
In those circuits where the sensor output signal goes to a reference level at every pixel, correlated double sampling ("CDS") is often used to reduce signal noise. With CDS, the difference between the reference level and the present signal level is sampled at every pixel, thereby causing low frequency input signal noise to be removed. However, in those applications where the sensor output signal does not return to the signal reference level at every pixel, CDS cannot be used. Accordingly, the difference between some preset reference voltage and the present signal level at the sensor output is sampled.
Accordingly, due to the widespread use of multiple types of image sensors which, in turn, produce multiple types of sensor output signal polarities and waveforms, it is desirable to have a sampling circuit for such analog signals which is selectively configurable and is, therefore, suitable for use in sampling all such types of analog image signals.
Summary of the Invention
A selectively configurable analog signal sampler for sampling multiple types of analog signals in accordance with the present invention can be easily configured, as desired, to accurately sample analog signals provided by an image sensor regardless of whether such signals are of positive or negative polarity or a return-to-reference or non-return-to-reference type of signal.
Additionally, such a signal sampler can be operated in a faster accumulation mode whereby multiple successive input image signal values are accumulated and summed to produce a net output signal value. This allows the speed of the imaging system to increase by a factor equal to the number of successive signal values which are accumulated.
In accordance with one embodiment of the present invention, a selectively configurable analog signal sampler for sampling multiple types of analog signals includes capacitive circuits, an amplifier circuit and switch circuits. The switch circuits, coupled to the capacitive circuits and amplifier circuit, are configured to receive reference signals and switch control signals and in accordance therewith: couple together selected ones of the capacitive circuits; couple selected ones of the reference signals to the amplifier circuit and to further selected ones of the capacitive circuits; and couple the amplifier circuit to still further selected ones of the capacitive circuits. The capacitive circuits, the amplifier circuit and the switch circuits, together and in accordance with the reference signals and combinations of the switch control signals, receive and couple a single-ended analog input signal to the capacitive circuits and the amplifier circuit and in accordance therewith provide a differential sampled analog output signal which corresponds to the single-ended analog input signal. The single-ended analog input signal has one or more signal characteristics which include a positive signal polarity, a negative signal polarity, a return-to-reference signal waveform and a non-return-to-reference signal waveform.
In accordance with another embodiment of the present invention, a selectively configurable analog signal sampler for sampling multiple types of analog signals includes switching stages, capacitive stages and an amplifier stage. The first switching stage is configured to receive a first subset of a set of switch control signals and in accordance therewith receive a first subset of a set of reference signals and receive and switch a single-ended analog input signal and in accordance therewith provide a first switched analog signal. The single-ended analog input signal has one or more signal characteristics which include a positive signal polarity, a negative signal polarity, a return-to-reference signal waveform and a non-return-to-reference signal waveform. The first capacitive stage, coupled to the first switching stage, is configured to receive and capacitively couple the first switched analog signal and in accordance therewith provide a coupled analog signal. A second switching stage, coupled to the first capacitive stage, is configured to receive a second subset of the set of switch control signals and in accordance therewith receive a second subset of the set of reference signals and receive and switch the coupled analog signal and in accordance therewith provide a second switched analog signal. A second capacitive stage is coupled to the second switching stage, and the amplifier stage is coupled to the second switching stage and the second capacitive stage. A third switching stage, coupled to the amplifier stage and the second capacitive stage, is configured to receive a third subset of the set of switch control signals and in accordance therewith receive and switch a third subset of the set of reference signals and in accordance therewith provide a set of switched reference signals. The amplifier stage and the second capacitive stage together receive the second switched analog signal and the set of switched reference signals and in accordance therewith provide a differential sampled analog output signal which corresponds to the single-ended analog input signal.
These and other features and advantages of the present invention will be understood upon consideration of the following detailed description of the invention and the accompanying drawings.
Brief Description of the Drawings
FIG. 1 is a schematic diagram of a selectively configurable analog signal sampler in accordance with one embodiment of the present invention.
FIG. 2A is a logic diagram of a control signal generator for generating the switch control signals for the circuit of FIG. 1.
FIG. 2B is a table containing the definitions of the sample control signals received as inputs by the logic circuit of FIG. 2A.
FIGS. 2C-2F are timing diagrams representing sampling of various types of analog image signals using the circuit of FIG. 1.
FIGS. 3A-3D illustrate the operating states of the circuit of FIG. 1 during an active clamp signal for a positive polarity input signal without CDS (NRTR).
FIG. 3E is a signal timing diagram for the circuit states represented in FIGS. 3A-3D.
FIG. 3F contains tables identifying the values and states of the timing signals and switch control signals, respectively, for the circuit states represented in FIGS. 3A-3D.
FIGS. 4A-4D illustrate the operating states of the circuit of FIG. 1 during an active clamp signal for a positive polarity input signal with CDS (RTR).
FIG. 4E is a signal timing diagram for the circuit states represented in FIGS. 4A-4D.
FIG. 4F contains tables identifying the values and states of the timing signals and switch control signals, respectively, for the circuit states represented in FIGS. 4A-4D.
FIGS. 5A and 5B illustrate the operating states of the circuit of FIG. 1 during normal operation for a positive polarity signal without CDS (NRTR).
FIG. 5C is a signal timing diagram for the circuit states represented in FIGS. 5A and 5B.
FIG. 5D contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 5A and 5B.
FIGS. 6A and 6B illustrate the operating states of the circuit of FIG. 1 during normal operation for a positive polarity signal with CDS (RTR).
FIG. 6C is a signal timing diagram for the circuit states represented in FIGS. 6A and 6B.
FIG. 6D contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 6A and 6B.
FIGS. 7A and 7B illustrate the operating states of the circuit of FIG. 1 during normal operation for a negative polarity signal without CDS (NRTR).
FIG. 7C is a signal timing diagram for the circuit states represented in FIGS. 7A and 7B.
FIG. 7D contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 7A and 7B.
FIGS. 8A and 8B illustrate the operating states of the circuit of FIG. 1 during normal operation for a negative polarity signal with CDS (RTR).
FIG. 8C is a signal timing diagram for the circuit states represented in FIGS. 8A and 8B.
FIG. 8D contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 8A and 8B.
FIGS. 9A-9D illustrate the operating states of the circuit of FIG. 1 during the accelerated, or accumulation, mode of operation for a positive polarity signal without CDS (NRTR).
FIG. 9E contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 9A-9D.
FIGS. 9F and 9G are signal timing diagrams and corresponding tables defining the input and output signals for the circuit states represented in FIGS. 9A-9D with performance acceleration factors of 2.times. and 3.times., respectively.
FIGS. 10A-10D illustrate the operating states of the circuit of FIG. 1 during the accelerated, or accumulation, mode of operation for a negative polarity signal with CDS.
FIG. 10E contains tables defining the values and states of the timing signals and control switches, respectively, for the circuit states represented in FIGS. 10A-10D.
FIG. 10F is a signal timing diagram and corresponding table defining the input and output signals for the circuit states represented in FIGS. 10A-10D with a performance acceleration factor of 2.times..
FIG. 11 illustrates how the various switch circuits can be inplemented using pass transistors individually or in paris as transmission gates.
Detailed Description of the Invention
Referring to FIG. 1, a selectively configurable analog signal sampler 100 for sampling multiple types of analog signals in accordance with one embodiment of the present invention includes multiple capacitive circuits in the form of input 104, 106 and output 110, 112 capacitors, an amplifier circuit 108 (e.g., folded cascode operational amplifier with differential inputs and differential outputs), and a number of switch circuits 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, all interconnected substantially as shown. An additional capacitor 102 is typically used (e.g., as an external capacitor Cext when the sampler 100 is implemented in integrated circuit form) to capacitively couple the analog input signal 101, e.g., from an image sensor.
As discussed in more detail below, a signal sampler in accordance with the present invention is particularly advantageous when used as the analog front end of an imaging system with either CCD or CIS types of image sensors having return-to-reference (RTR) or non-return-to-reference (NRTR) output image signals. Further, such an analog signal sampler includes a number of re-configurable features. The input signal polarity can be positive or negative. Correlated double sampling (CDS) can be enabled (for RTR input signals) or disabled (for NRTR input signals). The input can be clamped to a fixed reference, such as during a sequence of "dummy" pixels at the beginning of each line, with such reference representing the black pixel voltage of the sensor. Additionally, pixel signal averaging can be enabled to allow for higher speed scanning of the image information.
The analog input signal 101 is capacitively coupled with the external capacitor Cext 102 and is selectively clamped by the input clamping switches 114, 16, 118 which are controlled by switch control signals CLAMP 113, P 115, P 117. (The various switch control signals are discussed in more detail below with timing diagrams and state tables for various examples of input signals and operating conditions.) The resulting analog input signal Vin is clamped to one of the two reference voltages Vref.sub.p, Vref.sub.n and is used to selectively charge one or more of the input capacitors Cin 104, 106 in accordance with the closed and open states of switches B 120, A 122, C 124, 126 and 128 as established by their respective control signals SWITCH(B) 119, SWITCH(A) 121, SWITCH(C) 123, P 117 and P 115. The resulting charges established across these input capacitors 104, 106 are then selectively transferred to the output capacitors Co 110, 112 and amplified by the amplifier 108 in accordance with the closed and open states of switches D 130, D 132, E 134, E 136, F 138 and F 140 as established by their respective control signals SWITCH(D) 131, SWITCH(E) 133 and SWITCH(F) 139. As a result, a differential output voltage Vout (with positive Vout.sub.p and negative Vout.sub.n signal phases) is produced which corresponds to the single-ended input signal 101.
Referring to FIG. 2A, a control signal generator 200 suitable for generating the various switch control signals (with the exception of the clamp signal CLAMP 113) includes a number of logic circuits 202, 204, 206, 208, 210, 212, 214, connected substantially as shown. A polarity signal is used to generate the P and P control signals, and is used in logical combination with the clamp signal CLAMP, a sample and hold clock signal CLM and a correlated double sampling signal CDS to generate the SWITCH(A) and SWITCH(B) control signals. The CLM and CDS signals are combined to generate the SWITCH(C) signal, while the CLM signal is used directly as the SWITCH(D) signal. The CLM signal and a "turbo" signal TURBO (discussed in more detail below) are combined to generate the SWITCH(E) and SWITCH(F) signals. Referring to FIG. 2B, the above-discussed polarity, CDS, CLAMP, TURBO and CLM signals are described in terms of their respective functionalities and effects upon operation of the sampler 100 when in their respective high and low logic states.
Referring to FIGS. 2C, 2D, 2E and 2F, the resulting differential output signal Vout from the circuit of FIG. 1 is shown for various types of analog input signals. For example, FIGS. 2C and 2D illustrate the resulting output signals Vout based upon the sampling of positive-polarity RTR and NRTR types of analog input signals from a CIS sensor, respectively. FIGS. 2E and 2F illustrate the resulting output signals Vout based upon the sampling of negative-polarity RTR and NRTR types of signals from a CCD sensor, respectively.
As discussed in more detail below in connection with a number of examples, the basic principles of operation for the circuit of FIG. 1 are as follows. The sampler 100 can be used for positive and negative polarity input signals 101, either with or without correlated double sampling in both regular and "turbo" modes of operation. For a positive polarity input signal 101, the P signal 117 is high, switch 120 stays open and input voltage Vin.sub.n is clamped to reference voltage Vref.sub.n. For a negative polarity input signal 101, the P signal 117 is low (P is high), switch 122 stays open and input voltage Vin.sub.p is clamped to reference voltage Vref.sub.p. With correlated double sampling enabled, switch 120/122 (for positive/negative input signal 101 polarity) remains closed and switch 124 remains open, while input voltage Vin goes to reference voltage Vref.sub.n /Vref.sub.p during the high state of the input clock signal CLM. With correlated double sampling disabled, switch 120/122 opens when the clock signal CLM is high, and switch 124 closes when the clock signal CLM is high and charges input voltages Vin.sub.n and Vin.sub.p to reference voltage Vref.sub.n /Vref.sub.p. Before each image line is scanned, input voltage Vin is precharged to a reference voltage which represents the black pixel value.
At the beginning of each line of pixel information, the sensor sends out a stream of dummy black pixels. During this time, the CLAMP signal is asserted (high) and input voltage Vin is charged to a fixed reference voltage which represents the black pixel level. All subsequent signal levels within the line are then referenced to this voltage Vin. For a positive polarity input signal 101, signal SWITCH(A) closes switch 122 during assertion of the CLAMP signal (regardless of the values of signals CLM and CDS), thereby charging input voltage Vin.sub.p to the value of voltage Vin (=Vref.sub.n). Thus, for positive polarity input signals 101, with or without correlated double sampling, the reference voltage is Vref.sub.n.
For a negative polarity input signal 101, signal SWITCH(B) closes switch 120 during assertion of the clamp signal CLAMP (regardless of the values of signals CLM and CDS), thereby charging input voltage Vin.sub.n to the value of voltage Vin (=Vref.sub.p). Thus, for negative polarity input signals 101, with or without correlated double sampling, the reference voltage is Vref.sub.p.
FIGS. 3A-3D illustrate the operating states of the circuit of FIG. 1 during operation of the clamp signal CLAMP for a positive polarity input signal 101 without correlated double sampling. FIG. 3E is a signal timing diagram representing the states of the various signals for the circuit states of FIGS. 3A-3D. FIG. 3F identifies, in tabular form, the values of the timing signals and states of the control switches during this mode of operation. During this mode of operation, the input signal 101 is fixed at a black pixel level, input voltage Vin.sub.n equals reference voltage Vref.sub.n and input voltage Vin.sub.p settles to reference voltage Vref.sub.n. The phase relation between the clamp signal CLAMP and clock signal CLM is unknown, the duty cycle of the clamp signal CLAMP may be any value, and signals CLAMP and CLM have the same signal period.
FIGS. 4A-4D illustrate the operating states of the circuit 100 during the clamp mode of operation for a positive polarity input signal 101 with correlated double sampling. FIG. 4E is a signal timing diagram for selected signals during such circuit states. FIG. 4F indicates, in tabular form, the values of the timing signals and states of the control switches during this mode of operation.
FIGS. 5A and 5B illustrate the operating states of the circuit 100 during its normal mode of operation for a positive polarity input signal 101 without correlated double sampling. FIG. 5C is a signal timing diagram for selected signals during such circuit states. FIG. 5D indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. In this mode of operation, the input signal 101 remains fixed while the clock signal CLM is low, input voltage Vin.sub.n equals reference voltage Vref.sub.n, and input voltage Vin.sub.p ranges between reference voltage Vref.sub.n (black) and reference voltage Vref.sub.p (white).
FIGS. 6A and 6B illustrate the operating states of the circuit 100 during its normal mode of operation for a positive polarity input signal 101 with correlated double sampling. FIG. 6C is a signal timing diagram for selected signals during such circuit states. FIG. 6D indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. During such operation, the input signal 101 changes after de-assertion of the clock signal CLM, input voltage Vin.sub.n equals reference voltage Vref.sub.n, and input voltage Vin.sub.p ranges between reference voltage Vref.sub.n (black) and reference voltage Vref.sub.p (white).
FIGS. 7A and 7B illustrate the operating states of the circuit 100 during its normal mode of operation for a negative polarity input signal 101 without correlated double sampling. FIG. 7C is a signal timing diagram for selected signals during such circuit states. FIG. 7D indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. During such operation, the input signal 101 remains fixed while the clock signal CLM is low, input voltage Vin.sub.n ranges between reference voltage Vref.sub.n (white) and reference voltage Vref.sub.p (black), and input voltage Vin.sub.p equals reference voltage Vref.sub.p.
FIGS. 8A and 8B illustrate the operating states of the circuit 100 during its normal mode of operation for a negative polarity input signal 101 with correlated double sampling. FIG. 8C is a signal timing diagram for selected signals during such circuit states. FIG. 8D indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. During such operation, the input signal 101 changes after de-assertion of the clock signal CLM, input voltage Vin.sub.n equals reference voltage Vref.sub.n, and input voltage Vin.sub.p ranges between reference voltage Vref.sub.n (white) and reference voltage Vref.sub.p (black).
FIGS. 9A-9D illustrate the operating states of the circuit 100 during its "turbo" mode of operation (i.e., pixel averaging) for a positive polarity input signal 101 without correlated double sampling. FIG. 9E indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. FIG. 9F is a signal timing diagram and corresponding table representing the states of selected signals during such circuit states for a "2.times." pixel averaging mode of operation (i.e., where two adjacent pixels are averaged together). FIG. 9G is a signal timing diagram and corresponding table representing the states of selected signals during such circuit states for a "3.times." pixel averaging mode of operation (i.e., where three adjacent pixels are averaged together).
FIGS. 10A-10D illustrate the operating states of the circuit 100 during its "turbo" mode of operation for a negative polarity input signal 101 with correlated double sampling. FIG. 10E indicates, in tabular form, the values of the timing signals and states of the control switches during such operation. FIG. 10F is a signal timing diagram and corresponding table representing the states of selected signals during such circuit states for a "2.times." pixel averaging mode of operation. (Ideally, the sensor signal 101 returns to a fixed reference level at every pixel. If the reference level shifts then the value of voltage Vin.sub.n will also shift and may not be equal to reference voltage Vref.sub.p. However, the value of voltage Vsig (the difference between the reference level and the signal level at each pixel) is exactly the same as voltage Vin.sub.n as in the sensor input.
Referring to FIG. 11, in accordance with well known, conventional circuit design techniques, it will be readily understood that the various switch circuits 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140 can be implemented in a number of ways including the use of pass transistors either individually or in pairs as transmission gates. This is the advantage of using correlated double sampling.)
Various other modifications and alterations in the structure and method of operation of this invention will be apparent to those skilled in the art without departing from the scope and spirit of the invention. Although the invention has been described in connection with specific preferred embodiments, it should be understood that the invention as claimed should not be unduly limited to such specific embodiments. It is intended that the following claims define the scope of the present invention and that structures and methods within the scope of these claims and their equivalents be covered thereby.