background image

Camera Operation & Features 

 

37 

PixeLINK PL-A780 

 

Document No.:  04646-01

 

 

MACHINE VISION CAMERA

 

 

 

 

SYSTEM GUIDE 
 

 Copyright © 2004 PixeLINK 

 All Rights Reserved 

data returned from the camera.  The format of the synchronization code is shown in Section 
on page 56. 

Descriptors are created by increasing the number of descriptors in the descriptor 
configuration CSR.  A new descriptor will have the same values as the current descriptor or, if 
it is the first descriptor created, the camera settings. With more than one descriptor, the 
camera will cycle through the descriptors repetitively. 

Descriptors can be changed by updating the descriptor values in camera memory. 

To delete a descriptor, reduce the number of descriptors in the descriptor configuration CSR.  
The highest indexed descriptors will be deleted first.   

For more information on the descriptor structures, refer to Section 9.2 on page 57. 

5.1.4.4  General Purpose Outputs 

 

 

 

Auto No 

Manual Yes 

One-time 

Auto 

No 

Off Yes 

CiD Yes 

General Purpose Output (GPO) signals are controlled by this 
feature.  The output signal is defined by a mode, polarity and a 
number of parameters that vary in meaning with the mode.  For a 
complete description of the PL-A780 GPO modes and settings, see 
Section 8.2. 

4 GPO signals can be controlled.  GPO numbers 1 and 2 are 
available externally.  3 and 4 are only available on the board-level 
variant of the PL-A780.   

Applies to PL-A780 cameras only. 

 

 

Parameter Unit Type 

Min 

Max 

Default 

Step 

Size 

Comments 

Mode None 

Absolute 

0  1 

 

Polarity 

None 

Absolute 

0: Negative, 1: Positive 

Parameter 1 

Parameter 2 
Parameter 3 

See Section 8.2 for details. 

 

5.1.4.5  Look Up Table 

In the PL-A780, the Look Up Table (LUT) has 1024 2-byte entries that range in value from 0 
to 1023 (10-bit depth).  The LUT is used to implement the IIDC Gamma feature but it can also 
be used to implement any LUT transfer function required. 

The LUT is written to camera memory as a block of 1024 words at the address specified by 
the Look Up Table Offset register, starting with Word 0 (Black). 

When the LUT or Gamma function is active (ON), every pixel is converted according to the 
transfer function stored in the LUT.  With both functions off, the LUT is bypassed and a linear 
transfer function is used. 

Since both Gamma and the LUT use the same camera memory, whichever function was last 
turned on will control the memory and the other function will be turned off.  Turning on the 
Gamma function will overwrite the LUT with the appropriate gamma values.   

Summary of Contents for PL-A780

Page 1: ...ne 613 247 1211 or 1 888 484 8262 Fax 613 247 2001 http www pixelink com e mail info pixelink com Copyright 2004 PixeLINK All Rights Reserved PL A780 FireWire 6 6 Megapixel Camera SYSTEM GUIDE Documen...

Page 2: ...inty presents itself as to the terms their meaning within the System Guide and the trademarks and intellectual property items they stand to identify whether by themselves or in conjunction with other...

Page 3: ...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 o Reorient or relocate the receiving antenna o...

Page 4: ...stem Guide Document Number 04646 Revision Date Change Ref Notes 01 16 June 2004 Initial release Related Documentation PixeLINK Application Programming Interface API Reference Part Number 04326 PixeLIN...

Page 5: ...set Shutter 14 3 3 Performance Specifications 15 3 4 Operating Environment 15 3 4 1 Operating Environment Objectives 15 3 4 2 Storage Environment Objectives 16 4 Hardware Overview 17 4 1 PL A780 Hardw...

Page 6: ...How Do 1394 Devices Communicate 42 6 4 Communication With a IIDC Camera 42 6 4 1 Navigating the Configuration ROM 42 6 4 2 IIDC Command Registers 42 6 5 Command Register Details 43 6 5 1 Video Format...

Page 7: ...Figure 7 Rolling Shutter Integration and Read Out 13 Figure 8 PL A780 Spectral Response 15 Figure 9 PL A780 Standard Configuration 17 Figure 10 PL A780 Rear View 18 Figure 11 PL A780 Front View 18 Fig...

Page 8: ...ON CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Table 11 Advanced Feature CSRs 46 Table 12 Feature Element Inquiry CSRs Section 4 5 in the IIDC 1 31 Spec 52 Table 13 Color Coding In...

Page 9: ...on controls as required to achieve the best image quality Note that the PL A780 camera like any CMOS device is subject to the physics of the sensor design Fixed Pattern Noise FPN Photo Response Non Un...

Page 10: ...the factory calibration for the lens and lighting used in their application Then with the subject removed and with a uniform surface under examination perform the FFC calibration Once this is complete...

Page 11: ...ixel data The on board memory allows the camera to be configured on one computer and used on another without the need for camera configuration files or other configuration data For example the camera...

Page 12: ...ion please consult the PixeLINK Developer s Application User s Manual Part Number 04328 2 3 Firmware and Hardware Versions Variants This guide refers to the following variants of the PL A780 Table 1 P...

Page 13: ...INK Developer s Application Version 1 0 1 20 and later To determine the version of software and drivers installed on your host system select Help About PixeLINK Dev App from the main menu of the PixeL...

Page 14: ...Rate max to 2 fps Trigger Strobe Modes Region of Interest Pixel Addressing Pixel format 8 bit or 10 bit Other Features Programmable LUT On camera configuration memory FPN and PRNU correction gain off...

Page 15: ...nochrome version does not use the Bayer pattern and Bayer to RGB conversions are not applied 3 2 1 ROI Pixel Addressing and Resampling The implementation of the sensor in the PL A780 limits the active...

Page 16: ...No 04646 01 PixeLINK PL A780 MACHINE VISION CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Figure 1 Color Bayer Pattern Pixel Addressing Mode 1 No Decimation Figure 2 Color Bayer Patt...

Page 17: ...PL A780 Document No 04646 01 MACHINE VISION CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Figure 3 Color Bayer Pattern Pixel Addressing Mode 3 Decimation 3x Figure 4 Color Bayer Patt...

Page 18: ...e detail is slightly blurred each time the conversion is performed When outputting in YUV422 no Bayer to RGB conversions are performed at the host All the intensity information is transmitted along wi...

Page 19: ...modes There are still Bayer artifacts but they are reduced and the sharpness in the image is retained For resampling to work properly the Color Coding needs to be set to YUV422 a 1248 x 288 Full resol...

Page 20: ...the row For the full ROI the row readout time is 7 3 25 2208 10 1000 62 75 s row For Rolling Shutter operation see Section 3 2 4 below with very short exposures the minimum frame interval can be calc...

Page 21: ...ntegration see Figure 7 below This means that as each row is being read out the three rows ahead of it are being exposed As each row is read out another row is added to the group of rows being integra...

Page 22: ...a brightly lit environment a mechanical shutter may be required to achieve acceptable image quality To simplify the control of lighting when using the Fast Reset Shutter the PL A780 GPOs can output a...

Page 23: ...to operate in a dry industrial environment The housing is machined from aluminum and provides a rigid mounting structure for the internal electronics Vibration testing temperature testing and EMC comp...

Page 24: ...EM GUIDE Copyright 2004 PixeLINK All Rights Reserved 3 4 2 Storage Environment Objectives Table 7 Storage Environment Conditions Condition Limits Temperature 40 C to 75 C 40 F to 167 F Temperature cha...

Page 25: ...d C mount lens 1 32 tpi lens not included Front and bottom mounting holes for a tripod or other mounting fixture M3 screws Accessories Accessories such as trigger kits tripod mounts lenses laptop acce...

Page 26: ...Document No 04646 01 PixeLINK PL A780 MACHINE VISION CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Figure 10 PL A780 Rear View Figure 11 PL A780 Front View Figure 12 PL A780 Bottom V...

Page 27: ...fits a standard C mount lens 1 32 tpi A 1 lens is recommended 4 4 2 Protective Glass Each Camera is fitted with an IR cutoff filter to improve the color reproduction of the PL A782 camera and protect...

Page 28: ...emperature sensor that can be used to determine if the heat dissipation is adequate With good heat sinking the sensor should be around 5 above the ambient temperature 4 6 Electrical Connections The PL...

Page 29: ...t required per camera increases with each additional camera attached to the bus Each additional camera causes the bus voltage to drop so the current demand is increased to maintain a constant power dr...

Page 30: ...ger polarity is negative Figure 13 Machine Vision Connector Interface Schematic 4 6 3 1 Trigger and GPO Timing The default trigger latency on the PL A780 cameras is 8 microseconds from the change in t...

Page 31: ...ctor Pin Pin Name Function Comments 1 POWER FireWire cable power 8 30 V DC typically 12 V o Maximum current available from this pin is 250 mA 2 TRIGGER Positive terminal of optically isolated trigger...

Page 32: ...3 Trigger and Pin 4 Ground More sophisticated examples using TTL logic are shown in Figure 14 and Figure 15 below Figure 16 on page 25 shows an example using an optical trigger where the optical senso...

Page 33: ...eras 4 6 3 3 GPO Connection Examples The GPO pins are open collector current sink outputs To use them the output line must be pulled high by the external circuit with a maximum current of 15 mA Figure...

Page 34: ...AMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Figure 18 GPO Example GPO to Trigger 4 6 3 4 Reading the Trigger Input The raw value of the trigger input can be read from the IIDC Trigg...

Page 35: ...automatically for a short period and then returned to manual mode E G the exposure is set automatically for the current illumination settings and then fixed at that value Off whether the feature can...

Page 36: ...Left 0 ROI Top 0 ROI Width 2208 Saturation 100 Shutter 100ms Trigger Delay 0 0 Trigger Mode 0 Trigger Polarity Positive Trigger Source Internal Trigger Type Fast Reset Shutter Video Format 7 Video Fra...

Page 37: ...ing sections provide a description of how the features apply to the PL A780 camera their parameters and limits Note that the IIDC specification allows two ways to control camera features Feature value...

Page 38: ...n these limits After a change to ROI video format or video mode the Frame Rate control will attempt to maintain the same frame rate If this is not possible the Frame Rate control will be turned OFF Wh...

Page 39: ...A782 supports the following types 4 2 2 YUV 2 Raw8 9 and Raw16 10 The PL A781 monochrome supports Mono8 0 and Mono16 5 Parameter Unit Type Min Max Default Step Size Comments Color coding format None A...

Page 40: ...3 5 Memory Channel Auto No Manual Yes One time Auto No Off No CiD No The memory channel feature stores all camera parameters into non volatile memory Valid values are 0 for factory defaults or 1 for m...

Page 41: ...e camera will attempt to set the shutter feature such that a small portion of the scene is saturated In rolling shutter mode See the Trigger feature Section 5 1 3 10 on page 34 the Shutter control det...

Page 42: ...enables the Fast Reset Shutter Parameter Unit Type Min Max Default Step Size Comments Mode None Absolute 0 0 0 0 The PL A780 only supports Trigger Mode 0 See Section 8 1 Source None Absolute 0 1 0 1...

Page 43: ...ature provides control over the individual red green and blue channel gains so that non standard color balance can be achieved One push Auto will attempt to white balance the gains match the histogram...

Page 44: ...The Descriptor feature is a way to control camera settings between frames without communication between the host computer and the camera This allows for rapid changes of camera parameters in a determi...

Page 45: ...the mode For a complete description of the PL A780 GPO modes and settings see Section 8 2 4 GPO signals can be controlled GPO numbers 1 and 2 are available externally 3 and 4 are only available on the...

Page 46: ...ISION CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved Turning on the LUT will disable Gamma but will leave the camera memory unchanged If the LUT is turned off the LUT values will be r...

Page 47: ...cene can be lost and color artifacts introduced The averaging mode will average pixels with the similar color within the block resulting in a 2x2 Bayer pattern This allows details in the blocks to be...

Page 48: ...ion Flat Field Correction FFC applies a gain and offset correction per pixel to correct for illumination and sensor irregularities A factory calibration is performed and stored in the camera memory It...

Page 49: ...ms As a result it is fairly technical and assumes familiarity with 1394 and the control and status register architecture This does not make it well suited for developers with little or no 1394 experie...

Page 50: ...the unit_directory_offset field must be read from offset 0424h or address FFFF F000 0424h This field consists of an identifying key and a relative quadlet offset The identifying key is an 8 bit value...

Page 51: ...egister can be read from offset 0100h or address FFFF F0D0 0100h using the example IIDC base address and the value will indicate which formats are supported The IIDC specification defines the Inquiry...

Page 52: ...h its Absolute Value register see Section 6 5 3 below A supported feature can be controlled through it s control register The registers allow controlling software to set the value or change the mode o...

Page 53: ...s packets that will be transmitted so that 1394 isochronous bandwidth can be allocated before instructing the camera to output data In formats 0 1 and 2 the packet size can be determined based on the...

Page 54: ...dvanced Feature Access Control Register See NOTE 1 CAMERA INFO REGISTERS READ ONLY 008h Serial Number Offset Value 0 31 Quadlet offset of the Serial Number string from the base address of the initial...

Page 55: ...q 6 Presence of Pixel Addressing Mode 2 e g binning Mode3_Inq 7 Presence of Pixel Addressing Mode 3 e g resampling Base 8 15 Base for Pixel Addressing Maximum Pixel Addressing is Base Max_Value except...

Page 56: ...nq 17 Presence of GPO Mode 9 Mode10_Inq 18 Presence of GPO Mode 10 Mode11_Inq 19 Presence of GPO Mode 11 Mode12_Inq 20 Presence of GPO Mode 12 Mode13_Inq 21 Presence of GPO Mode 13 Mode14_Inq 22 Prese...

Page 57: ...e have different values in different descriptors 1 Yes 0 No 2 7 Reserved Invalid_ROI 8 0 Valid ROI 1 Invalid ROI This feature will be ignored until a valid ROI is set The ROI must be within the curren...

Page 58: ...sing Mode 24 31 Pixel Addressing mode H_On_Off 0 Horizontal Flip On Off See NOTE 7 1 On 0 Off 1 15 Reserved V_On_Off 16 Vertical Flip On Off See NOTE 7 1 On 0 Off 208h Flip 17 31 Reserved Source 0 Typ...

Page 59: ...camera will not begin output of a frame until a valid value is programmed 230h 2FCh Reserved for future Feature Control registers GPO CONTROL REGISTERS On_Off 0 GPO 0 On Off 1 On 0 Off Polarity 1 GPO...

Page 60: ...g decreasing this value When a descriptor is created it will have the same values as the current descriptor Current field or the camera settings if it is the first descriptor to be created When the de...

Page 61: ...9 Raw16 10 Raw data output of color filter sensor 16bits pixel Bayer pattern ID 10 9 30 014h Color Coding Inquiry Register In_Desc_Inq 31 Can the Color Coding ID have different values in different des...

Page 62: ...780 only supports Trigger Mode 0 When the trigger is turned on the camera is placed in fast reset shutter mode See Section 3 2 4 2 on page 14 for more information regarding the reset and readout times...

Page 63: ...when using Trigger Type Hardware or Software for all other modes it will always be set The busy period is defined as the period from the time a trigger is detected until the captured frame has been r...

Page 64: ...7 0 Byte 5 Bits 7 1 Code Bit 5 Byte 6 Bits 7 0 Byte 7 Bits 7 1 Code Bit 4 Byte 8 Bits 7 0 Byte 9 Bits 7 1 Code Bit 3 Byte 10 Bits 7 0 Byte 11 Bits 7 1 Code Bit 2 Byte 12 Bits 7 0 Byte 13 Bits 7 1 Code...

Page 65: ...s The first part contains a list of all the features that can change between descriptors and all other features in the second The first section of the structure is attached to the end of each frame se...

Page 66: ...I Top float fAutoROIWidth Auto ROI Width float fAutoROIHeight Auto ROI Height float fRotate Angle of Rotation float fFrameRate Frame Rate float fLeft ROI Left float fTop ROI Top float fWidth ROI Width...

Page 67: ...w pixelink com regularly for the latest versions of your PixeLINK software and firmware Technical Questions Please follow these steps before contacting our technical support team 1 Review the relevant...

Page 68: ......

Page 69: ...s trademark for the IEEE 1394 digital bus protocol GPO General Purpose Output IEEE Institute of Electrical and Electronics Engineers Integration The process of building up or integrating an electrical...

Page 70: ......

Page 71: ...mma 7 31 32 33 35 42 64 General Purpose Outputs See GPO Glass over sensor 21 22 GPO 3 4 16 19 25 26 31 41 53 54 56 57 61 64 A 1 heat sinking 22 IIDC iv 7 30 32 39 40 41 45 46 47 48 49 51 52 53 55 58 5...

Page 72: ...I 2 Document No 04646 01 PixeLINK PL A780 MACHINE VISION CAMERA SYSTEM GUIDE Copyright 2004 PixeLINK All Rights Reserved White Balance 32 33 39 63 White Shading 32 39 59 YUV422 11 12 31 47...

Reviews: