27
www.national.com
Off value and the lamp will always stay on. Illumination Mode 2
timing is shown in Figure 21, and in slightly more detail in Figure
33.
Illumination Mode 3 is similar to Illumination Mode 2, except that
the LAMP outputs for all three colors are turned on and off every
line. Illumination Mode 3 timing is shown in Figures 22 and 23.
The Lamp On and Lamp Off settings work the same as in Mode 2
to control the on and off points for the different lamp signals. In
systems with a limited power budget, care should be taken to pre-
vent turning multiple lamps on at the same time. This can also be
important for CIS sensors that limit the maximum combined cur-
rent of the three lamps.
These modes are in operation whenever the chip is powered on
and not in standby mode. For example, the LAMP outputs in Fig-
ures 21 and 22 keep pulsing whether the LM9831 is in the Idle,
Paper Feed, or Scanning states. This eliminates light amplitude
variations due to the lamp/LEDs warm-up characteristics. Since
the LAMP pulses are synchronized to the TR pulse, which is
determined by the horizontal pixel counter, this means that the
pixel counter is constantly running, and any new scans can only
be started by waiting for the next new line (the next Red line in
the case of Illumination Mode 2).
5.2 CCD/CIS Control Block
This function generates the clock signals necessary to control a
CCD or CIS sensor. Refer to the descriptions for registers 0B to
18 for more details on the timing of specific signals. The LM9831
features:
Independent control over the polarity (inverting or noninverting)
of the input stage to accommodate CIS or CDS signals.
Full timing control of the CIS and CDS sample points. Refer-
ence and signal sample points can be independently adjusted.
Note that the absolute time between reference sample and sig-
nal sample must be 2 MCLKs or greater, whether CDS is on or
off.
Ability to turn off CDS. When CDS is on, traditional CDS is per-
formed. When CDS is off, the signal is sampled at the Sample
Signal point, but the internal reference is used for the Sample
Reference voltage (not a point on the input signal itself).
The CP1 output supplies the CP pulse needed on some popu-
lar Toshiba CCDs. This looks and acts just like another, inde-
pendent RS pulse.
A CP2 output is another independent pixel rate pulse that (if
needed) can be programmed to supply an additional clock.
CCD clock signals RS, CP1, CP2 are reset when Line Ends
The internal Clamp signal is reset with Optical Black Pixels
End.
TR1 and TR2 pulse widths are always the same width, as
determined by Register 0E.
The TR-1 guardband may be equal to 0, causing TR and 1
to go high simultaneously and low simultaneously (Figure 24).
This is a requirement of some Canon CIS sensors.
CIS TR1 Timing Mode 1. In this mode the TR1 pulse is exactly
one clock long, occurring on the rising edge of 1. The TR1
pulse width and guardband settings are ignored. For Dyna CIS.
CIS TR1 Timing Mode 2. In this mode the TR pulse is again
equal to 1 period, but now it is centered around 1. The TR
pulse width and guardband settings are ignored. For Canon
CIS.
To prevent sensor saturation, the LM9831 is always clocking
Figure 21:
Illumination Mode 2
TR
LAMP
G
LAMP
B
LAMP
R
Figure 22:
Illumination Mode 3 (grayscale)
TR
LAMP
G
LAMP
B
LAMP
R
Figure 23:
Illumination Mode 3 (green only)
TR
LAMP
G
LAMP
R
(LAMP
R
On > Line End, LAMP
R
Off < Line End
LAMP
B
(LAMP
B
On > Line End, LAMP
B
Off < Line End
TR Pulse same as first clock pulse
Figure 24:
TR-1Guardband Can Be Equal To 0
TR
1
Figure 25:
CIS TR1 Timing Mode 1
Dummy
Pixels
RS
TR1
1
Transfer
Phase
Previous
Line
1 inside TR1 pulse
Figure 26:
CIS TR1 Timing Mode 2
TR1
1
t
1
/4
t
1
/4
t
1
/4
t
1