Confidential
17
www.national.com
Functional Description
(continued)
8.0
SIGNAL PROCESSING
8.1
The LM9627 has a built-in bad pixel detection and correction
block that operates on the fly. This block can be switched off by
the user.
Bad Pixel Detection & Correction
8.2
In addition to the programmable gain the LM9627 has a built in
black level compensation block as illustrated in Figure 25. This
block can be switched off.
Black Level Compensation
Figure 25. Digital Black Level Compensation.
The black level compensation block will subtract the average
signal level of the black pixels around the array from the digital
video output to compensate for the temperature and integration
time dependent dark signal level of the pixels. The exponential
averaging circuit shown in figure 25 only operates on the least
significant 8 bits of the video data.
9.0
POWER MANAGMENT
9.1
The LM9627 is equipped with an on-board power management
system allowing the analog and digital circuitry to be switched
off (power down) and on (power up) at any time.
The sensor can be put into power down mode by asserting a
logic one on the “
pdwn
” pin or by writing to the power down bit in
the main configuration register via the I
2
C compatible serial
interface.
Power Up and Down
To power up the sensor a logic zero can be asserted on the
“
pdwn
” pin or write to the power down bit in the main configura-
tion register via the I
2
C compatible serial interface.
It will take a few milli seconds for all the circuits to power up. The
power management register contains a bit indicating when the
sensor is ready for use. During this time the sensor cannot be
used for capturing images. A status bit in the power manage-
ment register will indicate when the sensor is ready for use.
9.2
In addition to the power up/power down features of the sensor,
sections of the analog video processing chain can be powered
down and re-routed during normal operation. This flexibility
allows power dissipation to be traded of with signal gain as
shown in the table below:
Advanced Power Features
Figure 26. Power Control
10.0 ANALOG GAIN ADJUSTMENT
The integrated analog programmable gain amplifier is capable
of applying a linear gain 1X to 5.6X in 64 linear steps. This can
be programmed using the VGAIN register as shown in the table
below:
PGA Amp
Power Saving
on
0mW
off
10mW
*
a
*
(1-a)
+
+
-
+
Σ
z
-1
only enabled for black pixels
i
nput signa
l
c
Σ
VidGain
Dec
Code
VidGain
Hex
Code
Gain
Amp
Value
VidGain
Dec
Code
VidGain
Hex
Code
Gain
Amp
Value
0
00
1
32
20
3.34
1
01
1.07
33
21
3.41
2
02
1.15
34
22
3.48
3
03
1.22
35
23
3.56
4
04
1.29
36
24
3.63
5
05
1.37
37
25
3.7
6
06
1.44
38
26
3.77
7
07
1.51
39
27
3.85
8
08
1.58
40
28
3.92
9
09
1.66
41
29
3.99
10
0A
1.73
42
2A
4.07
11
0B
1.8
43
2B
4.14
12
0C
1.88
44
2C
4.21
13
0D
1.95
45
2D
4.29
14
0E
2.02
46
2E
4.36
15
0F
2.1
47
2F
4.43
16
10
2.17
48
30
4.5
17
11
2.24
49
31
4.58
18
12
2.31
50
32
4.65
19
13
2.39
51
33
4.72
20
14
2.46
52
34
4.8
21
15
2.53
53
35
4.87
22
16
2.61
54
36
4.94
23
17
2.68
55
37
5.02
24
18
2.75
56
38
5.09
25
19
2.83
57
39
5.16
26
1A
2.9
58
3A
5.23
27
1B
2.97
59
3B
5.31
28
1C
3.04
60
3C
5.38
29
1D
3.12
61
3D
5.45
30
1E
3.19
62
3E
5.53
31
1F
3.26
63
3F
5.6
L