SenTech STC-CL500E, STC-CLC500E User Manual

No.11S031-03
1
STC-CL500E/CLC500E Users guide Rev. 1.3
Small Cubic Type
5.0 Mega pixels CCD Color / Monochrome Camera Link Camera
STC-CL500E STC-CLC500E
Users guide
Sensor Technology Co., Ltd
No.11S031-03
2
STC-CL500E/CLC500E Users guide Rev. 1.3
Revisions
Rev
Date Changes Note
1.0 2011/03/03 New document
1.1 2011/03/28 Update
2.1.2.3 1/2 partial scanning (Change the timing)
2.2.2.3 Binning 1/2 partial scanning (Change the timing)
1.2 2011/05/10 Update
2.4 The 2 taps transferring image
1.3 2011/09/22 Update
2.1.2.3 1/2 partial scanning (Revise clock and frame rate)
2.2.2.3 Binning 1/2 partial scanning (Revise clock and frame rate)
No.11S031-03
3
STC-CL500E/CLC500E Users guide Rev. 1.3
Contents
1 The connector specifications......................................................................................................................................... 5
1.1 Pin assignment...........................................................................................................................................................5
1.2 The signals of the power/IO connector....................................................................................................................... 6
1.3 The equivalent circuit for the input pin of the power/IO connector.............................................................................6
2 The camera output timing charts................................................................................................................................... 7
2.1 Normal mode (Setting: address: 10H, value: 1XX0XXXX).........................................................................................7
2.1.1 The horizontal timing...........................................................................................................................................7
2.1.2 The vertical timings .............................................................................................................................................8
2.1.2.1 Normal full scanning ....................................................................................................................................8
2.1.2.2 Partial full scanning......................................................................................................................................8
2.1.2.3 1/2 partial scanning......................................................................................................................................9
2.1.2.4 1/4 partial scanning......................................................................................................................................9
2.1.2.5 Variable partial scanning............................................................................................................................10
2.2 Binning mode (Setting: address: 10H, value: 1XX1XXXX) .......................................................................................11
2.2.1 The horizontal timing..........................................................................................................................................11
2.2.2 The vertical timings ...........................................................................................................................................12
2.2.2.1 Binning full scanning..................................................................................................................................12
2.2.2.2 Binning partial scanning.............................................................................................................................12
2.2.2.3 Binning 1/2 partial scanning.......................................................................................................................13
2.2.2.4 Binning 1/4 partial scanning.......................................................................................................................13
2.3 The data order of the CameraLink output ................................................................................................................14
2.4 The 2 taps transferring image...................................................................................................................................15
3 Camera function modes................................................................................................................................................16
3.1 Normal mode............................................................................................................................................................16
3.1.1 Normal mode (Frame exposure).......................................................................................................................16
3.1.2 Normal mode (Electronic shutter) .....................................................................................................................16
3.2 Pulse width trigger mode..........................................................................................................................................17
3.2.1 Pulse width trigger mode (V-Reset) ..................................................................................................................17
3.2.2 Pulse width trigger mode (Non-Reset)..............................................................................................................18
3.2.3 Pulse width trigger mode (Exposure timing) .....................................................................................................18
3.3 Edge preset trigger mode.........................................................................................................................................19
3.3.1 Edge preset trigger mode (V-Reset) .................................................................................................................19
3.3.2 Edge preset trigger mode (Non-Reset).............................................................................................................20
3.3.3 Edge preset trigger mode (Exposure timing) ....................................................................................................20
3.4 H reset mode............................................................................................................................................................21
4 The communication protocol specifications..............................................................................................................22
4.1 The communication method.....................................................................................................................................22
4.2 The communication settings..................................................................................................................................... 22
4.3 The communication format.......................................................................................................................................23
4.4 The camera control commands................................................................................................................................25
4.4.1 The camera commands list...............................................................................................................................25
4.4.2 Description of the camera control commands...................................................................................................26
4.4.3 Sequence for the command saves to the EEPROM.........................................................................................31
No.11S031-03
4
STC-CL500E/CLC500E Users guide Rev. 1.3
This document is the connectivity and operation users guide for STC-CL500E/CLC500E.
No.11S031-03
5
STC-CL500E/CLC500E Users guide Rev. 1.3
1 The connector specifications
A. Camera Link connector: SDR (3M) or equivalent
Caution: This product is not PoCL type. Only apply 12Vdc power through the power/IO connector.
B. Power/IO connector: HR10A-7R-6PB (Hirose) or equivalent
This connector is for a 12Vdc power input and the input and output signals. Trigger input signal can be assigned through the camera setting communication.
1.1 Pin assignment
A. Camera Link Connector
B. Power/IO Connector
Notes:
Trigger input signal can be assigned either on Camera Link connector (CC1) or on the No. 2 pin of the power/IO connector through the camera setting communication.
Pin No.
Signal name Pin No.
Signal name
1 GND
14
GND
2 X0-
15
X0+
3 X1-
16
X1+
4 X2-
17
X2+
5 Xclk-
18
Xclk+
6 X3-
19
X3+
7 SerTC+
20
SerTC-
8 SerTFG-
21
SerTFG+
9 CC1- (TRG)
22
CC1+ (TRG)
10 CC2+
23
CC2-
11 CC3-
24
CC3+
12 CC4+
25
CC4-
13 GND
26
GND
Low voltage
High voltage
1 GND IN 2 I/O-1 IN/OUT IN 0 to +0.99V
+2.3 to +3.3V
OUT 0V +3.3V
3 I/O-2 IN/OUT IN 0 to +0.99V
+2.3 to +3.3V
OUT 0V +3.3V
4 I/O-3 IN/OUT IN 0 to +0.99V
+2.3 to +3.3V
OUT 0V +3.3V 5 TRG OUT OUT OUT 0V +3.3V 6 +12Vdc IN
0V
+12Vdc
Pin No. Signal name IN/OUT Voltage
No.11S031-03
6
STC-CL500E/CLC500E Users guide Rev. 1.3
1.2 The signals of the power/IO connector
The input and output signals of the power/IO connector can be change through the camera setting communication.
The input and output signals of the power/IO connector can be change through the camera setting communication.
Note.1: Please change “F0H” address data of the register when change the signals of the power/IO connector.
Please change “C0H” address data of the EEPROM when save the signals of the power/IO connector setting. “F0H” address data could not save to the EEPROM.
Note.2: Output trigger signal has below delay from the trigger signal input:
30CLK (Approximately 470 useconds)
Note.3: Please change “12H.5” when use the trigger signal input from the power/IO connector.
Note.4: The exposure time is “High” while the camera exposures.
1.3 The equivalent circuit for the input pin of the power/IO connector
+3.3V +3.3V
TC7WH241FK
TOSHIBA
TRIGGER IN
10kohm
100ohm
On resister Max. = 30ohm
F0H.3-0 setting
Pin No.2
Pin No.3
Pin No.4
Pin No.5
(SP4)
(SP3)
(SP2)
(SP1)
0 Trigger signal No function No function Trigger signal
This is for when the system requires
input
output
trigger signal output
1
This is for the factory test
DO NOT USE this
2
CC4 output
CC3 output
CC2 output
CC1 output
This is for checking the status of CC1 to 4
3
FVAL signal
SG signal
SUB signal
CC1 output
This is for when the system requires
output
output
output
the exposure time
MSB
4
FVAL signal
LVAL signal
Right image
Left image
This is for checking the difference of
output
output
signal
signal
the image signal and signals
MSB) output
MSB) output
5
Positive
Exposure time
Trigger signal
CC1 output
This is for when the system required
HD signal
output
the exposure time
output
6
VD signal
No function
No function
HD signal
This is for when system requires
output
output
HD / VD signal output
7
This is for the factory test
DO NOT USE this
The signals 5
The signals 6
The signals 7
The signals 8
The signals 1 (Factory default setting)
The signals 2
The signals 3
The signals 4
No.11S031-03
7
STC-CL500E/CLC500E Users guide Rev. 1.3
2 The camera output timing charts
2.1 Normal mode (Setting: address: 10H, value: 1XX0XXXX)
2.1.1 The horizontal timing
1 CLK = 23.4378 nseconds (42.666 MHz)
72 CLK1224 CLK
Video out
LVAL
DVAL
Horizontal blanking
1296 CLK
One horizontal (1H)
1224 CLK72 CLK
72 CLK
Video output active term
Horizontal blanking
72 CLK
52 CLK
FVAL
20 CLK
No.11S031-03
8
STC-CL500E/CLC500E Users guide Rev. 1.3
2.1.2 The vertical timings
2.1.2.1 Normal full scanning
(Settings: address: 10H, value: 1XX00XXX; address: 11H, value: XXX0X000)
1 H = 30.375 µseconds, 15.835 Hz
2.1.2.2 Partial full scanning
(Settings: address: 10H, value: 1XX01XXX; address: 11H, value: XXX0X000)
1 H = 30.375 µseconds, 15.935 Hz
Video out
FVAL
2066H
One vertical (1V)
2058H8H
2058H8H
Video output active term
1
2
2057
2058
8H
Vertical
blanking
Vertical
blanking
8H
LVAL
DVAL
Video out
FVAL
2079H
One vertical (1V)
2058H21H
2058H21H
Video output active term
1
2
2057
2058
21H
Vertical
blanking
Vertical
blanking
21H
LVAL
DVAL
No.11S031-03
9
STC-CL500E/CLC500E Users guide Rev. 1.3
2.1.2.3 1/2 partial scanning
(Settings: address: 10H, value: 1XX01XXX; address: 11H, value: XXX0X001)
1 H = 30.375 μseconds, 31.686 Hz
2.1.2.4 1/4 partial scanning
(Settings: address: 10H, value: 1XX01XXX; address: 11H, value: XXX0X010)
1 H = 30.375 µseconds, 63.311 Hz
128H
Video out
Vertical blanking
5
2
0
H
One vertical (1V)
128H
392
H
392H
Video output active term
1015
1016
889
890
FVAL
392H
392
H
Vertical blanking
LVAL
DVAL
768H
Video out
Vertical blanking
1039H
One vertical (1V)
271H271H
Video output active term
1359
1360
593
594
FVAL
768H271H
Vertical blanking
271
H
LVAL DVAL
No.11S031-03
10
STC-CL500E/CLC500E Users guide Rev. 1.3
2.1.2.5 Variable partial scanning
(Settings: address: 10H, value: 1XX01XXX; address: 11H, value: XXX0X111)
Internal HD
Internal VD
Video out
EXT_TRIG
FIX_TRIG
(Common)
10 20 30 40 50
Exposure time
V1
V2
V3
SUB
FVAL
DVAL
LVAL
Number of the
effective lines [Y]
High speed
transfer X+a
High speed transfer f+g-X-Y
Blanking (Front)
[BLK_F]
Number of the effective lines [Y]
Total number of the line at 1 frame [TOTAL_LINE]
Blanking (Back)
[BLK_B)
CCD effective
lines
Blanking (Front)
Effective lines
Optical black
+
Dummy bit
Blanking (Back)
Optical black
No.11S031-03
11
STC-CL500E/CLC500E Users guide Rev. 1.3
2.2 Binning mode (Setting: address: 10H, value: 1XX1XXXX)
2.2.1 The horizontal timing
1 CLK = 23.4378 nseconds (42.666 MHz)
72 CLK1224 CLK
Video out
LVAL
DVAL
Horizontal blanking
1296 CLK
One horizontal (1H)
1224 CLK72 CLK
72 CLK
Video output active term
Horizontal blanking
72 CLK
52 CLK
FVAL
20 CLK
No.11S031-03
12
STC-CL500E/CLC500E Users guide Rev. 1.3
2.2.2 The vertical timings
2.2.2.1 Binning full scanning
(Settings: address: 10H, value: 1XX10XXX; address: 11H, value: XXX0X000)
1 H = 30.375 µseconds, 31.686 Hz
2.2.2.2 Binning partial scanning
(Settings: address: 10H, value: 1XX11XXX; address: 11H, value: XXX0X000)
1 H = 30.375 µseconds, 31.747 Hz
Video out
1018H
Vertical
blanking
1039H
One vertical (1V)
1018H
21H
Video output active term
2042+2043
2044+2045
10+11
12+13
2
1
H
FVAL
21H
Vertical
blanking
21H
LVAL
DVAL
Video out
1029H
Vertical
blanking
1037H
One vertical (1V)
1029H
8H
Video output active term
2055+2056
2057+2058
3+4
1+2
8
H
FVAL
8
H
Vertical
blanking
8
H
LVAL
DVAL
No.11S031-03
13
STC-CL500E/CLC500E Users guide Rev. 1.3
2.2.2.3 Binning 1/2 partial scanning
(Settings: address: 10H, value: 1XX11XXX; address: 11H, value: XXX0X001)
1 H = 30.375 μseconds, 51.648 Hz
2.2.2.4 Binning 1/4 partial scanning
(Settings: address: 10H, value: 1XX11XXX; address: 11H, value: XX0X010)
1 H = 30.375 µseconds, 63.311 Hz
64H
Video out
Vertical blanking
5
2
0
H
One vertical (1V)
64H
456
H
456H
Video output active term
1013+1014
1015+1016
889+890
891+892
FVAL
456H
456
H
Vertical blanking
LVAL
DVAL
384H
Video out
Vertical blanking
650
H
One vertical (1V)
266H266H
Video output active term
1357+1358
1359+1360
593+594
595+596
FVAL
384H266H
Vertical blanking
266
H
LVAL
DVAL
No.11S031-03
14
STC-CL500E/CLC500E Users guide Rev. 1.3
2.3 The data order of the CameraLink output
DA0 to DA11: 12bit data for one pixel from the first tap DB0 to DB11: 12bit data for one pixel from the second tap
DA0 to DA9: 10bit data for one pixel from the first tap DB0 to DB9: 10bit data for one pixel from the second tap
DA0 to DA7: 8bit data for one pixel from the first tap DB0 to DB7: 8bit data for one pixel from the second tap
DA8 DA5 DA4 DA3 DA2 DA1 DA0
DA9DA10DA11DB8
DB10DB11
DB9DB0DB1
DB2DB3DB4DB5LVALFVALDVAL
SP DA6DA7DB6DB7
X0
X1
X2
X3
XCLK
DA1 DA0
DA9DA10
DB2DB3
DA6DA7
2TAP12bit
DA8 DA5 DA4 DA3 DA2 DA1 DA0
DA9DB8DB9DB0DB1 DB8DB9
DB2DB3DB4DB5LVALFVALDVAL
SP DA6DA7DB6DB7
X0
X1
X2
X3
XCLK
DA1 DA0
DA9
DB2DB3
DA6DA7
2TAP10bit
NC NC
NC NC
NC
DA5 DA4 DA3 DA2 DA1 DA0DB0
DB1DB2DB3DB4DB5
LVALFVALDVAL
SP DA6DA7DB6DB7
X0
X1
X2
X3
XCLK
DA1 DA0
DB1DB2
DA6DA7
2TAP8bit
NC
NC
NC NC
NC NC NC
NC
NCNC
No.11S031-03
15
STC-CL500E/CLC500E Users guide Rev. 1.3
2.4 The 2 taps transferring image
STC-CL500E (Monochrome type)
Pixeln of DataA: The transferring pixel from the first tap Pixeln of DataB: The transferring pixel from the second tap
n: The order number
STC-CLC500E (Color type)
Pixelmn of DataA: The transferring pixel from the first tap Pixelmn of DataB: The transferring pixel from the second tap
m: The line number n: The order number
Pixel1 of
DataA
Pixel2 of
DataB
Pixel1 of
DataB
Pixel2 of
DataA
Pixel11 of
DataA
Pixel12 of
DataB
Pixe11 of
DataB
Pixel12 of
DataA
Pixel21 of
DataA
Pixel21 of
DataB
Pixel22 of
DataB
Pixel22 of
DataA
No.11S031-03
16
STC-CL500E/CLC500E Users guide Rev. 1.3
3 Camera function modes
3.1 Normal mode
3.1.1 Normal mode (Frame exposure)
3.1.2 Normal mode (Electronic shutter)
Exposure ti me
Inter nal VD
CCD
exposure
Vi deo out
Exposure
t i me
I nt ernal VD
CCD
exposur e
Vi deo out
No.11S031-03
17
STC-CL500E/CLC500E Users guide Rev. 1.3
3.2 Pulse width trigger mode
In this trigger mode with positive polarity, the camera exposure starts at the rising edge of the trigger pulse and stops at the falling edge of the trigger pulse. Therefore, In the case of the exposure positive polarity is selected, the exposure periods are the high states of the trigger pulse.
3.2.1 Pulse width trigger mode (V-Reset)
Note.1: The camera does NOT switch to the normal mode when the long exposure mode is set Note.2: The video output is going to be V reset by the next internal HD signal immediate after the exposure is
finished.
Note.3: The exposure time sets by the pulse width of the trigger signal.
Exposure
time
Max. 1H
Sweep charges
Automatically switch to the normal
mode if the pulse width of the
trigger signal is more than
500 mseconds.
*Note. 1
Camera mode
Internal VD
CCD exposure
Trigger signal
(Positive
Video out
*Note. 2
*Note. 3
FVAL
Normal mode Trigger mode Normal mode
No.11S031-03
18
STC-CL500E/CLC500E Users guide Rev. 1.3
3.2.2 Pulse width trigger mode (Non-Reset)
Note.1: The camera does NOT switch to the normal mode when the long exposure mode is set. Note.2: The video output is going to be V reset by the internal VD signal after the exposure is finished. Note.3: The exposure time sets by the pulse width of the trigger signal. Note.4: FVAL signal does NOT output if NO exposure with the trigger signal while the trigger mode.
3.2.3 Pulse width trigger mode (Exposure timing)
Note.1: The trigger signal is removed by the filtering if the pulse width of the input trigger signal is smaller than
30 CLK. Please input the trigger signal has more then 31 CLK pulse width.
Note.2: The exposure is going to start 198 CLK after the rising edge of the trigger signal.
T1'
SUB
SG
(741 CLK)
Trigger signal
Exposure time
Exposure time: T1' = T1 + 741 CLK
T1
30 CLK
Filtering *Note.1
Exposure
time
Sweep charges
Automatically switch to the normal
mode if the pulse width of the
trigger signal is more than
500 mseconds.
*Note. 1
Camera mode
Internal VD
CCD exposure
Trigger signal
Positive
Video out
*Note. 3
FVAL
*Note. 4
Next VD
*Note. 2
Next VD
Normal mode Normal modeTrigger mode
No.11S031-03
19
STC-CL500E/CLC500E Users guide Rev. 1.3
3.3 Edge preset trigger mode
In this trigger mode, the camera exposure starts at the rising edge of the trigger pulse. Exposure duration time is preset by the DIP Switch settings.
3.3.1 Edge preset trigger mode (V-Reset)
Note.1: The camera does NOT switch to the normal mode when the long exposure mode is set.
Note.2: The video output is going to be V reset by the next internal HD signal immediate after the exposure is
finished.
Note.3: The exposure time sets by the preset electronic shutter speed.
Exposure
time
Max. 1H
Automatically switch to the normal
mode if the pulse width of the
trigger signal is more than
500 mseconds.
*Note. 1
Camera mode
Internal VD
CCD exposure
Trigger signal (Rising edge)
Video out
*Note. 2
*Note. 3
FVAL
Normal mode Normal modeTrigger mode
No.11S031-03
20
STC-CL500E/CLC500E Users guide Rev. 1.3
3.3.2 Edge preset trigger mode (Non-Reset)
Note.1: The camera does NOT switch to the normal mode when the long exposure mode is set, Note.2: The video output is going to be V reset by the internal VD signal after the exposure is finished. Note.3: The exposure time sets by the preset electronic shutter speed. Note.4: FVAL signal does NOT output if NO exposure with the trigger signal while the trigger mode.
3.3.3 Edge preset trigger mode (Exposure timing)
Note.1: The trigger signal is removed by the filtering if the pulse width of the input trigger signal is smaller than
30 CLK Please input the trigger signal has more then 31 CLK pulse width.
Note.2: The exposure is going to start 198 CLK after the rising edge of the trigger signal.
Trigger signal
Exposure time
T1'
SUB
SG
Exposure time: T1' = Preset electronic shutter
Filtering *Note.1
30CLK
Exposure
time
Automatically switch to the normal
mode if the pulse width of the
trigger signal is more than
500 mseconds.
*Note. 1
Camera mode
Internal VD
CCD exposure
Trigger signal (Rising edge)
Video out
*Note. 3
FVAL
*Note. 4
Next VD
*Note. 2
Next VD Next VD
Normal mode Trigger mode Normal mode
No.11S031-03
21
STC-CL500E/CLC500E Users guide Rev. 1.3
3.4 H reset mode
In this mode, the exposure can be start during the video is out from the camera without the horizontal noises. Therefore, generates the SUB pulse to sweep the charges during the horizontal blanking to prevent from getting horizontal noises. The image is getting the horizontal noises caused by generates the SUB pulse during the video out in normal mode, which is this mode is OFF. The maximum delay to start exposure from the trigger input is 1H.
Next HD
Video out
SUB pulse
Internal HD
CCD exposure
Trigger signal (Rising edge
Noise
NoiseNoise
Noise
Normal SUB pulse timing
No.11S031-03
22
STC-CL500E/CLC500E Users guide Rev. 1.3
4 The communication protocol specifications
This camera has the communication function that enables external devises like PC control the camera functions. Please use “CLCtrl” communication software or use following the communication protocol to communicate to the
camera.
Note. 1) The communication problem may occur under the following conditions:
1. When the external sync frequency is illegal (more than 1% off from the specified frequency).
2. When external sync is unstable (In another word the bad external sync signal).
3. About for one second after switching from/to external sync mode to/from internal sync mode.
4. About for one second after switching frame rate.
4.1 The communication method
UART (RS232C), binary communication
4.2 The communication settings
Settings Baud rate 9,600bps / 38,400bps Data bit 8bit Parity None Stop bit 1bit Flow control None
No.11S031-03
23
STC-CL500E/CLC500E Users guide Rev. 1.3
4.3 The communication format
A. The sending data format from the PC to the camera is as follows:
a. Send the read command
b. Send the write command
B. The receiving data format from the camera is as follows:
a. After sent the read command
b. After sent the write command
C. Descriptions of the format
SOF Data length Data EOF
(8bit) (8bit) (Data length byte) (8bit)
SOF Device code Read Page selection Command code Data length Data EOF
(8bit) (6bit) (1bit) (1bit) (8bit) (8bit) (1byte) (8bit)
Name
SOF
Device code
Read / Write
Page selection
Command
code
Data length
Data
Gets the data from the EEPROM when sent read.
S
tart of the frame
Descriptions
Sets the device code of the camera is as “000000”. Sets (or gets) “0” when send read command.
Gets current data from the command register when sent read command.
The data of the EEPROM is replaced by sent data when sent write command. The camera sends the receiving coce as "01H" to the PC after the data of the EEPROM is replaced.
Sets (or gets) the value is as “02H” always.
Sets (or gets) “1” when send write command. Sets “0” when access to the command register of the camera
The data of the command register is replaced by the sent data when sent write command.
The data of the EEPROM is not replaced.
Sets “1” when access to the EEPROM of the camera The camera works with the data of the EEPROM when the power on the camera.
EOF Receiving code
The camera rejects other commands while the data of the EEPROM is being replaced
Please check the details for the command code from the next page.
(approximately 5 msec. / byte).
Data length (Unit: byte) The data length is depending on the command after sent read command.
Receiving data The data length is “00H” after sent write command.
Sending data The data length is 1 byte when send read command. The data length is depending on the command when send write command. The value of the data is depending on the command
Sets (or gets) the value is as “03H” always
E
nd of the frame
Result of the sending command
SOF Device code Write Page selection Command code Data length Data EOF
(8bit) (6bit) (1bit) (1bit) (8bit) (8bit) (Data length byte) (8bit)
SOF Data length Receiving code EOF
(8bit) (8bit) "00" (8bit) (8bit)
01H: OK (ACK), 10H: Receiving problem (NAC), 11H: Communication problem
No.11S031-03
24
STC-CL500E/CLC500E Users guide Rev. 1.3
D. Example command
Send the read command to read the 00H address data of the register
02, 00, 00, 01, 00, 03 SOF, (Device code/Read/Register), Command code, Data length, Data, EOF
The return command
02, 01, 00, 03
No.11S031-03
25
STC-CL500E/CLC500E Users guide Rev. 1.3
4.4 The camera control commands
4.4.1 The camera commands list
Note. 1: The data unit of the each command is 1byte (8bit). Note. 2: The data can be saved to the EEPROM if “x” in the “Save to EEPROM” column in the list. Note. 3: The camera is operating with the data of the EEPROM when the power on the camera.
Command Read / Write Save to Function Initial data Data No. EEPROM range 00 to 0BH Reserved - -
0CH
Read / Write
x
The signals of the power/IO connector at power on (8bit: D[7..0])
0D to 0FH
Reserved
-
-
10H Read / Write x The camera function mode 1 (8bit: D[7..0]) 9 11H Read / Write x The camera function mode 2 (8bit: D[7..0]) 0 12H Read / Write x The camera function mode 3 (8bit: D[7..0]) 0 13H Reserved - ­14H Read / Write x The communication mode (8bit: D[7..0]) 1 15 to1FH Reserved - ­20H Read / Write x The exposure time (H) of the electronic shutter (16bit: D[7..0]) 0 0 to 4095 21H Read / Write x The exposure time (H) of the electronic shutter (16bit: D[15..8]) 22H Read / Write x The exposure time (CLK) of the electronic shutter (16bit: D[7..0]) 0 0 to 1919 23H Read / Write x The exposure time (CLK) of the electronic shutter (16bit: D[15..8]) 24H Read / Write x The start line of the variable partial scanning (16bit: D[7..0]) 0 0 to 1235 25H Read / Write x The start line of the variable partial scanning (16bit: D[15..8]) 26H Read / Write x The effective lines of the variable partial scanning (16bit: D[7..0]) 1236 0 to 1236 27H Read / Write x The effective lines of the variable partial scanning (16bit: D[15..8]) 28H Read / Write x The delay time for the trigger (8bit: D[7..0]) 0 0 to 255 29 - 2FH Reserved - ­30H Read / Write x CDS gin (8bit: D[7..0]) 0 0 to 255 31H Read / Write x The digital gain (8bit: D[7..0]) The factory 0 to 255
adjusted value
32H Read / Write x The gain offset (8bit: D[7..0]) The factory 0 to 255
adjusted value
33 to 37H
Reserved
-
-
38H
Read / Write
x
The clamp level (8bit: D[7..0])
4
0 to 31
39 to 67H
Reserved
-
-
68H
Read / Write
x
Digital clamp (8bit: D[7..0])
69H
Reserved
-
-
6AH
Read / Write
x
Manual digital clamp (Left) (16bit: D[7..0])
0
0 to 1023
6BH
Read / Write
x
Manual digital clamp (Left) (16bit: D[15..8])
6CH
Read / Write
x
Manual digital clamp (Right) (16bit: D[7..0])
0
0 to 1023
6DH
Read / Write
x
Manual digital clamp (Right) (16bit: D[15..8])
6E to 77H
Reserved
-
-
78H
Read / Write
x
Test pattern selection (8bit: D[7..0])
0
79H
Read / Write
x
Image effect selection (8bit: D[7..0])
0
7A to 7FH
Reserved
-
-
80H
Read / Write
EEPROM control (8bit: D[7..0])
81 to EFH
Reserved
-
-
F0H
Read / Write
The signals of the power/IO connector (8bit: D[7..0])
F1 to FFH
Reserved
-
-
No.11S031-03
26
STC-CL500E/CLC500E Users guide Rev. 1.3
4.4.2 Description of the camera control commands (The under line settings are the factory default settings)
Command No. 10H: MOD1[7..0]
D7:
0: Auto, 1: Manual D6: Trigger polarity 0: Positive, 1: Negative D5: Trigger mode 0: Edge preset, 1: Pulse width D4: Binning mode 0: OFF (Normal), 1: ON (Binning) D3: Scanning mode 0: Full scanning, 1: Partial scanning D2 to D0: Reset mode 000: Non-Reset, 001: V-Reset,
010 to 111: No function
(Prohibited setting. Do not set these values)
11H: MOD2[7..0]
D[7..0]
D7 to D4: No function Sets always as "0000" D3: Function mode 0: Trigger mode, 1: Continuous mode D2 to D0: Partial scanning 000: Full scanning, 001: 1/2 partial scanning,
010: 1/4 partial scanning, 111: Varialbe partial scanning,
011 to 110: No function
(Prohibited setting. Do not set these values)
12H: MOD3[7..0]
D7 to D6: Video out 00: 10bit, 01: 8bit
10: 12bit,
11: No function
(Prohibited setting. Do not set these values) D5:
0: Camera Link (CC1), 1: Power/IO connector
(No. 2 pin)
D4 to D3:
00: Normal, 01: Reserved trigger
10 to 11: H reset D2 to D0: No function Sets always as "000"
Continuous / Trigger mode
the manual (set as 1).
Sets the camera function mode.
D[7..0]
[The camera function mode 2] Initial data: 0
No video output without the trigger signal input while the camera works with the trigger mode.
Function mode is enable when the "Continuous/Trigger mode selection (MOD1[7])" is
Trigger signal input connector
Sets the camera function mode.
Exposure start mode
Command descriptions
[The camera function mode 1] Initial data: 9 Sets the camera function mode.
D[7..0]
[The amera function mode 3] Initial data: 0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
No.11S031-03
27
STC-CL500E/CLC500E Users guide Rev. 1.3
Command No. 14H: UART[7..0]
D7 to D2: No function Sets always as "000000" D1 to D0:
00: 38,400bps, 01: 9,600bps, 10 to 11: No function (Prohibited setting. Do not set these values)
20H: SVR[7..0] 21H: SVR[15..8]
22H: SHR[7..0] 23H: SHR[15..8]
24H: PSR[7..0] 25H: PSR[15..8]
D[7..0]
the value of SHR[] is 0.
Sets the preset shutter speed for electronic shutter.
Exposure time (shutter speed) = SVR[15..0] x (1H cycle) + SHR[15..0] x (1CLK cycle) The camera works with the shutter off (Frame exposure) when this value sets 0 and
Communication mode
Command descriptions
[The communication mode] Initial data: 01H Sets the communication mode.
[The exposure time (H) of the electronic shutter] Initial data: SVR[15..0] = 0, data range: 0 to 4095
The camera works with minimum shutter speed when this value sets 0 and the value of SHR[] is 1 to 600.
Automaticaly sets 4095 when sets more then 4095.
[The exposure time (CLK) of the electronic shutter]
The camera works with the shutter off (Frame exposure) when this value sets 0 and the value of SVR[] is 0.
Initial data: SHR[15..0] = 0, data range: 0 to 1923 Sets the preset shutter speed for electronic shutter.
Exposure time (shutter speed) = SVR[15..0] x (1H cycle) + SHR[15..0] x (1CLK cycle)
The camera works with minimum shutter speed when this value sets 1 to 600 and the value of SVR[] is 0.
The camera works with the full scanning when (PSR[] + PWR[]) is more than 2058.
Automaticaly sets 1923 when sets more then 1923.
[The start line of the variable partial scanning]
Sets the start line of the variable partial scanning.
Actual start line of the partial scanning = this value + 1
Initial data: PSR[15..0] = 00, data range: 0 to 2057
Automaticaly sets 2057 when sets more then 2057.
D7 D6 D5 D4 D3 D2 D1 D0
No.11S031-03
28
STC-CL500E/CLC500E Users guide Rev. 1.3
Command No. 26H: PWR[7..0] 27H: PWR[15..8]
28H: DLY[7..0]
30H: PGA[7..0]
31H: DGB[7..0]
32H: GOFS[7..0]
38H:
CLAMP[7..0]
[CDS gain] Initial data: PGA[7..0] = 0, data range: 0 to 255
[The gain offset] Initial data: GOFS[7..0] = The factory adjusted value, data range: 0 to 255
Video level = (Input video level - CLAMP[7..0] x 16 ­ (CDS_CLAMP_L[9..0] + CDS_CLAMP_R[9..0]) / 2) x (1 + (DGB[7..0] + GOFS[5..0]) / 128) + CLAMP[7..0] x 16 + (CDS_CLAMP_L[9..0] + CDS_CLAMP_R[9..0]) / 2
Delay time = 128 CLK x DLY[7..0] (usecond) (CLK = pixel clock)
[The clamp level] Initial data: CLAMP[7..0] = 0, data range: 0 to 31 Sets the clamp level (The clamp level of the black signal).
The gain offset (The value of the address 32H) * GOFS[7..0]:
[The digital gain] Initial data: DGB[7..0] = The factory adjusted value, data range: 0 to 255
Command descriptions
Sets the delay time that is from the trigger signal input to start exposure.
[The delay time for the trigger] Initial data: DLY[7..0] 0, data range: 0 to 255
Sets the CDS gain (programable gain).
CDS gain = 11.1 + 0.0359 x (PGA[7..0] x 2 + GOFS[7..0]) (dB)
Analog gain = CDS gain
* CLAMP[7..0]: The clamp level (The value of the address 38H)
(The value of the address CC & CDH)
(The value of the address CE & CFH)
* GOFS[7..0]: * CDS_CLAMP_L[9..0]:
The gain offset (The value of the address 32H) CDS clamp for the left side
* CDS_CLAMP_R[9..0]: CDS clamp for the right side
[The effective lines of the variable partial scanning] Initial data: PWR[15..0] = 2058, data range: 0 to 2058 Sets the number of the effective lines (image height) of the variable partial scanning.
Automaticaly sets 2058 when sets more then 2058. The camera works with the full scanning when (PSR[] PWR[]) is more than 2058.
No.11S031-03
29
STC-CL500E/CLC500E Users guide Rev. 1.3
Command No. 68H: DIGITAL_ CLAMP[7..0]
D7 to D5: No function Sets always as "000" D4: Mirror image 0: Normal image, 1: Mirror image D3: No function Sets always as "0" D2: Clamp mode 0: Auto adjust, 1: Manual adjust D1 to D0: No function
6AH: MD_CLAMP_L [7..0] 6BH: MD_CLAMP_L [15..8] 6CH: MD_CLAMP_R [7..0]
6DH:
MD_CLAMP_R [15..8]
00H: Video output, 01H: Gray schale, 02H: Ramp wave, 03H: 100% White, 04H: White clip, 05H: Color bar (RGB bayer), Others: Black
Sets the manual digital clamp for the right side of the image when the manual adjust is selected at the digital clamp (68H).
[Manual digital clamp (Left)] Initial data: MD_CLAMP_L[15..0] = The factory adjusted value, data range: 0 to 1023
Sets the manual digital clamp for the left side of the image when the manual adjust is selected at the digital clamp (68H).
78H: TESTP[7..0]
[Test pattern selection] Initial data: TESTP[7..0] = 0 Sets the test pattern output form the camera.
D[7..0]
[Manual digital clamp (Right)] Initial data: MD_CLAMP_R[15..0] = The factory adjusted value, data range: 0 to 1023
Command descriptions
[The digital clamp] Initial data: DIGITAL_CLAMP[7..0] = 0 Sets the digital clamp.
D[7..0]
Sets always as "00"
Below two settings have to set when the "manual adjust" selects at clamp mode; Manual digital clamp (Left) : MD_CLAMP_L[15..0] (6A & 6BH) Manual digital clamp (Right) MD_CLAMP_R[15..0] (6C & 6DH)
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
No.11S031-03
30
STC-CL500E/CLC500E Users guide Rev. 1.3
Command No. 79H: EFFCT[7..0]
00H: No effect (Original video), 01H: 11bit gradation, 02H: 10bit gradation, 03H: 9bit gradation, 04H: 8bit gradation, 05H: 7bit gradation, 06H: 6bit gradation, 07H: 5bit gradation, 08H: 4bit gradation, 09H: 3bit gradation, 0AH: 2bit gradation, 0BH: 1bit gradation, 0C to FEH: No function, FFH: MSB-LSB reverse
80H:
E2P[7..0]
D7 to D1:
No function
Sets always as "0000000"
D0: Write control to the EEPROM
0: Prohibited
,
1: Accept
F0H:
OUTSEL[7..0]
D7 to D4:
No function
Sets always as "0000"
D3 to D0:
Note: Change the C0H address data of the register and save to EEPROM
when save the signals of the power/IO connector to the EEPROM.
[The signals of the power/IO connector] Initial data: OUTSEL[7..0] = The value of C0H D[7..0]
Initial data: 0000, data range: 0000 to 0111
Please refer "1.2 The signals of the power/IO connector
The signals of the power/IO connector selection
Command descriptions
[EEPROM control] Initial data: E2P[7..0] = 0 D[7..0]
[Image effect selection] Initial data: EFFCT[7..0] = 0 Sets the imgae effect.
D[7..0]
Note: This bit is cleared to "0" automatically by the internal process after the execution
of the command.
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
D7 D6 D5 D4 D3 D2 D1 D0
No.11S031-03
31
STC-CL500E/CLC500E Users guide Rev. 1.3
4.4.3 Sequence for the command saves to the EEPROM
Please use below sequence for the command saves to the EEPROM
1) Set “1” to the 80H.0 for the accept “write control to the EEPROM”.
2) Send the command and the save data with the EEPROM access command, which is set “1” for the page selection.
3) The camera send back the one of the below receiving code after write EEPROM.
01H: OK 10H: EEPROM write error
4) 80H.0 is changed to “0” automatically after write EEPROM.
Note.1) DO NOT saves to the EEPROM when 80H.0 is “0”.
Note.2) When save the multiple sequence command to the EEPROM, all data save to the EEPROM by one
operation from 1) to 4). Example of the multiple sequence command: “10H, 11H, 12H and 13H” or “22H, 23H and 24H”.
Note.3) When save the multiple command data, which is not sequence command, to the EEPROM, it is
necessary to operate the number of times from 1) to 4). Example of the multiple command: “10H, 13H, 19H and 1BH” or “20H, 23H and 25H”.
No.11S031-03
32
STC-CL500E/CLC500E Users guide Rev. 1.3
7F, Harada center building 9-17, Naka cho 4 chome Atsugi-city, Kanagawa 243-0018 Japan
Sensor Technology Co., Ltd
TEL 81-46-295-7061 FAX 81-46-295-7066 URL http://www.sentech.co.jp/
Loading...