IAI SP-20000C-USB, SP-20000M-USB User Manual

10051E-1404
Spark Series
SP-20000M-USB
20 MP CMOS Digital Progressive Scan
Monochrome and Color Camera
Document Version: Ver.1.4
SP-20000-USB_Ver.1.4_May2015
User Manual
SP-20000M-USB / SP-20000C-USB
- 2 -
Notice
The material contained in this manual consists of information that is proprietary to JAI Ltd., Japan and
may only be used by the purchasers of the product. JAI Ltd., Japan makes no warranty for the use of its product and assumes no responsibility for any errors which may appear or for damages resulting from the use of the information contained herein. JAI Ltd., Japan reserves the right to make changes without notice.
Company and product names mentioned in this manual are trademarks or registered trademarks of their respective owners.
Warranty
For information about the warranty, please contact your factory representative.
Certifications
CE compliance
As defined by the Directive 2004/108/EC of the European Parliament and of the Council, EMC (Electromagnetic compatibility), JAI Ltd., Japan declares that SP-20000M-USB and SP-20000C-USB comply with the following provisions applying to its standards. EN 61000-6-3 (Generic emission standard part 1) EN 61000-6-2 (Generic immunity standard part 1)
FCC
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
- Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
- Consult the dealer or an experienced radio/TV technician for help.
Warning
Changes or modifications to this unit not expressly approved by the party responsible for FCC compliance could void the user’s authority to operate the equipment.
SP-20000M-USB
Supplement
The following statement is related to the regulation on “ Measures for the Administration of the control of Pollution by Electronic Information Products “ , known as “ China RoHS “. The table shows contained Hazardous Substances in this camera.
mark shows that the environment-friendly use period of contained Hazardous
Substances is 15 years.
嶷勣廣吭並㍻
嗤蕎嗤墾麗嵎賜圷殆兆各式根楚燕
功象嶄鯖繁酎慌才忽佚連恢匍何〆窮徨佚連恢瞳麟半陣崙砿尖一隈〇云恢瞳ゞ 嗤蕎嗤 墾麗嵎賜圷殆兆各式根楚燕 〃泌和
桟隠聞喘豚㍉
窮徨佚連恢瞳嶄根嗤議嗤蕎嗤墾麗嵎賜圷殆壓屎械聞喘議訳周和音氏窟伏翌 亶賜融延、窮徨佚連恢瞳喘薩聞喘乎窮徨佚連恢瞳音氏斤桟廠夛撹冢嶷麟半 賜斤児繁附、夏恢夛撹冢嶷鱒墾議豚㍉。
方忖仝15々葎豚㍉15定。
SP-20000C-USB
Supplement
The following statement is related to the regulation on “ Measures for the Administration of the control of Pollution by Electronic Information Products “ , known as “ China RoHS “. The table shows contained Hazardous Substances in this camera.
mark shows that the environment-friendly use period of contained Hazardous
Substances is 15 years.
嶷勣廣吭並㍻
嗤蕎嗤墾麗嵎賜圷殆兆各式根楚燕
功象嶄鯖繁酎慌才忽佚連恢匍何〆窮徨佚連恢瞳麟半陣崙砿尖一隈〇云恢瞳ゞ 嗤蕎嗤 墾麗嵎賜圷殆兆各式根楚燕 〃泌和
桟隠聞喘豚㍉
窮徨佚連恢瞳嶄根嗤議嗤蕎嗤墾麗嵎賜圷殆壓屎械聞喘議訳周和音氏窟伏翌 亶賜融延、窮徨佚連恢瞳喘薩聞喘乎窮徨佚連恢瞳音氏斤桟廠夛撹冢嶷麟半 賜斤児繁附、夏恢夛撹冢嶷鱒墾議豚㍉。
方忖仝15々葎豚㍉15定。
SP-20000M-USB / SP-20000C-USB
- 3 -
- Contents -
Introduction ..................................................................................... - 6 -
1. General .................................................................................... - 7 -
2. Camera composition .................................................................... - 7 -
3. Key features ............................................................................... - 8 -
4. Parts locations and their functions ................................................... - 9 -
4.1 Parts locations and their functions........................................................................ - 9 -
4.2 Rear Panel .................................................................................................. - 10 -
5. Input and output .......................................................................... - 11 -
5.1 USB 3.0 Interface specifications ....................................................................... - 11 -
5.2 Connectors and pin assignment ........................................................................ - 11 -
5.2.1 Digital Video Output (USB3.0 Micro B connector) .............................................. - 11 -
5.2.2 12-Pin connector ..................................................................................... - 11 -
5.2.2.1 Figure ............................................................................................. - 11 -
5.2.2.2 Pin configuration ............................................................................... - 12 -
5.2.3 AUX Connector Hirose 10-Pin connector .................................................... - 12 -
5.3 Digital In and out inteface .............................................................................. - 13 -
5.3.1 Line Selector ......................................................................................... - 13 -
5.3.2 Line Source ........................................................................................... - 13 -
5.3.3 Line Mode ............................................................................................. - 14 -
5.3.4 Line Inverter .......................................................................................... - 14 -
5.3.5 Line Status ............................................................................................ - 14 -
5.3.6 Line Format ........................................................................................... - 14 -
5.3.6 GPIO .................................................................................................... - 14 -
5.3.6.1 Basic block diagram ............................................................................ - 14 -
5.3.6.2 Input and output matrix table ............................................................... - 16 -
5.3.6.3 Associated GenICam Register information ................................................. - 17 -
5.4 Optical Interface ........................................................................................... - 18 -
5.4.1 Recommended External Input circuit diagram for customer ................................ - 18 -
5.4.2 Recommended External Output circuit diagram for customer .............................. - 18 -
5.4.3 Characteristics of optical interface ............................................................. - 19 -
5.5 Pulse Generator ........................................................................................... - 19 -
5.5.1 Clock Pre-scaler ...................................................................................... - 19 -
5.5.2 Pulse Generator Selector ........................................................................... - 20 -
5.5.3 Pulse Generator Length ............................................................................ - 20 -
5.5.4 Pulse Generator Start Point........................................................................ - 20 -
5.5.5 Pulse Generator End Point ......................................................................... - 20 -
5.5.6 Pulse Generator Repeat Count .................................................................... - 20 -
5.5.7 Pulse Generator Clear Activation ................................................................. - 21 -
5.5.8 Pulse Generator Clear Sync Mode ................................................................. - 21 -
5.5.9 Pulse Generator Clear Source ..................................................................... - 22 -
5.5.10 Pulse Generator Inverter ......................................................................... - 23 -
5.5.11 Pulse Generator setting parameters ............................................................ - 23 -
6. Sensor layout, output format and timing ........................................ - 25 -
6.1 Sensor layout .............................................................................................. - 25 -
6.1.1 Monochrome sensor ................................................................................. - 25 -
6.1.2 Bayer sensor .......................................................................................... - 25 -
6.2 Camera output format (Tap Geometry) .............................................................. - 26 -
6.2.1 1X–1Y ................................................................................................... - 26 -
6.2.2 Pixel Type ............................................................................................. - 26 -
6.3 Output timing and output image ....................................................................... - 27 -
6.3.1 Horizontal timing .................................................................................... - 27 -
6.3.2 Vertical timing ....................................................................................... - 29 -
SP-20000M-USB / SP-20000C-USB
- 4 -
6.3.3 ROI (Region Of Interest) ............................................................................ - 31 -
6.3.4 Mirroring function ................................................................................... - 33 -
6.3.5 Multi ROI function ................................................................................... - 34 -
6.3.5.1 Multi ROI setting parameters ................................................................. - 34 -
6.3.5.2 Associated GenICam register information ................................................. - 36 -
6.4 Digital output bit allocation ............................................................................ - 36 -
7. Operating modes ...................................................................... - 37 -
7.1. Acquisition control (change the frame rate) ........................................................ - 37 -
7.1.1 Acquisition Mode ..................................................................................... - 37 -
7.1.1.1 Single Frame .................................................................................... - 37 -
7.1.1.2 Multi Frames .................................................................................... - 38 -
7.1.1.3 Continuous ....................................................................................... - 39 -
7.1.2 Acquisition Start ..................................................................................... - 39 -
7.1.3 Acquisition Stop ...................................................................................... - 39 -
7.1.4 Acquisition control .................................................................................. - 40 -
7.1.4.1 Upper limit of Frame Rate .................................................................... - 41 -
7.1.4.2 Calculation formula of Frame Rate (In Continuous Trigger operation) ................ - 42 -
7.2. Exposure control ......................................................................................... - 44 -
7.2.1 Exposure Mode ....................................................................................... - 44 -
7.2.2 ExposureTime ........................................................................................ - 45 -
7.2.3 Behavior if Trigger Overlap is set to Readout .................................................. - 46 -
7.2.3 ExposureAuto ......................................................................................... - 46 -
7.3. Trigger operation ........................................................................................ - 47 -
7.3.1 Trigger Selector ...................................................................................... - 48 -
7.3.2 Trigger Mode ......................................................................................... - 48 -
7.3.1 TriggerSource ........................................................................................ - 48 -
7.3.2 TriggerActivation .................................................................................... - 49 -
7.3.3 Triggeroverlap........................................................................................ - 49 -
7.4. Normal continuous operation (Timed Exposure Mode/Trigger Mode OFF) ..................... - 49 -
7.5. Timed mode (EPS operation) .......................................................................... - 50 -
7.5.1 If Overlap setting is OFF ............................................................................ - 50 -
7.5.2 If Overlap setting is Readout ...................................................................... - 54 -
7.5.3 GPIO TTL output timing if Trigger Overlap is OFF ............................................. - 57 -
7.5.6 GPIO TTL output timing if Trigger Overlap is Readout ........................................ - 58 -
7.6 Trigger width mode (PWC) .............................................................................. - 60 -
7.6.1 If Overlap setting is OFF ............................................................................ - 60 -
7.6.2 If Overlap setting is Readout ...................................................................... - 64 -
7.7 PIV (Particle Image Velocimetry) ...................................................................... - 67 -
7.8 Sequence ROI Trigger .................................................................................... - 73 -
7.8.1 Sequence ROI Trigger mode ....................................................................... - 73 -
7.8.2 Video Send Mode ..................................................................................... - 73 -
7.8.3 Trigger Sequence .................................................................................... - 73 -
7.8.4 Command Sequence ................................................................................. - 73 -
7.8.5 Typical minimum trigger interval of Sequence ROI Trigger .................................. - 74 -
7.8.6 Defaul Sequence Index Table ...................................................................... - 75 -
7.8.7 Sequence ROI setting parameters ................................................................ - 75 -
7.9. Acqusition Transfer Start Trigger ..................................................................... - 80 -
7.10. Operation and function matrix ....................................................................... - 83 -
8. Other functions ........................................................................ - 84 -
8.1 Black level control ........................................................................................ - 84 -
8.1.1 Black Level Selector................................................................................. - 84 -
8.1.2 Black Level ............................................................................................ - 84 -
8.1.3 Auto black control ................................................................................... - 84 -
8.1.4 Associated GenICam register information ....................................................... - 85 -
8.2 Gain control ................................................................................................ - 85 -
8.2.1 Gain Selector ......................................................................................... - 86 -
SP-20000M-USB / SP-20000C-USB
- 5 -
8.2.2 Gain .................................................................................................... - 86 -
8.2.3 Gain Auto ............................................................................................. - 86 -
8.2.4 Balance White Auto ................................................................................. - 86 -
8.2.5 Associated GenICam register information ....................................................... - 87 -
8.3. LUT ......................................................................................................... - 88 -
8.3.1 LUT Mode.............................................................................................. - 88 -
8.3.2 LUT Index ............................................................................................. - 88 -
8.3.3 LUT Value ............................................................................................. - 88 -
8.3.4 Associated GenICam register information ....................................................... - 88 -
8.4 Gamma ...................................................................................................... - 89 -
8.5 Shading Correction ....................................................................................... - 89 -
8.6 Blemish compensation ................................................................................... - 90 -
8.7 ALC .......................................................................................................... - 91 -
8.8 HDR function (Option) ................................................................................... - 93 -
9. Camera Control Settings .............................................................. - 95 -
9.1 Camera Control Tool ..................................................................................... - 95 -
9.2 Camera Default Settings ................................................................................. - 95 -
10. External appearance and dimensions .......................................... - 96 -
11. Specifications ........................................................................ - 97 -
11.1. Camera spectral response ............................................................................ - 97 -
11.2. Specification table ..................................................................................... - 98 -
Appendix .................................................................................... - 100 -
1. Precautions .................................................................................................. - 100 -
2. Typical Sensor Characteristics ............................................................................ - 100 -
3. Caution when mounting a lens on the camera ........................................................ - 100 -
4. Caution when mounting the camera .................................................................... - 100 -
5. Exportation .................................................................................................. - 101 -
6. References ................................................................................................... - 101 -
Manual change history .................................................................... - 102 -
User's Record ............................................................................... - 103 -
SP-20000M-USB / SP-20000C-USB
- 6 -
Introduction
EMVA 1288
With regard to signal to noise ratio in this manual, specifications measured by EMVA 1288 are used together with specifications by a traditional measurement method.
EMVA 1288 is a more complete measurement that considers multiple noise sources, including random noise, pattern noise, and shading. Additionally, EMVA 1288 incorporates temporal variances in pixel output by capturing 100 frames of data and computing the RMS variations over the captured frames. Because of the comprehensive nature of the noise analysis and the additional consideration for RMS variances over time, EMVA 1288 SNR measurements are inherently lower than the traditional SNR measurements given by manufacturers. However, the comprehensive nature combined with rigid test
parameters, means that all manufacturers’ are measuring their products equally and EMVA 1288 tested parameters can be compared among different manufacturers’ products.
In order to learn more about EMVA 1288, please visit http://www.emva.org
Interface
The SP-20000-USB employs a USB 3.0 interface and is in the process of being certified for compliance with the USB3 Vision standard. USB3 Vision is a new standard interface for machine vision applications being developed and managed by the AIA (Automated Imaging Association). USB3 Vision uses USB 3.0 ports that will soon be standard on most PCs (with Windows 7 service pack and Windows 8 native support expected soon). Components from different manufacturers will easily communicate with each other.
USB3 Vision also supports the GenICamTM standard which is managed by the EMVA (European Machine Vision Association). The purpose of the GenICam standard is to provide a common program interface for various machine vision cameras. By using GenICam, cameras from different manufacturers can seamlessly connect in one platform.
The maximum transfer speed of USB 3.0 is specified at 5.0 Gbps, however effective bandwidth is reduced by a number of factors including pixel format conversions and the physical interface components used. The USB3 Vision standard specifies a bandwidth of 2.8 Gbps or greater. Maximum cable length for passive cables is five meters, but this can be made longer using active cables.
As for the USB connector, SP-20000-USB uses a Micro B connector which complies with USB3.0. This connector has an additional 5-pin plug “stacked” on the side of a standard USB 2.0 Micro B connector. However, USB 2.0 cannot be used with the SP-20000-USB.
Power supply
Although the USB 3.0 interface is capable of supporting both data and power, the power supplied through the interface is not sufficient to operate the camera. A separate power supply unit must be connected to the 12-pin connector.
Computer used for SP-20000-USB series
It is necessary to use a PC equippped with a USB 3.0 interface. It is also recommended to use a PC equipped with slots of better than PC Express 2.0 x 8. Please note that the SP-20000-USB may not work properly depending on the chipset used in the PC.
SP-20000M-USB / SP-20000C-USB
- 7 -
1. General
The SP-20000-USB cameras are members of JAI’s new Spark Series. They provide both high resolution and a high frame rate with excellent image quality for machine vision applications. The SP-20000M-USB is a monochrome progressive scan COMS camera and the SP-20000C-USB is the equivalent Bayer mosaic progressive scan CMOS camera. Both are equipped with CMOS sensors offering a 35 mm full size image format, a resolution of 20 million pixels, and a 4:3 aspect ratio. They provide 16 frames per second for continuous scanning with 5120 x 3480 full pixel resolution for both monochrome and raw Bayer output.
8-bit, 10-bit and 12-bit outputs can be selected for both monochrome and raw Bayer formats. The new cameras feature a USB3 Vision interface. A full pixel readout or partial scan readout mode can be selected depending on applications.
The SP-20000-USB has various comprehensive functions needed for automated optical inspection applications, such as solid state device inspection or material surface inspection. They incorporate video processing functions such as a look-up table, flat field shading compensation and blemish compensation in addition to fundamental functions such as trigger, exposure setting and video level control.
The latest version of this manual can be downloaded from: www.jai.com The latest version of the JAI SDK for the SP-20000-USB can be downloaded from: www.jai.com For camera revision history, please contact your local JAI distributor.
2. Camera composition
The standard camera composition is as follows.
Camera body 1 Sensor protection cap 1 Dear Customer (sheet) 1
The following optional accessories are available.
Tripod base
MP-42
Power supply unit
PD-12 series
SP-20000M-USB / SP-20000C-USB
- 8 -
3. Key features
New Spark Series, 35mm full size, CMOS 20-megapixel progressive scan camera with global shutter Utilizes USB3 Vision interface Aspect ratio 4:3, 5120(H) x 3840(V) - 20 million effective pixels 6.4 μm square pixels S/N 53 dB for monochrome and 51 dB for color 8-bit, 10-bit or 12-bit output for monochrome and Bayer color 16 frames/second with full resolution in continuous operation Supports ROI (Region Of Interest) modes for faster frame rate 0 dB to +24 dB gain control for both SP-20000-USB models 299 μs (1/3,344) to 8 seconds exposure control in 1 μs step Auto exposure control Timed and trigger width exposure control PIV and sequential trigger modes for specific applications ALC control with combined function of AGC and auto exposure HDR (High Dynamic Range) function is available (Option) Various pre-processing circuits are provided
Programmable LUT Gamma correction from 0.45 to 1.0 Flat field correction Bayer white balance with manual or one-push auto (SP-20000C-USB only) Blemish compensation
New Hirose 10P connector for TTL IN and OUT and LVDS IN interface F-mount for lens mount Setup by Windows XP/Vista/7 via serial communication
SP-20000M-USB / SP-20000C-USB
- 9 -
4. Parts locations and their functions
4.1 Parts locations and their functions
Lens mount F-mount (Note *1) AUX 10-pin connector AUX Connector for TTL IN/OUT and LVDS IN LED Indication for power and trigger input 12-pin connector DC and trigger input USB 3.0 connector Connector for interfacing USB 3.0 Mounting holes Holes for mounting tripod base or direct installation.
Depth 5 mm (Note*2)
*1) Note1: Rear protrusion on F-mount lens must be less than 14.0 mm. *2) Note2: The part number for the tripod adapter plate (with 1/4"-20 thread) is MP-42 (option). When the camera is mounted directly using mounting holes, the length of screws must be less
than 5mm. If they are longer than 5mm, they may not fasten securely due to the 5mm hole depth.
Fig. 1 Locations
SP-20000M-USB / SP-20000C-USB
- 10 -
4.2 Rear Panel
The rear panel mounted LED provides the following information:
Amber: Power connected – initiating
This light goes OFF after initiating.
Steady green: Camera is operating in Continuous mode Flashing green: The camera is receiving external triggering
Note: The interval of flashing does not correspond with external
trigger duration.
Fig. 2 Rear panel
SP-20000M-USB / SP-20000C-USB
- 11 -
5. Input and output
5.1 USB 3.0 Interface specifications
The SP-20000-USB employs a USB 3.0 interface for video and data transfer. USB 3.0 is an upgraded version of USB 2.0 widely used in the industry. Its transfer rate is 5 Gbps, which is 10 times faster than the 480 Mbps rate of USB 2.0. USB 3.0 employs full-duplex system which executes both transmitting and receiving at the same time. USB 3.0 has downward compatibility to USB 2.0 but in the SP-20000-USB, USB 2.0 cannot be used because the performance is not guaranteed. The connector used for USB 3.0 in the SP-20000-USB is a Micro B Type connector with a USB 3.0 form factor.
5.2 Connectors and pin assignment
5.2.1 Digital Video Output (USB3.0 Micro B connector)
Type: ZX3600-B-10P or equivalent
3 USB3.0 Micro B Connector
Table 1. USB3.0 Pin Configuration
No
I/O
Name
Note
1 I VBUS IN
Power(VBUS) +5V
2
I/O
DM
USB2.0 Differential pair(D-)
3
I/O
DP
USB2.0 Differential pair(D+)
4 OTG ID
USB OTG ID for identifying lines
5 GND
GND
6 O FX3 SSTXM
USB3.0 Signal Transmission line (-)
7 O FX3 SSTXP
USB3.0 Signal Transmission line (+)
8 GND
GND
9 I FX3 SSRXP
USB3.0 Signal Receiving line (-)
10 I FX3 SSRXM
USB3.0 Signal Receiving line (+)
Note1: Power is not supplied through the USB 3.0 interface. Requires an external power supply. Note2: USB 2.0 interface is not supported.
5.2.2 12-Pin connector
5.2.2.1 Figure
Type: HR-10A-10R-12PB(72) Hirose male or equivalent.
Fig.3 12-pin connector
1 2 3 4 5
678
9
10
SP-20000M-USB / SP-20000C-USB
- 12 -
5.2.2.2 Pin configuration
Table – 2 12-pin configuration
Note 1) Factory default setting is Exposure Active and negative Note 2) Factory default setting is trigger input.
5.2.3 AUX Connector Hirose 10-Pin connector
Type: HIROSE 10-Pin Connector 3260-10S3(55)
Fig. 4 Hirose 10p connector
Table-3 Pin configuration for Hirose 10P
No
I/O
Name
Note
1
O
TTL OUT2
Line8 2 O
TTL OUT3
Line9 3 I
TTL IN2
Line10
4
NC
5
GND
6 I
LVDS IN1+
Line11 7
I
LVDS IN1-
8
NC
9
GND
10
GND
Pin no.
Signal
Remarks
1
GND
2
DC input
+12V +24V (note 3)
3
GND
4
NC
5
OPTO IN-
Line 5
6
OPTO IN+
7
OPTO OUT -
Line 2
8
OPTO OUT+
9
TTL out 1
Line1 (note 1)
10
TTL In 1
Line4 (note 2)
11
DC input
+12V +24V (note 3)
12
GND
1
8
SP-20000M-USB / SP-20000C-USB
- 13 -
5.3 Digital In and out inteface
In the SP-20000-USB, the software control tool can assign the necessary signals used in the system to digital inputs and outputs.
5.3.1 Line Selector
In the Line Selector, the following input and output signals can be assigned.
Table – 4 Line Selector
5.3.2 Line Source
Line source signal can be selected from the following table to connect it to the line item which is
selected in the line selector.
Table-5 Line Source
Line Selector item
Description
Line 1 TTL OUT 1
TTL output from #9 pin of DC In/Trigger HIROSE 12-Pin on the rear
Line 2 OPTO OUT 1
Optical output from #7 and 8 pins of DC In/Trigger HIROSE 12-Pin on the rear
Line 8 TTL OUT 2
TTL output from #1 pin “AUX” HIROSE 10-Pin on the rear
Line 10 TTL OUT 3 t
TTL output from #2 pin “AUX” HIROSE 10-Pin on the rear
NAND 0 In 1
First input at first NAND gate in GPIO
NAND 0 In 2
Second input at first NAND gate in GPIO
NAND 1 In 1
First input at second NAND gate in GPIO
NAND 1 in 2
Second input at second NAND gate in GPIO
Note: In the line source, input interfaces besides those mentioned above will be shown but the line source setting is not available. The input interface can be configured in the trigger source and the pulse generator source.
Line Source item
Description
Low
Connect Low Level signal to line item selected in Line Selector, Default setting
High
Connect High Level signal to line item selected in Line Selector
Acquisition Trigger Wait
Connect Acqusition Trigger Wait signal to line item selected in Line Selector
Acqusition Active
Connect Acqusition Active signal to line item selected in Line Selector
Frame Trigger Wait
Connect Frame Trigger Wait signal to line item selected in Line Selector
Frame Active
Connect Frame Active signal to line item selected in Line Selector
Exposure Active
Connect Exposure Active signal to line item selected in Line Selector
FVAL
Connect FVAL signal to line item selected in Line Selector
LVAL
Connect LVAL signal to line item selected in Line Selector
PulseGenerator0 Out
Connect Pulse Generator 0 signal to line item selected in Line Selector
PulseGenerator1 Out
Connect Pulse Generator 1 signal to line item selected in Line Selector
Line 4 – TTL IN 1
Connect TTL IN 1 signal to line item selected in Line Selector
Line 5 – OPTO IN 1
Connect OPTO IN 1 signal to line item selected in Line Selector
User output 0
Connect User output 0 signal to line item selected in Line Selector
User output 1
Connect User output 1 signal to line item selected in Line Selector
User output 2
Connect User output 2 signal to line item selected in Line Selector
User output 3
Connect User output 3 signal to line item selected in Line Selector
Nand0 Out
Connect NAND 0 signal to line item selected in Line Selector
Nand1 Out
Connect NAND 1 signal to line item selected in Line Selector
Line 10 TTL IN 2
Connect TTL IN 2 signal to Line 10
Line 11 LVDS IN
Connect LVDS IN signal to Line 11
Note: (1) The user output is the trigger signal generated by software in PC for the camera. (2) As for LVAL, some line items cannot be connected. Refer to “5.3.6.2 GPIO matrix table”
SP-20000M-USB / SP-20000C-USB
- 14 -
5.3.3 Line Mode
Indicates the status of the item selected in Line Selector. (INPUT or OUTPUT)
5.3.4 Line Inverter
Inverts the signal polarity for the item selected in Line Selector. (False=Positive, True=Negative)
5.3.5 Line Status
Indicates the status of the selected signal (input or output) (True=High, False=Low)
5.3.6 Line Format
Indicates the interface category of input and output for the selected signal.
Category: No connect, TTL, LVDS and OPTO coupled
5.3.6 GPIO
GPIO is a general interface for input and output and controls the I/O for trigger signals and other valid signals and pulse generators. By using this interface you can control an external light source, make a delay function for an external trigger signal, or make a precise exposure setting together with a PWC trigger.
5.3.6.1 Basic block diagram
The basic block diagram is as follows. In the SP-20000-USB, the pixel clock is 40 MHz.
SP-20000M-USB / SP-20000C-USB
- 15 -
Soft Trigger
FVAL IN
Exposure Active
Acquisition Trigger Wait
Acquisition Active Frame Trigger Wait
Frame Active
GPIO 4 (TTL IN 1)
GPIO 10 (TTL IN2)
GPIO 11 (LVDS IN)
Pixel Clock
Cross Point
Switch
12 bit Counter
INV
INV
INV N
NAND
INV
Non INV
Pulse Generator
20 bit counter x 2
CLR
Sel Bit (5,0) Sel Bit (7)
Sel Bit (7)
Pulse Generator 0 Pulse Generator 1
Trigger 1 (Acquisition End)
GPIO 1 (TTL OUT 1)
GPIO 8 (TL OUT 2) GPIO 9 (TTL OUT 3)
Sel Bit (7)
Clock IN
Clear IN
Gate 1 Gate 2
User output 0
User output 1
User output 2
User output 3
GPIO 5 (OPTO IN 1)
Trigger 0 (Acquisition Start)
Trigger 2 (Frame Start)
GPIO 2 (OPT OUT 1)
Trigger 3 (Acquisition Transfer Start)
Fig.5 GPIO interface
SP-20000M-USB / SP-20000C-USB
- 16 -
5.3.6.2 Input and output matrix table
The relationship between input and output is as follows.
Table - 6 GPIO matrix table
Selector (Cross point switch output)
Source signal
(Cross point switch input)
Low
   
High
   
Soft Trigger
Acqusition Trigger Wait
 
Acqusition Active
 
Exposure Active
 
Frame Trigger Wait
 
Frame Active
 
FVAL
 
LVAL
 
Pulse Generator 0
 
Pulse Generator 1
 
Line 4 - TTL In1
 
Line 5 - OPTO IN 1
 
NAND 0 Out
 
NAND 1 Out 1
 
User Output 0
 
User Output 1
 
User Output 2
 
User Output 3
 
Line 10 - TTL IN 2
 
Line 11 - LVDS IN
 
Trigger
Source
Line Selector
Pulse
Gener ator
Selector
Frame Start
Line 1 - TTL OUT 1
Line 8 - TTL OUT 2
Line 2 OPTO OUT 1
Acquisition Start
Acquisition End
Pulse
Gener ator
Clear
Source
Line Source
Line 9 - TTL OUT 3
NAND 1 In 1
NAND 1 In 2
NAND 2 In 1
NAND 2 In 2
Pulse Generator 0
Pulse Generator 1
Trigger
Selector
Acquisition Transfer Start
SP-20000M-USB / SP-20000C-USB
- 17 -
5.3.6.3 Associated GenICam Register information
GenICam
Name
Access
Values
Category
Line Selector
R/W
Line1,2,4,5,711 NAND 0 In1 to 2 NAND 1 In1 to 2
Digital I/O
Line Mode
RO
Output Input
Digital I/O
Line Inverter
R/W
False True
Digital I/O
Line Status
RO
False True
Digital I/O
Line Source
R/W
Low High Acquisition Trigger Wait Acquisition Active Frame Trigger Wait Frame Active Exposure Active FVAL Pulse Generator0 Pulse Generator1 User Out0 User Out1 User Out2 User Out3 TTL In1 Opt In NAND0 NAND1 TTL In2 LVDS In
Digital I/O
Line Format
RO
TTL Opto Coupled
Digital I/O
SP-20000M-USB / SP-20000C-USB
- 18 -
5.4 Optical Interface
SP-20000-USB is equipped with opto-isolated inputs and outputs, providing galvanic separation between the camera’s inputs/outputs and peripheral equipment. In addition to galvanic separation, the opto-isolated inputs and outputs can cope with a wide range of voltages; the voltage range for inputs is +3.3V to +24V DC whereas outputs will handle +5V to +24V DC. The following drawing is the concept of photo coupler
Fig.6 Photo coupler
5.4.1 Recommended External Input circuit diagram for customer
Fig.7 Example of external input circuit
5.4.2 Recommended External Output circuit diagram for customer
Fig.8 Example of external output circuit
TLP2366
1
3
6 5 4
1SS400
180CS
180CS
TC7WG14FK
3 5
BF545C
SD
G
IN
HIROSE_12PIN
HIROSE_12PIN
USER POWER
+3.3V to +24V
JAI SP Series CAMERA side
User side
2SC6033
220BS
220BS
1SS400
180BS TC7WG14FK
17
100KBS
TLP109(TPR,E)
1
34
5
6
OUTHIROSE_12PIN
HIROSE_12PIN
270
USER POWER +5V to +24V
OUT
User side
JAI SP Series CAMERA side
SP-20000M-USB / SP-20000C-USB
- 19 -
5.4.3 Characteristics of optical interface
The relationship of the input signal to the output signal through the optical interface is as follows.
270Ω
User PowerVCC
3.3V
5V
12V 24V
Time Delay Rise TDR (us)
0.54
0.54
0.62
0.68
Rise Time RT (us)
1.2
1.2 2 3
Time Delay Fall TDF (us)
1.5
1.5
2.4
2.1
Fall Time FT (us)
3.6
3.4
4.5
6.8
Fig.9 Optical interface characteristics
5.5 Pulse Generator
The SP-20000-USB has a frequency divider using the sensor clock as the basic clock and two pulse generators. In each Pulse Generator, various Clear settings are connected to GPIO. The following shows Pulse Generator default settings.
Table - 7 Pulse Generator default settings
5.5.1 Clock Pre-scaler
Clock pre-scaler (Divide Value) can set the dividing value of the frequency divider (12-bit length) and the sensor clock is used for this. Two built-in pulse generators work by the same clock.
In the SP-20000-USB, the sensor pixel clock is 40 MHz .
Display Name
Value
Clock Pre-scaler
1
Pulse Generator Selector
Pulse Generator
Length
Start Point
End Point
Repeat Count
Clear Source
Clear Inverter
Clear Activation
Clear Sync Mode
-
Pulse Generator 0
1 0 1 0 Off
True
Off
Async Mode
-
Pulse Generator 1
1 0 1 0 Off
True
Off
Async Mode
Note: When Pulse Generator Repeat Count is set to “0”, the camera is operating in free-running mode.
However, based on the above default settings, Length=1, Start Point=0 and End Point=1, Pulse Generator stops at High output. Therefore, if Start Point =0 and End Point=1 are configured, Length should be “2” as the minimum active width.
SP-20000
270Ω
User
Power
Output line
Voltage
SP-20000M-USB / SP-20000C-USB
- 20 -
5.5.2 Pulse Generator Selector
This is where you select one of the 2 pulse generators in order to set or modify its parameters.
Table - 8 Pulse Generator setting
Fig.10 Pulse Generator pulse construction
5.5.3 Pulse Generator Length
Set the counter up value (number of clocks, refer to Table 12) for the selected pulse
generator. If Repeat Count value is 0, and if Pulse Generator Clear signal is not input, the pulse generator generates the pulse repeatedly until reaching this counter up value.
5.5.4 Pulse Generator Start Point
Set the active output start count value for the selected pulse generator. However, please note that a maximum jitter of 1 clock can occur for the clock which is divided in the clock pre-scaler.
5.5.5 Pulse Generator End Point
Set the active output ending count value for the selected pulse generator.
5.5.6 Pulse Generator Repeat Count
Set the repeating number of the pulse for the selected pulse generator. After Trigger Clear signal is input, the pulse generator starts the count set in Repeat Count. Accordingly, an active pulse which has a start point and end point can be output repeatedly. However, if Repeat Count is set to 0, it works as a free-running counter.
Pulse generator length
Pulse generator Start point
Pulse generator End point
Pulse generator repeat count = N (Pulse generator length x N)
Pulse generator Clear source IN
(Clear activation = Rising edge Clear SYNC mode = Async)
Pulse generator Output
Pulse generator length
Pulse generator length
000
Trigger Selector item
Description
Pulse Generator 0
If Pulse Generator 0 is selected, Length, Start Point, End Point, Repeat Count, Clear Source, Clear Inverter, Clear Activation and Clear Sync Mode of Pulse Generator 0 are displayed under the selector.
Pulse Generator 1
If Pulse Generator 1 is selected, Length, Start Point, End Point, Repeat Count, Clear Source, Clear Inverter, Clear Activation and Clear Sync Mode of Pulse Generator 1 are displayed under the selector.
SP-20000M-USB / SP-20000C-USB
- 21 -
5.5.7 Pulse Generator Clear Activation
Set the clear conditions of clear count pulse for the selected pulse generator.
5.5.8 Pulse Generator Clear Sync Mode
Set the counter clear method for the selected pulse generator. In the case of Async Mode, if the clear signal is input during the length setting value, the counter will stop counting according to the clear signal input. In the case of Sync Mode, if the clear signal is input during the length setting value, the counter will continue to count until the end of the length setting value and then clear the count. Both modes clear the repeat count when the counter is cleared.
Fig.11 Counter clear in Async mode
Fig.12 Counter clear in Sync mode
0
Clear
Pulse
Generator Output
Pulse
Generator Clear Source In
(Example 1) Clear Activation = Rising Edge, Clear Sync Mode = Async Mode,
Clear Inverter = False
(Example 2) Clear Activation = Rising Edge, Clear Sync Mode = Sync Mode,
Clear Inverter = False
Pulse
Generator Output
Pulse
Generator Clear Source In
0
Pulse
Generator
Length
0
Clear
Note: Repeat Count is also reset.
SP-20000M-USB / SP-20000C-USB
- 22 -
5.5.9 Pulse Generator Clear Source
The following clear sources can be selected as the pulse generator clear signal.
Tabel - 9 Pulse generator clear source
Pulse Generator Clear Source item
Description
Low
Connect Low level signal to Clear Source for the selected pulse generator.
Default setting
High
Connect High level signal to Clear Source for the selected pulse generator.
Software
Connect Software signal to Clear Source for the selected pulse generator.
Acqusition Trigger Wait
Connect Acquisition Trigger Wait signal to Clear Source for the selected pulse generator.
Acquisition Active
Connect Acquisition Active signal to Clear Source for the selected pulse generator.
Frame Trigger Wait
Connect Frame Trigger Wait signal to Clear Source for the selected pulse generator.
Frame Active
Connect Frame Active signal to Clear Source for the selected pulse generator.
Exposure Active
Connect Exposure Active signal to Clear Source for the selected pulse generator.
FVAL
Connect FVAL signal to Clear Source for the selected pulse generator.
PulseGenerator0 Out
Connect Pulse Generator 0 output to Clear Source for the selected pulse generator.
PulseGenerator1 Out
Connect Pulse Generator 1 output to Clear Source for the selected pulse generator.
Line 4 - TTL IN 1
Connect TTL IN 1 signal to Clear Source for the selected pulse generator.
Line 5 – OPTO IN1
Connect OPTO IN 1 signal to Clear Source for the selected pulse generator.
Nand0 Out
Connect NAND 0 output signal to Clear Source for the selected pulse generator.
Nand1 Out
Connect NAND 1 output signal to Clear Source for the selected pulse generator.
User Output 0
Connect User Output 0 signal to Clear Source for the selected pulse generator.
User Output 1
Connect User Output 1 signal to Clear Source for the selected pulse generator.
User Output 2
Connect User Output 2 signal to Clear Source for the selected pulse generator.
User Output 3
Connect User Output 3 signal to Clear Source for the selected pulse generator.
Line 10 TTL IN 2
Connect TTL 2 IN signal to LINE 10.
Line 11 LVDS IN
Connect LVDS 1 IN signal to Line 11
Note: The pulse generator output cannot be used as the clear input to the same pulse generator. Refer to “5.3.6.2.GPIO matrix table”.
SP-20000M-USB / SP-20000C-USB
- 23 -
5.5.10 Pulse Generator Inverter
Clear Source Signal can have polarity inverted.
5.5.11 Pulse Generator setting parameters
Table - 10 Pulse Generator setting parameters
Display Name
Value
Clock Pre-scaler
1 to 4096
Pulse Generator Clock (MHz)
[Pixel Clock: 40 MHz ]÷[Clock Pre-scaler]
Pulse Generator Selector
- Pulse Generator 0
- Pulse Generator 1
- Pulse Generator Length
1 to 1048575
- Pulse Generator Length (ms)
[Clock Source]÷[Clock Pre-scaler])-1 x [Pulse Generator Length]
- Pulse Generator Frequency (Hz)
Pulse Generator Length (ms)]-1
- Pulse Generator Start Point
0 to 1048574
- Pulse Generator Start Point (ms)
[Clock Source]÷[Clock Pre-scaler])-1 x [Pulse Generator Start Point]
- Pulse Generator End Point
1 to 1048575
- Pulse Generator End Point (ms)
[Clock Source]÷[Clock Pre-scaler])-1 x [Pulse Generator End Point]
- Pulse Generator pulse-width (ms)
[ Pulse Generator End Point (ms)][ Pulse Generator Start Point (ms)]
- Pulse Generator Repeat Count
0 to 255
- Pulse Generator Clear Activation Clear Mode for the Pulse Generators
- Off
- High Level
- Low level
- Rising Edge
- Falling Edge
- Pulse Generator Clear Sync Mode
- Async mode
- Sync mode
- Pulse Generator Clear Source
- Low
- High
- Software
- Acquisition Trigger Wait
- Acquisition Active
- Frame Trigger Wait
- Frame Active
- Exposure Active
- FVAL
- PulseGenerator0
- PulseGenerator1
- Line 4 – TTL IN 1
- Line 5 – OPTO IN 1
- NAND0 Out
- NAND1 Out
- User Output 0
- User Output 1
- User Output 2
- User Output 3
- Line 10 - TTL 2 In
- Line 11 - LVDS 1 In
- Pulse Generator Inverter(Polarity) Pulse Generator Clear Inverter
- False
- True
Note: 1. If Pulse Generator Repeat Count is set to “0”, the pulse generator works in free-running mode.
2. The output of the same pulse generator cannot be connected to Clear input.
SP-20000M-USB / SP-20000C-USB
- 24 -
Table – 11 Associated GenICam register information
GenICam Name
Access
Values
Category
Pre-scaler
R/W
1 to 4096
Pulse Generators
Pulse Generator Selector
R/W
PG0 to PG1
Pulse Generators
Pulse Generator Length
R/W
0 to 1048575
Pulse Generators
Pulse Generator Start Point
R/W
0 to 1048575
Pulse Generators
Pulse Generator End Point
R/W
0 to 1048575
Pulse Generators
Pulse Generator Repeat Count
R/W
0 to 255
Pulse Generators
Pulse Generator Clear Activation
R/W
Free Run High Level Low Level Rising Edge Falling Edge
Pulse Generators
Pulse Generator Clear Source
R/W
Low High Soft Acquisition Trigger Wait Acquisition Active Frame Trigger Wait Frame Active Exposure Active FVAL PG0 to 1 User out 0 to 3 TTL in Opto1 in NAND 0 to 1
Pulse Generators
Pulse Generator Invertor
R/W
True False
Pulse Generators
Pulse Generator Sync Mode
R/W
Async Mode Sync Mode
Pulse Generators
SP-20000M-USB / SP-20000C-USB
- 25 -
6. Sensor layout, output format and timing
6.1 Sensor layout
The CMOS sensors used in the SP-20000-USB have the following pixel layout.
6.1.1 Monochrome sensor
Fig. 13 Monochrome sensor layout
6.1.2 Bayer sensor
Fig. 14 Color sensor layout
5120 Pixels
3840 Pixels
F
Pixel (0,0)
5120 Pixels
3840 Pixels
F
Pixel (0,0)
SP-20000M-USB / SP-20000C-USB
- 26 -
6.2 Camera output format (Tap Geometry)
Table - 11 Output format
Camera output format
Pixel format
Refer to drawing
1X–1Y
8-bit, 10-bit, 12-bit, 10bit_Packed, 12bit_Packed
6.2.1
Note: The camera output description is based on GenICam SFNC Ver.1.5.1.
6.2.1 1X–1Y
1X–1Y is 1-tap readout system specified in GenICam Tap Geometry and it outputs as the following.
Width = 5120 Pixels
Height = 3840 Pixel
X5120
Y1
X5120 Y3840
X4 Y1
X4
Y3840
X3 Y1
X3
Y3840
X2 Y1
X2
Y3840
X5 Y1
X5
Y3840
X6 Y1
X6
Y3840
X7 Y1
X7
Y3840
X8 Y1
X8
Y3840
X5113
Y1
X5113 Y3840
X5114
Y1
X5114 Y3840
X5115
Y1
X5115 Y3840
X5116
Y1
X5116 Y3840
X5117
Y1
X5117 Y3840
X5118
Y1
X5118 Y3840
X5119
Y1
X5119 Y3840
X5120
Y1
X5120
Y2
X5120 Y3839
X5120 Y3840
X1 Y1
X1 Y2
X1
Y3839
X1
Y3840
Tap 1
Pixel(0,0)
Step Y = 1
Step X = 1
Fig. 15 1X–1Y output system
6.2.2 Pixel Type
In the SP-20000-USB, Pixel Type conforms with the AIA USB3 Vision standard.
SP-20000M-USB
SP-20000C-USB
Mono8
BayerRG8
Mono10, Mono10_Packed
BayerRG10, BayerRG10_Packed
Mono12, Mono12_Packed
Bayer12, Bayer12_Packed
SP-20000M-USB / SP-20000C-USB
- 27 -
6.3 Output timing and output image
6.3.1 Horizontal timing
The horizontal frequency depends on the link configuration. The following chart and tables explain the details. In the SP-20000M-USB, the horizontal frequency does not change when horizontal binning is effective, and therefore, the frame rate is not increased. In the following tables, Binning OFF is represented by 1 and Binning ON is 2.
FVAL Active
(a) LVAL Active (b)
(c) H-Offset
Internal FVAL
Internal LVAL
Internal DVAL
Internal DATA
DVAL Active
(d)
Exposure Active
Fig.16 Horizontal timing
SP-20000M-USB / SP-20000C-USB
- 28 -
Table – 12 Horizontal format in continuous trigger (1/2)
Table – 13 Horizontal format in continuous trigger (2/2)
Camera Settings
(a)
(b)
(c)
(d)
ROI
Binning
LVAL
Active
LVAL
Non-Active
H-Offset
Exposure
Active Start
to
LVAL
Active Start
Step
(Typ.)
Width
Offset X
Height
Offset Y
Horizontal
Vertical
[Unit:
Clock]
[Unit:
Clock]
[Unit:
Clock]
[Unit: us]
LSB
5120
0
3840 0 1
1
640
1
0
7.8
16
5120
0
1920 0 1
2
640
642
0
7.8
or
23.8
16
2560
0
3840 0 2
1
320
321
0
7.8
16
2560
0
1920 0 2
2
320
962
0
7.8
or
23.8
16
Note: (1) The horizontal frequency is not doubled if horizontal binning is ON. (2) If vertical binning is ON, the horizontal frequency becomes half. (3) H-Offset: The period from the LVAL Active start to DATA Active start (4) If the next frame is exposed while the image is read out in the vertical binning mode, the exposure
control is controlled by 0.5 line.
(5) “(d) Exposure Active Start to LVAL Active Start” has 1 clock difference due to the jitter in LVAL Non
Active period.
(6) LVAL signal connected GPIO does not chage by setting of Binning Horizontal and/or Binning Vertical
Camera Settings
ROI
Binning
1Line
Total
Clock
Horizontal Frequency
Horizontal
Period
Width
Offset X
Height
Offset Y
Horizontal
Vertical
[Unit: Clock]
[Unit: kHz]
[Unit: us]
5120
0
3840 0 1
1
641
62.402
16.025
5120
0
1920 0 1
2
1282
31.201
32.050
2560
0
3840 0 2
1
641
62.402
16.025
2560
0
1920 0 2
2
1282
31.201
32.050
Loading...
+ 75 hidden pages