<<

arXiv:1412.4031v1 [astro-ph.IM] 11 Dec 2014 ihlvlniesmltosi CCD/CMOS in simulations noise High-level C 4 ,6 esr r eotdi h literature. the in reported are sensors 6] 5, [4, CCD Gaus- only of using noise. some adequately sian noise, modelled of photosensors be ac- sources cannot that different which of is many area by problem affected an main are still The is research. however, of tive photosensors, simulation high-level in the The by noise addressed The [1]. been and quality. standard has simulate images EMVA1288 estimation the or noise on of sensor, noise problem the of impact reduce from the and noise predict measured estimate of the either impact in can noise the one to Therefore, leads and signal. ideal con- not a such digital is photosensors version a of imperfections into CCD to light Due or convert signal. CMOS to use photosensors devices solid-state measuring modern Many Introduction 1 photosen- solid-state of from effects sors. obtained realistic images simulate the on to noise engineers of mod- enable issue photosensor that the high-level numerical els addresses comprehensive the of paper lack of The the validity provided. Experimen- the are confirm described. model that are results noises from tal dark characterisation and for light Procedures a both sen- presented. and hardware is photosensor CMOS sor custom-made An CMOS a simulated with noise. comparison images the realistic al- of of processing example presence image im- the of synthetic in validation create gorithms and to testing used for be ages can The model non-linearities. formulated model converter The voltage-to-, analogue-to-digital voltage-to-voltage, and noise. sense quantisation includes noise, and follower also noise, source off- reset Noise, noise, node Pattern shot current Fixed dark cur- set Noise, dark Pattern noise, Fixed photo- rent includes shot model photon review The non-uniformity, literature paper. response this a CCD in on formulated of based is model photosensors high-level CMOS neces- from A and noise often realistic photosensors. is containing solid-state it images test- simulate algorithms, to and processing sary development image as of such ing applications, many In Abstract or ieetnmrclmdl fCO 2 ]and 3] [2, CMOS of models numerical Different [email protected] ∗ orsodn uhr Emails: author. Corresponding ihlvlnmrclsmltoso os nCDand CCD in noise of simulations numerical High-level aut fEgneigadBitEvrnet nvriyo Newcast of University Environment, Built and Engineering of Faculty MSpooesr:rve n tutorial and review photosensors: CMOS [email protected] ihi Konnik Mikhail ae1o 21. of 1 page ∗ n ae Welsh James and grsdi ormi ye:poo htnie Photo noise, shot photon types: main cat- four was in noises egorised where S¨usstrunk proposed [5], and was non- Costantini model by response adequate photo An and (PRNU). noise uniformity read noise noise, dark- camera and shot photon current model (FPN), noise [28] fixed-pattern Kondepudy offset with station- and is Healey noise readout and that and ary. suggests photon model noise includes CCD the however dark-current [4] The noise; noise, Cox . by de- combi- electronic amplifiers model [27] a and as noise Flory noise electronics camera by shot sensor model the of The of nation mod- noise than the parame- sensors. simpler scribes CMOS noise generally of their are els and [26] estimation 26] ters [25, photosensors: photosensors CCD CCD of Models always not is paper, this in show case. will the we lin- as completely which, the are follower ear, that source assume and node often 23]. sense 25]) ADC, [22, [24, models (e.g., an FPN models other [20], High-level with was along in (FPN) [21] found in in noise presented be noise fixed-pattern of can temporal of model sensors of types autoregressive pixels analysis specific active the the CMOS on im- example, the focus for on papers noise noise; the Other of effects [12]. the ages see that to images users colour end of allow papers modelling numerical the the of with Some deal [19]. photosensors CMOS solid-state in of physics simulation car- for and used potential are of concentrations, are distributions rier which 2-D the [18], model Medici to able like numerical liter- simulators 17] the Low-level in [16, low-level reported ature. are and photosensors 15] photosensors: CMOS 14, of 5, models 3, CMOS 2, [7, level of Models were (ISET) 13] recently. 7, developed [12, Im- Toolkit the Evaluation as Systems such age [11]. suits noise integrated software of de- use Sophisticated description models is other statistical while noise sophisticated 10], shot [9, more value current mean models its dark some by the scribed in noise photosensor, example, of the for thoroughness of The well; as [8]. differs sensor modelling solid- a the of of physics aspects sate how specific while of models [7], High- evaluation simulator quality low-level the image included. influence for sources being used noise different are sources and [5] noise generality simulators the the level of by scope differ the models photosensor The e Australia le, .Kni n J.Welsh and Konnik M. h oesof models The ohhigh- Both Response Non Uniformity, dark current shot noise and – Correlated double sampling ...... 5 read noise. 2.3. From Voltage to Digital Numbers (including Dif- ferential and Integral Linearity Errors) ...... 5 The purpose of the article: This article provides a literature review of the noise models that are used in the 3. Simulation Methodology ...... 6 simulations of CCD and CMOS photosensors and give 3.1. Model: From Photon to Charge: ...... 6 a working numerical model of a photosensor. The aim – simulating photon shot noise and PRNU ....7 of this article is to summarise the advances in numer- – converting photons to electrons ...... 7 ical simulations of photosensors and provide a MAT- – simulating dark signal, dark current FPN and LAB implementation of a CCD/CMOS sensor model, dark current shot noise ...... 7 which has been demonstrated to adequately describe – simulating Source follower noise ...... 8 noise properties of a hardware CMOS photosensor. 3.2. Model: From Charge to Voltage: ...... 8 The experimental results for a hardware 5T CMOS – simulating sense node reset noise (kTC noise) photosensor are provided in the article as validation and offset FPN ...... 9 for the developed numerical simulator. The article ad- – converting electrons to voltage ...... 9 dresses the issue of the lack of high-level models of pho- – simulating V/e− and V/V gain non-linearity 10 tosensors. It is shown that the dark noise may have more complicated structure than is typically assumed 3.3. Model: From Voltage to Digital Numbers . . 10 and therefore requires a more sophisticated statistical – simulating ADC non-linearity ...... 10 description. The formulated high-level model of a pho- – simulating quantisation noise ...... 10 tosensor allows the simulation of realistic noise effects 4. Experimental validation of the photosensor model 10 on the images and can be useful for testing of image 4.1. Radiometric function ...... 11 processing algorithms. 4.2. Photon Transfer Curve ...... 11 Software implementation: The MATLAB- 4.3. Signal-To-Noise Ratio ...... 12 based software implementation of the high-level 4.4. Photo Response Non-Uniformity ...... 13 CCD/CMOS photosensor model described in this article is freely available on the website 4.5. Noise Spectrogram ...... 14 https://code.google.com/p/highlevelsensorsim/ 4.6. Dark signal performance for different integration and also on email request. The software simulator times: ...... 15 written as a series of functions that call the corre- – Short integration time ...... 16 sponding sub-functions sequentially to add the noise – Long integration time ...... 17 with specified parameters. Two example test files 5. Conclusion ...... 18 are supplied that run: (1) a simple sensor model, which is completely linear and where all noise are Gaussian, and (2) an advanced model, which has 2 Noise sources in solid-state V/V and V/e non-linearities, LogNormal noise models and other specific noises. Both test files use the same photosensors code: adjusting the parameters in the test file, a user can turn the noise sources on or off and trigger Many noise sources contribute to the resulting noise non-linearities. The MATLAB code has a thorough image that is produced by photosensors. Noise sources documentation, both as comments inside the m-files can be broadly classified as either fixed-pattern (time- and rendered for web view [29] in a browser (see /help invariant) or temporal (time-variant) noise. Fixed- directory and index.html file inside). pattern noise refers to any spatial pattern that does not change significantly from frame to frame. Temporal Contents of the article noise, on the other hand, changes from one frame to the next. These noise sources will be described in detail in 1. Introduction ...... 1 the following subsections. 2. Noise sources in solid-state photosensors: ...... 2 2.1. From Photon to Charge: ...... 2 2.1 From Photon to Charge – photon shot noise and PRNU ...... 3 The ability of a semiconductor to produce electrons – dark signal, dark current FPN and dark current from incident photons is referred to as quantum effi- shot noise ...... 3 ciency (QE). Quantum efficiency can be supplied by – Source follower noise (Johnson noise, Flicker the sensor manufacturer in the form of spectral respon- (1/f) noise, and Random Telegraph Noise) ..4 sivity as a function of wavelength, or measured empiri- 2.2. From Charge to Voltage: ...... 4 cally. For the sake of simplicty, we assume that the light – Sense node reset noise (kTC noise) ...... 4 is monochromatic, and therefore we need the spectral – Offset FPN ...... 4 response of the sensor at one wavelength. – Gain non-linearities (V/e− gain and V/V gain The charge collected in each pixel of a sensor array is non-linearity) ...... 5 converted to voltage by a sense capacitor and a source-

High-level noise simulations in CCD/CMOS page 2 of 21. M. Konnik and J.Welsh follower amplifier. The sense node is shared for all pix- [eV] is the band gap energy of the semiconductor which els in the case of a CCD. In CMOS sensors, the sense also varies with temperature, T is the temperature in node is located inside each pixel. K, and k is Boltzman’s constant. It was reported [41] that for a CCD photosensor op- 2.1.1 Photon shot noise erated in multipinned phase (MPP) mode, the average dark current DR can be described as: The process of photon capturing has an uncertainty that arises from random fluctuations when photons are E E D ∼ T 3 exp − gap + T 3/2 exp − gap , (2) collected by the . Such uncertainty leads to R kT 2kT photon shot noise and is described by the Poisson pro-     cess. In the case of a high level of light (more than 1000 where the first term is more important as the temper- arrival events [30] of photons), the Poisson distribution ature increases, whereas the second term dominates at may be approximated by a Gaussian distribution. How- lower temperatures. Temperature dependence of the ever, this is not justified for low-light conditions. The dark current is explained in details in [42, 43, 41]. method of the approximation of the Poisson distribu- The relationship between band gap energy and tem- tion by Gaussian is discussed in detail in [31]. perature can be described by Varshni’s empirical ex- pression [44]: 2.1.2 Photo response non-uniformity αT 2 The Photo Response Non-Uniformity (PRNU) is the Egap(T )= Egap(0) − , (3) spatial variation in pixel output under uniform illumi- T + β nation mainly due to variations in the surface area of where E (0), α and β are material constants. For the . This occurs due to variations in sub- gap Silicon E (0) = 1.1557[eV ], α =7.021 ∗ 10 4 [eV/K], strate material during the fabrication of the sensor [32]. gap − and β = 1108 [K]. The PRNU is signal-dependent (proportional to the input signal) and is fixed-pattern (time-invariant). The PRNU factor is typically 0.01 ... 0.02 for a given sen- 2.1.5 Dark signal sor [33], but varies from one sensor to another. It is noteworthy that the PRNU pattern can be used as a The dark signal varies from pixel to pixel, it is linear unique identification fingerprint for digital cameras [34]. with respect to integration time, and doubles with every 6 − 8◦C increase of temperature [32]. When the expo- 2.1.3 Read noise sure begins, a dark current is generated even if there is no light. The longer the exposure time tI , the more Read noise is defined as any noise that is not a func- dark signal Sdark.e− (number of electrons per pixel) will tion of the signal [35]; it is a combination of the re- be generated: maining noise generated between the photodiode and Sdark.e− = tI · DR, (4) the output of the ADC circuitry. The read noise con- sists of: dark current shot noise (Sec. 2.1.6), dark cur- where DR is the average dark current from Eq. 1. In rent Fixed Pattern Noise (Sec. 2.1.7), sense node reset simulation we use Eq. 4 to calculate the dark signal per noise (Sec. 2.2.1), source follower noise (Sec. 2.1.8), pixel. But the dark signal Sdark.e− is a subject of the ADC quantisation noise (Sec. 3.3.2). dark current shot noise due to random generation of the electrons. 2.1.4 Dark current Dark current is the thermally generated electrons [36] 2.1.6 Dark current shot noise discharging the pixel just as if a photon had hit the An additional noise results from the dark signal due to pixel. The dark current generally arises from surface the electrons being generated randomly by the photo- defects in the SiO /Si interface [37], surface genera- 2 sensor. Such noise is called dark current shot noise [33] tion [38], thermal generation [39], and imperfections of and is described by the Poisson distribution as the ran- the semiconductor manufacturing process [40]. dom arrival of electrons [45] as: The average dark current DR [e−/sec/pixel] can be characterised by [33]: σd.shot = tI · DR = Sdark.e− , (5) 3/2 Egap DR = PADF M T exp − , (1) p p 2 · kT where DR is the average dark current [e−/sec/pixel] as   described by Eq. 1. In a real sensor, the pixels differ 2 2 where PA is the pixel area [cm ], DF M [nA/cm ] is the slightly from one to another resulting in another source dark current figure-of-merit1 (varies with the sensor and of noise called dark current Fixed Pattern Noise. usually reported by the manufacturer) at 300K, Egap FPN factor DN and the dark current figure-of-merit DFM . This 1 The dark current figure-of-merit DFM can be estimated from can be done by plotting dark current shot noise and dark current the measurements to ensure that the number that manufacturers FPN versus a dark signal. This is called “Dark Transfer Curve”, publish is consistent with the sensor performance. Using Photon out of which those parameters can be deduced. The procedure is Transfer methodology [35], one can estimate the dark current described on page 170-171 in [35].

High-level noise simulations in CCD/CMOS page 3 of 21. M. Konnik and J.Welsh 2.1.7 Dark current fixed pattern noise the modelling and explanation of both flicker noise and RTN are still subjects of active research [60, 61, 62]. It Pixels in a hardware photosensor cannot be manufac- was shown [60] that voltage fluctuations, which exhibit tured exactly the same from perfectly pure materials. a 1/f power spectrum, can be described by the Fisher- There will always be variations in the photo detector Tippet-Gumbel distribution. Further details about area that are spatially uncorrelated [46], surface defects RTN noise in photosensors can be found in [61, 62]. at the SiO2/Si interface [47], and discrete randomly- distributed charge generation centres [11]. These de- fects provide a mechanism for thermally-excited car- 2.2 From Charge to Voltage riers to move between the valence and conduction The conversion from charge to voltage is not perfect bands [48, 49]. Consequently, the average dark signal in the real photosensor: sense node reset noise, source is not uniform but has a spatially-random and fixed- follower noise, and offset Fixed Pattern Noise add an pattern noise (FPN) structure. The dark current FPN uncertainty to the measured signal [20]. These noise can be expressed [35] as follows: sources are described in this subsection.

σd.FPN = tI DR · DN , (6) 2.2.1 Sense node reset noise (kTC noise) where tI is the integration time, DR is the average dark Prior to the measurement of each pixel’s charge packet, current described in Eq.1, and DN is the dark current FPN factor that is typically 0.1 ... 0.4 for CCD and the sense node capacitor is reset to a reference voltage CMOS sensors. level [53]. Noise is generated at the sense node by an There are also so called “outliers” or “dark uncertainty in the reference voltage level due to ther- spikes” [50]; that is, some pixels generate a dark signal mal variations in the channel resistance of the MOSFET values much higher than the mean value of the dark sig- reset transistor. The reference level of the sense capaci- nal. The mechanism of such “dark spikes” or “outliers” tor is therefore different from pixel to pixel [53]. It was can be described by the Poole-Frenkel effect [51, 52] (in- reported [63] that the reset noise can be a significant crease in emission rate from a defect in the presence of contributor to dark noise. The reset noise voltage is an electric field). given by: k T σ = B , (7) RESET C 2.1.8 Source follower noise r SN where k is Boltzmann’s constant, C is the sense In high-end CCD and CMOS sensors the source fol- B SN node capacitance [F], and T is the temperature [K]. lower noise has been decreased to a value of one Because reset noise can be significant [53] (about 50 rms [35]. However, source follower noise for industry- rms electrons), most high-performance photosensors in- grade sensors can be significant and therefore should be corporate a noise-reduction mechanism such as corre- included in a photosensor model. The source follower lated double sampling (CDS; see subsection 2.2.6 and noise consists of white noise, flicker noise (1/f noise), subsection 3.2.6). and random telegraph noise (RTN).

Sense node reset noise for CCD and CMOS sen- Johnson noise (white noise) Similar to the sense sors: For CCD sensors, the sense node reset noise is node, the source follower amplifier has a resistance that removed by CDS [35]. In CMOS photosensors, it is dif- generates thermal noise. Such noise is governed by the ficult to remove the reset noise given the specific CMOS Johnson white noise equation [53]. The noise is com- pixel architectures, even after application of CDS. The monly referred to as Johnson noise, Johnson-Nyquist or CDS suppresses the low frequency noise components, al- simply as a white noise [32]. though it increases the thermal noise contributions [64]. Flicker (1/f) noise The flicker noise, also referred to as 1/f noise, is generally due to imperfect con- 2.2.2 Offset fixed pattern noise tacts between two materials at the junction [54, 55], Pixels in the same column of the photosensor share a including metal-to-metal, metal-to-semiconductor and column amplifier. Differences in the gain and offset of semiconductor-to-semiconductor. Since MOSFETs are these column amplifiers contribute to a column-wise off- used inside each pixel, CMOS image sensors exhibit set fixed pattern noise. The offset fixed pattern noise higher 1/f noise than CCD sensors. More details and (offset FPN) is caused by an offset in the integrating discussions about 1/f noise can be found in [14, 56]. amplifier, size variations in the integrating capacitor, and as variation of bias/offset voltages [21]. Random Telegraph Noise As the CCD and CMOS Specifically, CMOS offset FPN is due to threshold pixels are shrinking [57, 58] in dimension, the low- voltages differences in the pixel source follower ampli- frequency noise is subsequently increasing [59]. The fier [65]. Offset FPN arises from the fact that pixels in origin of RTN is attributed to the random trapping the same column of a CMOS sensor share the same col- and emission of mobile charge carriers resulting in dis- umn amplifier. The difference in gain and the offsets of crete modulation of the channel current, which can be such an amplifier is a source of column-to-column offset modelled [14] as a random telegraph signal. However, FPN [21, 22]. This type of noise appears as “stripes”

High-level noise simulations in CCD/CMOS page 4 of 21. M. Konnik and J.Welsh in the image and can result in significant image quality During the reset stage, the photodiode capacitance is degradation. Modelling of the offset FPN is discussed charged to a reset voltage. The reset voltage is read by in Subsection 3.2.2. the first sample-and-hold (S&H) in a correlated double sampling (CDS) circuit [68]. Then the exposure begins: 2.2.3 Gain non-linearity in photosensors the photodiode capacitor is discharged during an ex- posure (integration) time at a rate proportional to the Both CCD and CMOS sensors may exhibit V/V incident illumination. This voltage is then read by the (voltage-voltage conversion) and V/e− (voltage- second sample-and-hold of the CDS. The CDS circuit electrons conversion) non-linearity. The V/V non- subtracts the signal pixel value from the reset value. linearities is mainly [33] due to the source follower The main purpose of CDS is to eliminate fixed pat- amplifier. The V/e− non-linearity is due to the sense tern noise caused by random variations in the thresh- node capacitance CSN . The V/e− non-linearity is a old voltage of the reset and pixel amplifier transis- problem mostly for CMOS sensors, whereas for CCD tors. Many variants of CDS were proposed and im- sensors the V/e− non-linearity is usually negligible. plemented [69, 70, 71]. Many sensors use correlated double sampling to eliminate column patters and pix- 2.2.4 V/e− gain non-linearity els patterns. Pixel noise reduced by the CDS is known as “crowbar” that significantly reduces the effect of the The V/e non-linearity affects both FPN and shot − reset column noise [67, 72]. noise. It can also be thought of as a sense node ca- pacitor non-linearity. When a small signal is measured, the sense node capacitance CSN may change negligibly. 2.3 From Voltage to Digital Numbers For a large signal, a change of CSN affects the signal be- An analogue-to-digital converter (ADC) transforms a ing measured. The V/e− non-linearity can be expressed voltage signal into discrete codes. An N-bit ADC has as [35]: 2N possible output codes with the difference between k1 VREF N S − = ln , (8) code being VADC.REF /2 . The resolution of the ADC e q V  SN  indicates the number of discrete values that can be pro- where Se− is the total signal in electrons, the constant duced over the range of analogue values and can be 15 k1 is k1 = 10.909 ∗ 10− , VREF is the reference voltage expressed as: to which the sense node is reset. V − V K = ADC.REF min (10) ADC N 2.2.5 V/V gain non-linearity max where V is the maximum voltage that can be The V/V non-linearity is caused by the non-linear re- ADC.REF quantified, V is minimum quantifiable voltage, and sponse of source follower amplifier [35]. In our simula- min N = 2N is the number of voltage intervals. There- tions, we implemented the linear change of source fol- max fore, the output of an ADC can be represented as: lower gain ASF similar to the model in [35]. The V/V gain non-linearity is described as: V − V ADC = round input min (11) Code K VSN  ADC  ASFnew = (γnlr − 1) · + ASF , (9) VF W The lower the reference voltage VADC.REF , the smaller the range of the voltages one can measure. where VSN is the voltage that corresponds to the signal collected by the sense node, VF W is the voltage that corresponds to the full-well signal, and γnlr is used to 2.3.1 Noise and non-linearity induced by an control the amount of non-linearity in the source fol- ADC lower gain A . The parameter of non-linearity γ SF nlr In terms of the ADC, the following non-linearity and can be taken from the specifications of a photosensor. noise should be considered for the simulations of the The new source follower gain A from Eq. 9 is then SFnew photosensors: Integral Linearity Error, Differential Lin- used for the conversion in Eq. 31 in Subsection 3.2.3 to earity Error, quantisation error, and ADC offset. simulate the V/V non-linearity.

Differential Linearity Error (DLE) indicates the 2.2.6 Correlated double sampling deviation from the ideal 1 LSB (Least Significant Bit) Fixed pattern noise performance of CMOS sensors is step size of the analogue input signal corresponding to usually lower than for CCD sensors [66]. For this reason a code-to-code increment [73]. Assume that the volt- CMOS sensors use noise reduction circuits such as cor- age that corresponds to a step of 1 LSB is VLSB. In related double sampling (CDS). The CDS circuits are the ideal case, a change in the input voltage of VLSB located per column and usually consist of two sample- causes a change in the digital code of 1 LSB. If an input and-hold (S&H) circuits [67]. During the pixel read-out voltage that is more than VLSB is required to change a cycle, two samples are taken: the first when the pixel is digital code by 1 LSB, then the ADC has DLE error. in the reset state and the second when the charge has In this case, the digital output remains constant when been transferred to the read-out node. the input voltage changes from, for example, 2VLSB

High-level noise simulations in CCD/CMOS page 5 of 21. M. Konnik and J.Welsh to 4VLSB, therefore corresponding the digital code can never appear at the output. That is, that code is miss- ing.

Integral Linearity Error (ILE) is the maximum deviation of the input/output characteristic from a straight line passed through its end points [73]. For each voltage in the ADC input, there is a corresponding code at the ADC output. If an ADC transfer function is ideal, the steps are perfectly superimposed on a line. However, most real ADC’s exhibit deviation from the straight line, which can be expressed in percentage of the reference voltage or in LSBs. Therefore, ILE is a measure of the straightness of the transfer function and can be greater than the differential non-linearity. Tak- ing the ILE into account is important because it cannot be calibrated out.

Quantisation errors are caused by the rounding, since an ADC has a finite precision. The probability distribution of quantisation noise is generally assumed to be uniform. Hence we use the uniform distribution to model the rounding errors (see Subsection 3.3.2).

ADC offset error may occur due to the DC offset associated with the analogue inputs to the ADC. The magnitude of the ADC offset depends on the gain and input range selection.

3 Simulation Methodology

The photosensor model was implemented in MATLAB as a set of functions that generate noise according to the models discussed above. The functions sequentially transform the input to number of photons, to number of electrons, to voltages, and finally to a digital signal, as shown in Fig. 1. One can simulate either CCD or CMOS photosensors by turning the models of noise on and off. The simulation software contains routines for the simulation of the sensor and also scripts for the estimation of the noise characteristics.

The numerical model of the photosensor simulates the temporal and fixed-pattern characteristics of noise sources accordingly. The matrices for the fixed-pattern (time-invariant) noise are calculated once and then saved to a file. Those matrices will be loaded again to calculate the fixed pattern noise; therefore, the noise will always remain the same reflecting the fixed pattern nature of the noise. On the other hand, the matrices for the temporal (time-variant) noise are recalculated each time the simulation begins.

3.1 Model: From Photon to Charge The input to the model of the photosensor is assumed N M to be a matrix Uin ∈ C × that corresponds to the opical field. For the estimation purpose, the input can Figure 1: The diagram of the photosensor model. be a uniform light field (i.e., uniform image) or gradient image (i.e., linear transition from no light to saturation

High-level noise simulations in CCD/CMOS page 6 of 21. M. Konnik and J.Welsh 2 level). Then the sensor’s irradiance Iirrad = |Uin| , using a Gaussian distribution for each (i, j)-th pixel of 2 which is in units of [W/m ], converted to the average the matrix Ie− : number of photons Iph collected by each pixel during 2 the integration (exposure) time: IP RNU.e− = Ie− + Ie− · N (0, σPRNU ) (15)

Iirrad · PA · tI where σPRNU is the PRNU factor value. Since the Iph = round , (12) PRNU does not change from one frame to the next, Qp   the matrix N is calculated once and then saved to a 2 where PA is the area of a pixel [m ], tI is integration file. In the simulations, the matrix N can be loaded h c again to calculate the photo response non-uniformity. (exposure) time, Qp = λ· is the energy of a single photon at wavelength λ, h is Planck’s constant and c is Therefore, since the same matrix is used for all sim- the speed of light. ulations of the photo response non-uniformity, it will Therefore, each (i, j)-th element of the matrix Iph always remain the same as it should be. contains the number of photons that have been collected by the (i, j)-th pixel of the “software” photosensor dur- 3.1.4 Simulation of dark signal ing the integration time tI . The dark signal is calculated using Eq. 1 for all pixels in the model. It is implemented using ones function in 3.1.1 Simulating photon shot noise MATLAB as a matrix of the same size as the simulated The photon shot noise is due to the random arrival of photosensor. For each (i, j)-th pixel we have: photons and can be described by a Poisson process as I − = t · D , (16) discussed in Subsection 2.1.1. Therefore, for each (i, j)- dc.e I R th element of the matrix Iph that contains the number where DR is the average dark current from Eq. 1, re- of collected photons, a photon shot noise is simulated peated here for convenience: as a Poisson process P with mean Λ: E D = P D T 3/2 exp − gap . Iph.shot = P(Λ), where Λ = Iph. (13) R A F M 2 · kT   In MATLAB, we use the poissrnd function that gen- In this article we conduct all measurements at the erates Poisson random numbers with mean Λ. That is, room temperature +25◦ C. The matrix Idc.e− represents the number of collected photons in (i, j)-th pixel of the a constant value of dark signal generated during the simulated photosensor in the matrix I is used as the ph integration time tI . However, since the electrons are mean Λ for the generation of Poisson random numbers generated randomly, the dark signal is a subject of a to simulate the photon shot noise. The input of the dark current shot noise. poissrnd function will be the matrix Iph that contains the number of collected photons. The output will be the 3.1.5 Simulation of dark current shot noise matrix Iph.shot → Iph, i.e., the signal with added pho- ton shot noise. The matrix Iph.shot is recalculated each Similar to the photon shot noise, the dark current shot time the simulations are started, which corresponds to noise is due to the random arrival of the generated elec- the temporal nature of the photon shot noise. trons and therefore described by a Poisson process. The dark current shot noise can be simulated as a Poisson 3.1.2 Conversion to Electrons process P with mean Λ as follows:

The matrix that contains the number of collected pho- Idc.shot.e− = P(Λ), where Λ = Idc.e− . (17) tons during the exposure time, including the photon − N M poissrnd shot noise Iph, is converted to the matrix Ie ∈ R × We use the function that generates Poisson proportional to electrons for each (i, j)-th pixel as fol- random numbers with mean Λ for each (i, j)-th ele- lows: ment of the matrix Idc.e− from Eq. 16 that contains dark signal in electrons. The input of the poissrnd Ie− = Iph · QE, (14) function will be the matrix Idc.e− that contains the where QE is the quantum efficiency [e−/incident pho- number of electrons, and the output will be the ma- tons] for the given wavelength. The quantum efficiency trix Idc.shot.e− with added dark current shot noise. The for a photosensor is a function of wavelength and is matrix Idc.shot.e− that corresponds to the dark current usually provided by the manufacturer. shot noise is recalculated each time the simulations are started, which corresponds to the temporal nature of 3.1.3 Simulation of photo response non- the dark current shot noise. uniformity 3.1.6 Simulation of dark current fixed pattern The photo response non-uniformity (PRNU) is consid- noise ered in our numerical model as a temporally-fixed light signal non-uniformity. According to our experimental Following the discussion in Subsection 2.1.7, the dark results (see Subsection 4.4), the PRNU can be modelled current Fixed Pattern Noise (FPN) is simulated using

High-level noise simulations in CCD/CMOS page 7 of 21. M. Konnik and J.Welsh non-symmetric distributions to account for the “out- where σSF is the source follower noise [e− rms], fclock liers” or “hot pixels”. It is usually assumed that the is the readout clock frequency (typically several MHz), dark current FPN can be described by Gaussian distri- ts is the CDS sample-to-sampling time [sec], ASN is bution. However, such an assumption provides a poor a sense node conversion gain from Eq. 29, ASF is a approximation of a complicated noise picture. This is source follower gain from Eq. 31, τD is the Correlated shown in the experimental results in Subsection 4.6. Double Sampling (CDS) dominant time constant usu- Studies show [24, 11] that a more adequate model of ally [33] τD = 0.5ts [sec]. In order to approximate the dark current FPN is to use non-symmetric probability source follower noise, we need to calculate the power distributions. The concept is to use two distributions spectrum of the noise SSF (f) and the CDS transfer to describe very “leaky” pixels that exhibit higher noise function HCDS(f). level than others. The first distribution is used for the The power spectrum SSF (f) of the source follower main body of the dark current FPN, with a uniform noise can be approximated [35] as: distribution superimposed to model “leaky” pixels. For fc simulations at room-temperature (25◦ C) authors in [24] S (f)= W (f)2 · 1+ + S (f), (20) SF f RTN use a logistic distribution, where a higher proportion   of the population is distributed in the tails [74]. For where W (f) is the thermal white noise in V/Hz1/2 (typ- higher temperatures, inverse Gaussian [75] and Log- 1/2 Normal [76] distributions have been proposed. It was ically 15nV/Hz ), fc is the flicker noise corner fre- reported [11] that the Log-Normal distribution works quency in [Hz], and SRTN (f) is the random telegraph well for conventional 3T APS CMOS sensors with com- noise (RTN) power spectrum that is given by [35]: paratively high dark current. 2 2∆I τRTN In our simulations we use the Log-Normal distribu- SRTN (f)= , (21) 4+(2πfτ )2 tion for the simulation of dark current FPN in the case RTN of short integration times, and superimposing other dis- where τRTN is the Random Telegraph Noise (RTN) tributions for long integration times. The actual simu- characteristic time constant [sec] and ∆I [A] is the lation code implements various models, including Log- source follower current modulation induced by RTN. Normal, Gaussian, and Wald distribution to elumate These constants are usually provided in the photosen- the dark current FPN noise for short- and long-term sor specifications and therefore can be used for the sim- integration times. ulations. The dark current FPN for each pixel of the matrix The HCDS(f) is the CDS transfer function and is Idc.shot.e− from Eq. 17 is computed as follows: given by the following expression [35]:

2 I − = I − +I − ·lnN (0, σ − ) 1 dc.FPN.e dc.shot.e dc.shot.e dc.FPN.e H (f)= · [2 − 2 cos(2πft )]. (22) (18) CDS 1+(2πfτ )2 s  D  where σdc.FPN.e− = tI DRDN is from Eq. 6, DR is the average dark current, and DN is the dark current FPN In CCD photosensors, source follower noise is typi- factor. Since the dark current FPN does not change cally limited by the flicker noise. On the other hand, from one frame to the next, the matrix lnN is calcu- in CMOS photosensors the source follower noise is typ- lated once and then can be re-used similar to the PRNU ically limited by the RTN noise. simulations in Subsection 3.1.3. Using parameters provided in the specifications for The experimental results provided in Subsection 4.6 the photosensors, one has to calculate Eq. 19 using the confirm that non-symmetric models, and in particular vector HCDS(f) from Eq. 22 and SSF (f) from Eq. 20. the Log-Normal distribution, adequately describe the The functions SSF (f), SRTN (f) , and HCDS(f) can dark current FPN in CMOS sensors, especially in the be calculated for each frequency value f = 1 ...fclock case of a long integration time (longer than 30-60 sec- using vector notation to streamline the simulation code. onds). Our results are consistent with [11]; however, as We assume the source follower noise to be additive and we show in Subsection 4.6.2, using only one distribu- Gaussian-distributed: tion cannot adequately describe the dark current FPN 2 I − = round[N (0, σ )], (23) statistics. For long-exposure case, one needs to super- SF.e SF impose two (or more, depending on the sensor) proba- where the standard deviation of source follower noise bility distributions, as will be shown in Subsection 4.6. σSF is given by Eq. 19. The computed matrix ISF.e− represents the source follower noise (in electrons). 3.1.7 Simulation of Source follower noise The components of the source follower noise were dis- 3.2 Model: From Charge to Voltage cussed in Subsection 2.1.8. In the simulations, the The simulation of charge to voltage conversion is per- source follower noise can be approximated as: formed as follows. The light signal Ilight.e− contains photon shot noise (already added to the matrix I − from f e clock Eq. 14) and the PRNU: SSF (f) · HCDS(f) s f=1 σ ≈ , (19) 2 SF P − − ASN ASF (1 − exp[−ts/τD]) Ilight.e = Ie · (1 + N (0, σPRNU )) (24)

High-level noise simulations in CCD/CMOS page 8 of 21. M. Konnik and J.Welsh The dark signal matrix Idark.e− consists of dark sig- uses autoregressive processes to model the offset FPN nal, dark current shot noise, dark current FPN from since the parameters can be easily and efficiently esti- Eq. 18, and source follower noise ISF.e− is from Eq.23 mated from the hardware sensor data [78]. as follows: The column offset FPN from the model [21] can be described as follows. The noise is generated for each j-th column index of the matrix IV that corresponds − − 2 − Idark.e = Idc.shot.e (1 + lnN (0, σdc.FPN.e− )) + ISF.e , to the voltage signal of the photosensor. The model (25) assumes that the column offset FPN is a first order Then the matrices that correspond to the light signal isotropic autoregressive process of the form: Ilight.e− and dark signal Id.e− are summed together and rounded: Ioffset.F P N.V (j)= a IV (j−1)+IV (j+1) +U(j), (28) where the U(j) are zero mean, uncorrelated random variables with the variance σU , and a ∈ [0, 0.5] is a Itotal.e− = round Ilight.e− + Idark.e− . (26) parameter that characterises the dependency of IV (j) on its two neighbours [21]. The data in the matrix I (j) The number of electrons is then truncated to the full V the repeated for every row to make the matrix of the well (the maximum number of electrons in the pixel) appropriate size. More details are provided in [21]. and rounded. Then the V/e− non-linearity is applied (if desired) to this sum using Eq. 33 and converted to voltage by multiplication by the sense node conversion 3.2.3 Conversion to Voltage gain ASN . The details are provided in the following The simulation of the charge-to-voltage conversion uses subsections. the sense node gain ASN [V/e−] as a parameter that is in the range [1 ... 5]µV/e− (sensor-dependent). Con- 3.2.1 Simulation of sense node reset noise version from charge to voltage is performed in the sense (kTC noise) node as follows:

The kTC noise is occurs in CMOS sensors (as we men- ISN.V = VREF − Itotal.e− · ASN (29) tioned before in Subsection 2.2.1), while for CCD sen- sors the sense node reset noise is removed [35] by Corre- where ISN.V is the matrix of sense node voltages, VREF lated Double Sampling (CDS). Random fluctuations of is the reference voltage, Itotal.e− is the matrix that cor- charge on the sense node during the reset stage result responds to the total number of electrons collected by in a corresponding photodiode reset voltage fluctuation. the “software” sensor (see Eq.26) during the integration The sense node reset noise is given by Eq.7, repeated time, and ASN is the sense node gain in [V/e−]. here for convenience: In case when the sense node reset noise (kTC noise) is simulated, the matrix that contains the reset noise k T ISN.reset.V from Eq. 27 is added to the VREF in Eq. 29: σ = B . RESET C r SN VREF = VREF + ISN.reset.V . (30) The simulation of the sense node reset noise may be After that, the source follower gain A [V/V] is ap- performed as an addition of non-symmetric probabil- SF plied: ity distribution to the reference voltage V . How- REF I = I · A (31) ever, the form of distribution depends on the sensor’s SF.V SN.V SF architecture and the reset technique [77]. An Inverse- where ASF is a source follower gain [V/V]. Gaussian distribution can be used for the simulation of If the offset FPN is simulated, the matrix kTC noise which corresponds to a hard reset technique Ioffset.F P N.V that corresponds to the offset FPN noise in the CMOS sensor, and the Log-Normal distribution is added as follows: can be used for soft-reset technique. The sense node ISF.V = ISF.V + Ioffset.F P N.V . (32) reset noise can be simulated for each (i, j)-th pixel for the soft-reset case as: Next, the V/V non-linearity from Eq. 34 is applied if necessary and the resulting matrix of voltages is stored 2 ISN.reset.V = lnN (0, σRESET ), (27) in IV . After that, the matrix IV that corresponds to voltages is converted to digital numbers. where σRESET is from Eq.7 and then added to the ma- trix IREF.V in Volts that corresponds to the reference 3.2.4 Simulation of the V/e− gain non-linearity voltage. For the simulation model, the V/e− non-linearity can 3.2.2 Simulation of offset fixed pattern noise be expressed from Eq.8 as: α · Itotal.e− · q A model of the offset FPN in CMOS sensors was rep- ISN.V = VREF exp − (33) k1 resented [21] as the sum of two components: a column h i and a pixel component. Each component is modelled where q is the charge of an electron, and α is the co- by a first order isotropic autoregressive process, where efficient of non-linearity. The parameter α is usually the processes are assumed uncorrelated. The model [21] provided in the photosensor specifications.

High-level noise simulations in CCD/CMOS page 9 of 21. M. Konnik and J.Welsh 3.2.5 Simulation of the V/V gain non-linearity AADC = 1/KADC and used as AADC.linear . The non- linearity coefficient α is calculated as: The voltage matrix is multiplied by the new source fol- ADC lower gain A : SFnew log(γADC.nonlin · AADC.linear ) αADC = − 1 ∗ (36) log(AADC.linear ) ISF.V = ISN.V · ASFnew (34)   1 ∗ where ISN.V is the sense node voltage signal, ISF.V is VADC.REF the source follower voltage signal, and ASFnew is a new source follower gain according to Eq.9 repeated here for where VADC.REF is the maximum voltage that can be convenience: quantified by an ADC:

VSN 1 αADC Itotal.V A = A − , (37) ASFnew = (γnlr − 1) · + ASF . ADC.nonlin ADC.linear VF W The next step involves the ADC for quantisation to a where AADC.linear is the linear ADC gain. The new digital signal. non-linear ADC conversion gain AADC.nonlin is then used for the simulations for Eq. 35. 3.2.6 Simulation of correlated double sampling 3.3.2 Simulation of quantisation noise In this paper, we use the algorithm of correlated double sampling (CDS) that is similar to the method described It is assumed that the quantisation error is uniformly in [7]. The algorithm is as follows. During the simu- distributed between -0.5 and +0.5 of the LSB and un- lations, two images are acquired: a light image that correlated with the signal. Denote qADC the quantising contains both signal and noise, and a dark image with step of the ADC. For the ideal DC, the quantisation zero exposure time. The CDS algorithm then subtracts noise is: these two images to eliminate fixed pattern noise. q2 σ = ADC . (38) In the real hardware sensor, the CDS techniques can ADC 12 be different and more sophisticated. This can con- r tribute to mismatch between the data from the real If qADC = 1 then the quantisation noise is σADC =0.29 sensor and from the numerical simulator. That is, the DN. The quantisation error has a uniform distribution. CDS algorithms in the simulations can be less aggres- We do not assume any particular architecture of the sive and therefore the residual noise on the image can ADC in our high-level sensor model. be larger than on the actual sensor. 4 Experimental validation of the 3.3 Model: From Voltage to Digital Numbers photosensor model After the electron matrix has been converted to volt- Using the formulated photosensor model, we were able ages, the sense node reset noise and offset FPN noise to simulate realistically noised images similar to those are added, the V/V gain non-linearity is applied (if obtained from a hardware CMOS photosensor. A com- desired), the ADC non-linearity is applied (if neces- parison with custom-made 5T CMOS photosensor with sary). Finally the result is multiplied by ADC gain 1300 × 1900 pixels of size 5.7µm is provided to validate and rounded to produce the signal as a digital number: the developed numerical model. The simulations were performed as follows. The pa- IDN = round(AADC · Itotal.V ), (35) rameters of the hardware CMOS sensor were taken from the specifications (see Table 1) provided by the manu- where Itotal.V = (VADC.REF − IV ) is the total volt- age signal accumulated during one frame acquisition, facturer and used in the simulations. A series of the measurements were conducted both for the hardware VADC.REF is the maximum voltage that can be quan- sensor and the simulated “software” photosensor. tified by an ADC, and IV is the total voltage signal accumulated by the end of the exposure (integration) The methods and procedures of the measurement were the same for the hardware and the simulated pho- time and conversion. Usually IV = ISN.V from Eq. 32 after the optional V/V non-linearity is applied. In this tosensor. For example, in case of estimation of the ra- case, the conversion from voltages to digital signal is diometric function, the flat field for the hardware sensor linear. The non-linear case is considered below. was generated by an array of LEDs. The measure- ments were performed for monochromatic light with wavelength λ = 0.55µ m ( we assume for the same of 3.3.1 ADC non-linearity simulation simplicty that the light is monochromatic, and there- In our model, we simulate the Integral Linearity Er- fore we need the spectral response of the sensor at one ror (ILE) of the ADC as a dependency of ADC gain wavelength λ =0.55µ m). For the numerical model, the AADC.linear on the signal value. Denote γADC.nonlin as uniform image was used that corresponds to the light an ADC non-linearity ratio (e.g., γADC.nonlin = 1.04). signal of the LEDs. The measurements were conducted The linear ADC gain can be calculated from Eq. 10 as at room temperature (+25◦C) if not stated otherwise.

High-level noise simulations in CCD/CMOS page 10 of 21. M. Konnik and J.Welsh The mean and the standard deviation values of that Table 1: Parameters of the simulated CMOS sensor 512×512 pixel area were calculated for each integration (taken from the manufacturer’s specifications). time. The mean value was then used as a signal value Sensor’s Value for the radiometric function and the standard deviation parameter was considered as a result of the photosensor noise. number of pixels 1300 × 1900 wavelength λ 0.55µm Results: The results are presented in Fig. 2, where pixel size 5.7µm the simulated sensor data are marked by a “◦”, and the pixel fill factor 50% data from the hardware CMOS sensor are marked by a Full well 33000 e− “•”. QE 0.60 PRNU factor 0.5%

dark current FPN factor 1% 103 Column offset FPN factor 0.10% dark current figure of merit 1.00 nA/cm2 102 Sense node gain 5.00 µV/e− Clockspeed 20MHz

ADC bit 12 bit 101

0 Not all the parameters of the hardware photosen- 10

Hardware CMOS sensor

sor were provided by the manufacturer. For exam- Mean value of signal from the photosensor, DN Linear fitting function for hardware sensor data Simulated sensor ple, the ADC non-linearity (specifically, Integral Lin- 10-1 10-4 10-3 10-2 10-1 100 101 earity Error) was not provided; later, the manufacturer Integration time, seconds stated that a low-grade ADC with ILE ∼ 4% has been used. Also it was reported by the manufacturer that Figure 2: The radiometric function for the simulated the source follower may have an uncompensated non- photosensor and the hardware CMOS sensor. linearity as well. Therefore, we provide the results of the simulation for the linear model (all the non-linearity Although the radiometric function for the simulated turned off) and the non-linear model (ADC and V/V sensor exhibits a similar behaviour compared with the non-linearity is turned on). hardware sensor, one can note from the Fig. 2 that the The goal is to provide an illustration that even in the standard deviation is higher for the hardware sensor case of incomplete information from the manufacturer’s compared to the simulated sensor at low integration specifications, the model parameters can be adjusted for times. Such differences can be explained by the fact the consistency with the hardware sensor. This allows that we rely on the manufacturer’s specifications for obtaining realistically noised images with the statistical the sensor parameters. properties that are close to the hardware photosensor. The fact that the noise of the hardware sensor is Our simulations of the CMOS sensor include the fol- larger than the one for the model can be also attributed lowing sources of noise: photon shot noise, photo re- to the CDS (correlated double sampling) algorithm. sponse non-uniformity, dark signal, dark current shot The details of the CDS in the hardware sensor were noise, dark current Fixed Pattern Noise, source follower not disclosed by the manufacturer, and the algorithm noise, offset FPN, ADC quantisation noise. The ADC that we implemented (see Subsection 3.2.6) is proba- non-linearity and V/V non-linearity were simulated. bly more aggressive than the actual algorithm in the hardware sensor. On the averaged dark frames, some 4.1 Radiometric function offset FPN artefacts are still identifiable and definitely contributing to the noise picture. Nonetheless, the be- The radiometric function of the hardware photosensor haviour of the numerical model can be considered as was estimated and compared with the simulated sen- consistent with the hardware sensor. sor. In real experiments, we used an array of the green LEDs to form a flat-field scene. The light of green LEDs is passed through a ground glass to eliminate flat-field 4.2 Photon Transfer Curve non-uniformity. The camera in these experiments did As above, the parameters of the hardware photosen- not have lens. In the simulations we use uniform images sor were taken from the manufacturer’s specifications that correspond to a flat-field light scene. in Table 1 and substituted into the numerical simula- tion software. The method of Photon Transfer Curve Method of measurements: The images were taken (PTC) measurement described below was the same for over a range of integration times to cover the whole both numerical model and the hardware sensor. dynamic range of a photosensor (both hardware and simulated sensors). An area of 512×512 pixels from the Method of measurements: Usually the data for centre of each acquired image was used for the analysis. the Photon Transfer Curve (PTC) are obtained from

High-level noise simulations in CCD/CMOS page 11 of 21. M. Konnik and J.Welsh the measurements of the radiometric function [33, 79]. 25 We use different method of measurements for the PTC, which allows obtaining more data points for PTC. We 20 made the input scene that covers the whole dynamic range of the photosensor and set the integration time 15 as tI = 100 msec. Such a scene can be visually de- scribed as a vertical or horizontal linear gradient, and therefore covers all the signal values from dark noise to 10 Noise value, DN sensor saturation. We took K = 64 images (matrices S1 ...SK of size N × M pixels) of such a gradient input scene, and av- 5 Simulated CMOS sensor [Non-Linear] Simulated CMOS sensor [Linear] eraged the images to reduce temporal noise, producing Real Hardware CMOS sensor the matrix Smean of size N × M pixels. Now, the av- 0 500 1000 1500 2000 2500 3000 3500 Signal value, DN eraged image Smean contains the whole dynamic range of the signal values produced by a sensor. In order to (a) plot the PTC, we need to find the corresponding stan- dard deviation values (i.e., noise) for each value of the mean signal in the image Smean. Denote the matrix of standard deviations Sstd. For each (i, j)-th pixel in the 101 matrix Smean, we can find the standard deviation by selecting (i, j)-th pixels from all K images S1 ...SK . ij That is, we create a 1 × K vector Sstd, and each k- th value of this vector corresponds to (i, j)-th pixel of a k-th image from the set S1(i, j) ...SK (i, j). Then we Noise value, DN ij calculate the standard deviation Sstd(i, j)= std Sstd . Thus for each (i, j)-th signal value in Smean, there is a Simulated CMOS sensor [Non-Linear] Simulated CMOS sensor [Linear] corresponding (i, j)-th value of standard deviation from Real Hardware CMOS sensor 100 the array Sstd (that is, a noise value). The data from 100 101 102 103 these two matrices is plotted as the PTC (see Fig. 3). Signal value, DN This method allows obtaining a statistically signifi- (b) cant amount of data points for the PTC plot. Increased number of the data points in the PTC, in turn, may pro- Figure 3: Photon Transfer Curves of hardware CMOS vide more information about the noise in the photosen- sensor and the simulated sensor: (a) linear scale, and sor. This can be seen in Fig. 3, where the irregularities (b) logarithmic scale. Hardware CMOS sensor data is and noise spikes can be seen at the signal values 1100 marked by “◦” symbol; results of the linear model are and 2000 DN. marked by “”, and the non-linear model is marked by “•” (colour online). Results: The results of comparison of the data from the hardware photosensor and simulations for both lin- ear and non-linear models are discussed below. Using Comparing the photon transfer curves on Fig. 3, one can see that the non-linearities model is closer to the the ADC non-linearity (described in Sec. 3.3.1, Eq. 37) hardware sensor. As a short summary, the results pre- and the V/V non-linearity (described in Sec. 3.2.5, Eq. 34, where A is a new source follower gain ac- sented above show that the model of the sensor is con- SFnew sistent with the experimental data from the hardware cording to Eq.9), we were able bring the model of the sensor. sensor closer to the hardware photosensor. In order to show the impact of the non-linearity, we simulated V/V non-linearity with ratio ASFnl = 1.05 4.3 Signal-To-Noise Ratio and an ADC-nonlinearity of ratio γADC.nonlin = 1.04. The linear and non-linear models are compared with the The signal-to-noise ratio (SNR) has been estimated for data from the hardware sensor on the Photon Transfer both model and the hardware sensor. The same method Curve in Fig. 3. The data on the PTC is as follows: of measurements was used for the hardware sensor and the model, thus providing the means to compare the 1. hardware data (“◦” in Fig. 3); data.

2. fully linear model (“” in Fig. 3) non-linearity is turned off; Method of measurements: The method of mea- surements for the signal-to-noise ratio (SNR) estima- 3. non-linear model ( filled “•” in Fig. 3) – the model tion was the same as described in Subsection 4.2. The uses both the V/V and the ADC non-linearity (the data were derived from the PTC data and plotted as V/V non-linearity is described in Sec. 3.2.5, and SNR versus signal values in Fig. 4 for linear and loga- the ADC non-linearity is described in Sec. 3.3.1). rithmic axis. Linear plot is more suited for the analysis

High-level noise simulations in CCD/CMOS page 12 of 21. M. Konnik and J.Welsh of the SNR when the signal is large, while logarithmic 2. non-linear model ( filled • on Fig. 4(b)) – the model plot gives more information for the a low signal. uses both the V/V and the ADC non-linearity (the V/V non-linearity is described in Sec. 3.2.5, specifi-

200 cally Eq. 34, where ASFnew is a new source follower

180 gain according to Eq.9; the ADC non-linearity is described in Sec. 3.3.1, specifically Eq. 37). 160

140 It can be seen that the fully linear model ( “”) over- 120 estimates the signal-to-noise ratio of the sensor com-

100 pared to the non-linear model ( filled •). The non-linear

80 model is closer to the hardware data and therefore bet-

Signal-to-Noise Ratio ter describes the photosensor. This is not surprising as 60 the ADC of the camera and the source follower has an 40 uncompensated non-linearity. 20 Simulated CMOS sensor [Non-Linear] Simulated CMOS sensor [Linear] From the comparison of the SNR curves in Fig. 4 one Real Hardware CMOS sensor 0 500 1000 1500 2000 2500 3000 3500 4000 can conclude that the non-linear model is closer to the Signal value, DN hardware data. However, it is difficult to distinguish (a) the influence of the non-linearities using only the image data. This is often the case when only the resulting im- ages from the sensor are available for a researcher. This

102 is the reason why we use the comparison of the PTC curves for model and hardware sensors: although such a method gives qualitative results, it is simple and in- formative enough to judge the consistency of the model with the hardware.

101 The difference between the hardware and simulated sensor’s noise performance can be explained by the fact Signal-to-Noise Ratio that the details of the CDS algorithm were not disclosed by the manufacturer. Nonetheless, the non-linear model

Simulated CMOS sensor [Non-Linear] is closer with the hardware sensor and therefore leads Simulated CMOS sensor [Linear] Real Hardware CMOS sensor to more realistically noised images that can be obtained 100 100 101 102 103 by the numerical model. Signal value, DN

(b) 4.4 Photo Response Non-Uniformity Figure 4: Dependence of signal-to-noise ratio versus The method and the results of the PRNU measurements signal for (a) linear and (b) logarithmic scales. Hard- are reported in this subsection. The probability density ware CMOS sensor data are marked by “◦”; results of and the PRNU factor were evaluated for both the nu- fully linear model aremarked by “”, and the non-linear merical model and the hardware photosensor. That is, model is marked by “•” (colour online). we empirically measured the PRNU and showed that it is close to the manufacturers measurements. Similarly to the PTC results, we use a qualitative comparison of PTC curves for the hardware and the Method of measurements: The procedure of the model. The aim is to provide the means of model measurement of PRNU properties is as follows. The and hardware comparison in case when the only data flat-field uniform scene was formed using an array of available are the resulting images from the photosen- green LEDs for the hardware CMOS sensor. In or- sor. However, it is difficult to distinguish between the der to reduce the illumination non-uniformity, a ground different non-linearities from the resulting image only. glass was used. In case of the model (“software photo- sensor”), the uniform images were generated and “ac- quired” in simulations. The exposure (integration) time Results: The comparison of SNR versus signal curves was set to the value when the mean of acquired uniform in Fig. 4 gives a qualitative estimation of the influence images were equal to half of the saturation level of the of non-linearity on the Photon Transfer Curve. The sensor [36]. The integration time was the same for the data and the fitting parameters are the same as in the hardware photosensor and the simulations. previous section (presented in Fig. 3 above). Next, 64 images of the uniform flat field scene were One can compare from Fig. 4(b) the hardware data acquired and averaged. The same number of the dark with two simulated models: frames with the same exposure time were acquired and averaged. The averaged dark frame was subtracted 1. fully linear model (“” on Fig. 4(b)) – the sim- from the averaged image of the uniform flat field image ulations in this case do not use the non-linearity: in order to eliminate the influence of the dark current neither V/V nor ADC non-linearity was used. FPN and the offset FPN on the PRNU measurements.

High-level noise simulations in CCD/CMOS page 13 of 21. M. Konnik and J.Welsh The mean, µframe, and the standard deviation, 4.5 Noise Spectrogram σframe, were calculated from the averaged uniform flat field image. Standard deviation and mean values were Periodic variations of the noise can be characterised by estimated using maximum likelihood estimates (MLEs) computing a spectrogram, i.e., a power spectrum of the for the parameters of a Gaussian distribution. The spatial variations, as described in the EMVA1288 Stan- value of the PRNU factor was calculated as follows: dard [1]. The square root of the power spectrum is dis- played as a function of the spatial frequency (in units σframe of cycles per pixel) in the spectrogram. Typically the PRNU = %. (39) µframe spectrogram is calculated for three conditions: com- plete darkness, when the signal is at 50% of saturation, The PRNU factor for the numerical model was then and when the signal is at 90% saturation [1]. compared with the specifications of the hardware sen- sor. Method of measurements for noise spectrogram The measurement approach to determine the noise spectrogram is based on the “Spectrogram Method” in Results: We estimated the PRNU value for the hard- the EMVA1288 standard [1]. The spectrogram is com- ware CMOS photosensor from the mean value µ = 1520 puted by taking the mean of the amplitude of the FFT DN and the standard deviation σ = 7.9. These values on each line of the image. First, the mean value of the were obtained maximum likelihood estimates (MLEs) image is computed for the parameters of a Gaussian distribution on 95% confidence intervals. The PRNU factor for the hard- 1 µ = · y(n,m). ware CMOS sensor was calculated according to Eq. 39 y MN n m and found to be PRNUhardware ≈ 0.52%. This result is X X consistent with the manufacturer specifications in Ta- Then for the j-th line of the M lines of the image, the ble 1, where the PRNU = 0.50% was stated. simulate amplitude of the FFT is computed. The same PRNU value was used for the simulations. The procedure is as follows. Make an array y (k) of The PRNU statistical properties were also estimated j length 2N, then copy pixels from the image to the first for the hardware CMOS photosensor to confirm our half of the array (0 ≤ k ≤ N −1) and subtract the mean. assumption that the PRNU can be simulated using a Fill the second half of y (k) with zeros (N ≤ k ≤ 2N−1) Gaussian distribution. The results are presented in j and take FFT from y(k) to obtain Y (n). Fig. 5 where the mean value µ = 1520DN has j frame Then the amplitude S of the FFT been subtracted. As one can see in Fig. 5, the PRNU j can be assumed Gaussian with very good accuracy. 1 2 S(n)= · Sj (n) 0.06 M Experimental PRNU/Gain FPN statistics r Gaussian fit: µ = 0, σ = 7.9 X is computed for the j-th line (i.e., S (n) is the ampli- 0.05 j tude of the Fourier transform of the j-th line). The N + 1 values S(n) with 0 ≤ n ≤ N form the spec- 0.04 trogram of the image as a dependency of mean FFT

0.03 amplitude versus spatial frequency. More details can be found in Subsection 7.3.2 “Spectrogram Method” in

0.02 the EMVA1288 standard Release A2.01 [1].

Normalised frequency of occurrences 0.01 Results for Noise Spectrogram Three spectro- grams were calculated for the simulated and the hard- 0 -40 -30 -20 -10 0 10 20 30 40 ware CMOS photosensor: in darkness, when the inte- Signal value (mean value subtracted), DN gration time is set such that the sensor is at 50% sat- uration with tI = 0.05 sec, and when the integration Figure 5: Estimated probability density function of the 1 time is set to produce 90% saturation with tI2 =0.1sec. Photo Response Non-Uniformity (mean value µframe = The resulting spectrograms were merged into one plot 1520 is subtracted). for both the hardware and the simulated CMOS sensor and presented in Fig. 6(a) and Fig. 6(b), respectively. Note that the percentage of the PRNU in the sig- According to the model [1], the spectrograms should nal should be constant until reaching the full well [65] be flat with occasional peaks only. The results of noise value. In some articles (e.g. [24]) it is stated that spectrogram (see Fig. 6) are in agreement with the the percentage of PRNU depends on light irradiance. model [1]. However, on the spectrograms from the real For signals less than approximately 10000 electrons, the sensors (see Fig. 6(a)) one can see non-flatness of the photon shot noise is dominant, and the PRNU can be spectrogram for the 50% saturation and 90% saturation confused with the photon shot noise. cases.

High-level noise simulations in CCD/CMOS page 14 of 21. M. Konnik and J.Welsh 120 spectrogram in darkness Results for non-whiteness coefficient of noise spectrogram in 50% saturation spectrogram in 90% saturation The non-whiteness coefficient F was calculated accord- 100 ing to Eq. 40 for each spectrogram for both the hard- ware and simulated CMOS sensor. Uncertainty of the 80 non-whiteness coefficient F was estimated from the standard deviation of 100 measurements of F . The 60 results of estimating the non-whiteness coefficient are summarised in Table 2. 40 Standard deviation (DN) Table 2: Results of spectrogram estimation for the 20 hardware sensor and the simulated photosensor.

0 0 100 200 300 400 500 Spatial frequency [periods/pixel] Experi- int. Non-whiteness coef. 2 2 ment time, F = σy.total/σy.white for sensor: (a) type sec hardware simulated

120 spectrogram in darkness darkness: 0.05 0.999 ± 0.018 0.999 ± 0.002 spectrogram in 50% saturation spectrogram in 90% saturation darkness: 0.1 1.032 ± 0.020 0.999 ± 0.002 100 50% sat.: 0.05 1.062 ± 0.018 0.999 ± 0.002 90% sat.: 0.1 1.079 ± 0.020 0.998 ± 0.002 80

60 As seen from the results in Table 2, the read noise can

40 be indeed considered white, with the non-whiteness co-

Standard deviation (DN) efficient F ≈ 1, which is consistent with the model [4].

20 The non-flatness coefficient for the hardware sensor is slightly greater than that of the simulations; the uncer-

0 tainty of the measurements is larger as well. 0 100 200 300 400 500 Spatial frequency [periods/pixel] 4.6 Dark signal performance for differ- (b) ent integration times Figure 6: Spectrogram of the noise taken in different In this subsection we discuss the complexity of the dark light conditions (in darkness, at 50% light saturation, current FPN models. It is shown that the assumptions and at 90% light saturation) for: (a) the hardware usually made in the literature (i.e., that the dark signal CMOS sensor; and (b) the simulated photosensor. is Gaussian) are not always consistent with the noise in the hardware photosensor. The experimental results of dark signal for long integration times (see Fig. 7) illus- Method of measurement for non-whiteness coef- trate the complexity of the dark signal: while for rather ficient of noise If there is no spatial correlation in the short integration time times (less than 100 seconds) the noise (i.e., it is purely random) then the power spectrum distribution can be approximated as Gaussian, longer should be flat (white spectrum). However, in a hard- integration times have a lot more complicated structure. ware photosensors spatial noise can be dominated by This is important is such applications as, e.g., astron- periodic artefacts, such as vertical or horizontal stripes omy, where the integration times can be very long for in the image, that can be observed in the power spec- dim objects. trum and spectrogram (as seen in Fig. 6(a)). To assess We measured the dark signal2 of the hardware CMOS such non-whiteness quantitatively, a non-whiteness co- sensor for two different cases: efficient [1] is usually calculated: 1. short integration time (less than 100 seconds): the 2 σy.total only one probability distribution (main distribu- F = 2 (40) tion) is used for description of the noise statistics; σy.white 2By “dark signal” we mean the dominant component of the and F ≈ 1 for white noise. The total noise variance is: noise in the absence of light. Our main concern in this section is dark current Fixed Pattern Noise (dark current FPN) and com- 1 paring actual noise with various models. In case of short integra- σ2 = · S(n)2 y.total N +1 tion times, the dominant component of the dark signal is dark n X current FPN (although other components also contribute to the overall noise picture). At long integration times the noise mea- is the variance of the noise including all artefacts. The surements are dominated by thermally-generated electron noise, 2 but the dark current FPN is still a considerable contributor. Since σy.white is the square of the height of the flat part seen in the spectrogram curve, it describes the white part of our main concern in this section is the dark current FPN and its modelling, we prefer to keep to calling it as such, even though the photosensor’s noise and can be estimated by taking there are other contributing sources of dark noise, especially at the median of the spectrogram. long integration times.

High-level noise simulations in CCD/CMOS page 15 of 21. M. Konnik and J.Welsh 100 pdf of dark noise, 100 sec of the CDS algorithm, however, have not been disclosed pdf of dark noise, 150 sec pdf of dark noise, 300 sec -1 pdf of dark noise, 600 sec by the manufacturer. Consequently, the noise on the 10 images is reduced, so the comparison of the numerical

10-2 models with the hardware data is approximate.

-3 10 100 Experimental pdf of dark FPN, 1/1000 sec Log-Normal fit: µ=4.0241, σ=0.033, Gaussian fit: µ=55.9531, σ=1.6726 -4 10 10-1

-5 10 10-2

Normalised frequency of occurrences -6 10 10-3

-7 10 10-4 40 50 60 70 80 90 100 110 120 Dark Signal value, DN

10-5 Normalised frequency of occurrences Figure 7: Normalised frequency of occurrences of dark 10-6 signal values in the averaged dark image for long inte-

10-7 gration time: experimental results for 100, 150, 300 and 40 50 60 70 80 90 600 seconds. Dark Signal value, DN

2. long integration time (longer than 100 seconds): a Figure 8: Normalised frequency of occurrences of dark main distribution and a superimposed distribution signal values in the averaged dark image for 1/1000 sec- are used (for very long integration times the second onds integration time. superimposed distribution is used as well). The measurements presented in Fig. 8 were taken We provide the analysis of dark signal statistics using for integration times of 0.001 second, which are typi- superimposed distributions. The data provided in this cal for, e.g., wavefront sensing in adaptive optics. The subsection was measured at room temperature (+25◦C) probability density function of the dark current FPN as before. can be considered as Gaussian for the short integration times, and the ML estimated values of µ = 55.9531 and Method of measurements: We took 32 dark frames σ =1.6712 for the Gaussian distribution were obtained for each integration time and averaged them in order from the experimental data for 0.001 second. While to reduce the temporal noise and get the dark current Gaussian distribution provides and adequate descrip- FPN data. The normalised frequency of occurrences of tion of the dark signal, it underestimates the “outliers” noise values in the averaged dark image was estimated. or “dark spikes”, and this is why we use the Log-Normal For the estimation of statistical parameters of the dark distribution (see Fig. 8, data marked by “−◦− ”). The current FPN we used a maximum likelihood estimator MLE parameters for the Log-Normal distribution were (MLE). All estimated statistical parameters reported found as µ =4.0241 and σ =0.033. are within a 95% confidence interval if not stated oth- 100 erwise. For the description of the dark current FPN Experimental pdf of dark FPN, 100 sec Log-Normal fit: µ=4.0246, σ=0.035, (which is the main contributor of the dark noise, espe- Gamma fit: a=1067.748, b=0.0524 10-1 cially in short integration times), we use the following distributions: 10-2

• Log-Normal distribution: pLogNorm(x; µ, σ) = 10-3 (ln x−µ)2 1 2σ2 e− -4 x√2πσ2 10

• Gamma distribution: pGamma(x; a,b) = 10-5 1 a 1 x baΓ(a) x − exp − b Normalised frequency of occurrences 10-6 As superimposed distributions,  the uniform distribu- 10-7 tion and Gaussian distribution were used, as discussed 40 50 60 70 80 90 below. Dark Signal value, DN

4.6.1 Short integration time Figure 9: Normalised frequency of occurrences of noise We measured the dark current FPN for the hardware values on the averaged dark frame for the integration CMOS sensor and compared the results with our high- time 100 seconds. level sensor model. The 5T CMOS hardware sensor has in-built circuitry for noise cancelling that uses Cor- As integration time increases up to 100 seconds, the related Double Sampling (CDS) technique. The details distribution of dark current FPN tends to be more

High-level noise simulations in CCD/CMOS page 16 of 21. M. Konnik and J.Welsh asymmetric, however, the Log-Normal parameters re- The dark signal statistics is getting more complicated main similar to the very short integration time case with very long integration time. The dark current FPN (µ = 4.0246 and σ = 0.035 for the case of 100 second is no longer the main contributor to the noise statistics: integration time). Therefore, the Log-Normal distribu- one would expect the noise measurements to be domi- tion can still be considered as a reasonable model for the nated by thermally-generated electron noise. Those are dark signal, which is consistent with the results reported the two distributions (see Fig. 11) that underlie the dark in [11, 80]. It is noteworthy that the Gamma distribu- signal measurements. The dark signal in these cases tion was found to be a better approximation for a 3T may require modelling based on the experimental data CMOS photosensor in [11], but for our 5T CMOS sen- for a particular type of a photosensor. In our example, sor the Gamma distribution appears to underestimate we were able to compose a distribution to describe the the “dark spikes”, as can be noted from Fig. 9. experimental dark signal probability distribution using Also, one can notice that the dark current estimated the superimposed distributions as follows: from the measurements of the hardware sensor in this section are different from the model of dark current 1. main distribution: Gamma with parameters a = values in Eq. 1. This is expected, since our hardware 627.200 and b =0.0893; CMOS sensors has on-chip noise suppressing circuitry 2. superimposed: uniform distribution on interval (see Subsection 2.2.6) that removes dark noise levels. [50, 460]; 3. superimposed: Gaussian distribution with param- 4.6.2 Long integration time eters µ = 18 and σ = 4. The non-Gaussian nature of dark current FPN is more apparent as the integration time increases. One can see 100 Experimental pdf of dark FPN, 300 sec in Fig. 10 that either the Log-Normal or Gamma dis- Gamma fit: a=916.865, b=0.07231 Gamma distribution superimposed with Uniform and Normal tributions alone do not describe the data adequately. 10-1 Therefore, in the case of long integration time, it is nec- essary to superimpose another probability distribution, 10-2 as mentioned in [24], in order to create a distribution 10-3 with a very long “tail” to simulate “outliers”.

The overall distribution for the simulation of the 10-4 dark signal was constructed as follows. First, the Gamma distribution was generated with parameters 10-5

a = 914.6579 and b = 0.0611, which were estimated Normalised frequency of occurrences -6 from the hardware CMOS photosensor data. Next, the 10 product of two uniform distributions on the interval 10-7 40 50 60 70 80 90 100 110 120 [45, 440] was superimposed (the parameters were cho- Dark Signal value, DN sen to fit both the “outliers” and to widen the left part of the probability density). The results are shown in Figure 11: Normalised frequency of occurrences of dark Fig. 10. One can see a better agreement of the super- signal values in the averaged dark image for long in- imposed distribution described above with the experi- tegration time for very long integration time (300 sec- mental estimation of the dark signal statistics. onds) using a superimposed distribution.

100 Experimental pdf of dark FPN, 150 sec Gamma fit: a=914.6579, b=0.0611 The composed distribution describes the dark cur- Gamma fit: a=914.6579, b=0.0611 and Uniform  10-1 rent FPN ( symbol) with good accuracy, as seen in Fig. 11. One can see from the provided data that the ap- 10-2 proximation of dark current FPN using only a Gaussian distribution is poor. On the other hand, the superim- -3 10 posed distributions provide a better description of the

10-4 complex structure of the dark current FPN.

10-5 4.6.3 Results discussion Normalised frequency of occurrences 10-6 The modelling of the dark signal is complicated, since it is difficult to derive a model for the parameters of 10-7 40 50 60 70 80 90 the superimposed probability distributions. The de- Dark Signal value, DN scription of long-exposure dark current FPN is compli- cated because the statistical parameters are dependent Figure 10: Normalised frequency of occurrences of dark on temperature and exposure (integration) time in a signal values in the averaged dark image for a 150 sec- non-trivial way and likely to vary from one photosen- ond integration time approximated by only one proba- sor to another. An additional problem for the analysis bility distribution (-◦-) and using a superimposed prob- of the dark signal is that the exact CDS algorithm is ability distribution (-▽-). usually not disclosed by the manufacturer, and even if

High-level noise simulations in CCD/CMOS page 17 of 21. M. Konnik and J.Welsh disclosed, it is difficult to simulate precisely. Further- the noise impact on images quality. Using such a high- more, additional on-chip (e.g., transfer noise) and off- level photosensor model, one can simulate either CCD chip noise (clock-jitter noise, preamplifier noise, etc.) or CMOS sensors by application of appropriate noise can contribute [33] to the resulting noise distribution. models. The formulated high-level simulation model Nonetheless, the description based on superimposed can be used to synthesise realistically noised images for distributions gives acceptable results for the fixed sen- the development and testing of the image processing sor’s parameters (temperature, photosensor technol- algorithms. ogy). The experimental data along with the models developed in this subsection describe the dark current FPN noise for different integration times. Three cases Acknowledgements were considered: The authors are gratefully acknowledge personal com- • short integration time (less than 100 seconds), munications with Dr. James R. Janesick and his valu- where a LogNormal distribution is adequate as a able comments. main distribution, • long integration time (longer than 100-150 sec- References onds), where another distribution must be super- imposed to a main distribution (or several, in case [1] EMVA standard 1288. Standard for measurement of integration times longer than 300 seconds). and presentation of specifications for machine vision sensors and cameras. Release A2.01, 2005. At short integration times, the noise is the variabil- [2] T.T. Kolehmainen, J. Aikio, M. Karppinen, A.J. Mat- ity of dark current across pixels, that is, dark current tila, J.T. Makinen, K. Kataja, K. Tukkiniemi, and FPN (or dark signal non-uniformity, DSNU). At long P. Karioja. Simulation of imaging system’s perfor- integration times, one would expect the noise measure- mance. In Proceedings of SPIE - Optical Modeling and ments to be dominated by thermally-generated electron Performance Predictions, volume 5178, pages 204–212, noise. Those are the two distributions (see Fig. 7 and 2004. Fig. 11) that presumably underlie the measurements. [3] H. Wach and E.R. Dowski Jr. Noise modeling for design As the integration time increases further, the probabil- and simulation of computational imaging systems. In ity distribution of the resulting dark signal gets more Proceedings of SPIE - Visual Information Processing complicated and harder to model. XIII, volume 5438, pages 159 – 170, 2004. [4] R.A. Boie and I.J. Cox. An analysis of camera noise. 5 Conclusion IEEE Transactions on Pattern Analysis and Machine Intelligence, 14(6):671–674, June 1992. The article provides a literature review of the noise [5] R. Costantini and S. S¨usstrunk. Virtual sensor de- models that are used for the simulations of noise in CCD sign. In Proceedings of IS&T/SPIE Electronic Imag- and CMOS photosensors. A high-level model of CCD ing - Sensors and Camera Systems for Scientific, In- and CMOS photosensors based on a literature review is dustrial, and Digital Photography Applications, volume formulated in this paper. The experimental results for 5301, pages 408–419, 2004. a hardware 5T CMOS photosensor are presented as a [6] W. Jiang, H. Xian, and F. Shen. Detecting error of validation for the developed model of a photosensor. Shack-Hartmann wavefront sensor. In Proceedings of The formulated model of the CMOS photosensor was SPIE - Adaptive optics and applications, volume 3126, compared with the data from a custom-made hardware pages 534–544, 1997. photosensor for validation of the photosensor model. [7] J.E. Farrell, F. Xiao, P. Catrysse, and B. Wandell. Results of Photon Transfer Curve (PTC) estimation A simulation tool for evaluating digital camera im- show the importance of the non-linearity introduced in age quality. In Proceedings of SPIE - Image Quality the model. Using the models of V/V and the ADC and System Performance, volume 5294, pages 124–131, non-linearity allow to better match the properties of 2004. the hardware CMOS sensor. It has been also demon- [8] I. Shcherback and O. Yadid-Pecht. Photoresponse anal- strated that the dark current FPN and in particular the ysis and pixel shape optimization for CMOS active dark “spikes” in the case of a long integration time has pixel sensors. IEEE Transactions on Electron Devices, a more complicated distribution than previously dis- 50(1):12–18, 2003. cussed in the literature. The Gamma distribution with [9] Doug W. Donaghue. Model for random pixel cluster- a superimposed uniform and Gaussian distributions are ing in large-format CCDs. In Proceedings of SPIE - shown to be a reasonable approximation of the dark Charge-Coupled Devices and Solid State Optical Sen- “spikes” for long integration time. sors III, volume 1900, pages 85–90, 1993. The article summarises the efforts in numerical sim- [10] J.C. Mullikin, L.J. van Vliet, H. Netten, F.R. Boddeke, ulations of solid-state photosensors providing an exten- G. Van der Feltz, and I.T. Young. Methods for CCD sive survey of literature on noise in photosensors. A camera characterization. In Proceedings of SPIE - Im- high-level model of CMOS/CCD sensors has been for- age Acquisition and Scientific Imaging Systems, volume mulated in order to provide engineers with insight on 2173, pages 73–84, 1994.

High-level noise simulations in CCD/CMOS page 18 of 21. M. Konnik and J.Welsh [11] Richard L. Baer. A model for dark current characteriza- [26] K. Irie, A.E. McKinnon, K. Unsworth, and I.M. Wood- tion and simulation. In Proceedings of SPIE Electronic head. A technique for evaluation of ccd video-camera Imaging - Sensors, Cameras, and Systems for Scien- noise. IEEE Transactions on Circuits and Systems for tific/Industrial Applications VII, volume 6068, pages Video Technology, 18(2):280–284, 2008. 37–48, 2006. [27] R.E. Flory. Image acquisition technology. Proceedings [12] Joyce Farrell, Michael Okincha, and Manu Parmar. of the IEEE, 73(4):613–637, 1985. Sensor calibration and simulation. In Proceedings of [28] G.E. Healey and R. Kondepudy. Radiometric CCD SPIE - Digital Photography IV, volume 6817, page camera calibration and noise estimation. IEEE Trans- 68170R, 2008. actions on Pattern Analysis and Machine Intelligence, [13] P.L. Vora, J.E. Farrell, J.D. Tietz, and D.H. Brainard. 16(3):267–276, 1994. Image capture: simulation of sensor responses from hy- perspectral images. IEEE Transactions on Image Pro- [29] Mikhail V. Konnik and James Welsh. Open-source cessing, 10(2):307–316, 2001. framework for documentation of scientific software written on matlab-compatible programming languages. [14] H. Tian and A. El Gamal. Analysis of 1/f noise in In Proceedings of SPIE Astronomical Telescopes + In- CMOS APS. In Proceedings of SPIE - Sensors and strumentation - Software and Cyberinfrastructure for Camera Systems for Scientific, Industrial, and Digital Astronomy II, volume 8451-102, 2012. Photography Applications, volume 3965, pages 168–175, 2000. [30] W. Mendenhall and T. Sincich. Statistics for Engineer- ing and the Sciences. Prentice-Hall, Inc. Upper Saddle [15] Gerald Holst. CCD arrays, cameras, and displays. JCD River, NJ, USA, 2006. Publishing, 1998. [31] W.M. Hubbard. The approximation of a poisson dis- [16] I. Shcherback, T. Danov, and O. Yadid-Pecht. A tribution by a gaussian distribution. Proceedings of the comprehensive CMOS APS crosstalk study: photore- IEEE, 58(9):1374 – 1375, 1970. sponse model, technology, and design trends. IEEE Transactions on Electron Devices, 51(12):2033 – 2041, [32] R.I. Hornsey. Part III: Noise in Image Sensors. Uni- 2004. versity of Waterloo, 1999. [17] Ji Soo Lee, R.I. Hornsey, and D. Renshaw. Analysis [33] James R. Janesick. Scientific Charge-Coupled Devices. of CMOS Photodiodes. I. Quantum efficiency. IEEE SPIE PRESS Monograph, 2001. Transactions on Electron Devices, 50(5):1233 – 1238, [34] Mo Chen, Jessica Fridrich, Miroslav Goljan, and Jan 2003. Luk´aˇs. Source digital camcorder identification using [18] Avant! Corporation, TCAD Business Unit, Fremont, sensor photo response non-uniformity. In Proceedings CA. Medici Two-Dimensional Device Simulation Pro- of SPIE - Security, Steganography, and Watermarking gram, user’s manual, version 4.1 edition, 1998. of Multimedia Contents IX, volume 6505, page 65051G, [19] Ji Soo Lee, R.I. Hornsey, and D. Renshaw. Analysis of 2007. CMOS Photodiodes. II. Lateral photoresponse. IEEE [35] James R. Janesick. Photon Transfer. SPIE Interna- Transactions on Electron Devices, 50(5):1239 – 1245, tional Society for Optical Engineering, 2007. 2003. [36] Yuan Chen, S.M. Guertin, M. Petkov, D.N. Nguyen, [20] H. Tian, B. Fowler, and AE Gamal. Analysis of tem- and F. Novak. A chip and pixel qualification method- poral noise in CMOS photodiode active pixel sensor. ology on imaging sensors. In in Proceedings of 42nd An- IEEE Journal of Solid-State Circuits, 36(1):92–101, nual IEEE Reliability Physics Symposium, pages 435 – 2002. 439, april 2004. [21] A. El Gamal, B. Fowler, H. Min, and X. Liu. Modeling [37] A.J.P. Theuwissen. Solid-state imaging with charge- and estimation of FPN components in CMOS image coupled devices. Boston, MA: Kluwer, 1995. sensors. In Proceedings of SPIE - Solid State Sensor Arrays: Development and Applications II, volume 3301, [38] N.V. Loukianova, H.O. Folkerts, J.P.V. Maas, D.W.E. pages 168–177, 1998. Verbugt, A.J. Mierop, W. Hoekstra, E. Roks, and [22] S.C. Kelly, R.M. Guidash, and B.H. Pillman. Fixed A.J.P. Theuwissen. Leakage current modeling of pattern noise removal in CMOS imagers across various test structures for characterization of dark current in operational conditions. October 28 2008. US Patent CMOS image sensors. IEEE Transactions on Electron 7,443,431. Devices, 50(1):77 – 83, 2003. [23] B. Fowler, A. El Gamal, D. Yang, and H. Tian. A [39] W. Shockley and W.T. Read. Statistics of the re- method for estimating quantum efficiency for CMOS combinations of holes and electrons. Physical Review, image sensors. In Proceedings of SPIE - Solid State 87(5):835–842, 1952. Sensor Arrays: Development and Applications II, vol- [40] I. Takayanagi, J. Nakamura, E.R. Fossum, K. Na- ume 3301, pages 178–185, 1998. gashima, T. Kunihoro, and H. Yurimoto. Dark current [24] R.D. Gow, D. Renshaw, K. Findlater, L. Grant, S.J. reduction in stacked-type CMOS-APS for charged par- McLeod, J. Hart, and R.L. Nicol. A Comprehen- ticle imaging. IEEE Transactions on Electron Devices, sive Tool for Modeling CMOS Image-Sensor-Noise Per- 50(1):70–76, 2003. formance. IEEE Transactions on Electron Devices, [41] R. Widenhorn, M.M. Blouke, A. Weber, A. Rest, and 54(6):1321–1329, 2007. E. Bodegom. Temperature dependence of dark current [25] K. Irie, A.E. McKinnon, K. Unsworth, and I.M. Wood- in a CCD. In Proceedings of SPIE - Sensors and Cam- head. A model for measurement of noise in CCD era Systems for Scientific, Industrial, and Digital Pho- digital-video cameras. Measurement Science and Tech- tography Applications III, volume 4669, pages 193–201, nology, 19:045207, 2008. 2002.

High-level noise simulations in CCD/CMOS page 19 of 21. M. Konnik and J.Welsh [42] S.M. Sze and Kwok Kwok Ng. Physics of semiconductor [58] Michael Sch¨oberl, Andreas Br¨uckner, Siegfried Foessel, devices. John Wiley and Sons, Inc., 2007. and Andr´eKaup. Photometric limits for digital camera [43] R. Widenhorn, L. M¨undermann, A. Rest, and systems. Journal of Electronic Imaging, 21(2):020501– E. Bodegom. Meyer–Neldel rule for dark current in 1, 2012. charge-coupled devices. Journal of Applied Physics, [59] J.S. Kolhatkar, L.K.J Vandamme, C. Salm, and 89(12):8179–8182, 2001. H. Wallinga. Separation of random telegraph sig- [44] M.-A. Tourni´eand E. Pinault. On the origin of carrier nals from 1/f noise in MOSFETs under constant and localization in Ga1−xInxNyAs1−yGaAs quantum wells. switched bias conditions. In Proceedings of 33rd Con- Applied Physics Letters, 78(11):1562–1564, 2001. ference on European Solid-State Device Research, pages 549–552, 2003. [45] C.R. Moon, J. Jung, D.W. Kwon, J. Yoo, D.H. Lee, and K. Kim. Application of plasma-doping (PLAD) tech- [60] T. Antal, M. Droz, G. Gy¨orgyi, and Z. R´acz. 1/f noise nique to reduce dark current of CMOS image sensors. and extreme value statistics. Physical Review Letters, IEEE Electron Device Letters, 28(2):114–116, 2007. 87(24):240601, 2001. [46] T. Daud, J.R. Janesick, K. Evans, and T. Elliott. [61] J. Bogaerts, B. Dierickx, and R. Mertens. Random Charge-coupled-device response to electron beam en- telegraph signals in a radiation-hardened CMOS active ergies of less than 1 keV up to 20 keV. Optical engi- pixel sensor. IEEE Transactions on Nuclear Science, neering, 26(8):686–691, 1987. 49(1):249–257, 2002. [47] N. Sakaguchi, N. Nakamura, S. Ohsawa, Y. Endo, [62] I.H. Hopkins and G.R. Hopkinson. Random telegraph Y. Matsunaga, K. Ooi, and O. Yoshida. Dark current signals from proton-irradiated CCDs. IEEE Transac- fixed pattern noise reduction for the 2/3-in two-million tions on Nuclear Science, 40(6):1567 –1574, December pixel HDTV STACK-CCD imager. IEEE Transac- 1993. tions on Electron Devices, 44(10):1658 –1662, 1997. [63] B. Fowler, M.D. Godfrey, J. Balicki, and J. Canfield. [48] R.D. McGrath, J. Doty, G. Lupino, G. Ricker, and Low noise readout using active reset for CMOS APS. J. Vallerga. Counting of deep-level traps using a charge- In Proceedings of SPIE - Sensors and Camera Systems coupled device. IEEE Transactions on Electron De- for Scientific, Industrial, and Digital Photography Ap- vices, 34(12):2555 – 2557, 1987. plications, volume 3965, pages 126–135, 2000. [49] G.A. Hawkins, E.A. Trabka, R.L. Nielsen, and B.C. [64] G. Deptuch, J.D. Berst, G. Claus, C. Colledani, Burkey. Characterization of generation currents in W. Dulinski, U. Goerlach, Yu. Gornoushkin, Y. Hu, solid-state imagers. IEEE Transactions on Electron De- D. Husson, G. Orazi, R. Turchetta, J.L. Riester, and vices, 32(9):1806 – 1816, 1985. M. Winter. Design and testing of monolithic active [50] J. Janesick, J. Pinter, R. Potter, T. Elliott, J. Andrews, pixel sensors for charged particle tracking. In IEEE Nu- J. Tower, M. Grygon, and D. Keller. Fundamental per- clear Science Symposium Conference Record, volume 1, formance differences between CMOS and CCD imagers, pages 3/103 -3/110, 2000. part IV. In Proceedings of SPIE - High Energy, Opti- [65] James R. Janesick. personal communication, 2011. cal, and Infrared Detectors for Astronomy IV, volume 7742, pages 77420B–77420B–30, 2010. [66] E.R. Fossum. CMOS image sensors: electronic camera- [51] W. R. Harrell and J. Frey. Observation of poole-Frenkel on-a-chip. IEEE Transactions on Electron Devices, effect saturation in SiO2 and other insulating films. 44(10):1689 – 1698, 1997. Thin Solid Films, 352(1-2):195 – 204, 1999. [67] S.K. Mendis, S.E. Kemeny, R.C. Gee, B. Pain, C.O. [52] John G. Simmons. Poole-Frenkel effect and Schottky Staller, Q. Kim, and E.R. Fossum. CMOS active pixel effect in metal-insulator-metal systems. Phys. Rev., image sensors for highly integrated imaging systems. 155(3):657–660, Mar 1967. IEEE Journal of Solid-State Circuits, 32(2):187–197, 1997. [53] Thomas J. Fellers and Michael W. Davidson. CCD noise sources and signal-to-noise ratio. Technical re- [68] J. Hynecek. Theoretical analysis and optimization of port, National High Magnetic Field Laboratory, The CDS signal processing method for CCD image sensors. Florida State University, Tallahassee, Florida, USA, IEEE Transactions on Nuclear Science, 39:2497–2507, 2010. Nov. 1992. [54] Henry W Ott. Noise reduction techniques in electronic [69] M.H. White, D.R. Lampe, F.C. Blaha, and I.A. Mack. systems. 2nd edition Wiley: New York, 1988. Characterization of surface channel CCD image arrays [55] Junichi Nakamura. Image sensors and signal processing at low light levels. IEEE Journal of Solid-State Cir- for digital still cameras. CRC Press, 2006. cuits, 9(1):1–12, 1974. [56] H. Tian and A. El Gamal. Analysis of 1/f noise in [70] C. Xu, S. Chao, and M. Chan. A new correlated double switched MOSFET circuits. IEEE Transactions on sampling (cds) technique for low voltage design envi- Circuits and Systems II: Analog and Digital Signal Pro- ronment in advanced cmos technology. In Proceedings cessing, 48(2):151–157, 2002. of the 28th European Solid-State Circuits Conference (ESSCIRC), pages 117–120, 2002. [57] H. Rhodes, G. Agranov, C. Hong, U. Boettiger, R. Mauritzson, J. Ladd, I. Karasev, J. McKee, E. Jenk- [71] G¨ozen K¨okl¨u, Yusuf Leblebici, and Sandro Carrara. A ins, W. Quinlin, I. Patrick, J. Li, X. Fan, R. Panicacci, switched capacitor fully differential correlated double S. Smith, C. Mouli, and J. Bruce. CMOS imager tech- sampling circuit for cmos image sensors. In Proceedings nology shrinks and image performance. IEEE Work- of 5th International Symposium on Medical Informa- shop on Microelectronics and Electron Devices, pages tion & Communication Technology (ISMICT), pages 7–18, 2004. 113–116, 2011.

High-level noise simulations in CCD/CMOS page 20 of 21. M. Konnik and J.Welsh [72] A.J. Blanksby and M.J. Loinaz. Performance analy- sis of a color CMOS photogate . IEEE Transactions on Electron Devices, 47(1):55–64, 2000. [73] B. Razavi. Principles of data conversion system design. IEEE press, New York, 1995. [74] N. Balakrishnan. Handbook of the logistic distribution. CRC Press, 1992. [75] R.S. Chhikara and L. Folks. The inverse Gaussian dis- tribution: theory, methodology, and applications. CRC Press, 1989. [76] J. Aitchison and J.A.C. Brown. The Lognormal Distri- bution. Cambridge Univ. Press, New York, 1957. [77] R. Turchetta, P.P. Allport, G. Casse, A. Clark, J. Crooks, A. Evans, A. Fant, A.R. Faruqi, M.J. French, R. Henderson, Q. Morrissey, D. Prior, M. Prydderch, J.J. Velthuis, G. Villani, N. Waltham, B. Willmore, and P. Willmore. CMOS monolithic active pixel sensors (MAPS): New eyes for science. Nuclear Instruments and Methods in Physics Research Section A: Acceler- ators, Spectrometers, Detectors and Associated Equip- ment, 560(1):139 – 142, 2006. [78] D.X.D. Yang, A.El Gamal, B. Fowler, and H. Tian. A 640× 512 CMOS image sensor with ultrawide dynamic range floating-point pixel-level ADC. IEEE Journal of Solid-State Circuits, 34(12):1821–1834, 2002. [79] C.C. Liebe, E.W. Dennison, B. Hancock, R.C. Stirbl, and B. Pain. Active pixel sensor (APS) based star tracker. In Proceedings of IEEE Aerospace Conference, volume 1, pages 119–127, 1998. [80] Justin C. Dunlap, William C. Porter, Erik Bode- gom, and Ralf Widenhorn. Dark current in an active pixel complementary metal-oxide-semiconductor sen- sor. Journal of Electronic Imaging, 20(1):013005, 2011.

High-level noise simulations in CCD/CMOS page 21 of 21. M. Konnik and J.Welsh