CMV12000_DS000603_6-00.pdf - 第63页
Document Feedback CMV12000 Functional Description Datasheet • PUBLIC DS000603 • v6 - 00 • 2023 -Sep- 22 84 │ 62 Figure 86 : Test Pattern Data 7.6.5 Temperature Sensor A 16-bit digital temperature sensor is included in th…

Document Feedback
CMV12000
Functional Description
Datasheet • PUBLIC
DS000603 • v6-00 • 2023-Sep-22
84 │ 61
7.6.3 Electrical Black Reference Columns
The first and last eight columns of the pixel array can be changed to an electrical black reference. This
electrical black reference can be used to correct row noise. The black level offset between the EB and
normal pixels will differ. Because of the limited amount of EB pixels per row (16), row correction is
limited.
Figure 83:
Electrical Black Reference Settings
Reg. Name
Address
Bits
Default
Description
Black_col_en
89
[15]
0
0: Off
1: On
7.6.4 Test Pattern
The sensor has a built-in digital fixed test pattern. This can be used, for example, to test the FPGA’s
data input implementation.
The pattern consists of increasing pixel values per column per channel. The first column of each (top
and bottom) channel, offsets with 1 compared to the previous channel. So channels 1/33 will contain
0, 1, 2 … 126, 127 and channels 2/34 contain 1, 2, 3 … 127, 128 and channels 32/64 contain 31, 32,
33 … 157, 158 and so on.
To have the same test pattern in 8b as in 10b and 12b, the digital gain has to be set to 16. Set it back
to 6 when taking normal images again.
Figure 84:
Test Pattern Setting
Reg. Name
Address
Bits
Default
Description
Test
122
[1:0]
0
0: Off
3: On
Figure 85:
Test Pattern Image

Document Feedback
CMV12000
Functional Description
Datasheet • PUBLIC
DS000603 • v6-00 • 2023-Sep-22
84 │ 62
Figure 86:
Test Pattern Data
7.6.5 Temperature Sensor
A 16-bit digital temperature sensor is included in the image sensor and can be controlled by the SPI-
interface. An input clock at pin CLK_IN must be applied to use the temperature sensor. The on-chip
temperature can be calculated by reading out the Temp_sensor register.
The value in the temperature sensor register is dependent on the CLK_IN frequency. The value has
an offset (so at 0 °C the value in this register is not 0) and a slope (DN/°C). Both are input clock
dependent. For example, if you read out a value of 1000DN at 40 MHz, you will read a value of 500DN
at 20 MHz at the same temperature.
The offset and slope values will vary between devices. The typical offset and slope values are:
Equation 6:
Equation 7:
As the offset value varies between devices, at least a 1-point calibration per device should be done at
a known temperature to compensate this offset. As the slope variation is and has less of an influence
on the accuracy, a 2-point calibration is only needed if higher accuracy of the temperature is needed.
Below is an example of two devices (CLK_IN = 60 MHz) register values at different temperatures. The
offset and slope vary about 300DN and 0.5DN/°C between each other. You can clearly see that not
calibrating for the offset difference (so using 1600DN) will result in a very large error while using the
typical 7DN/°C will yield only small inaccuracy.
0
20
40
60
80
100
120
140
160
0 128 256 384 512 640 768 896 1024 1152 1280 1408 1536 1664 1792 1920 2048 2176 2304 2432 2560 2688 2816 2944 3072 3200 3328 3456 3584 3712 3840 3968 4096
Output [DN]
Column number

Document Feedback
CMV12000
Functional Description
Datasheet • PUBLIC
DS000603 • v6-00 • 2023-Sep-22
84 │ 63
Figure 87:
Temperature Sensor Calibration Examples
Figure 88:
Temperature Sensor Register
Reg. Name
Address
Bits
Default
Description
Temp_sensor
127
[15:0]
-
Read-Only. Contains a value for calculating the sensor
temperature.
The on-chip temperature sensor is located in the middle of the left side. See Figure 89.
y = 6.82x + 1505
y = 7.38x + 1804
1400
1500
1600
1700
1800
1900
2000
2100
2200
2300
0 10 20 30 40 50 60
Register Value [DN]
Device Temperature [°C]
Reg_val_dev1
Reg_val_dev2