IAI cm-140ge, cm-140ge-ra, cb-140ge-ra, cb-140ge, cm-140ge-uv User Manual

CM-140GE
CB-140GE
CM-140GE-RA
CB-140GE-RA
Digital Monochrome / Color
Progressive Scan GigE Vision Camera
Document Version: 2.0
Camera revision: G (UV:A)
CMB-140GE_Ver.2.0_Sept09
User's Manual
CM-140GE / -RA/-UV / CB-140GE / -RA
- 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 CM-140GE, CB-140GE, CM-140GE­RA ,CB-140GE-RA and CM-140GE-UV 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 users authority to operate the equipment.
CM-140GE
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定。
CB-140GE
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定。
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 3 -
Table of Contents
1. General ....................................................................................................... - 5 -
2. Camera nomenclature ...................................................................................... - 5 -
3. Main Features ................................................................................................ - 6 -
4. Locations and Functions ................................................................................... - 7 -
5. Pin Assignment .............................................................................................. - 9 -
5.1. 12-pin Multi-connector (DC-in/GPIO/Iris Video) ....................................................... - 9 -
5.2. Digital Output Connector for Gigabit Ethernet ........................................................ - 9 -
6. GPIO (General purpose inputs and outputs) ......................................................... - 10 -
6.1. Overview .................................................................................................... - 10 -
6.1.1. LUT (Look Up Table) ............................................................................. - 10 -
6.1.2. 12-bit Counter .................................................................................... - 11 -
6.1.3. Pulse Generators ................................................................................. - 11 -
6.2. Opto-isolated Inputs/Outputs ......................................................................... - 11 -
6.2.1 Recommended External Input circuit diagram for customer .............................. - 11 -
6.2.2 Recommended External Output circuit diagram for customer ............................ - 12 -
6.2.3 Optical Interface Specifications ................................................................. - 12 -
6.3. Inputs and outputs table .............................................................................. - 13 -
6.4. Configuring the GPIO module (register settings) ................................................... - 13 -
6.4.1. Input/Output Signal Selector.................................................................... - 13 -
6.4.2. 12bit counter....................................................................................... - 14 -
6.4.3. Pulse generators (20 bit x 4) .................................................................... - 14 -
6.5. GPIO programming examples ........................................................................... - 17 -
6.5.1 GPIO in combination with Pulse Width trigger mode ...................................... - 17 -
6.5.2 Internal Trigger Generator ........................................................................ - 18 -
7. GigE Vision Streaming Protocol (GVSP) ............................................................... - 19 -
7.1. Digital Video Output (Bit Allocation) ................................................................. - 19 -
7.2. Bit Allocation (Pixel Format / Pixel Type) – CM-140GE/-RA (monochrome) ................... - 19 -
7.2.1. GVSP_PIX_MONO8 (8bit) ......................................................................... - 19 -
7.2.2. GVSP_PIX_MONO10 (10bit) ...................................................................... - 20 -
7.2.3. GVSP_PIX_MONO10_PACKED (10 bit) ........................................................... - 20 -
7.3. Bit Allocation (Pixel Format / Pixel Type) – CB-140GE/-RA (Bayer mosaic color) ............. - 20 -
7.3.1 GVSP_PIX_BAYGB8 “BayerGB8” ................................................................... - 20 -
7.3.2 GVSP_PIX_BAYGB10 “BayerGB10” ................................................................ - 20 -
7.3.3 GVSP_PIX_BAYRG8 “BayerRG8“ .................................................................. - 21 -
7.3.4 GVSP_PIX_BAYRG10 “Bayer RG10” ............................................................... - 21 -
8. Functions and Operations ................................................................................ - 22 -
8.1. GigE Vision Standard Interface ......................................................................... - 22 -
8.2. Recommended Network Configurations ............................................................... - 22 -
8.2.1 Verified Network Interface Cards (NICs) ........................................................ - 22 -
8.2.2 Video data rate (network bandwidth) ........................................................... - 23 -
8.2.3 Disable Firewalls ................................................................................... - 24 -
8.2.4 Enabling Jumbo Frame ........................................................................... - 24 -
8.2.5 Setting Receive Descriptors ...................................................................... - 26 -
8.2.6 Interrupt Moderation rate ........................................................................ - 27 -
8.2.7 Calculating and setting Inter-Packet Delay .................................................... - 27 -
8.2.8 Confirm the Filter Driver is used ................................................................ - 28 -
8.2.9 Other settings ...................................................................................... - 29 -
8.2.10 Note for 100BASE-TX connection .......................................................... - 29 -
8.3. Basic functions ............................................................................................. - 30 -
8.3.1 Vertical binning (CM-140GE only). ............................................................ - 30 -
8.3.2 CB-140GE Bayer mosaic filter ................................................................. - 30 -
8.3.3 Electronic shutter ................................................................................. - 31 -
8.3.4. Auto Iris Lens video output (12-pin Hirose connector) ..................................... - 32 -
8.3.5 Auto-detect LVAL-sync / a-sync. accumulation .............................................. - 33 -
8.3.6 Rear panel indicator. ............................................................................. - 33 -
CM-140GE / -RA/-UV / CB-140GE / -RA
- 4 -
8.4. Sensor Layout and timing ............................................................................... - 34 -
8.4.1. CCD Sensor Layout ................................................................................. - 34 -
8.4.2. Horizontal timing .................................................................................. - 35 -
8.4.3. Vertical timing ...................................................................................... - 35 -
8.4.4. Partial Scanning .................................................................................... - 36 -
Vertical Timing ............................................................................................. - 36 -
8.4.5. Vertical binning .................................................................................... - 37 -
8.5. Operation Modes .......................................................................................... - 38 -
8.5.1 Continuous operation ............................................................................. - 38 -
8.5.2 Edge Pre-Select trigger mode ................................................................... - 39 -
LVAL_sync timing ........................................................................................... - 39 -
LVAL_a-sync timing ........................................................................................ - 39 -
8.5.3 Pulse Width Control trigger mode .............................................................. - 40 -
LVAL_sync timing ........................................................................................... - 40 -
LVAL_a-sync timing ........................................................................................ - 41 -
8.4.4 Reset Continuous (RCT) trigger mode ......................................................... - 42 -
8.5.4 Sequential Trigger Mode (Pre-Select trigger) ................................................ - 43 -
8.5.5 Delayed Readout mode (Pre-Select trigger and pulse width control trigger) .......... - 44 -
8.5.6 Optical Black transfer mode ..................................................................... - 45 -
8.6. Operation Mode and Functions matrix ............................................................... - 46 -
9. Register Map ............................................................................................... - 47 -
10. External Appearance and Dimensions ............................................................... - 56 -
11. Specifications ............................................................................................ - 58 -
11.1. Spectral response ....................................................................................... - 58 -
11.2. Specification table (CM/CB-140GE/140GE-RA) .................................................... - 60 -
11.3. Specification table (CM-140GE-UV) .................................................................. - 62 -
12. Appendix .................................................................................................. - 64 -
12.1. Precautions .............................................................................................. - 64 -
12.2. Typical Sensor Characteristics ........................................................................ - 64 -
12.3. Caution when mounting a lens on the camera ..................................................... - 64 -
12.4. Caution when mounting the camera ................................................................. - 65 -
12.5. Exportation ............................................................................................... - 65 -
12.6. References ............................................................................................... - 65 -
Change History ................................................................................................ - 67 -
User's Record .................................................................................................. - 68 -
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 5 -
1. General
This manual covers the digital monochrome progressive scan camera CM-140GE/CM­140GE-RA and color progressive scan camera CB-140GE/CB-030GE-RA
The CM-140GE/CM-140GE-RA/CB-140GE/CB-140GE-RA /CM-140GE-UV is a GigE Vision compliant camera. Both the monochrome version CM-140GE/CM-140GE-RA and the color version CB­140GE/CM-140GE-RA provide a frame rate of 31 frames/second at full resolution in continuous operation. Using vertical binning (CM-140GE/CM-140GE-RA only) and partial scan provides higher frame rates.
The 1/2" CCD with square pixels offers a superb image quality. The high-speed shutter function and asynchronous random trigger mode allows the camera to capture high quality images of fast moving objects.
The color version CB-140GE/CB-140GE-RA, based on CCD sensor with primary RGB Bayer mosaic filter, outputs raw Bayer images. Host-based color interpolation is required to display or save color images.
The CM-140GE-UV employs UV sensitive sensor for covering UV wave length area.
The CM-140GE/CM-140GE-RA/CB-140GE/CB-140GE-RA/CM-140GE-UV also complies with the GenICam standard and contains an internal XML file that is used to describe the functions/features of the camera. For further information about GigE®Vision standard, please go to www.machinevisiononline.org and about GenICamTM, please go to www.emva.org.
As an application programming interface, JAI provides an SDK (Software Development Kit). This SDK includes GigEVision Filter Driver,JAI control tool, software documentation and code examples.
The JAI SDK can be downloaded from www.jai.com
The latest version of this manual can be downloaded from www.jai.com
For camera revision history, please contact your local JAI distributor.
2. Camera nomenclature
The standard camera composition consists of the camera main body and C-mount protection cap.
The camera is available in the following versions:
CM-140 GE / CM-140GE-RA
Where C stands for "Compact" family, M stands for "Monochrome", 140 represents the resolution "1.4 million pixel", 140 represents variation with the same resolution, GE stands for "GigE Vision" interface , RA stands for Right Angle type and UV for UV sensitive version.
CB-140 GE / CB-140GE-RA
Where C stands for "Compact" family, B stands for "Bayer mosaic color", 140 represents the resolution "1.4 million pixel" 140 represents variation with the same resolution , GE stands for "GigE Vision" interface , RA stands for Right Angle type and UV for UV sensitive version.
CM-140GE / -RA/-UV / CB-140GE / -RA
- 6 -
3. Main Features
Member of C3 Compact series, covering VGA to UXGA resolution 1392 (h) x 1040 (v) 4.65 µm square pixels 1/2” progressive scan – Monochrome and Bayer mosaic color versions UV sensitive version CM-140GE-UV available 31 frames(16.14 frames for UV)/second with full resolution in continuous operation 30 frames(16 frames for UV)/second with external trigger and full resolution Increased frame rate with vertical binning (CM-140 GE only) and partial scan Exposure time from 61.168μs (117.8μs for UV)to 2 sec. using Pulse Width trigger mode Programmable exposure from 61.168μs(117.8μs for UV) to 32.17 ms in Full Frame scan Sequencer trigger mode for on-the –fly change of gain, exposure and ROI Edger pre-select and Pulse Width control trigger modes LVAL-synchronous/-asynchronous operation (auto-detect) Auto iris lens video output allows a wider range of light GigE Vision Interface with 10 or 8-bit output Programmable GPIO with opto-isolated inputs and outputs Can be connected with 100BASE-TX Right Angle type is available as CM-140GE-RA and CB-140GE-RA Comprehensive software tools and SDK for Windows XP/Vista
Note: CM/CB-140GE ,CM/CB-140GE-RA and CM-140GE-UV can be connected with
100BASE-TX. However, due to the limited bandwidth (100Mbps), the described specifications such as frame rate, minimum trigger interval and so on cannot be satisfied for 100BASE-TX connection.
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 7 -
4. Locations and Functions
Lens mount C-mount (Note *1)
CCD sensor 1/2 inch CCD sensor 12-pin connector DC +12V power and GPIO interface RJ-45 Gigabit Ethernet connector with treaded holes for
thumbscrews
 LED Indication for power and trigger input
LED GigE Network condition: LINK LED GigE Network condition: ACT Holes for RJ-45 thumbscrews When an RJ-45 connector with thumbscrews is used,
remove the two screws located above and below the Ethernet connector (Note*2)
Mounting holes M3 depth 3.5mm for tripod mount plate (Note*3) *1) Note: Rear protrusion on C-mount lens must be less than 10.0mm. *2) Note: When a RJ-45 cable with thumbscrews is connected to the camera, please do not
excessively tighten screws by using a screw driver. The RJ-45 receptacle on the camera might get damaged. For security, the strength to tighten screws should be less than 0.147 Newton meter (Nm). Tightening by hand is sufficient in order to achieve this.
*3) Note: The depth of holes is 3.5mm. When the tripod adapter plate MP-40 or MP-41 is used, use
attached screws. If installing the camera directly, please do not use the screws longer than 3.5mm.
Fig.1. Locations
CM-140GE / -RA/-UV / CB-140GE / -RA
- 8 -
Lens mount C-mount (Note *1)
CCD sensor 1/3 inch CCD sensor 12-pin connector DC +12V power and GPIO interface RJ-45 Gigabit Ethernet connector with threaded holes for
thumbscrews  LED Indication for power and trigger input
LED GigE Network condition: LINK LED GigE Network condition: ACT Holes for RJ-45 thumbscrews When an RJ-45 connector with thumbscrews is used,
remove the two screws located above and below the Ethernet connector (Note*2)
Mounting holes M3 depth 3.5mm for tripod mount plate (Note*3)
*1) Note: Rear protrusion on C-mount lens must be less than 10.0mm. *2) Note: When a RJ-45 cable with thumbscrews is connected to the camera, please do not
excessively tighten screws by using a screw driver. The RJ-45 receptacle on the camera might get damaged. For security, the strength to tighten screws is less than 0.147 Newton meter (Nm). Tightening by hand is sufficient in order to achieve this.
*3) Note: The depth of holes is 3.5mm. When the tripod adapter plate MP-40 or MP-41 is used, use
the attached screws. If installing the camera directly, please do not use screws longer than 3.5mm.
Fig.2 Locations (CM-140GE-RA / CB-140GE-RA)
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 9 -
5. Pin Assignment
5.1. 12-pin Multi-connector (DC-in/GPIO/Iris Video)
Type: HR10A-10R-12PB (Hirose) male. (Seen from rear of camera).
Fig.3. 12-pin connector.
5.2. Digital Output Connector for Gigabit Ethernet
Type: RJ-45 HFJ11-1G02E-L21RL or equivalent
The CM-140GE/CM-140GE-RA and CB-140GE/CB-140GE-RA cameras also accept industrial RJ-45 connectors with thumbscrews. This assures that the connector does not come undone in tough industrial environments. Please contact the nearest JAI distributor for details on recommended industrial RJ-45 connectors.
Fig. 4. Gigabit Ethernet connector
The digital output signals follow the Gigabit Ethernet interface using RJ-45 conforming connector. The following is pin assignment for Gigabit Ethernet connector.
Pin No
In/Out
Name
1
In/Out
MX1+ (DA+)
2
In/Out
MX1- (DA-)
3
In/Out
MX2+ (DB+)
4
In/Out
MX3+ (DC+)
5
In/Out
MX3- (DC-)
6
In/Out
MX2- (DB-)
7
In/Out
MX4+ (DD+)
8
In/Out
MX4- (DD-)
Pin no.
Signal
Remarks
1
GND
2
+12 V DC input
3
Opto IN 2 (-) / GND (*1)
GPIO IN / OUT
4
Opto IN 2 (+)/Iris Video out (*1)
5
Opto IN 1 ( - )
6
Opto IN 1 ( + )
7
Opto Out 1 ( - )
8
Opto Out 1 ( + )
9
Opto Out 2 ( - )
10
Opto Out 2 ( + )
11
+ 12 V DC input
12
GND
*1: Iris Video output function can be set by the internal DIP switch.
3
4
5
6
7
8
9
10
11
12
1
2
CM-140GE / -RA/-UV / CB-140GE / -RA
- 10 -
6. GPIO (General purpose inputs and outputs)
6.1. Overview
All input and output signals pass through the GPIO (General Purpose Input and Output) module. The GPIO module consists of a Look-Up Table (LUT – Cross-Point Switch), 4 Pulse Generators and a 12-bit counter. In the LUT, the relationship between inputs, counters and outputs is governed by internal register set-up.
LUT
( Cross Point Switch )
Pulse Generator 1
(20 bit Counter )
Pulse Generator 0
(20 bit Counter )
12 bit
Counter
TRIGGER 0 TRIGGER 1 PORT 1 1 PORT 2
Time Stamp Reset
LVAL IN DVAL IN FVAL IN EEN IN OPT IN 1 OPT IN 2
Soft Trigger 0
Soft Trigger 1 Soft Trigger 2
Soft Trigger 3
INOUT
Pulse Generator 0 Pulse Generator 1
Pulse Generator 0 Pulse Generator 1
Digital I/O(GPIO) setting
0 1 2 3 4 5
12 13 14 15
16 17
Digital I/O(GPIO) setting
0 1 4 5
16
12 13
Setting for
Line Source
Setting for
Line Selector
25 MHz Pixel Clock
Counter Clock Source
0
1
Counter Divide by value
1/2 to 1/4096
Bypass0
1 - 4095
Pulse Generator Setting 0
Start Point Counter 0 ( 1)
Length counter 0
Start Point Counter 0 (2) for repeat End point counter 0 Counter 0 clear
Pulse Generator Setting 1
Pulse Generator 1 Pulse Generator 1
18 19
Pulse Generator 2 Pulse Generator 3
14 15
Pulse Generator Setting 2
Pulse Generator Setting 3
Pulse Generator 2
(20 bit Counter )
Pulse Generator 3
(20 bit Counter )
On the above block diagram, Trigger 0 is used for Exposure and Trigger 1 is used for Delayed Readout. The Time Stamp Reset can reset the time stamp complied with GigE Vision standard. This is used for having the same time stamp in case of using multiple cameras.
The blocks shown in the above diagram have the following functionality:
6.1.1. LUT (Look Up Table)
The LUT works as a cross-point switch which allows connecting inputs and outputs freely. The signals LVAL_IN, DVAL_IN, FVAL_IN and EEN_IN all originate from the camera timing circuit. Trigger 0 is connected to the camera's timing circuit and is used for initiating triggered exposure. Trigger 1 is used for Delayed Readout mode. The Time Stamp Reset signal is used to reset the camera's time stamp function, also making it possible to reset and synchronize the time stamp of multiple cameras.
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 11 -
6.1.2. 12-bit Counter
A 25MHz clock or the camera pixel clock (65MHz) can be used as a source. The counter has a “Divide by N”, where N has the range 1 through 4096, allowing a wide range of clock frequencies to be programmed. Setting Value 0 is bypass, setting value 1 is 1/2 dividing and setting value 4095 is 1/4096 dividing.
6.1.3. Pulse Generators (0 to 3) Each pulse generator consists of a 20-bit counter. The behavior of these signals is defined by their pulse width, start point, end point and number of repetitions. The pulse generator signals can be set in either triggered or periodic mode. In triggered mode, the pulse is triggered by the rising edge/falling edge/high level or low level of the input signal. In periodic mode, the trigger continuously generates a signal that is based on the configured pulse width, starting point and end point.
6.2. Opto-isolated Inputs/Outputs
The control interface of the C3 GigE Vision camera series has 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 figure below shows the functional principle (opto-coupler) of the opto-isolated inputs/outputs.
Fig.5. Opto-coupler
6.2.1 Recommended External Input circuit diagram for customer
Fig.6 External Input Circuit, OPT IN 1 and 2
CM-140GE / -RA/-UV / CB-140GE / -RA
- 12 -
6.2.2 Recommended External Output circuit diagram for customer
Fig.7. External Output Circuit, OPT OUT 1 and 2
6.2.3 Optical Interface Specifications
The relation of the Input signal and the output signal through optical interface is as follows.
Conditions for Input
Input Line Voltage Range
+3.3v +24V
Input Current
6mA 30mA
Minimum Input Pulse Width to Turn ON
0.5us Output Specifications
Output Load(Maximum Current)
100mA
Minimum Output Pulse Width
20us
Time Delay Rise TDR
0.5us 0.7us
Rise Time RT
1.2us 3.0us
Time Delay Fall TDF
1.5us 3.0us
Fall Time FT
4.0us 7.0us
Fig.8. Optical Interface Performance
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 13 -
6.3. Inputs and outputs table
Output Port
Trigger 0
Trigger 1
OPT OUT1
OPT OUT2
Time Stamp Reset
Pulse Gen. 0
Pulse Gen. 1
Pulse Gen. 2
Pulse Gen. 3
Input Port
LVAL IN
× × × × × ○ ○ ○ ○
DVAL IN
× × × × × ○ ○ ○ ○
FVAL IN
× × × × × ○ ○ ○ ○
EEN IN
× × ○ ○ × ○ ○ ○ ○
OPT IN 1
○ ○ ○ ○ ○ ○ ○ ○ ○
OPT IN 2
○ ○ ○ ○ ○ ○ ○ ○ ○
Soft Trigger 0
○ ○ ○ ○ ○ ○ ○ ○ ○
Soft Trigger 1
○ ○ ○ ○ ○ ○ ○ ○ ○
Soft Trigger 2
○ ○ ○ ○ ○ ○ ○ ○ ○
Soft Trigger 3
○ ○ ○ ○ ○ ○ ○ ○ ○
Pulse Gen. 0
○ ○ ○ ○ ○ × ○ ○ ○
Pulse Gen. 1
○ ○ ○ ○ ○ ○ × ○ ○
Pulse Gen. 2
○ ○ ○ ○ ○ ○ ○ × ○
Pulse Gen. 3
×
LEGEND: O = valid combination / X = Not valid (do not use this combination)
6.4. Configuring the GPIO module (register settings)
6.4.1. Input/Output Signal Selector
Addres
s
Internal Name
GenIcam Name
Acces
s
Size
Value (Range)
0xB060
Selector CAMERA TRIGGER 0 (for Camera Trigger)
Camera Trigger
0
R/W
4
GPIO Selector: 0x00:CAMERA LVAL IN 0x01:CAMERA DVAL IN 0x02:CAMERA FVAL IN 0x03:CAMERA EEN IN 0x04:GPIO Port 1 IN 0x05:GPIO Port 2 IN 0x0C:SOFT TRIG 0 0x0D:SOFT TRIG 1 0x0E:SOFT TRIG 2 0x0F:SOFT TRIG 3 0x10:Pulse Generator 0 0x11: Pulse Generator 1 0x12: Pulse Generator 2 0x13: Pulse Generator 13 0x7F:No Connect
Add 0x80 will result in active low output.
0xB064
Selector CAMERA Trigger 1 (For Delayed Trigger)
Camera Trigger
1
R/W
4
0xB070
Selector GPIO PORT 1 (Optical Out 1)
GPIO_Port1
R/W
4
0xB074
Selector GPIO PORT 2 (Optical Out 2)
GPIO_Port2
R/W
4
0xB090
Pulse Generator 0 Selector
PulseGenerator
0
R/W
4
0xB094
Pulse Generator 1 Selector
PulseGenerator 1
R/W
4
0xB098
Pulse Generator 2 Selector
PulseGenerator 2
R/W
4
0xB09C
Pulse Generator 3 Selector
PulseGenerator 3
R/W
4
0xB0A0
Selector Time Stamp Reset
TimeStampRese
t
R/W
4
CM-140GE / -RA/-UV / CB-140GE / -RA
- 14 -
Start Point
End Point
Length
Start Point
End Point
Length
6.4.2. 12bit counter
Addres
s
Internal Name
GenIcam Name
Acces
s
Size
Value (Range)
0xB000
Counter Clock Choice
ClockSource
R/W
4
0x00: 25MHz 0x01: Pixel Clock
0xB004
Counter Dividing Value
ClockPreScaler
R/W
4
0x000: Bypass 0x001: 1/2 Dividing 0x002: 1/3 Dividing
| 0xFFF: 1/4096 Dividing
6.4.3. Pulse generators (20 bit x 4)
There are 4 pulse generators (designated 0 through 3) that can be used to create various timing scenarios by programming start point, endpoint, length and repeats.
The following example shows the FVAL input to pulse generator. The pulse generator creates the pulse using FVAL and the pulse is output through GPIO PORT 1.
Pulse Generator 0 IN
(FVAL )
0 1 2 3
1
99 100 101 102 103
2 1
Start Point = 0 End Point = 99
Length = 102
Clock IN Clock Source=Pixel Clock ( 60MHz) Clock Pre-scaler = 2399 ⇒ 25KHz
1/25KHz = 40µs
Pulse Generator Clear = 4: Rising Edge
Pulse Generator 0 OUT
(GPIO Port 1 )
Repeat counter: 0 to 255 =0: Continuously repeated
Pulse Generator Setting Example
Fig 9. Pulse generator setting example
The created pulse rises up at the start point and falls down at the end point as shown above. Accordingly, the High duration is (End point – Start point) clocks x (1/ Pulse gen. frequency).
In the above example, the original oscillation uses pixel clock (60 MHz) and the pixel clock is divided by 2400. A pulse frequency of the generator is 25 KHz ( 60000000/2400). As the start point is 0 and the end point is 99, the pulse having 100 x 1/25000 = 4ms width is created.
If the HIGH duration needs to be delayed against incoming trigger, the start point should be set at N. The delay value is N x (1/ 25000). In the above example, N is 0 which is no delay.
The length, in this case, is 102 clocks.
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 15 -
These settings can be achieved by JAI Control tool which is the part of JAI SDK.
Addres
s
Internal Name
GenIcam name
Acces
s
Size
Value (range)
0xB008
Length Counter 0
R/W
4
0x00001 to 0xFFFFF
0xB00C
Start point Counter 0(1)
R/W
4
0x00000 to 0xFFFFF
0xB010
Start point Counter 0(2)
R/W
4
0x00: infinite 0x01: 1 time | 0xFF: 255 times
0xB014
End point Counter 0
R/W
4
0x00001 to 0xFFFFF
0xB018
Counter Clear 0
R/W
4
0x00: Free Run 0x01: High Level Clear 0x02: Low Level Clear 0x04: Rising Edge Clear 0x08: Falling Edge Clear
0xB01C
Length Counter 1
R/W
4
0x00001 to 0xFFFFF
0xB020
Start point Counter 1(1)
R/W
4
0x00000 to 0xFFFFF
0xB024
Start point Counter 1(2)
R/W
4
0: Infinite 1: 1 time | 255: 255 times
0xB028
End point Counter 1
R/W
4
0x00001 to 0xFFFFF
0xB02C
Counter 1 Clear
R/W
4
0x00: Free Run 0x01: High Level Clear 0x02: Low Level Clear 0x04: Rising Edge Clear 0x08: Falling Edge Clear
0xB030
Length Counter 2
R/W
4
0x00001 to 0xFFFFF
0xB034
Start point Counter 2(1)
R/W
4
0x00000 to 0xFFFFF
0xB038
Start point Counter 2(2)
R/W
4
0x00: Infinite 0x01: 1 time | 0xFF: 255 times
0xB03C
End point Counter 2
R/W
4
0x00001 to 0xFFFFF
0xB040
Counter 2 Clear
R/W
4
0x00: Free Run 0x01: High Level Clear 0x02: Low Level Clear 0x04: Rising Edge Clear 0x08: Falling Edge Clear
0xB044
Length Counter 3
R/W
4
0x00001 to 0xFFFFF
CM-140GE / -RA/-UV / CB-140GE / -RA
- 16 -
0xB048
Start point Counter 3(1)
R/W
4
0x00000 to 0xFFFFF
Addres
s
Internal Name
GenIcam name
Acces
s
Size
Value (range)
0xB04C
Start point Counter 3(2)
R/W
4
0x00: Infinite 0x01: 1 time | 0xFF: 255 times
0xB050
End point Counter 3
R/W
4
0x00001 to 0xFFFFF
0xB054
Counter 3 Clear
R/W
4
0x00: Free Run 0x01: High Level Clear 0x02: Low Level Clear 0x04: Rising Edge Clear 0x08: Falling Edge Clear
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 17 -
6.5. GPIO programming examples
6.5.1 GPIO in combination with Pulse Width trigger mode
Example: 10µs unit pulse width exposure control (PWC).
Pixel clock is 65MHz. 650 clocks (750-100) equals 10µs.
Address
Register
Value
0xA040
Trigger Mode
2 = Pulse Width
0xB000
Clock Choice
1 = Pixel Clock (65 MHz)
0xB004
Counter Dividing Value
0 = Pass through
0xB008
Length Counter 0
1000 Clocks
0xB00C
Start point Counter 0
100 Clocks
0xB010
Repeat Count 0
1
0xB014
End point Counter 0
750 Clocks
0xB018
Counter Clear 0
4 = Rising Edge Clear
0xB060
CAMERA TRIGGER Selector
11 = pulse generator 0
0xB090
Pulse Generator 0 Selector
4 =OPT IN 1
LUT
Cross
point switch)
12bit
Counte
Pulse Generator 2
(20bit Counter)
Pulse Generator 1
(20bit Counter)
Pulse Generator 0
(20bit Counter)
LUT
Pulse Generator 3
(20bit Counter)
LVAL IN DVAL IN
FVAL IN
EEN IN
OPT IN 1
OPT IN 2 Soft Trigger 0 Soft Trigger 1
Soft Trigger 2
Soft Trigger 3
( Cross Point Switch )
Trigger 0
Trigger 1
OPT OUT 1 OPT OUT 2
Time Stamp Reset
Counter
25 MHz
Pixel Clock
Fig.10. Pulse Generator Timing Example 1
OPT IN 1
100
750
1000
Pulse Generator 0
100
1000
output
CM-140GE / -RA/-UV / CB-140GE / -RA
- 18 -
6.5.2 Internal Trigger Generator
Create a trigger signal and trigger the camera
LUT
Cross
point switch)
12bit
Counte
Pulse Generator 2
(20bit Counter)
Pulse Generator 1
(20bit Counter)
Pulse Generator 0
(20bit Counter)
LUT
Pulse Generator 3
(20bit Counter)
LVAL IN
DVAL IN
FVAL IN
EEN IN
OPT IN 1
OPT IN 2
Soft Trigger 0
Soft Trigger 1
Soft Trigger 2
Soft Trigger 3
( Cross Point Switch )
Trigger 0
Trigger 1
OPT OUT 1 OPT OUT 2
Time Stamp Reset
Counter
25 MHz
Pixel Clock(65MHz)
Line Rate 32.696KHz
Fig.11. Pulse Generator 0 timing Example 2
Address
Register
Value
0xA040
Trigger Mode
1 = EPS
0xB000
Clock Choice
1 = Pixel Clock
0xB004
Counter Dividing Value
1987 = 1/1988 dev(Line Rate)
0xB008
Length Counter 0
1000 Clocks
0xB00C
Start point Counter 0
100 Clocks
0xB010
Repeat Count 0
0 = Free Run
0xB014
End point Counter 0
500 Clocks
0xB018
Counter Clear 0
0 = No Clear
0xB058
CAMERA TRIGGER Selector
11 = pulse generator 0
Pulse Generator 0
100 Line
500 Line
1000 Line
output
Pulse Generator 0
100 Line
500 Line
1000 Line
output
CM-140 GE / -RA/-UV / CB-140GE/-RA
- 19 -
Analog Signal [mV]
Black Level
1023
890
32
0
25
700
Digital Out [LSB]
White Clip Level
100% Level
800
7. GigE Vision Streaming Protocol (GVSP)
7.1. Digital Video Output (Bit Allocation)
Although the CM-140GE/CM-140GE-RA and CB-140GE/CB-140GE-RA are digital cameras, the image is generated by an analog component, the CCD sensor. The table and diagram below show the relationship between the analog CCD output level and the digital output.
CCD out
Analog Signal *
Digital Out(10-bit)
Black
Setup 3.6%, 25mV
32LSB
200mV
700mV
890LSB
230mV
800mV
1023LSB
The standard setting for 10-bit video level is 890 LSB. 200 mV CCD output level equals 100% video output.
Fig. 12. Digital Output
7.2. Bit Allocation (Pixel Format / Pixel Type) – CM-140GE/-RA (monochrome)
In the GigE Vision Interface, GVSP (GigE Vision Streaming Protocol) is used as an application layer protocol relying on the UDP transport layer protocol. It allows an application to receive image data, image information and other information from a device. In the monochrome camera, CM-140GE/CM-140GE-RA, the following pixel types supported by GVSP are available. With regard to the details of GVSP, please refer to GigE Vision Specification available from AIA (www.machinevisiononline.org).
7.2.1. GVSP_PIX_MONO8 (8bit)
Byte Byte Byte
0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
Y0Y1Y2
Loading...
+ 49 hidden pages