Automatic Selection of CDS Timing Parameters
Daniel P Weatherill, Ian Shipsey, Kirk Arndt, Richard Plackett, Daniel, Wood, Kaloyan Metodiev, Maria Mironova, Daniela Bortoletto, Nicolas Demetriou

TL;DR
This paper investigates optimal timing parameter selection for Correlated Double Sampling (CDS) in CCD readout systems, using a digital oversampling approach to analyze effects on noise reduction and linearity.
Contribution
It introduces a digital oversampling method to analyze and optimize CDS timing parameters, enhancing understanding of their impact on image quality.
Findings
Oversampling enables detailed analysis of CDS timing effects.
Optimal CDS timing improves linearity and noise performance.
Method applies to both digital and traditional CDS systems.
Abstract
CDS is a process used in many CCD readout systems to cancel the reset noise component that would otherwise dominate. CDS processing typically consists of subtracting the integrated video signal during a "signal" period from that during a "reset" period. The response of this processing depends therefore on the shape of the video signal with respect to the integration bounds. In particular, the amount of noise appearing in the final image and the linearity of the pixel value with signal charge are affected by the choice of the CDS timing intervals. In this paper, we use a digital CDS readout system which highly oversamples the video signal (as compared with the pixel rate) to reconstruct pixel values for different CDS timings using identical raw video signal data. We use this technique to develop insights into optimal strategy for selecting CDS timings both in the digital case (where the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCCD and CMOS Imaging Sensors · Infrared Target Detection Methodologies · Photocathodes and Microchannel Plates
ADC Analog to Digital Converter CCD Charge Coupled Device CDS Correlated Double Sampling DA Differential Averager DCDS Digital Correlated Double Sampling DSI Dual Slope Integrator LR Linearity Residual LSST Large Synoptic Survey Telescope PTC Photon Transfer Curve SNR Signal to Noise Ratio
Automatic Selection of Correlated Double Sampling (CDS) Timing Parameters
D. P. Weatherill
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
I. Shipsey
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
K. Arndt
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
R. Plackett
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
D. Wood
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
K. Metodiev
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
M. Mironova
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
D. Bortoletto
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
N. Demetriou
University of Oxford, Department of Physics, Keble Road, Oxford, UK OX1 3RH
Abstract
CDS is a process used in many Charge Coupled Device (CCD) readout systems to cancel the reset noise component that would otherwise dominate. CDS processing typically consists of subtracting the integrated video signal during a ”signal” period from that during a ”reset” period. The response of this processing depends therefore on the shape of the video signal with respect to the integration bounds. In particular, the amount of noise appearing in the final image and the linearity of the pixel value with signal charge are affected by the choice of the CDS timing intervals.
In this paper, we use a digital CDS readout system which highly oversamples the video signal (as compared with the pixel rate) to reconstruct pixel values for different CDS timings using identical raw video signal data. We use this technique to develop insights into optimal strategy for selecting CDS timings both in the digital case (where the raw video signal may be available), and in the general case where it is not.
In particular, we show that the linearity of the CDS operation allows subtraction of the raw video signals of pixels in bias images from those in illuminated images to directly show the effects of CDS processing on the final (subtracted) pixel values.
keywords:
Charge Coupled Devices, Correlated Double Sampling, Readout Electronics, Astronomy
1 Introduction
Modern CCDs are capable of extremely low read noise which is crucial to the science goals of current and future astronomical observatories. For example, the baseline requirement of the sensors to be used in the Large Synoptic Survey Telescope (LSST) camera is a readout noise of 5 e- rms equivalent at a pixel frequency of 500 kpix s*-1* [1]. This requirement is driven by the need to maintain the instrumental readout noise below the sky background shot noise levels, in particular in the short wavelength u band [2].
Typically the dominant on chip noise source of a CCD is the reset noise, which arises from the Johnson-Nyquist noise associated with the resetting of the sense node used to convert the accumulated charge into a voltage signal[3]. In order to achieve the best possible performance, this noise signal is typically removed via a process known as CDS. The remaining readout noise is then associated with thermal effects, carrier trapping and semiconductor parameter variation within the amplification transistors (so-called ”read noise”), which for a given bandwidth represents the lowest noise achievable using a conventional CCD output design. The CDS process can be implemented using various types of analog [4] or digital [5] methods, though in all cases the timing parameters of the CDS circuit operation must be correctly chosen to properly eliminate reset noise without introducing adverse artefacts into the measured pixel values in the form of structured noise patterns or excess non-linearity.
In this paper we present investigations into the effects of these timing parameters using a digital CDS system and an e2v CCD250 sensor [6]. We perform analysis of the raw oversampled video data (before processing to produce pixel values) to find correct timing parameters for linearity and Signal to Noise Ratio (SNR) using numerical optimisation (see Section 5). Using the linearity property of the digital CDS operation, we also show that performing subtraction of the raw video signal for different pixels can give insight into the choice of timing parameters (see Section 6), a process which might usefully be implemented on any CDS system, even those without access to oversampled raw video data.
2 Correlated Double Sampling Background
A diagram of a typical CCD two stage on-chip amplifier circuit is shown in Figure 1. Reset noise is incurred in the readout process during the operation of the sense node reset transistor (labelled Q1 in Figure 1). When the reset signal is asserted, the voltage on the sense node is allowed to settle to the reset drain voltage . If the channel resistance of the reset transistor is , there is a Johnson-Nyquist noise on the voltage given by [7]:
[TABLE]
where is the temperature, is Boltzmann’s constant, and is the bandwidth of the circuit. This bandwidth is set by the RC circuit formed by the finite channel resistance of the reset transistor and the sense node capacitance . Using the transfer function of an RC filter we obtain the amount of noise present on the reset expressed in units of electrons
[TABLE]
where is the electronic charge. For the nominal LSST operating temperature of and assuming a typical sense node capacitance of leads to . The reset noise can be effectively cancelled by measuring the individual reset level for each pixel readout and subtracting the signal level from it using a CDS process. Perhaps the most common implementation of CDS in the analog domain is the Dual Slope Integrator (DSI), also known as the Differential Averager (DA), which is illustrated in Figure 2. It is useful to refer to this diagram even in the Digital Correlated Double Sampling (DCDS) case, since the operation of the digital DA system is equivalent to this circuit in the limit of infinite sample rate. In fact, taking some simplifying assumptions, it can be shown that a DSI is a matched filter for the subtraction of pixel values in the absence of noise[5]. Optimal filtering can also be designed in the presence of noise, using either advanced digital filtering methods enabled by a DCDS system[8] or modified analog clamp & sample circuitry[9]. However, the question of selecting the best timing parameters for the circuit remains, even where the gain and (if applicable) filter coefficients have been matched to the system noise spectrum.
A diagram of how a video signal looks before CDS processing is shown in Figure 3. Throughout this work we label four CDS timing parameters:
- •
- the offset from the start of the pixel to the beginning of the reset sampling window
- •
- the length of the reset sampling window
- •
- the offset from the start of the pixel to the beginning of the signal sampling window
- •
- the length of the signal sampling window
A processed pixel value is obtained by a simple procedure, described here in terms of the operation of the circuit shown in Figure 2. The CLAMP and RESET switches are typically operated simultaneously with the reset feedthrough transient, to restore the DC level of the processor. At time , the switch is closed, and remains so for a period , during which the negative integral of the video reset window accumulates on the capacitor . At time , switch is closed, which causes the integral of the signal window to be added to that of the reset window. The resulting output is the pixel value. The procedure for DCDS is conceptually the same, except that the signal is oversampled during the sampling windows by a fast Analog to Digital Converter (ADC), and the integration and subtraction is performed digitally.
3 Methods
The test system consists of an Teledyne-e2v CCD250 device cooled via liquid nitrogen to an operating temperature of , read out using a STA Archon system[10], and illuminated by a stabilised Quartz-Tungsten light source passed through a monochromator. A more detailed description of this test system has previously been published[11].
The Archon readout carries 16 16-bit 100MHz ADCs, one for each output channel of the CCD250. The CDS is performed internally to the controller, and it is not possible to apply non-unity weighting co-efficients to the samples before processing. In this manner the system quite closely approximates a DSI, even for the fairly rapid pixel rate used. It is possible to read out the raw (pre-CDS) sample values for a specified region of an image for a single channel at a time. For all the results shown here, we selected a region of 512 x 200 pixels (each channel has 512 columns and 2002 rows in total). This results in approximately 220MB of raw data per captured image. The timing sequence used yielded a pixel rate of 490 kHz, resulting in a pixel period (all CDS timing parameters are given in numbers of 100 MHz samples).
Flat-field data was captured for 8 of the 16 total channels, each consisting of 5 bias frames and 40 pairs of illuminated frames up to an integration time of 5 s. The backside bias of the CCD was set to , and in future it would be of interest to study the effect of changing bias voltages (the backside bias used significantly alters readout conditions, including the capacitance of the sense node[12]). Using the raw sample data, we can then post facto reconstruct a Photon Transfer Curve (PTC) for a set of CDS timing parameters in software using exactly the same underlying readout data. This process is very simple and consists of summing and normalising the sample values in an identical manner to the DA in the Archon firmware. We verified for two randomly selected sets of parameters that our reconstructed pixel values were identical to the Archon pixel values with CDS enabled. We construct the PTC following the standard procedure, including subtraction of a mean overscan value for each row, subtraction of a bias frame before calculation of mean value, and differencing of two illuminated images to eliminate fixed pattern noise before calculating variance[13].
4 The Effect of CDS Timing on Linearity and Noise
It is clear that the values of and significantly affect the SNR of the image. Intuitively, longer sampling times suppress the white noise component. This is found to be the case in practice. The values of and also affect SNR because sampling near the region of a clock edge transition (which injects noise) increases the total integrated noise. This second effect is illustrated in Figure 4 (right panel) where the change of to significantly increases the measured noise floor .
We also calculate the Linearity Residuals for the data according to the formula from Janesick[3]:
[TABLE]
where and are the mean signal levels and integration times respectively; and and are the mean signal level and integration time at a selected midpoint. In this work we use . Again, it is intuitive that having sampling periods which either overlap a clock feedthrough or are too early after the decay of the reset transient will incur significant linearity errors, since the magnitudes of these transients do not depend linearly on the sense node charge. In Figure 4 we see this in action. We start from a very poor linearity situation ( ) with and dramatically improve by making the signal sampling period later with . We expect, however, that and should have weak effect on linearity by themselves, though too large a choice for these parameters would force the sampling periods into problematic regions. Thus the set of timing parameters which optimise SNR is almost always not the same as that which optimises LR, and that these two goals are in contention. It is also conceivable that a different set of timing parameters would optimise linearity and SNR over some signal ranges than others.
5 Optimising CDS parameters
Strictly, the optimisation problem presented to us is one of mixed-integer programming (since the timing values are restricted to be integers), which is well known to be NP-hard.
However, through analogy to an analog CDS system where the timing parameter values are continuous, we expect that were it possible to select non-integer sample numbers, all the resulting cost functions should be well defined and smooth. Hence, it is suitable to use standard Nelder-Mead multi-variate optimisation routines (as implemented in the scipy package)[14], and to calculate the cost functions for non-integer values by linearly interpolating from the nearest integer value results. As mentioned in Section 4, it is likely that for some applications (e.g low light imaging) one might tailor a cost function to optimise CDS timing in some specified signal range, or to emphasize linearity and SNR to different degrees. In this work, we consider the optimisation over the following cost functions:
[TABLE]
where indicates taking a mean average. Several more natural cases worthy of investigation would be the maximum LR (as opposed to the rms value represented by ), and combining SNR and linearity with different powers in , which are not considered further here.
Two cross sections for in and are shown in Figure 5. These give a somewhat intuitive picture, with a longer and later reset period clearly improving SNR to avoid the reset transient. The resulting parameters from the full 4-dimensional maximisation is shown in Figure 8 (left panel). The optimised parameters appear to contain significant parts of the clock feedthrough region, which will clearly be detrimental to linearity performance.
Next the minimisation of is considered. Cross sections in for two different values are shown in Figure 6. We see that positioning either of the sampling windows in regions of rapid clock transitions decreases linearity as expected. Placing the reset region as late as possible consistent with not crossing into the serial clock feedthrough is also seen to be optimal. However, the resulting parameters in Figure 8 (centre panel) are somewhat confusing. It appears that the optimised signal window is placed very ”late” - well into the region where the video has stopped being flat after transferring signal charge. We will discuss a possible reason for this counter-intuitive result in Section 6.
Finally we show the results of a combined optimisation. Cross sections are shown in Figure 7, and the optimised parameters in Figure 8 (right panel). The chosen parameters clearly represent a compromise between the considerations of SNR and linearity, though the signal sampling window is found to be later than might be selected by eye.
In Figure 9 the parameters resulting from combined optimisation for all 8 channels measured are shown. A reasonably tight grouping both in terms of sample window position (except for the outlier channel 6) and window length are exhibited. It seems reasonable that selecting parameter values in some centroid of the located points for various channels would be a suitable compromise to optimise the entire device readout (though a higher dimensional procedure which separately took into account the data for all channels simultaneously could be contemplated).
6 Subtraction of Raw Video Signals
Consider the operation of a DA, which takes a set of raw ADC samples and turns them into a pixel value with timing parameters :
[TABLE]
In a scientific context, one almost universally wishes to subtract two pixel values to yield a final pixel value (for example subtracting an bias frame pixel value from the corresponding image frame value ). Consider the output of our differential averager in such an operation:
[TABLE]
If we can assume that the low frequency noise component and DC offset drift are small (and thus the difference between the raw samples and are constituted by the response of the system to different pixel values), then the linearity of the DA operation implies we could re-arrange (8) to give:
[TABLE]
or, in other words: there is in principle no reason why we could not subtract the raw video for two pixel values sample by sample rather than subtracting the pixel values after CDS processing. Such an operation is of very little practical use, since in reality the low frequency noise component may be significant. In addition, for acquisition of a whole image frame this method would require an excessive (and unnecessary) data volume. However, this operation does provide some insight (at least in the specific system readout discussed in this work) into why the optimised values of and seem to be found later than would be intuited by ”eyeballing” the raw samples. We show the results of this operation for two randomly selected pixels in Figure 10. It is much clearer here how the optimised values of and might be arrived at through the procedure described in Section 5 - since the rising edges at the end of the signal region are very similar between the image and bias pixels, their subtraction results in the appearance of a much longer ”flat” portion of the pixel signal than we see in the non-subtracted traces.
We do not wish to make the claim that this effect applies to all readout systems - it is likely that when noise is significant, or there is large jitter in clock timings and thus inconsistent clock feedthrough positions through time, then the raw subtraction method may well not give good insights into optimisation. However, in situations where these limitations do not apply, this operation provides excellent insight into choosing CDS timing values.
The raw sample subtraction method is especially intriguing in the context where a DCDS system is not available - the linearity property of the DA operation applies equally to that of an analog circuit such as a DSI. Thus, only a few traces of pre-CDS video data (obtained for example from an oscilloscope) would be needed to get a much clearer picture for timing optimisation.
The procedure using an analog CDS system would be roughly as follows:
Use the CCD timing generator to produce a trigger pulse at some chosen pixel within the image readout 2. 2.
Use an external data acquisition system (e.g. an oscilloscope) to capture the raw video trace of this pixel before CDS processing 3. 3.
Vary the integration time (and thus signal level) and repeat this capturing process 4. 4.
Numerically construct raw subtracted traces for each integration time and determine values of and for which linearity performance appears acceptable. 5. 5.
Using these and values, vary and , reading out whole images from the system for each value, and measure the SNR to find the maximum values consistent with the required SNR
Unfortunately no readout system equipped with analog CDS was available for this work. However, we hope to test this optimisation procedure in future to determine its efficacy in a real world situation.
7 Conclusions
The effect of changing only the CDS timing parameters with all other operating conditions of a CCD held constant has been investigated using raw sample capture from a DCDS readout. We have shown that numerical optimisation is a viable way to choose parameters which optimise a trade-off between SNR and linearity.
The observed optimal values in our particular system were observed to be counter-intuitive in the sense that they appear in a region where the raw signal is rapidly changing rather than stable. We have developed an explanation for this by considering the raw sample by sample subtraction of two pixel values, which shows that after processing, these regions remain flat and suitable for use in CDS integration periods. No applicability of this effect is assumed for all readout systems, though the insight from the subtraction method is likely to be useful in many wider contexts than considered in this work.
It is recommended that in CDS optimisation of a CCD readout, the subtraction of two raw video signals should be included as part of the inputs to choosing the timing parameters.
Acknowledgements.
This work has been partially supported by STFC funding for UK participation in LSST, through grant ST/N002547/1. The authors wish to acknowledge also useful conversations with Chris Damerell of Oxford University.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] V. Radeka, J. Frank, J. C. Geary, et al. , “LSST sensor requirements and characterization of the prototype LSST CC Ds,” Journal of Instrumentation 4 (03), P 03002 (2009).
- 2[2] Ž. Ivezić, S. M. Kahn, J. A. Tyson, et al. , “LSST: from Science Drivers to Reference Design and Anticipated Data Products,” ar Xiv e-prints (2008).
- 3[3] J. R. Janesick, Scientific charge-coupled devices , SPIE Press, Bellingham, Wash (2001).
- 4[4] G. Hopkinson and D. Lumb, “Noise reduction techniques for CCD image sensors,” Journal of Physics E: Scientific Instruments 15 (11), 1214 (1982).
- 5[5] K. D. Stefanov, “Digital CDS for image sensors with dominant white and 1/f noise,” Journal of Instrumentation 10 (2015). 18 pp.
- 6[6] P. R. Jorden, D. Jordan, P. A. Jerram, et al. , “e 2v new CCD and CMOS technology developments for astronomical sensors,” Proc. SPIE 9154 , 91540 M–91540 M–15 (2014).
- 7[7] H. Nyquist, “Thermal agitation of electric charge in conductors,” Phys. Rev. 32 , 110–113 (1928).
- 8[8] J. Gach, D. Darson, C. Guillaume, et al. , “A new digital CCD readout technique for ultra-low-noise CC Ds,” Publications of the Astronomical Society of the Pacific 115 (811), 1068 (2003).
