background image

21 

 21 

4.4.3  Port Control (Serial Port Control for Camera Functions)

 

          Camera control is done in similar way as Camera  
           Link serial control. There are 3 separate serial ports 
           and the camera control is using the Serial Port 0.  
 
           The 

GP-series 

control is register-base architecture 

           in 16-bit address followed by 32-bit data.  
           

Write

 command is 57 (Hex), 

Read

 command is 52  

           (Hex). All commands are in Hexadecimal.  
           So, mark two locations of Hexadecimal selection. 

 

 

           In this basic command process, the communication 
           must be done in the 8-bit packets. Each 8-bit, you  
           have to hit the space bar. You can test by typing 
           “52 00 10 “<send> (gain setting).  
           It will respond with the 32-bit data in Hex with  
           “0D”  (

Acknowledgement

).  

           In this example, the data is 00 00 00 50. (Fig. 28)  
 
           There are two other ports.  

• 

Serial Port 1 is used for RS-485. 

• 

Bulk Port 0 (high speed serial port) is used 
for Audio IO.  

           Internal I2C control uses the same Serial Port 0 as  
           the camera control. 
           See section 3.2.2 for more detail. 
 
           For 

Write 

command, please refer command sheet 

           in section 5.  
           Let’s try 57 00 12 00 00 00 12<send> (or 57-send, 
           00-send, 12-send, 00-send, 00-send, 00-send, 12- 
           send). You will see a test pattern.  
           Go back to the default by typing “57 00 12 00 00 00  
           02” (8-bit linear output for B/W), or “57 00 12 00 00 
           00 03” (Color Gamma 8-bit). (Fig. 29) 
 
 

 

 

GEViCAM Inc 

Fig. 29 

Fig. 28 

 

Summary of Contents for GP-151400

Page 1: ...GEViCAM Inc A GigE Vision Camera Company GEViCAM OPERATIONS MANUAL Rev Ver A 0 6 Date 4 10 08 GP 3360 GP 2360 GP 3780 GP 21400 GP 151400 ...

Page 2: ...ply with the following European Standards Immunity EN50082 2 1997 Emission CISPR22 1997 EN55011 1998 Class B All GEViCAM products bearing the CE mark have been declared to be in conformance with the applicable EEC Council Directives However certain factory installed options or customer requested modifications may compromise the electromagnetic compatibility and affect CE compliance Please note tha...

Page 3: ... 3 Connecting Ethernet and Open Coyote Application 3 Operation Camera Control Section 11 3 1 GigE Camera Function Blocks 3 2 Coyote Application Software Ver 2 3 1 12 3 2 1 Launch Coyote Application 3 2 2 Configure Camera Control 13 3 3 Basic Camera Control Register base Control 14 3 3 1 Gain and Black Level Control 3 3 1 1 Gain Control 3 3 1 2 Black Level Control 3 3 1 3 Dynamic Range and S N Rati...

Page 4: ...ntrol 20 4 4 1 Camera Interface Select Camera 4 4 2 Pixel Format and Image Size Selection 4 4 3 Port Control Serial Port Control for Camera Functions 21 4 4 4 Color Camera 22 4 4 5 Save Configuration Parameters to Flash 4 5 Image Capture and Save 23 4 6 GPIO Programmable Logic Control 24 4 6 1 Programmable Logic Controller Functions 4 6 1 1 PLC Main Block 4 6 1 2 Configuring PLC Functions 25 4 6 1...

Page 5: ...ng 17 Fig 23 GPIO Board 18 Fig 24 Select Camera 20 Fig 25 Acquisition 20 Fig 26 Pixel Depth 20 Fig 27 Image Size 20 Fig 28 Port Communication Read 21 Fig 29 Port Communication Write 21 Fig 30 RGB Starting Pattern 22 Fig 31 RGB Filter 22 Fig 32 Save Configuration to Flash 22 Fig 33 Save State to Flash 22 Fig 34 Grab Continuous 23 Fig 35 Image Saving File format 23 Fig 36 PLC Main Block 24 Fig 37 GE...

Page 6: ... required for image capture 100m with Gigabit Ethernet cable CAT5e or CAT6 GigE Vision standard compliance Field upgradeable firmware via Ethernet Excellent S N 58dB for 12 bit 10 bit or 8 bit output 12 to 8 bit Gamma conversion and cus tom LUT No delay asynchronous reset with time stamp and async shutter GPIO for local I O RS 485 communication for auxiliary devices Audio I O Auto iris lens drive ...

Page 7: ... than 128M Byte of RAM A GP video card supporting DirectX 8 1 and not using shared memory See Pleora documents A normal video card works but with less efficiency of the CPU performance 1 4 2 2 Network Adaptor A PC must have a GigE NIC Network Interface Card to achieve full performance Each NIC card contains an Ethernet PHY chip made by various companies For the best performance we suggest using th...

Page 8: ...range without data transfer standby state 2 1 2 3 Cable Assembly and Power Supply We suggest to use an industrial GPIO cable made by Intercon1 P N GPIO XX PS For the easy application or demonstration the PSC12 Power Supply with a MDR connector is also available as our accessory item Fig 2 Industrial GigE cables are also available from Intercon1 P N GEVPT XX P These cables are available in various ...

Page 9: ...e High performance Driver in Pleora iPort file For the ver 2 3 1 installation skip 2 2 2 1 2 2 2 1 Ver 2 2 1 High Performance Driver Go to Control Panel and open System Go to Hardware and select Device Manager Look for Network adapters and find which cards are listed It should show Pro 1000 network connection or similar Right click and select update driver Fig 4 Go to Window search for software th...

Page 10: ...the camera and PC with an Ethernet cable CAT 5e or CAT 6 and power up the camera LEDs of RJ 45 connector will be steadily ON If not make sure an Ethernet cable is connected to the PC Open the Coyote Application Coyote window appears Fig 8 Press Detect button It may take for a while 5 to 10 seconds to show up IP address Fig 9 Click OK Make sure there is no Firewall protection to this application In...

Page 11: ...The heart of GigE interface and frame grabber function control is in this block PLC Programmable Logic Controller The GPIO function interface is called PLC as it generates necessary functions for PLC interface PHY A low power small package PHY chip is used in a very dense layout The heat dissipation I s carefully removed to outside with the heat pipe architecture for the high reliability opera tio...

Page 12: ...bit So select 8 bit default And click OK Fig 16 Open Image tab the image size 640 x 480 VGA default is acceptable but can be changed to 656 x 494 for VGA SXGA is required to type 1392 x 1040 or smaller Note The horizontal number must be increment of 4 For the quick test pur pose you can stay with the default value until you see image capturing and ready for configuration changes Fig 15 For the col...

Page 13: ...m gain of 42 dB is 00 00 03 FF Therefore the sequence of the Write command is 57 send 00 send 10 send 00 send 00 send 03 send FF send After the completion ACK of 06 appears With 42 dB of gain you will see significantly bright but noisy images If you want to see the register reading type 52 send then 00 send 10 send You will see data of the address and ACK 06 In the improved version of 2 3 0 this P...

Page 14: ...o need high gain operation it has Max 42 dB of internal gain adjustment which is extremely high gain The simplest measurement of S N Ratio is using black level data deviation standard deviation in a large region of interest ROI The specific definition of SNR is 20 log 255 rms noise and rms noise can be replaced by standard deviation SNR 20 log 255 standard deviation 255 is saturation level in 8 bi...

Page 15: ...letion of frame data it will be ignored This fea ture avoids malfunction of image capturing caused by trigger noise and chattering 2 Pulse width Control ExposureWidth 00 00 00 02 It resets at both external pulse leading edge and trailing edge with no delay reset The exposure time is exactly the same as the pulse width between the leading edge and the trailing edge 3 Hardware or Software Trigger Tr...

Page 16: ...ls of 656 x 494 as the GigE camera data 3 3 5 2 Partial Scan 00 00 00 10 11 12 14 The GP series output the full frame images in higher frame rate than most of similar cameras but also output the partial scan images with even higher frame rate The VGA full scan is 100 fps but 240 line partial scan outputs 190 fps The factory set partial scan lines are 240 for the VGA 400 for the XGA 720 for the SXG...

Page 17: ... per trigger is programmed with 00 29 register Currently you can choose one two or three frames 00 00 00 00 02 03 respectively The exposure is 00 24 for the first frame 00 27 for the second frame and 00 28 for the third frame 3 3 9 Auto iris Lens Application Mode When an auto iris lens is required for continuous imaging such as for the surveillance application the normal mode operation is suggeste...

Page 18: ...hese pins The signal is similar to the computer audio IO AUX input earphone output 3 4 4 Temperature Sensor A temperature sensor is built in on the GPIO board to monitor internal thermal condition It is part of internal I2C control 90 XX and the value can be accessed by reading the register address in the Camera control port 0 Type 52 Read then address 90 00 for the I2C temperature sensor You will...

Page 19: ...d CPU task The most critical parameter to choose the system is if you have enough CPU power for your image processing other communications display etc The typical CPU usage of high perform ance driver in streamed video transmission is less than 2 mostly below 1 Deterministic continuous data transfer at 1Gb s for 100m or more with switches The cable length is major advantage of Ethernet This featur...

Page 20: ...e detection Now you are ready to use the application software and control various camera functions The GP series platform can perform vast tasks beyond normal camera functions Let s go through the Coyote application software After all connections are done you will see Coyote window Open Acquisition and start An Image display pops up and the acquisi tion rate is displayed Fig 25 Next click Configur...

Page 21: ...o hit the space bar You can test by typing 52 00 10 send gain setting It will respond with the 32 bit data in Hex with 0D Acknowledgement In this example the data is 00 00 00 50 Fig 28 There are two other ports Serial Port 1 is used for RS 485 Bulk Port 0 high speed serial port is used for Audio IO Internal I2C control uses the same Serial Port 0 as the camera control See section 3 2 2 for more de...

Page 22: ...g Bayer patterns from the pull down menu Fig 30 The Color adjustment can be done by opening RGB filter tab Each R G B gain is displayed By manually adjusting each gain the best color balance will be set The current color balance is analyzed by clicking the button The value is now used to adjust the white balance by applying the value Fig 31 4 4 5 Save Configuration Parameters to Flash Once the cam...

Page 23: ...e multiple images the frame number is not necessarily stream video but it is rather controlled by number of triggered frames which are captured in number of FVAL created by the trigger in Acync Mode The saving data file format is selectable Text file with acquired image IDs Raw data keeps the same pixel for mat as selected in Pixel depth Window bitmap is convenient but limited to 8 bit or 24 bit c...

Page 24: ... opto isolated inputs and outputs are internally converted to TTL Therefore regardless the IO function all interface inside of the PLC block is the TTL logic level Fig 37 The LUT Block connects each Input Block and Output Block The Enhance Function Block outputs are looped to both input and output blocks GPIO Inputs 4 inputs The External TTL trigger input is connected to TTL_ IN0 and I0 via the GP...

Page 25: ... is also TTL level after signal con version in previous blocks For the practice let s se lect Pulse Generator 0 and click Apply 4 6 1 4 LUT The Lookup Table connects each Input and Output in cluding programming of the functionalities In this sec tion we are using simple connections between IOs To connect I0 to the specific output of TTL_OUT 0 for the trigger function type Q0 I0 in LUT section In F...

Page 26: ...Function Block The values can be overwritten by moving these slide bars It also shows total duration times in ns Try moving Width bar The images in display change the brightness if you have set the camera control mode to Async Pulse width mode 57 00 23 00 00 00 02 If you monitor GPIO Pin 3 Strobe Output you can see the camera is responding to the internal pulse generator trigger In the LUT you hav...

Page 27: ...0 Now the PLC input signal is connected to the remote control 0 Also set the PLC_CTROL 0 to True Click Apply or OK and close the configuration dialog Coyote Application PLC Control Bit is now active and PLC_CTRL 0 is set for Q0 output connected to the Internal Trigger In the pane of Set value it gives the state of the signal The unmarked state is logic Low 0 and the marked state is logic High 1 If...

Page 28: ...uous im age of which brightness changes when you move in the Width high duration bar Next mark off for the Periodic pane to allow single triggering Open PLC Control Bits dialog from the IP Engine menu Keep both Pulse Generator and PLC control Bits dialogs open PLC_CTRL0 is now active and Set value can cre ate the single shot trigger with programmed value Click the Set value pane for on off Fig 48 ...

Page 29: ... Delay count 30 60 ms x 30 1 8 s Input signal Q3 Reference timing Pulse Generator 1 output Pulse Generator 0 Same as Fig 47 Pulse Generator 1 Fig 51 52 Width 1024 30 ms Delay 1024 30 ms Granularity 1000 30µs Periodic Yes marked Lookup Table Fig 50 Q0 I0 Q3 I1 Q9 I4 In this practice you will see the delayed pulse by roughly 2 seconds generated after you click PLC_CTRL0 pane By changing Width bar at...

Page 30: ...such as AND OR XOR NOT operations to combine various inputs Example Q1 I5 I3 Q16 I8 I6 Q6 I4 I6 I2 I5 I1 4 6 2 GPIO Connector and Cables The GPIO interface is MDR 14pin connector which is small but very robust for industrial use The Pin Assignment is described below 1 12V RTN GND 8 Power in 12V 2 GND 9 Trigger in TTL 3 Strobe out 10 RS 485 4 RS 485 11 Opto D1 in 5 Opto D1 in 12 Opto D2 out 6 Opto ...

Page 31: ...e jumper change besides software selec tion is required See 3 4 2 The Maximum rating of LED IF is 50 mA and the minimum current to turn the transistor ON is 3 mA This allows the overall input voltage range of 3 0V to 50V We recommend to stay up to 28V DC Output is open collector Photo transistor rating is VCEO 80V and the maximum current is 50 mA Operating temperature range is 55 to 100 C The coll...

Page 32: ...uous video 00 00 00 10 Partial scan Normal 00 00 00 11 Partial scan Async trigger 00 00 00 12 Partial scan Pulse width control 00 00 00 14 Partial scan ITS multi frame capture Exposure control 0x00 24 00 00 00 00 No shutter default exposure 00 00 00 01 to 32 bit Count by 1H VGA 1H 20ms 1 50 000 sec 100 000H 000186A0 2s SXGA 1H 40ms 1 25 000 sec 50 000H 0000C350 2s Back to back strobe position 0x00...

Page 33: ...versions Proprietary or GigE Vision in the field Upgrading Firmware Use the Pleora upgrade tool This FPGA update software is not included in the Pleora SDK Please contact GEViCAM for this software It may require user qualification to obtain the software 1 UnZip FPGA_UPDATE file and execute Updater Create a UPDATE file folder and save these unzipped files 2 Make sure to create two folders and name ...

Page 34: ...rnet Resolution 656 x 494 656 x 494 1032 x 779 1392 x 1040 S N Ratio 58 dB 58 dB 58 dB 60 dB Minimum Illumination 1 0 lux at 100 fps 1 0 lux at 100 fps 1 0 lux at 31 fps 1 0 lux at 22 fps Gamma 1 0 0 45 LUT 1 0 0 45 LUT 1 0 0 45 LUT 1 0 0 45 LUT Power Requirement 12 V DC 10 4W 12 V DC 10 4W 12 V DC 10 4W 12 V DC 10 4W Lens Mount C mount or CS C mount or CS C mount or CS C mount or CS Operating Tem...

Page 35: ...echanical Unit mm GPIO Connector Pin Assignment 1 12V RTN GND 8 Power in 12V 2 GND 9 Trigger in TTL 3 Strobe out 10 RS 485 4 RS 485 11 Opto D1 in 5 Opto D1 in 12 Opto D2 out 6 Opto D2 out 13 Audio out 7 GND 14 Audio in Fig 59 ...

Page 36: ...election Multi Target Configuration Network Stack Port selection Options dialog PLC Control Bits dialog Port Configuration dialog Pulse Generators dialog Save Device configuration to flash Select Camera dialog Serial Port Configuration Set IP Engine IP Address 9 2 iPort IP Engine Instruction Introduction Overview of iPort IP Engines iPort Connectivity Solution Applications Programmable Logic Contr...

Page 37: ...rivers 9 4 iPort Instruction Quick Start Setting up your iPort IP Engine Installing eBus Cabling your camera to your PC Connecting to your iPort IP Engine Acquiring images with your camera Using iPort SDK 9 5 What s New in Version 2 3 1 GgiE Vision and GenICam Compliance eBus Driver Suite eBus Drivers eBus Driver Installation Tool Documentation Changes User Interfaces Window 64 Bit Support Other A...

Page 38: ... Function doesn t answer requests 9 7 4 4 CPU usage is higher than expected 9 7 4 5 Frames are lost even at below maximum data rates 9 7 4 6 Can t acquire images 9 7 5 Universal Filter Driver Issues 9 7 5 1 The iPort Universal IP filter Driver can t detect devices 9 7 6 Imaging issues 9 7 6 1 I m getting a gray display and the frame rate is zero or closed to zero but the error message isn t CY_RES...

Page 39: ...39 39 GEViCAM Inc MEMO ...

Page 40: ...AM Inc GP Series Manual Version A 0 6 Date 4 10 08 GEViCAM A GigE Vision Camera Company 1698 Yosemite Drive Milpitas CA 95035 U S A Tel 408 262 5772 Fax 408 262 0962 Email info gevicam com Web site www gevicam com ...

Reviews: