ChipFind - документация

Электронный компонент: TSL3301

Скачать:  PDF   ZIP
TSL3301
102
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS026 FEBRUARY 2001
1
www.taosinc.com
t
t
Copyright
E
2001, TAOS Inc.
D
102
1 Sensor Element Organization
D
300 Dots-per-Inch Pixel Pitch
D
High Sensitivity
D
On-Chip 8-Bit Analog-to-Digital Conversion
D
Three-Zone Programmable Offset (Dark Level) and Gain
D
High Speed Serial Interface
D
1 MHz Pixel Rate
D
Single 3-V to 5.5-V Supply
Description
The TSL3301 is a high-sensitivity 300-dpi, linear optical sensor array with integrated 8-bit analog-to-digital
converters. The array consists of 102 pixels, each measuring 85
m (H) by 77
m (W) and spaced on 85
m
centers. Associated with each pixel is a charge integrator/amplifier and sample-hold circuit. All pixels have
concurrent integration periods and sampling times. The array is split into three 34-pixel zones, with each zone
having programmable gain and offset levels. Data communication is accomplished through a three-wire serial
interface.
Intended for use in high performance, cost-sensitive scanner applications, the TSL3301 is based on a linear
sensor array die that has expanded capability, including multi-die addressing and cascade options. Please
contact TAOS for additional information on die and multi-die package availability.
Functional Block Diagram
PIXEL ARRAY WITH INTEGRATORS AND SH
(51-bit shift register)
SCLK
SDIN
SDOUT
DIGITAL I/O
AND
CONTROL
DB<7:0>
ADDR<4:0>
READ
WRITE
OUTPUT CHARGE-TO-
VOLTAGE CONVERTER
WITH PROGRAMMABLE
GAINS AND OFFSETS
SECTOR
VREF
IREF
RESET/SAMPLE
START
ADCLK
DUAL 8BIT
SA ADC
VREF
IREF
BIAS
BLOCK
PIXCLK
SI
HOLD
ZERO
LEFT EVEN
RIGHT ODD
RIGHT EVEN
IREF
8
5
3
t
t
Texas Advanced Optoelectronic Solutions Inc.
800 Jupiter Road, Suite 205
S
Plano, TX 75074
S
(972) 673-0759
1
2
3
4
8
7
6
5
SCLK
VDD
SDIN
SDOUT
NC
GND
GND
NC
(TOP VIEW)
NC No internal connection
TSL3301
102
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS026 FEBRUARY 2001
2
www.taosinc.com
t
t
Copyright
E
2001, TAOS Inc.
Terminal Functions
TERMINAL
I/O
DESCRIPTION
NAME
NO.
I/O
DESCRIPTION
GND
6, 7
Ground
SCLK
1
I
System clock input for serial I/O and all internal logic.
SDIN
3
I
Serial data input. Data is clocked in on the rising edge of SCLK.
SDOUT
4
O
Serial data output. Data is clocked out on the falling edge of SCLK.
V
DD
2
Positive supply voltage.
Detailed Description
The TSL3301 is a 102
1 linear optical array with onboard A/D conversion. It communicates over a serial digital
interface and operates over a 3 V to 5.5 V range. The array is divided into three 34-pixel zones (left, center, and
right), with each zone having programmable gain and offset (dark signal) correction.
The sensor consists of 102 photodiodes, also called pixels, arranged in a linear array. Light energy impinging
on a pixel generates a photocurrent, which is then integrated by the active integration circuitry associated with
that pixel. During the integration period, a sampling capacitor connects to the output of the integrator through
an analog switch. The amount of charge accumulated at each pixel is directly proportional to the light intensity
(E
e
) on that pixel and to the integration time (t
int
). At maximum programmed gain, one LSB corresponds to
approximately 300 electrons.
Integration, sampling, output, and reset of the integrators are performed by the control logic in response to
commands input via the SDIN pin. Data is read out on the SDOUT pin. A normal sequence of operation consists
of a pixel reset (
RESET), start of integration (STARTInt), integration period, sampling of integrators
(
SAMPLEInt), and pixel output (READPixel). Reset sets all the integrators to zero. Start of integration releases
the integrators from the reset state and defines the beginning of the integration period. Sampling the integrators
ends the integration period and stores the charge accumulated in each pixel in a sample and hold circuit.
Reading the pixels causes the sampled value of each pixel to be converted to 8-bit digital format and output on
the SDOUT pin. All 102 pixels are output sequentially unless interrupted by an abort (
ABORTPixel) command
or reset by a
RESET command.
Gain adjustment is controlled by three 5-bit DACs, one for each of the the three zones. Table 1 lists the gain
settings and the corresponding pixel values. Offset is affected by the gain setting and may have to be adjusted
after gain changes are made.
Offset correction is controlled by three 8-bit sign-magnitude
DACs and is performed in the analog domain prior
to the digital conversion. There is a separate offset DAC for each of the three zones. Codes 0h 7Fh correspond
to positive offset values and codes 80h FFh correspond to negative offset values.
The offset correction is proportional to the gain setting. At minimal gain, one LSB of the offset DAC corresponds
to approximately 1/3 LSB of the device output, and at maximum gain, to about 1 LSB of the device output.
Note that the gain and offset registers are in indeterminate states after power up and must be set by the controller
as required.
Sign-magnitude is a binary representation in which the most significant bit (MSB) is used to represent the sign of the number, with the remaining
bits representing the magnitude. An MSB of 1 indicates a negative number.
TSL3301
102
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS026 FEBRUARY 2001
3
www.taosinc.com
t
t
Copyright
E
2001, TAOS Inc.
Table 1. Gain Settings and Results
GAIN CODE
RELATIVE GAIN
% INCREASE
GAIN CODE
RELATIVE GAIN
% INCREASE
0
1
16
1.52
3.23
1
1.02
2.17
17
1.57
3.33
2
1.05
2.22
18
1.62
3.45
3
1.07
2.27
19
1.68
3.57
4
1.09
2.33
20
1.74
3.70
5
1.12
2.38
21
1.81
3.85
6
1.15
2.44
22
1.88
4.00
7
1.18
2.50
23
1.96
4.17
8
1.21
2.56
24
2.05
4.35
9
1.24
2.63
25
2.14
4.55
10
1.27
2.70
26
2.24
4.76
11
1.31
2.78
27
2.35
5.00
12
1.34
2.86
28
2.48
5.26
13
1.38
2.94
29
2.61
5.56
14
1.43
3.03
30
2.77
5.88
15
1.47
3.13
31
2.94
6.25
Serial interface
The serial interface follows a USART format, with start bit, 8 data bits and one or more stop bits. Data is clocked
in synchronously on the rising edge of SCLK and clocked out on the falling edge of SCLK. Stop bits are not
required on the input. When clocking data out continuously (i.e., reading out pixels) there will be one stop bit
between data words.
The receive and transmit state machines are independent, which means commands can be issued while
reading data. This feature allows starting new integration cycles while reading data. Note that this allows
undefined conditions so care must be taken not to issue commands that will cause outputs (such as register
read) while reading out data. For instance, issuing a register read command while reading out image data will
result in garbage out. Likewise, it is possible to change offset and gain registers during a readout, which can
give unpredictable results.
It is not necessary to have a continuously active clock, but a minimum of 6 clocks is required after any command
has been issued to ensure that the corresponding internal logic actions have been completed. When reading
register contents, there will be a 4-clock delay from the completion of the
REGRead command before
the register contents are output. When reading out pixel values, there will be a 44-clock delay from completion
of the
READPixel command until the first pixel data is output. When sampling pixel information it is necessary
to have 22 clocks to complete the pixel reset cycle (see
Imaging below).
TSL3301
102
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS026 FEBRUARY 2001
4
www.taosinc.com
t
t
Copyright
E
2001, TAOS Inc.
Register address map
The TSL3301 contains seven registers as defined in Table 2. Data in these registers may be written to or read
from using the
REGWrite and REGRead commands. Three registers control the gain of the analog-to-digital
converters (ADC). Three other registers allow the offset of the system to be adjusted. Together the gain and
offset registers are used to maximize the achievable dynamic range.
Table 2. Register Address Map
ADDRESS
REGISTER DESCRIPTION
REGISTER WIDTH
0x00
Left (pixels 033) offset
8
0x01
Left (pixels 033) gain
5
0x02
Center (pixels 3467) offset
8
0x03
Center (pixels 3467) gain
5
0x04
Right (pixels 68101) offset
8
0x05
Right (pixels 68101) gain
5
0x1F
Mode
8
The offset registers are 8-bit sign-magnitude values and the gain registers are 5-bit values. The programmed
offset correction is applied to the sampled energy, and then the gain is applied. (i.e., the gain will affect the offset
correction.) These registers allow the user to maximize the dynamic range achievable in the given system.
The last register is the mode register. Bits in this register select the sleep mode as well as options for multichip
arrays and production testing. Note that test and multichip options do not apply to the 8-pin packaged device.
Users should always write zeros into the production test and multichip control bits.
0
7
0x1F
6
5
4
3
2
1
P2
MODE
0
0
SLP
P1
P0
C1
C0
SLP = Sleep Mode:
1 places device into sleep mode
0 places device in normal operating mode
C1, C0 selects multichip options (should be written
0)
P2 to P0 are factory test bits (should be written
0)
Figure 1. Mode Register Bit Assignments
TSL3301
102
1 LINEAR OPTICAL SENSOR ARRAY
WITH ANALOG TO DIGITAL CONVERTER
TAOS026 FEBRUARY 2001
5
www.taosinc.com
t
t
Copyright
E
2001, TAOS Inc.
Command description
The TSL3301 is a
slave device that reacts strictly to commands received from the digital controller. These
commands cause the device to perform functions such as reset, integrate, sample, etc. Table 3 summarizes
the command types and formats and Table 4 lists the command set for the TSL3301. Each command is
described in more detail below.
Table 3. Command Type and Format Summary
COMMAND TYPE
FORMAT
Action command
< Command byte >
Register write
< Command byte > < Data byte >
Table 4. TSL3301 Command Set
COMMAND
DESCRIPTION
IRESET
Interface Reset
RESET
Reset Integration and read blocks
DETReset
Reset determine unique address block
STARTInt
Start pixel integration
SAMPLEInt
Stop light integration and sample results
READPixel
Dump serial the contents of each sampled integrator
ABORTPixel
Abort any READPixel operation in progress
READHold
Combination of SAMPLEInt and READPixel commands
READHoldNStart
Combination of SAMPLEInt, READPixel and STARTInt commands
REGWrite
Write a gain, offset, or mode register
REGRead
Read a gain, offset, or mode register