Difference between revisions of "CMV12000"

From apertus wiki
Jump to: navigation, search
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=Dimensions=
[[File:Cmv12000_dimensions.png | 800px]]
=Registers=
== Register 87 & 88 ==
== Register 87 & 88 ==
Signed 12 bit value (0..4095) for even/odd rows:  
Signed 12 bit value (-2048..2047) for even/odd rows:  


  max offset: 2047
  max offset: 2047
Line 14: Line 20:
  600: 8 bits per pixel
  600: 8 bits per pixel


Using a higher offset shifts in the black coloumns (in this example 1980 was used as offset value for both top/bottom rows):
Using a higher offset shifts the image into a brighter area aka black columns into the useable area (in this example 1980 was used as offset value for both top/bottom rows):
 
[[File:Histogram-offset-1980.jpg | 400px]]


[[File:Histogram_offset_1980.jpg | 400px]]


==Register 102==
==Register 102==
Black Sun protection level
Bit 6 = Protection on/off
Bits[5:0] = Protection level
from Application Note:
from Application Note:


Lowering reg 102 [6:0] will reduce the spatial row noise, but will also decrease the black sun protection. When the protection is set to the default value of 120, it can influence the CDS working, causing increased FPN in the image. You should find a trade-off between the protection and the FPN. We see that a value of 100 should be OK for most applications.
Lowering reg 102 [5:0] will reduce the spatial row noise, but will also decrease the black sun protection. When the protection is set to the default value of 120, it can influence the CDS working, causing increased FPN in the image. You should find a trade-off between the protection and the FPN. We see that a value of 100 should be OK for most applications.


Datasheet lists this register as "DO NOT CHANGE" with default value of "8312"
Datasheet lists this register as "DO NOT CHANGE" with default value of "8312"
Datasheet V2.7 from 18/12/2014 suggests to change Register 102 to 8302 to decrease column PFN
==Register 112==
Datasheet V2.6 from 22/08/2014 suggests Reg 112 = 277
==Register 115==
Analog gain
PGA_gain 115[2:0]
0: unity gain
1: x2 gain
3: x3 gain
7: x4 gain
PGA_div 115[3]
1: divide signal by 3
Gain and division can be combined to generate factors like x0.33, x0.66, slightly above 1 (see below), 1.33
Interestingly the signal values are not completely the same when using unity gain vs x3 combined with division by 3. The second option results in slightly higher levels.
Values between the ones listed (2,4,5,6,10,12,13,14,16,17,..) result in undocumented float factors:
2 -> ~1.2
4 -> ~1.1
5 -> ~2.1
6 -> ~1.2
10 -> ~0.4
11 -> ~1.1
==Register 116==
ADC_range 116[7:0] and ADC_range_mult 116[9:8]
Higher value creates flatter ADC slope. Lower values "compress" values together in the histogram.
Default value [9:0 - combined] (12bit): 1023
Values higher than 1023 (bin: 11 1111 1111) don't seem to have any effect on making the slope even flatter.
'''Open questions: is it one big register or two independent ones (overlap or gap btw 255/256, 511/512, 767/768) ?'''
==Register 117==
DIG_gain 117[4:0]
Apply digital gain to signal
1: 12 bit
4: 10 bit
6: 8 bit
A digital factor to amplify the signal digitally.
value 0 has no effect.
values 1, 2, 3, 4, 6, 8, 10 have an effect and simply multiply the signal with the gives value.
Note: A factor above 1 creates gaps between samples in the histogram:
[[File:Histogram_digital_gain_gaps.jpg | 700px]]
'''Open questions: Is it a factor or a bitshift number?'''
==Register 122==
The column based FPN correction can be disabled by setting bit 122[2] to 1. This will have a large impact on the column FPN though.
Pixel based FPN correction can be disabled by setting reg 122[4] to 1.
[[File:Histogram-FPN-Registers.jpg | 400px]]
----
[[Category:CMV12000]]
[[Category:Registers]]
[[Category:Black Sun]]

Latest revision as of 16:47, 25 November 2019

1 Dimensions

Cmv12000 dimensions.png


2 Registers

2.1 Register 87 & 88

Signed 12 bit value (-2048..2047) for even/odd rows:

max offset: 2047
min offset: 2048
Default value:780

From the datasheet:

The value in this register defines the dark level offset applied to the bottom/top output signal (min = 0, max = 4095)

1824: 12 bits per pixel
533: 10 bits per pixel
600: 8 bits per pixel

Using a higher offset shifts the image into a brighter area aka black columns into the useable area (in this example 1980 was used as offset value for both top/bottom rows):

Histogram-offset-1980.jpg


2.2 Register 102

Black Sun protection level

Bit 6 = Protection on/off Bits[5:0] = Protection level

from Application Note:

Lowering reg 102 [5:0] will reduce the spatial row noise, but will also decrease the black sun protection. When the protection is set to the default value of 120, it can influence the CDS working, causing increased FPN in the image. You should find a trade-off between the protection and the FPN. We see that a value of 100 should be OK for most applications.

Datasheet lists this register as "DO NOT CHANGE" with default value of "8312"

Datasheet V2.7 from 18/12/2014 suggests to change Register 102 to 8302 to decrease column PFN

2.3 Register 112

Datasheet V2.6 from 22/08/2014 suggests Reg 112 = 277

2.4 Register 115

Analog gain PGA_gain 115[2:0]

0: unity gain
1: x2 gain
3: x3 gain
7: x4 gain

PGA_div 115[3]

1: divide signal by 3

Gain and division can be combined to generate factors like x0.33, x0.66, slightly above 1 (see below), 1.33

Interestingly the signal values are not completely the same when using unity gain vs x3 combined with division by 3. The second option results in slightly higher levels.

Values between the ones listed (2,4,5,6,10,12,13,14,16,17,..) result in undocumented float factors:

2 -> ~1.2
4 -> ~1.1
5 -> ~2.1
6 -> ~1.2
10 -> ~0.4
11 -> ~1.1


2.5 Register 116

ADC_range 116[7:0] and ADC_range_mult 116[9:8]

Higher value creates flatter ADC slope. Lower values "compress" values together in the histogram.

Default value [9:0 - combined] (12bit): 1023

Values higher than 1023 (bin: 11 1111 1111) don't seem to have any effect on making the slope even flatter.


Open questions: is it one big register or two independent ones (overlap or gap btw 255/256, 511/512, 767/768) ?


2.6 Register 117

DIG_gain 117[4:0]

Apply digital gain to signal 1: 12 bit 4: 10 bit 6: 8 bit

A digital factor to amplify the signal digitally.

value 0 has no effect.

values 1, 2, 3, 4, 6, 8, 10 have an effect and simply multiply the signal with the gives value.

Note: A factor above 1 creates gaps between samples in the histogram:

Histogram digital gain gaps.jpg

Open questions: Is it a factor or a bitshift number?


2.7 Register 122

The column based FPN correction can be disabled by setting bit 122[2] to 1. This will have a large impact on the column FPN though.

Pixel based FPN correction can be disabled by setting reg 122[4] to 1.

Histogram-FPN-Registers.jpg