The Altera code described in this document is intended for
use in the KSC−1000 Timing Boar. The code is developed
specifically for use with the following system configuration:
Framegrabber BoardNational Instruments Model PCI−1424
The 3F5051 Timing Generator Board features the
KSC−1000 Timing Generator chip. The KSC−1000
provides all of the signals necessary for an imaging system
using Full Frame (KAF) or Interline (KAI) family of image
ALTERA CODE FEATURES/FUNCTIONS
The Altera Programmable Logic Device (PLD) serves as
a state machine, which performs a variety of functions.
Three basic functions are required, common to all CCD
image sensor configurations: serial input steering, AFE
default programming, and KSC−1000 default
programming. In addition, certain other functions specific t o
the KAI−2093 Image Sensor are implemented.
Serial Input Steering
The 3-wire serial interface enters the Timing Board
through the DIO Interface connector, and is routed to the
www.onsemi.com
EVAL BOARD USER’S MANUAL
sensors. It also provides the signals necessary for operation
of two analog front-end (AFE) chips, enabling independent
optimization of the AFE chips for dual channel readout
devices.
PLD. The Altera PLD decodes the addressing of the serial
input, and steers the datastream to the correct device.
The serial input must be formatted so that the Altera PLD
can correctly decode and steer the data to the correct device.
The serial interface can be used to dynamically change the
operating conditions of the AFE or KSC−1000 chips by
reprogramming the appropriate registers. Reprogramming
these registers through the serial interface will have no effect
on the default settings that are automatically programmed
into these devices on power-up or board reset.
The first 3 bits in the datastream are the Device Select bits
DS[2..0], sent MSB first, as shown in Figure 1. The Device
Select bits are decoded as shown in Table 2.
The next bit in the datastream is the Read/Write bit (R/W).
Only writing is supported; therefore this bit is always LOW.
The definition of next four bits in the datastream depends
on the device being addressed with the Device Select bits.
For the KSC−1000 device, they are Register address bits
A[0..3], LSB first. For the AD9845A AFE, they are Register
Address bits A[0..2], LSB first, followed by a Test bit which
is always set LOW.
…
D4
Dn
The remaining bits in the bitstream are Data bits, LSB
first, with as many bits as are required to fill the appropriate
register.
AFE Default Initialization
Upon power up, or when the BOARD_RESET button is
pressed, the PLD programs the registers of the two AFE
chips on the T iming Generator Board to their default settings
via the 3-wire serial interface. See Table 9 for details.
The AD9845A AFE must be reprogrammed on power-up,
as it does not retain register settings when power is removed.
R/WA0A1A2TestD0D1
SLOAD_AFE_x
SDATA
SCLK
Figure 2. AFE Initialization Timing
D2
The data for each AFE register is formatted into two bytes
of data, as shown in Figure . The Read/Write bit is always
low, and the Address bits specify the register being
programmed, as shown in Table 9. Each byte is read into an
8-bit shift register, and is shifted out as a serial stream of
eight bits. Each register in the AFE is programmed in this
fashion until the entire AFE is programmed.
KSC−1000 Default Initialization
Upon power-up, or when the BOARD_RESET button is
pressed, the Altera PLD programs the registers of the
KSC−1000 chip on the AFE Timing Generator Board to
their default settings via the 3-wire serial interface.
D3
D4
D5D6D7D8D9
D10
The default setti ngs are selected by the user through the PLD
inputs SW[7..0] and DIO[15..0] (See Table 10 through
Table24 for details). The KSC−1000 must be
reprogrammed on power-up, as it does not retain register
settings when power is removed.
The KSC−1000 default settings automatically
programmed by the PLD allow the Evaluation Board Kit
user to operate the CCD image sensor with minimal
intervention and no programming. The default settings are
chosen to comply with the CCD device specification (See
References
). The registers, line tables and frame tables
described in this document also serve as examples for those
who wish to create their own KSC−1000 timing.
http://onsemi.com
2
EVBUM2277/D
R/WA0A1A2A3D0D1
SLOAD_TG
SDATA
SCLK
Figure 3. KSC−1000 Initialization Timing
D2
The data for each KSC−1000 register is formatted into
bytes of data, as shown in Figure 3. The Read/Write bit is
always low, and the Address bits specify the register being
programmed, as shown in Table 3. Each byte is read into an
8-bit shift register, and is shifted out of the PLD as a serial
stream of eight bits. The last byte of data sent to a particular
register may need to be padded with extra “dummy” bits;
the SLOAD_TG signal is brought HIGH at the appropriate
time so that the correct number of bits are streamed into each
register, and the extra bits are ignored. Each register in the
KSC−1000 is programmed in this fashion until the entire
device is programmed.
PLD State Machine
The Altera PLD contains a State Machine that parallels
the operation of the KSC−1000. The PLD controls the
KSC−1000 through the VD_TG output, and monitors
several of the KSC−1000 outputs, enabling it to track and
control the operation of the Timing Generator.
Remote Board Reset
The DIO14 input is used as a remote Board Reset control
line. The Altera PLD monitors this input, and when DIO14
goes HIGH, the ARSTZ (active low) output to the
KSC−1000 is asserted, disabling and clearing the timing
generator. When DIO14 goes LOW, the ARSTZ output is
de-asserted, and the Power-up/Board Reset initialization
sequence is executed. This allows programmable control of
the timing sequences to change the Electronic Shutter
position, for example.
Integration Clock
The Altera PLD uses the System Clock and an internal
counter to generate a 1 . 0ms-period clock. This clock is used
to generate an internal delay after power-up or Board Reset.
It may also be used to control precise integration times for
the image sensor.
Output Channel Control
PLD input SW0 is used to select one of the supported
operation modes: Full Field Single Output, and Full Field
Dual Output. When making a change to the switch settings,
the user must initiate a Board Reset for the change to take
http://onsemi.com
3
EVBUM2277/D
effect, either by pressing the BOARD_RESET button (S1)
on the Timing Board, or by setting and resetting the Remote
Reset (DIO14) input.
Binning Control
PLD input SW2 is used to select between 2×2 Binning
Single Output, and normal operation (no binning). When
making a change to the switch settings, the user must initiate
Integration & Electronic Shutter Control
In the Full Field Timing Modes, PLD inputs DIO[11..7]
may be used to select the integration time. See T able 25 for
a Board Reset for the change to take effect, either by pressing
the BOARD_RESET button (S1) on the Timing Board, or
by setting and resetting the Remote Reset (DIO14) input.
timing details. In general, when making a change to the
DIO[11..7] settings, the user must initiate a Board Reset for
the change to take effect, either by pressing the
BOARD_RESET button (S1) on the Timing Board, or by
setting and resetting the Remote Reset (DIO14) input.
Video Mux Switch
The PLD input SW6 controls the Video Mux Switch,
which steers either CCD output VoutL or VoutR to the
auxiliary video output connector J1.
ALTERA CODE I/O
Inputs
The Altera PLD has multiple inputs that may be used to
control certain functions. The inputs include: user selectable
switches SW[7..0] on the Timing Board; remote digital
inputs DIO[15..0] and a 3-wire serial interface through
Timing Board connector J7; Timing Board signals;
and various outputs from the KSC−1000 Timing Generator.
Table 4. ALTERA INPUTS
Symbol
POWER_ON_DELAYThe Rising Edge of this Signal Clears and Re-initializes the PLD
SYSTEM_CLK40 MHz Clock, 2X the Desired Pixel Clock Rate
PIXCLKNI1424 20 MHz Pixel Rate Clock from the KSC1000TG (Not Used)
SW0HIGH = Dual Output, Full Image, LOW = Single Output, Full Image
SW1(Not Used, Must be LOW)
SW2Binning Mode: HIGH = 2 x 2 Binning, Single Output, LOW = No Binning
SW3(Not Used)
SW4(Not Used)
SW5(Not Used)
SW6Video Mux Switch Control: HIGH = VoutR, LOW = VoutL
SW7(Not Used)
SLOAD_INPUT3-wire Serial Interface LOAD Signal Input
SDATA_INPUT3-wire Serial Interface DATA Signal Input
SCLOCK_INPUT3-wire Serial Interface CLOCK Signal Input
LINE_VALIDUsed to Monitor KSC−1000
FRAME_VALIDUsed to Monitor KSC−1000
AUX_SHUT(Not Used for KAI−2093 Operation)
INTG_STARTUsed to Monitor KSC−1000
The KSC−1000 outputs are monitored by the PLD to control
auxiliary timing functions, and keep the KSC−1000 and
Altera PLD synchronized. The remote digital inputs
DIO[15..0] are optional, and are not required for KAI−2093
operation, but may be used to control integration time and
remote triggering.
Description
http://onsemi.com
4
EVBUM2277/D
Outputs
The Altera PLD outputs include: the 3-wire serial
interface; control signals to the KSC−1000;
the INTEGRATE signal used for external monitoring and
Table 5. ALTERA OUTPUTS
Symbol
PLD_OUT0KAI−2093 Video MUX Control
PLD_OUT1(Not Used for KAI−2093 Operation)
PLD_OUT2(Not Used for KAI−2093 Operation)
GIO[2..0](Not Used for KAI−2093 Operation)
SLOAD_AFE_1Serial Load Enable, Ch1 AD9845A AFE
SLOAD_AFE_2Serial Load Enable, Ch2 AD9845A AFE
SLOAD_TGSerial Load Enable, KSC−1000
SDATA3-wire Serial Interface DATA Signal Output
SCLOCK3-wire Serial Interface CLOCK Signal Output
INTEGRATEHigh During CCD Integration Time
HD_TG(Not Used for KAI−2093 Operation)
VD_TGControl Signal to KSC−1000
ARSTZAsynchronous Reset to KSC−1000 (from DIO14)
synchronization; the PLD[2..0] signals which are auxiliary
Imager Board control bits; and the GIO[2..0] bits which are
used for PLD monitoring and testing.
Description
System Timing Conditions
Table 6. SYSTEM TIMING
DescriptionSymbolTimeNotes
System Clock PeriodT
Unit Integration TimeU
Power Stable DelayT
Default Serial Load TimeT
Integration TimeT
CCD Timing Conditions
Table 7. CCD TIMING
Description
H1, H2, RESET PeriodT
VCCD DelayT
VCCD Transfer TimeT
HCCD DelayT
Vertical Transfer PeriodV
Horizontal PixelsH
Vertical PixelsV
Line Transfer TimeT
KAI−2093 TIMING CONDITIONS
sys
int
pwr
sload
int
Pixel
SymbolTime
pix
VD
VCCD
HD
period
PIX
PIX
L
50.0 ns120 MHz Clocking of H1, H2, RESET
50.0 ns1Delay after Hclks Stop
1.75 ms
1.55 ms
3.35 ms
100.80 ms
12201214 CCD Lines + 6 Overclock Lines
104.15 ms
Counts
35V2 Rising Edge to V2 Falling Edge
31Delay before Hclks Resume
67V
20161992 CCD Pixels + 24 Overclock Pixels
2083TL = Vperiod + HPIX
25.0 ns40 MHz System Clock
1.0 msGenerated by PLD
100 msTypical
2.06 msTypical
Operating Mode Dependent
Notes
= T
period
VD
+ T
VCCD
+T
HD
http://onsemi.com
5
Table 7. CCD TIMING (continued)
DescriptionNotes
VCCS Pedestal TimeT
Photodiode Transfer TimeTV
Photodiode DelayT
Photodiode Frame DelayT
Photodiode Transfer PeriodT3PT
Shutter Pulse SetupT
Shutter Pulse TimeT
Shutter Pulse DelayT
PCI−1424 Timing Conditions
Table 8. PCI−1424 TIMING
DescriptionSymbolTime
PIX PeriodT
FRAME TimeT
3P
3rd
3D
3FD
EL
S
SD
PIX
FRAME
EVBUM2277/D
Pixel
TimeSymbol
25.05 ms
12.30 ms
20.00 ms
85.50 ms
142.85 ms
1.50 ms
10.0 ms
1.50 ms
50.0 ns120 MHz Clocking of DATACLK Sync Signal
127.2 ms2,544,117T
Counts
501
246V2 3rd Level
400
1710Delay before 1st Line Transfer
2857T
30
200
30
Pixel
Counts
FRAME
3PT
= T
= T3P + T
* ((V
PIX
V3rd
Notes
period
+ T3D + T
+ H
PIX
) * V
3FD
PIX
+ T
3PT
)
MODES OF OPERATION
The following modes of operation are available to the
user:
Electronic Shutter Modes
The Evaluation Board electronic shutter circuitry
provides a method of precisely controlling the image
exposure time without any mechanical components. Charge
may be cleared from the CCD photodiodes at some time
during the readout of the previous frame. This allows
integration times of less than one frame time, to compensate
for high light exposures that would otherwise saturate the
CCD.
In Free-Running Mode, the default integration time can be
set from 1× to 1/8× frame time via the digital inputs
DIO[11..7] (See Table 14 and Table 25). When changing the
POWER-ON/BOARD RESET INITIALIZATION
When the board is powered up, the Board Reset button is
pressed, or the Remote Rest (DIO14) is toggled, the Altera
PLD is internally reset. When this occurs, state machines in
the PLD will first serially load the initial default values into
the AFE registers, then will load the KSC−1000 frame
tables, line tables, and registers.
Upon completion, the KSC−1000 will be ready to proceed
according to its programmed configuration. In the
background, the Altera PLD monitors the activity of the
integration time, the user must initiate a Board Reset for the
change to take effect, either by pressing the
BOARD_RESET button (S1) on the Timing Board, or by
setting and resetting the Remote Reset (DIO14) input.
Black Clamp Mode
One of the features of the AD9845A AFE chip is an
optical black clamp. The black clamp (CLPOB) is asserted
during the CCD’ s dark pixels and is used to remove residual
offsets in the signal chain, and to track low frequency
variations in the CCD’s black level. The location of these
pulses is fixed in the default KSC−1000 settings, but can be
adjusted dynamically through the 3-wire serial interface.
The default settings are shown in Table 11.
3-wire Serial Interface, and monitors and interacts with the
KSC−1000.
AFE Register Default Settings
On power-up or board reset, the AFE registers are
programmed to the default levels shown in T able 9. See the
AD9845A specifications (References
) for details of the
AFE registers.
http://onsemi.com
6
EVBUM2277/D
Table 9. DEFAULT AD9845A AFE REGISTER PROGRAMMING
Register
Address
0Operation128
1VGA Gain
2Clamp96The Output of the AD9845A will be Clamped to Code 96 during the CLPOB Period
3Control8CDS Gain Enabled
4, 5, 6, 7PXGA Gain43Corresponds to a PXGA Stage Gain of 0.0 dB
Description
(KAI−2093)
Value
(decimal)
340Corresponds to a VGA Stage Gain of 9.9 dB
Notes
KSC−1000 Timing Generator Default Settings
On power-up or board reset, The KSC−1000 is
programmed to the default settings as detailed in Table 10
through Table 24. See the KSC−1000 Device Specification
(References
) for details of the KSC−1000 registers.
Register 0: Frame Table Pointer
Register 0 contains the Frame Table Pointer, which
instructs the KSC−1000 to perform the timing sequence
defined in that table. Frame Table 0 is used for Free-Running
Single Channel and Dual Channel modes, and Frame
Table 1 is used for Single Channel 2×2 Binning mode.
The default setting depends on the position of SW2.
The default settings written to Register 1 depend on the
position of SW0 on the Timing Board, used to select
between 1-channel and 2-channel operation.
Table 11. REGISTER 1 DEFAULT SETTING
Register Entry
Pixels Per Line[0..12]20161008
Line Valid Pixel Start[0..12]99
Line Valid Pixel Quadrature Start[0..1]00
Line Valid Pixel End[0..12]20041007
CLPOB1_Pix_Start[0..12]19821000
CLPOB1_Pix_End[0..12]19921004
CLPOB2_Pix_Start[0..12]00
CLPOB2_Pix_End[0..12]00
CLPDM1_Pix_Start[0..12]622
CLPDM1_Pix_End[0..12]1630
CLPDM2_Pix_Start[0..12]00
CLPDM2_Pix_End[0..12]00
PBLK_Pix_Start[0..12]20021001
PBLK_Pix_End[0..12]11
RG_Enable11
H6_Enable00
H4_Enable11
H5_ Enable00
SH2_Enable11
SH4_Enable11
Data (1-channel)Data (2-channel)
http://onsemi.com
7
EVBUM2277/D
Table 11. REGISTER 1 DEFAULT SETTING (continued)
Register EntryData (2-channel)Data (1-channel)
DATACLK1_Enable11
DATACLK2_Enable11
PIXCLK_Enable11
H3_Enable11
H1_Enable11
H2_Enable11
SH1_Enable11
SH3_Enable11
H6 24 mA Output Enable00
H4 24 mA Output Enable00
H5 24 mA Output Enable00
RG 24 mA Output Enable00
SH2 24 mA Output Enable00
SH4 24 mA Output Enable00
DATACLK1 24 mA Output Enable00
DATACLK2 24 mA Output Enable00
H3 24 mA Output Enable00
H1 24 mA Output Enable00
H2 24 mA Output Enable00
SH1 24 mA Output Enable00
SH3 24 mA Output Enable00
DLL Frequency Range Select88
Register 2: General Control
Register 2 controls the Power Management and
Operation state of the KSC−1000. The Low Power Mode is
not used on the KAI−2093, so this bit is always LOW.
The Memory Table Mod e b i t i s u s e d t o halt execution of the
KSC−1000 timing sequences and to enable programming of
Table 12. REGISTER 2 SETTINGS
Register EntryProgram ModeExecution Mode
Low Power Enable00
Memory Table Mode01
Register 3: INTG_START Setup
The default settings written to Register 3 establish the
setup, pulsewidth, and hold timing of the Electronic Shutter
pulse. The Shutter Pulse may occur on a particular line, as
controlled by Register 4, or may be asserted by setting the
Table 13. REGISTER 3 DEFAULT SETTING
Register EntryData
Electronic Shutter Setup Clocks[0..9]30
Electronic Shutter Pulse Width[0..9]200
Electronic Shutter Hold Clocks[0..9]30
the registers. The KSC−1000 Initialization sequence begins
with setting the Memory Table Mode bit in Register 2 to
Program Mode, and ends by setting the bit to Execution
Mode. See the KSC−1000 Device Specification
(References
) for more details.
“Force INTG_STRT ” bit in the Frame Table (Register 8). In
either case, the Electronic Shutter Pulse occurs before the
vertical clocking interval of the Frame Table entry
(Figure 12).
http://onsemi.com
8
EVBUM2277/D
Register 4: INTG_START Line
Short integration times may be controlled through use of
the Electronic Shutter. The default setting written to
Register 4 controls the line number on which the Electronic
Shutter will occur . The DIO[11..7] inputs are used to control
the Integration time, by selecting pre-programmed line
numbers, as shown in Table 14.
In Free-Running Mode, the Electronic Shutter pulse
occurs during the previous frame readout. The line number
values are chosen to allow integration times adjustable in
increments of one-eighth the Frame or Flush time.
If the line number is greater than the number of lines
specified in a Frame Table (Register 8), the Electronic
Shutter will not occur. This is the method used to turn the
Shutter off ; i n t h i s c ase, the integration time is controlled by
a counter in the Altera PLD (See Table 25).
Integrate Start Pulse Line Number[0..12]
Free-Running Mode
Register 5: Signal Polarity
The default settings written to Register 5 depend on the
position of SW0 on the Timing Board, used to select
between 1-channel and 2-channel operation.
Table 15. REGISTER 5 DEFAULT SETTING
Register Entry1-channel2-channelEvaluation Board Signal Name
The default settings written to Register 6 depend on the
position of SW0 on the Timing Board, used to select
between 1-channel and 2-channel operation.
The default settings written to Register 7 depend on the
position of SW0 on the Timing Board, used to select
between 1-Channel and 2-Channel operation.
Several Frame Tables are written by default to the
KSC−1000 Frame T able registers, but only one Frame Table
is active at one time, as determined by the Frame Table
Pointer (Register 0). Frame Table 0 is used for
Free-Running Single Channel and Dual Channel modes, and
Table 18. FRAME TABLE 0 DEFAULT SETTING
Bit LocationFrame Table Data
0Check and Increment Line Counter1000
1Clear Line Counter0111
2Force INTG_STRT0000
Frame Table 1 is used for Single Channel 2×2 Binning
mode. Note that the last row in Table 18 and Table 19 are the
mnemonics associated with the Flag, Count, and Address
bits. See the KSC−1000 Device Specification (References
for more details.
There are five Line Tables written by default to the
KSC−1000 Line T able registers. Line Table 0 is the normal
Line Transfer sequence. See Figure 4.
Table 20. LINE TABLE 0 DEFAULT SETTING
CCD SignalLine Table Data Name
FDGV60000000
V1V40010000
V2V30111000
V3RDV10000000
Frame Table Data
Frame Table Data
Count[0..12]133023010
HCLK_H Enable0000010
V50000000
V20000000
FT1 Entry
3210
LT0 Entry
0123456
Line T able 1 is the normal Photodiode Transfer sequence
that transfers charge from all the photodiodes to the vertical
registers. See Figure 5.
Table 21. LINE TABLE 1 DEFAULT SETTING
CCD Signal
FDGV600000000
V1V400010000
V2V301111100
V3RDV100111000
Line Table Data Name
Count[0..12]15006240140013100
HCLK_H Enable00000000
V500000000
V200000000
01234567
http://onsemi.com
LT1 Entry
12
EVBUM2277/D
Line Table 2 is the Integration sequence. The vertical
clocks are not active, and the Horizontal register is
continually flushed of charge. See Figure 6.
Table 22. LINE TABLE 2 DEFAULT SETTING
CCD SignalLine Table Data Name
Count[0..12]10
HCLK_H Enable10
FDGV600
V500
V1V400
V2V300
V200
V3RDV100
LT2 Entry
01
Line Table 3 is the Binning Mode Line Transfer sequence.
Two V1 and V2 pulses occur during each Vertical clocking
interval, followed by Horizontal Register readout. See
Figure 7.
Table 23. LINE TABLE 3 DEFAULT SETTING
LT3 Entry
CCD SignalLine Table Data Name
Count[0..12]11301301301300
HCLK_H Enable0000000010
FDGV60000000000
V50000000000
V1V40010001000
V2V30111011100
V20000000000
V3RDV10000000000
0123456789
Line Table 4 is an Integration sequence. Neither the
Vertical clocks nor the Horizontal clocks are active. See
Figure 8.
Table 24. LINE TABLE 4 DEFAULT SETTING
LT4 Entry
CCD SignalLine Table Data Name
Count[0..12]10
HCLK_H Enable00
FDGV600
V500
V1V400
V2V300
V200
V3RDV100
01
http://onsemi.com
13
EVBUM2277/D
KAI−2093 TIMING
Line Table 0 (Line Transfer)
Line Table 0 is the Line Transfer timing sequence that
transfers one entire row of charge toward the horizontal
register. V1 and V2 are asserted, with overlap adjustability
to compensate for the clock driver rise and fall times. Charge
VMID
V1_CCD
VLOW
is moved down the vertical CCD registers, and the last row
of charge is dumped into the horizontal register. The VCCD
clocking interval is followed by the Horizontal clocks,
which shift one line out through the output amplifier(s).
VMID
V2_CCD
HCLK_ENABLE
H1A_CCD
H2A_CCD
LT0 Entry
01235
13302130Pix Counts
Symbol
T
VD
T
VCCD
Figure 4. Line Table 0 Default Timing
Line Table 1 (Diode Transfer)
Line Table 1 is the Photodiode Transfer timing, in which
the V2 clock 3
HCLK_ENABLE
rd
-level shifts charge from all the photodiodes
V1_CCD
V2_CCD
VLOW
VHIGH
(not to scale)
VLOW
4
T
HD
into the vertical CCD registers. The V1 and V2 clocks have
overlap adjustability to compensate for the clock driver rise
and fall times.
VMID
VMID
VLOW
H1A_CCD
H2A_CCD
LT1 Entry
0123456
1500624014001310Pix Counts
Symbol
T
3P
T
V3rd
(not to scale)
T
Figure 5. Line Table 1 Default Timing
http://onsemi.com
14
3D
T
3FD
EVBUM2277/D
Line Table 2 (Integration)
Line Table 2 is the Integration timing sequence, during
which the Vertical clocks are inactive and the Horizontal
V1_CCD
(Vclks not active)
V2_CCD
HCLK_ENABLE
H1A_CCD
H2A_CCD
LT2 Entry
Pix Counts
(not to scale)
Figure 6. Line Table 2 Default Timing
Line Table 3 (Binning Mode Line Transfer)
Line Table 3 is the Binning Mode Line Transfer sequence,
during which the Vertical clocks are asserted twice per line.
VMID
V1_CCD
V2_CCD
VLOW
VLOW
clocks are running continuously. This sequence runs until
Integration is complete, signaled by the assertion of the
VD_TG signal from the Altera PLD.
VMID
VLOW
0
1
This effectively sums two pixels’ worth of charge into each
Horizontal CCD pixel. After the binning line transfer,
the Horizontal clocks are run in Binning Mode.
VMID
HCLK_ENABLE
H1A_CCD
H2A_CCD
LT3 Entry
Pix Counts
Symbol
01238
113013030
T
H
T
VCCD
45
301
T
VCCD
(not to scale)
Figure 7. Line Table 3 Default Timing
Line Table 4 (Trigger Hold)
Line T able4 is a sequence one pixel time in length, used
when the KSC−1000 is waiting to be triggered by the Altera
V1_CCD
V2_CCD
HCLK_ENABLE
H1A_CCD
H2A_CCD
LT4 Entry
Pix Counts
(Vclks not active)
(Hclks not active)
(not to scale)
6
7
1
T
VCCD
T
HD
PLD. Neither the Vertical clocks nor the Horizontal Clocks
are active during this sequence.
VMID
VLOW
(LOW)
HMID
HLOW
0
1
Figure 8. Line Table 4 Default Timing
http://onsemi.com
15
EVBUM2277/D
Frame Table 0 Sequence
Frame Table 0 contains the Free-Running (video mode)
timing sequence used to continuously read out all rows of the
CCD. The sequence begins with the Line Transfer sequence,
followed by the Timed Integration sequence. When
Altera PLDKSC−1000TG
State Machine SequenceFrame Table 0 Sequence
integration is complete, the Altera PLD asserts the VD_TG
signal to the KSC−1000. This initiates the Photodiode
transfer, and the cycle repeats with the next Line Transfer
sequence.
V_TRANSFER
TIMED_
INTEGRATION
DIODE_
TRANSFER
Wait for
FRAME_VALID
(falling edge)
Yes
DIO[11..7] =
{1,2,...7}?
No
Set INTEGRATE
Wait for INT ctr
Issue VD_TG
Reset INTEGRATE
Wait for FRAME_VALID
(rising edge)
Set INTEGRATE
on INTG_START
(falling edge)
FRAME_VALID
INTG_START
VD_TG
Shutter?
INTG_START
FRAME_VALID
Issue
Jump to FT0 Entry 0
Execute LT0
(LINE XFR)
Count = 1214
Execute LT5
Wait for VD_TG
Execute LT1
(DIODE XFR)
Count = 1
Count = 1
ENTRY 0
ENTRY 1
ENTRY 2
ENTRY 3
Figure 9. Free-Running Mode Timing Sequence
http://onsemi.com
16
V1_CCD
V2_CCD
H1A_CCD
H2A_CCD
CLPOB1
PBLK
INTEGRATE
VD_TG
FRAME_VALID
LINE_VALID
EVBUM2277/D
FT0 Entry
Line Table
Counts
PLD STATE
0
0
1104
V_TRANSFER
(not to scale)
Figure 10. Frame Table 0 Default Timing
Frame Table 1 Sequence
Frame Table 1 contains the 2×2 Binning Mode timing
sequence used to sum the charge collected in four photosites
into one CCD pixel. The sequence is identical to that of
V1_CCD
V2_CCD
H1A_CCD
H2A_CCD
CLPOB1
PBLK
INTEGRATE
VD_TG
FRAME_VALID
LINE_VALID
1
4
x
TIMED_INTEGRATION
2
1
1
DIODE_TRANSFER
Frame Table 0, except that the Vertical Clocks are asserted
twice per line, which dumps charge from two vertical CCD
pixels into each Horizontal register CCD pixel.
FT1 Entry
Line Table
Counts
PLD STATE
Electronic Shutter Timing
The electronic shutter timing is controlled by the values in
Register 3 of the KSC−1000. There are two methods of
actuating the Electronic Shutter pulse: by setting the
Integrate Start Pulse Line Number value in Register 4 so
that the pulse occurs on a specific line, or by setting the
Force INTG_START bit in a Frame Table entry. In either
case, the Electronic Shutter pulse setup, width, and hold
times are determined by the values in Register 3. The shutter
0
0
610
V_TRANSFER
(not to scale)
1
5
x
TIMED_INTEGRATION
Figure 11. Frame Table 1 Default Timing
sequence is inserted before the specified line, causing that
particular line time to be extended accordingly.
If the Integrate Start Pulse Line Number value in
Register 4 is set to 0, the Electronic Shutter will occur
immediately following the Diode Transfer sequence, before
the first line is read out. If the Integrate Start Pulse LineNumber value is greater than the number of vertical lines in
the Frame T able, there will be no Electronic Shutter. This is
the method used to disable the Electronic Shutter.
http://onsemi.com
17
2
1
1
DIODE_TRANSFER
V1_CCD
V2_CCD
EVBUM2277/D
VSUB
H1A_CCD
H2A_CCD
Reg3 Entry
setupwidthhold
3020030Pix Counts
(not to scale)
Figure 12. Electronic Shutter Timing
Horizontal Timing
Figure 13 depicts the basic theoretical relationship
between the pixel-rate clocks to the CCD, the Video output
of the CCD, and the pixel-rate clocks to the AFE.
Vpix
VOUT_CCD
RESET_CCD
H2A_CCD
Vsat
Start of Integration
(Line Table 0)
Tr
Tpix
H1A_CCD
SHP
SHD
DATACLK
Figure 13. Horizontal Timing
Binning Mode Horizontal Timing
In order to sum the charge from two Horizontal CCD
pixels into one, the Reset clock is suspended on alternating
Horizontal clock cycles. In this way, two pixels of charge are
dumped onto the floating diffusion of the output amplifier
before this node is reset to VRD, the Reset Drain voltage.
See the KAI−2093 Device Specification (References
) for
further details.
In order to correctly convert the output amplifier voltage
to digital data, the AFE clocks must be adjusted accordingly.
The Clamp pulse (SHP) samples the output after the Reset
pulse has been issued, but before the Horizontal clocks have
Tshp
Tshd
moved charge onto the floating diffusion. The Sample pulse
(SHD) samples the output after two Horizontal clock cycles
have moved two charge packets onto the floating diffusion.
The DATACLK then clocks the AFE to perform the
conversion.
The KSC−1000 has the capability of implementing the
Horizontal Timing necessary to bin up to four pixels. This
feature is controlled by setting bits 3:4 of the active Frame
Table (Register 8) in the KSC−1000. Figure 14 depicts the
basic theoretical relationship between the pixel-rate clocks
to the CCD, the Video output of the CCD, and the pixel-rate
clocks to the AFE in 2× Horizontal Binning Mode.
http://onsemi.com
18
EVBUM2277/D
The Altera PLD default KSC−1000 settings contain 2×2
Binning Mode timing in Frame Table 2 (See Figure 11). In
order to activate the 2×2 Binning Mode, the Frame Table
VOUT_CCD
Tr
RESET_CCD
H2A_CCD
Tpix
H1A_CCD
SHP
SHD
DATACLK
Figure 14. Binning Mode Horizontal Timing
Pointer (Register 0) must be changed to a value of 2. This is
done by setting SW2 HIGH and pressing the
BOARD_RESET button (S1 on the Timing Board).
Tshp
Tshd
Integration & Shutter Timing
Free-Running Mode
The default Integration Time in Free-Running Mode is
approximately one Frame Time, or the time between Frame
Transfers, during which the photodiodes are collecting
charge (Figure 16). This time may be decreased by use of the
Electronic Shutter (Figure 17), and may be increased by
lengthening the Frame Time (Figure 18). The user may
control the Integration Time through the DIO connector bits
DIO[11..7]. This connector is optional, and when
disconnected, all bits are pulled LOW. The available
pre-programmed Integration Times are detailed in Table 25.
The Electronic Shutter is controlled by changing the
Integrate Start Pulse Line Number value of the KSC−1000
Register 4. The Altera PLD has 8 pre-programmed Shutter
settings, controlled through the DIO[11..7] bits, as shown in
Table14 and Table 25. These settings result in Integration
times of one Frame T ime or less, in increments of 1/8 of the
Frame T ime (See Figure 17). When the Integrate Start Pulse
Line Number value is set to 2040, the Shutter is never
pulsed, as this value exceeds the number of lines in a frame
(Figure 16 and Figure 18). Either the BOARD_RESET
switch must be pressed, or the Remote Reset (DIO14) must
be toggled, after changing the DIO[11..7] bits in order for the
change to the KSC−1000 to take effect.
The Integration time is controlled by the Altera PLD. In
Free-Running mode, the KSC−1000 waits for a trigger
signal (VD_TG) before beginning the Diode Transfer
sequence (See Figure 16). The Altera PLD issues this trigger
pulse when the Integration Counter has reached
a pre-programmed value, as shown in Table 25. The
Integration counter is clocked by an internally-generated
1 ms clock. The default value of 0 means that the VD_TG
trigger is issued on the next rising edge of the 1 ms clock
after the frame readout is complete. A value greater than 0
adds that many milliseconds to the Integration Time,
allowing Integration times greater than 8 seconds
(Figure 18).
109660.014
208280.029
306900.043
405520.057
504140.072
602760.086
701380.101
812040 (No Shutter)0.116
932040 (No Shutter)0.118
1052040 (No Shutter)0.120
11102040 (No Shutter)0.125
12252040 (No Shutter)0.140
13502040 (No Shutter)0.165
14702040 (No Shutter)0.185
151002040 (No Shutter)0.215
162002040 (No Shutter)0.315
173002040 (No Shutter)0.415
184002040 (No Shutter)0.515
195002040 (No Shutter)0.615
206002040 (No Shutter)0.715
217002040 (No Shutter)0.815
228002040 (No Shutter)0.915
239002040 (No Shutter)1.015
2410002040 (No Shutter)1.115
2520002040 (No Shutter)2.115
2630002040 (No Shutter)3.115
2740002040 (No Shutter)4.115
2850002040 (No Shutter)5.115
2960002040 (No Shutter)6.115
3070002040 (No Shutter)7.115
3180002040 (No Shutter)8.115
The entire video signal path through the Imager Board and
Timing Board is represented in Figure 19. The individual
blocks are discussed in the Imager Board User Manual and
the Timing Board User Manual.
The hardware gain for the entire pre-AFE signal path can
be calculated by multiplying the gains of the individual
stages:
0.96 1.25 0.5 1.25 + 0.75
+15V
VOUT_CCD
CCD
Emitter−Follower
Av = ~0.96
+5V
−
+
−5V
Op−Amp Buffer
Av = 1.25
(eq. 1)
The gain of the hardware signal path is designed so that the
saturation output voltage of the KAI−2093 CCD will not
overload the AFE input. The AFE default PXGA gain is set
at 1.0 (0.0 dB), and the default VGA gain is set to maximize
the dynamic range of the AFE (See Table 9 and References
Timing BoardImager Board
+5V
Coax Cable
(75ohm, terminated)
Av = 0.5
−
+
−5V
Op−Amp Buffer
Av = 1.25
Analog
Front End
AFE (2-stage
prog. gain)
Digital
Out
).
Figure 19. Video Signal Path Block Diagram
WARNINGS AND ADVISORIES
When programming the T iming Board, the Imager Board
must be disconnected from the Timing Board before power
is applied. If the imager Board is connected to the Timing
Board during the reprogramming of the Altera PLD, damage
to the Imager Board will occur.
Purchasers of a O NSemiconductor Evaluation Board Kit
may, at their discretion, make changes to the Timing
ORDERING INFORMATION
Please address all inquiries and purchase orders to:
Truesense Imaging, Inc.
1964 Lake Avenue
Rochester, New York 14615
Phone: (585) 784−5500
E-mail: info@truesenseimaging.com
Generator Board firmware. ON Semiconductor can only
support firmware developed by, and supplied by, Truesense
Imaging. Changes to the firmware are at the risk of the
customer.
ON Semiconductor reserves the right to change any
information contained herein without notice. All
information furnished by ON Semiconductor is believed to
be accurate.
ON Semiconductor and the are registered trademarks of Semiconductor Components Industries, LLC (SCILLC) or its subsidiaries in the United States and/or other countries.
SCILLC owns the rights to a number of patents, trademarks, copyrights, trade secrets, and other intellectual property. A listing of SCILLC’s product/patent coverage may be accessed
at www.onsemi.com/site/pdf/ Patent− Marking.pdf . S CILLC reserves t he right to m ake changes wit hout further notice to any products h erein. SCILLC makes no warranty, representation
or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability arising out of the application or use of any product or circuit, and
specifically disclaims any and all liability, including without limitation special, consequential or incidental damages. “Typical” parameters which may be provided in SCILLC data sheets
and/or specifications can and do vary in different applications and actual performance may vary over time. All operating parameters, including “Typicals” must be validated for each
customer application by customer’s technical e xperts. SCILLC does not convey any license u nder its patent rights nor the rights of others. SCILLC p roducts a re n ot d esigned, i ntended,
or authorized for use as components in systems intended for surgic al i mplant into the body, or other applications intended t o s upport o r s ust ain life, or for any other application in which
the failure of the SCILLC product could create a situation where personal injury or death may occur. Should Buyer purchase or use SCILLC products for any such unintended or
unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, em ployees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and
expenses, and reasonable at torney f ees a r ising o ut o f, d irectly o r indirectly, any claim o f personal injury or death associated w ith s uch u nintended o r u nauthorized u se, e ven if such claim
alleges that SCILLC was negligent r egarding the design o r manuf acture o f t he p art. SCILLC is a n E qual O pportunity/Af firmative Ac tion Employer. This literature is subject to all a pplicable
copyright laws and is not for resale in any manner.
UBLICATION ORDERING INFORMATION
LITERATURE FULFILLMENT:
Literature Distribution Center for ON Semiconductor
P.O. Box 5163, Denver, Colorado 80217 USA
Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada
Fax: 303−675−2176 or 800−344−3867Toll Free USA/Canada
Email: orderlit@onsemi.com
N. American Technical Support: 800−282−9855 Toll Free
USA/Canada
Europe, Middle East and Africa Technical Support:
Phone: 421 33 790 2910
Japan Customer Focus Center
Phone: 81−3−5817−1050
http://onsemi.com
25
ON Semiconductor Website: www.onsemi.com
Order Literature: http://www.onsemi.com/orderlit
For additional information, please contact your loc
Sales Representative
EVBUM2277/D
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.