Piranha4 Camera User’s Manual Color 2k and 4k sensors | cameras | frame grabbers | processors | software | vision solutions 03-032-20180-02 www.teledynedalsa.
Piranha4 2K and 4K Camera Color User's Manual © 2014 Teled yne DALSA, Inc. All inform ation provid ed in this m anual is believed to be accurate and reliable. No responsibility is assum ed by Teled yne DALSA for its use. Teled yne DALSA reserves the right to make changes to this inform ation w ithout notice. Reprod uction of this manual in whole or in part, by any m eans, is prohibited w ithout prior perm ission having been obtained from Teled yne DALSA.
Piranha4 2K and 4K Color Camera User's Manual 3 Contents System Precautions ............................................................................................................................................................ 6 Precautions ..................................................................................................................................................... 6 Electrostatic Discharge and the CMOS Sensor ...................................................................
Piranha4 2K and 4K Camera Color User's Manual Using Sapera CamExpert with Piranha4 Cameras ............................................................................................................ 46 CamExpert Panes ............................................................................................................................................ 47 Review a Test Image .............................................................................................................................
Piranha4 2K and 4K Color Camera User's Manual 5 Serial Port Control Category .............................................................................................................................................. 95 Serial Port Control Feature Descriptions ........................................................................................................ 95 File Access Control Category .............................................................................................................
Piranha4 2K and 4K Camera Color User's Manual System Precautions Precautions Read these p recau tions and this m anu al carefu lly before u sing the cam era. Confirm that the cam era‘s p ackaging is u nd am aged before op ening it. If the p ackaging is d am aged p lease contact the relevant logistics p ersonnel. Do not op en the hou sing of the cam era. The w arranty is void ed if the hou sing is op ened . Keep the cam era hou sing tem p eratu re in a range of 0 °C to 65 °C d u ring op eration.
Piranha4 2K and 4K Color Camera User's Manual 7 1. The Piranha4 Color Camera Camera Highlights Based on Teled yne DALSA's u niqu e CMOS color line scan sensor architectu re, the new Piranha4 2k and 4k Trilinear and Qu ad linear color cam era p rovid es ou tstand ing signal-to-noise p erform ance for high sp eed im aging.
Piranha4 2K and 4K Camera Color User's Manual Models The cam era is available in the follow ing configu rations: Table 1: Camera Models Overview Model Number P4-CC-02K07T-00-R P4-CC-02K04T-00-R P4-CC-02K07Q-00-R P4-CC-04K07T-00-R P4-CC-04K04T-00-R Description 2k resolution, 70 kH z line rate, 14.08 µm 2k resolution, 40 kH z line rate, 14.08 µm 2k resolution, 70 kH z line rate, 14.08 µm m onochrom e pixel line 4k resolution, 70 kH z line rate, 10.56 µm 4k resolution, 40 kH z line rate, 10.56 µm x 14.
Piranha4 2K and 4K Color Camera User's Manual Flatness 9 50 µm 0.08° or 81 µm ± 100 µm ± 100 µm ± 250 µm ± 0.2° y (parallelism ) x y z z Compliance Regulatory Com pliance CE and RoH S, GenICam Table 4: P4-CC-02K Operating Ranges Operating Ranges Performance Red Green Blue Mono Dynam ic Range 61.8 d B 61.8 d B 61.8 d B 61.8 d B Rand om N oise 3.36 DN ** rm s 3.36 DN rm s 3.36 DN rm s 3.
Piranha4 2K and 4K Camera Color User's Manual Certifications Compliance EN 55011, FCC Part 15, CISPR 11, and ICES-003 Class A Rad iated Em issions Requirem ents* EN 55024, and EN 61326-1 Im m unity to Disturbance* RoH S per EU Directive 2002/ 95/ EC and WEEE per EU Directive 2002/ 96/ EC and China Electronic Ind ustry Stand ard SJ/ T11364-2006* GenICam XML Description File, Superset of the GenICam ™ Stand ard Features N am ing Convention specification V1.
Piranha4 2K and 4K Color Camera User's Manual 11 1200 P4 2K Tri Linear Color Spectral Responsivity No White Balance, 12 bit, gain 1x Spectral Responsivity (DN/nJ/cm^2) 1000 800 Red 600 Green Blue 400 200 0 350 450 550 650 750 850 950 Wavelength (nm) Figure 1: 2k Trilinear Spectral Responsivity 1200 P4 2K Quad Linear Color Spectral Responsivity No White Balance, 12 bit, gain 1x Spectral Responsivity (DN/nJ/cm^2) 1000 800 Red 600 Green Blue Mono 400 200 0 350 450 550 650 750
Piranha4 2K and 4K Camera Color User's Manual 600 P4 4k Trilinear Color Spectral Responsivity No White Balance, 12 bit, gain 1x Spectral Responsivity (DN/nJ/cm^2) 500 400 300 200 100 0 400 450 500 550 600 650 700 750 800 850 900 Wavelength (nm) Figure 3: 4k Trilinear Spectral Responsivity Filters CMOS cam eras are resp onsive to infrared (IR) w avelengths of light. Infrared light can be p roblem atic w ith halogen light sou rces bu t is not a n issu e w ith w hite LED sou rces.
Piranha4 2K and 4K Color Camera User's Manual 13 80% 70% QE vs Wavelength 2K Quad 60% QE % 50% 40% Red Green Blue 30% Mono 20% 10% 0% 350 450 550 650 750 850 950 1050 Wavelength (nm) Figure 4: 2k Quadinear QE Vs Wavelengh 80% 70% QE vs Wavelength 2K Tri 60% QE % 50% 40% Red Green 30% Blue 20% 10% 0% 350 450 550 650 750 850 950 1050 Wavelength (nm) Figure 5: 2k Trilinear QE Vs Wavelength Teledyne DALSA 03-032-20180-02
Piranha4 2K and 4K Camera Color User's Manual 80 P4 4K Trilinear Quantum Efficiency vs.
Piranha4 2K and 4K Color Camera User's Manual 15 0.18 P4 White LED Calibration Source Relative Intensity vs Wavelength 0.16 0.14 Relative Intensity 0.12 0.1 0.08 [ADD GRAPH ] 0.06 0.04 0.02 0 400 450 500 550 600 650 700 750 Wavelength (nm) Figure 7: Calibration Source Relative Intensity vs.
Piranha4 2K and 4K Camera Color User's Manual Spatial Correction and Trilinear Sensor Design The P4-CC-04K07T-00-R cam era u ses a trilinear sensor w here three sep arate 4K lines of p ixels are u sed — one for red , the center for blu e and the last for green. 10.56um Red 21.12um 10.56um Blue 21.12um 10.
Piranha4 2K and 4K Color Camera User's Manual 14.08um 17 Red 14.08um Blue 14.08um 14.08um 14.08um Green 42.24um 14.08um Mono Figure 10: 2K Quadlinear Sensor Line Spacing Diagram In the case of the 4k cam eras, the three lines of p ixels are sep arated by tw o lines of sp acing and this line sp acing is equ al to 2x the sensor p ixel size.
Piranha4 2K and 4K Camera Color User's Manual Example 1. Target speed adjusted for square pixels Line Sp atial Correction = 3 (ssa = 3). This is the d efau lt cond ition. Example 2. Target running slower than example 1, same EXSYNC (trigger) frequency Line Sp atial Correction = 3 (ssa = 3) Line Sp atial Correction = 4.3 (ssa = 4.3) Example 3. Target running faster than example 1, same EXSYNC (trigger) frequency Line Sp atial Correction = 3 (ssa = 3) 03-032-20180-02 Line Sp atial Correction = 1.
Piranha4 2K and 4K Color Camera User's Manual 19 Example 4. Target running slower than EXSYNC Line Sp atial Correction = 3 (ssa = 3) Line Sp atial Correction = 1 (ssa = 1) Example 5.
Piranha4 2K and 4K Camera Color User's Manual Parallax Correction When the cam era it is not p erp end icu lar to the object su rface the P4 color cam era w ill exhibit color. The p arallax d istortion increases w hen im aging at steep angles relative to the cam eras im aging p lain. This is an op tical effect cau sed by the line sp acin g of the three ind ivid u al colors. This sp acing resu lts in a d ifferent m agnification for each line at high angles.
Piranha4 2K and 4K Color Camera User's Manual 21 Camera Direction Selectable cam era d irection accom m od ates an object d irection change on a w eb and allow s you to m ou nt the cam era ―u p sid e d ow n‖. Note: The exam p le here assu m es the u se of a lens (w hich inverts the im age).
Piranha4 2K and 4K Camera Color User's Manual 4 Mechanicals 3 2 DESC REV 01 H 0.1 A E 0.05 M4x0.7 - 6H Z 6 (4X) (54) B 12 B0.25 OPTICAL DISTANCE (9) (42) (54) 62 B0.05 [ADD MECH AN ICALS] 31 B0.10 (19.1) ±0.2° (9) 62 B0.05 ADDED LEADER TEXT; CHANGED SERIAL PLATE APERTURE CONFIGURATION IMAGE AREA 31 B0.10 B FIRST PIXEL REFERENCE HOLES M4x0.7 - 6H Z 6 (2X) THIS SIDE (2X) FAR SIDE (7) CENTER OF IMAGE AREA C A (11.4) (20.34) M42x1 - 6H (42) (47.87) (7) M4x0.
4 3 Piranha4 2K and 4K Color Camera User's Manual 2 23 REV UPDATED OPTIONAL HEAT SINK DETAIL 04 UPDATED THE LOOK OF THE FRONT PL H 0.1 A E 0.05 M4x0.7 - 6H Z 6 (4X) 62 B0.05 DES 03 (54) 12 B0.25 OPTICAL DISTANCE 31 B0.10 (19.1) ±0.2° IMAGE AREA 31 B0.10 B CENTER OF IMAGE AREA (7) A C FIRST PIXEL REFERENCE HOLE (9) (42) (54) 62 B0.05 (9) B M4x0.7 - 6H Z 6 (2X) THIS SIDE (2X) FAR SIDE (11.4) (20.34) M58x0.75 - 6H M4x0.7 - 6H Z 6 (2X) THIS SIDE (2X) FAR SIDE (47.
Piranha4 2K and 4K Camera Color User's Manual Figure 18: Nikon M58 to F-Mount Adapter Figure 19: Piranha4 Heat Sink Accessories Kit Optional Lens Mount and Heat Sink Accessories Part No.
Piranha4 2K and 4K Color Camera User's Manual 25 Camera Mounting and Heat Sink Considerations Up to tow op tional heat sinks can be installed on the Piranha4 cam era. As illu strated , they are id eally p ositioned to allow close sp acing of the cam era s. These heat sinks are d esigned to p rovid e ad equ ate convection cooling w hen not obstru cted by enclosu res or m ou nting assem blies. Teled yne DALSA recognises that each cu stom er‘s ap p lication can be u niqu e.
Piranha4 2K and 4K Camera Color User's Manual 2. Quick, Simple Steps to Acquire an Image For u sers w ho are fam iliar w ith Cam era Link cam eras, have a basic u nd erstand ing of their im aging requ irem ents, and w ho are p rim arily interested in evalu ating the Piranha4 cam era, an overview of the step s requ ired to get this cam era op erational and acqu iring im ages qu ickly can be fou nd in Ap p end ix C: Qu ick Setu p and Im age Acqu isition .
Piranha4 2K and 4K Color Camera User's Manual 27 3. Software and Hardware Setup Recommended System Requirements To achieve best system p erform ance, the follow ing m inim u m requ irem ents are recom m end ed : H igh band w id th fram e grabber, e.g. Xcelera-CL PX8 Fu ll Cam era Link fram e grabber (Part # ORX8CO-XPF00): w w w .teled yned alsa.com / im aging/ p rod u cts/ fg/ OR-X8C0-XPF00/ . Op erating system s: Wind ow s XP / Vista / 7, 32 / 64-bit.
Piranha4 2K and 4K Camera Color User's Manual Step 1. Install and configure the frame grabber and software Install Frame Grabber Install a Full configu ration Cam era Link fram e grabber accord ing to the m anu factu rer‘s d escrip tion. We recom m end the Xcelera-CL PX8 fram e grabber or equ ivalent, d escribed in d etail on the teled yned alsa.com site here. Install Sapera LT and CamExpert GUI Com m u nicate w ith the cam era u sing a Cam era Link -com p liant interface.
Piranha4 2K and 4K Color Camera User's Manual 29 Step 2. Connect Data, Trigger, and Power Cables Note: the u se of cables typ es and lengths other than those sp ecified m ay resu lt in increased em ission or d ecreased im m u nity and p erform ance of the cam era.
Piranha4 2K and 4K Camera Color User's Manual Data Connector: Camera Link The cam era u ses tw o Cam era Link SDR26 cables transm itting the Cam era Link Base, Med iu m , Full, or Deca configu ration. The figu re below show s the SDR26 Cam era Link Connector and the tables that follow list the Cam era Link configu ration s. For d etailed inform ation on Cam era Link p lease refer to the Cam era Link Road Map available from the Know led ge Center on the Teled yne DALSA Web site. Figure 21.
Piranha4 2K and 4K Color Camera User's Manual CC3 CC4 31 Direction Spare Table 6: Camera Control Configuration For ad d itional Cam era Link d ocu m entation refer to the Teled yne DALSA Web site‘s Know led ge Center ap p lication notes. Camera Timing N ote: Inform ation on setting u p the cam era‘s AOI can be fou nd here, Area of Interest (AOI) Setu p . RGB 8 bit, CL base, maximum line rate 20 kHz (4k) and 40 kHz (2k), no AOI and 85 MHz CL clock Line Valid CL Clock CL Port A Red 1 D0..
Piranha4 2K and 4K Camera Color User's Manual Dual base RGB 8 bit plus 8 bit monochrome, maximum line rate 40K (2K only), no AOI and 85 MHz CL clock Line Valid CL Clock Connector Data 1 Connector Data 2 CL Port A Red 1 D0..D7 Red 2 D0..D7 Red 3 D0..D7 Red 4 D0..D7 Red 2047 D0..D7 Red 2048 D0..D7 CL Port B Green 1 D0..D7 Green 2 D0..D7 Green 3 D0..D7 Green 4 D0..D7 Green 2047 D0..D7 Green 2048 D0..D7 CL Port C Blue 1 D0..D7 Blue 2 D0..D7 Blue 3 D0..D7 Blue 4 D0..D7 Blue 2047 D0..
Piranha4 2K and 4K Color Camera User's Manual 33 This tim ing can be u sed for ap p lications that requ ire line rates u p to 40 kH z and therefore m u st u se Cam era Link Med iu m m od e and tw o cables. The RGB ou tp u t form at is com p atible w ith the Cam era Link sp ecification for Med iu m RGB. Line rates u p to 70 kH z can be achieved by u sing the Area of Interest (AOI) featu re; w here the sm aller the AOI, the greater the p otential line rate.
Piranha4 2K and 4K Camera Color User's Manual RGB 8 bit CL Full plus monochrome 8 bit CL full Line Valid CL Clock CL Port A Red 1 D0..D7 Blue 3 D0..D7 Green 6 D0..D7 Red 9 D0..D7 Green 2046 D0..D7 Mono/IR 1 D0..D7 Mono/IR 9 D0..D7 Mono/IR 2033 D0..D7 Mono/IR 2041 D0..D7 CL Port B Green 1 D0..D7 Red 4 D0..D7 Blue 6 D0..D7 Green 9 D0..D7 Blue 2046 D0..D7 Mono/IR 2 D0..D7 Mono/IR 10 D0..D7 Mono/IR 2034 D0..D7 Mono/IR 2042 D0..D7 CL Port C Blue 1 D0..D7 Green 4 D0..D7 Red 7 D0..
Piranha4 2K and 4K Color Camera User's Manual 35 RGB 8 bit CL full, maximum line rate 55 kHz (4k only), no AOI and 85 MHz CL clock Note: The inserted d u m m y p ixels at the end . This tim ing can be u sed for ap p lications that requ ire line rates u p to 55 kH z and therefore m u st u se Cam era Link Deca m od e and tw o cables. The RGB ou tp u t form at is not d efined in the Cam era Link sp ecification Full.
Piranha4 2K and 4K Camera Color User's Manual RGB 8 bit CL deca, maximum line rate 68.5 kHz (4k only), no AOI and 85 MHz CL clock Note: The inserted d u m m y p ixels at the end . Line Valid CL Clock CL Port A Red 1 D0..D7 Green 4 D0..D7 Blue 7 D0..D7 Red 11 D0..D7 Blue 4087 D0..D7 Red 4091 D0..D7 Green 4094 D0..D7 CL Port B Green 1 D0..D7 Blue 4 D0..D7 Red 8 D0..D7 Green 11 D0..D7 Red 4088 D0..D7 Green 4091 D0..D7 Blue 4094 D0..D7 CL Port C Blue 1 D0..D7 Red 5 D0..D7 Green 8 D0..
Piranha4 2K and 4K Color Camera User's Manual 37 RGB 10 bit CL medium, maximum line rate 20 kHz (4k) and 40 kHz (2k), no AOI and 85 MHz CL clock Line Valid CL Clock CL Port A Red 1 D0..D7 Red 2 D0..D7 Red 3 D0..D7 Red 4 D0..D7 Red 4095 D0..D7 Red 4096 D0..D7 CL Port B Red 1 D8..D9 Blue 1 D8..D9 Red 2 D8..D9 Blue 2 D8..D9 Red 3 D8..D9 Blue 3 D8..D9 Red 4 D8..D9 Blue 4 D8..D9 Red 4095 D8..D9 Blue 4095 D8..D9 Red 4096 D8..D9 Blue 4096 D8..D9 CL Port C Blue 1 D0..D7 Blue 2 D0..D7 Blue 3 D0.
Piranha4 2K and 4K Camera Color User's Manual RGB 12 bit CL medium, maximum line rate 20 kHz (4k) and 40 kHz (2k), no AOI and 85 MHz CL clock Line Valid CL Clock CL Port A Red 1 D0..D7 Red 2 D0..D7 Red 3 D0..D7 Red 4 D0..D7 Red 4095 D0..D7 Red 4096 D0..D7 CL Port B Red 1 D8..D11 Blue 1 D8..D11 Red 2 D8..D11 Blue 2 D8..D11 Red 3 D8..D11 Blue 3 D8..D11 Red 4 D8..D11 Blue 4 D8..D11 Red 4095 D8..D11 Blue 4095 D8..D11 Red 4096 D8..D11 Blue 4096 D8..D11 CL Port C Blue 1 D0..D7 Blue 2 D0..
Piranha4 2K and 4K Color Camera User's Manual 39 RGB 12 bit CL deca, maximum line rate 69 kHz (4K) and 70 kHz (2K), no AOI and 85 MHz CL clock Line Valid CL Clock CL Port A Red 1 D0..D7 Red 3 D0..D7 Red 4095 D0..D7 CL Port B Red 1 D8..D11 Red 3 D8..D11 Red 4095 D8..D11 CL Port C Blue 1 D0..D7 Blue 3 D0..D7 Blue 4095 D0..D7 CL Port D Blue 1 D8..D11 Blue 3 D8..D11 Blue 4095 D8..D11 CL Port E Green 1 D0..D7 Green 3 D0..D7 Green 4095 D0..D7 CL Port F Green 1 D8..D11 Green 2 D8..
Piranha4 2K and 4K Camera Color User's Manual p rocess sim p lifies the extraction of the RGB d ata from the fram e grabber bu ffer by the host ap p lication. Line rates u p to 70 kH z can be achieved by u sing the Area of Interest (AOI) featu re; w here the sm aller the AOI, the greater the p otential line rate. RGB plus monochrome 12 bit CL deca, maximum line rate 70 kHz (2K only), no AOI and 85 MHz CL clock Line Valid CL Clock CL Port A Red 1 D7..D0 Red 3 D7..D0 Red 4095 D7..D0 Mono/IR 1 D7..
Piranha4 2K and 4K Color Camera User's Manual 41 RGB Vs BGR The d ata ou tp u t can be p resented in tw o alternative form ats. RGB or BGR. The p reviou sly m entioned ou tp u t m od es are still valid in BGR m od e excep t the p ositions of the red and the blu e are exchanged . Green is still in its p reviou sly stated p osition. RGB BGR Figure 22 RGB Vs BGR Custom AOI Rules 1) 2) 3) 4) 5) 6) The sensor has p ixels nu m bered 0 to 4096*.
Piranha4 2K and 4K Camera Color User's Manual Camera Link cable quality and length The m axim u m allow able Cam era Link cable length d ep end s on the qu ality of the cable u sed and the Cam era Link strobe frequ ency. Cable qu ality d egrad es over tim e as the cable is flexed . In ad d ition, as the Cam era Link strobe frequ ency is increased the m axim u m allow able cable length w ill d ecrease. We d o not gu arantee good im aging p erform ance w ith low qu ality cables of any length.
Piranha4 2K and 4K Color Camera User's Manual 43 EXSYNC (Exposure Start) Line rate can be set internally u sing the GenICam featu res. The external control signal EXSYN C is op tional and enabled throu gh the u ser interface. This cam era u ses the falling ed ge of EXSYN C to start the exp osu re p eriod . The EXSYN C signal tells the cam era w hen to integrate the im age, follow ed by the read ou t.
Piranha4 2K and 4K Camera Color User's Manual WARNING: When setting up the camera’s power supplies follow these guidelines: ! Ap p ly the ap p rop riate voltages. Protect the cam era w ith a 2 am p slow -blow fu se betw een the p ow er su p p ly and the cam era. Do not u se the shield on a m u lti-cond u ctor cable for grou nd . Keep lead s as short as p ossible in ord er to red u ce voltage d rop . Use high-qu ality su p p lies in ord er to m inim ize noise.
Piranha4 2K and 4K Color Camera User's Manual 45 Check LED Status If the cam era is op erating correctly at this p oint, the d iagnostic LED w ill shine green. Software Interface All the cam era featu res can be controlled throu gh the Cam Exp ert interface. For exam p le, u nd er the Sensor Control m enu in the cam era w ind ow you can control the line rate and exp osu re tim es.
Piranha4 2K and 4K Camera Color User's Manual At this p oint you r host and cam era system shou ld be setu p and you can verify the cam era‘s op eration by retrieving a test p attern and setting the cam era‘s trigger and exp osu re tim e. Using Sapera CamExpert with Piranha4 Cameras Cam Exp ert is the cam era interfacing tool su p p orted by the Sap era library. When u sed w ith a Piranha4 cam era, Cam Exp ert allow s a u ser to test all cam era op erating m od es.
Piranha4 2K and 4K Color Camera User's Manual 47 CamExpert Panes Figure 24.
Piranha4 2K and 4K Camera Color User's Manual Figure 25. CamExpert GUI showing connected camera The Cam Exp ert ap p lication u ses p anes to sim p lify choosing and configu ring cam era files or acqu isition p aram eters for the installed d evice. D evice Selector pane: View and select from any installed Sap era acqu isition d evice. Once a d evice is selected Cam Exp ert w ill only p resent acqu isition p aram eters ap p licable to that d evice.
Piranha4 2K and 4K Color Camera User's Manual 49 Softw are trigger button: With the I/ O control param eters set to Trigger Enabled / Softw are Trigger type, click to send a single softw are trigger com m and . CamExpert display controls: (these d o not m od ify the fram e buffer d ata) Stretch im age to fit, set im age d isplay to original size, or zoom the im age to virtually any size and ratio.
Piranha4 2K and 4K Camera Color User's Manual 4. Camera Operation Factory Settings The cam era ship s and p ow ers u p for the first tim e w ith the follow ing factory settings: Cam era Link Med iu m , 8 bit p ixels, 85 MH z Internal trigger, line rate 10 kH z Internal exp osu re control, exp osu re tim e 30.
Piranha4 2K and 4K Color Camera User's Manual 51 Figure 26. CamExpert’s Camera Information Window Verify Temperature and Voltage To d eterm ine the voltage and tem p eratu re at the cam era, u se the Refresh Voltage and Refresh Temperature featu res fou nd in the Camera Information set. The tem p eratu re retu rned is the internal tem p eratu re in d egrees Celsiu s. For p rop er op eration, this valu e shou ld not exceed 80 °C.
Piranha4 2K and 4K Camera Color User's Manual Saving and Restoring Camera Settings The p aram eters u sed to select, load and save u ser sets are grou p ed together u nd er the Cam era Inform ation set of featu res. There are 8 u ser sets available and one factory set. Camera Information Parameter User Set Default Selector User Set Selector User Set Load User Set Save Choices Select the cam era p aram eters to load w hen the cam era is reset or pow ered up as the Factory set, or as User Set 1 to 8.
Piranha4 2K and 4K Color Camera User's Manual 53 Figure 27. Relationship between the Camera Settings Active Settings for Current Session The active setting for the cu rrent session is the set of configu ration s that are op erating w hile the cam era is cu rrently ru nning, inclu d ing all u nsaved changes you have m ad e to the settings before saving them .
Piranha4 2K and 4K Camera Color User's Manual Factory Settings The factory setting is the cam era settings that w ere ship p ed w ith the cam era and w hich load ed d u ring the cam era‘s first p ow er-u p . To load or restore the original factory settings, at any tim e, select the Factory Setting p aram eter and then select the User Set Load p aram eter. Note: By d efau lt, the u ser settings are set to the factory settings.
Piranha4 2K and 4K Color Camera User's Manual 55 Description Line Rate Internal line rate and exposure tim e External line rate and exposure tim e Internal, program m able Controlled by EXSYN C pulse Controlled by EXSYN C pulse EXSYN C pulse controlling the line rate. Program m ed exposure tim e Exposure Time Trigger Source (Sync) Internal program m able External (EXSYN C) Internal External Internal program m able External Figure 28.
Piranha4 2K and 4K Camera Color User's Manual Exposure Modes in Detail 1. Internally Programmable Line rate and Internally Programmable Exposure Time (Default) Line rate is the d om inant factor w hen ad ju sting the line rate or exp osu re tim e. When setting the line rate exp osu re tim e w ill d ecrease, if necessary, to accom m od ate the new line rate. When ad ju sting the exp osu re tim e the range is lim ited by the line rate.
Piranha4 2K and 4K Color Camera User's Manual 57 1. External Trigger Off, Internal Exposure Control Free running, not synchronized to an external signal Programmable Line Time Programmable Exposure1 >1.5us Programmable Exposure1 Sensor Readout2 Programmable Exposure1 Sensor Readout2 Sensor Readout2 LVAL 27.5us 2. External Trigger On, Internal Exposure Control CC1 Falling edge triggers start of internal exposure3 CC1 Line Time Programmable Exposure1 >1.
Piranha4 2K and 4K Camera Color User's Manual P4 2k and 4K color Exposure Time Guidelines In the P4-CC-02K and P4-CC-04K cam era have no lim itations on the com binations of the exp osu re tim es available for each color excep t the m axim u m of 3m s and the m inim u m of 7μs exp osu re tim es. Op erating the cam era w ith the cond itions stated below w ill giv e op tim u m im age p erform ance.
Piranha4 2K and 4K Color Camera User's Manual 59 If the external line rate exceed s 70 kH z the cam era w ill continu e to ou tp u t d ata at its m axim u m line rate of 70 kH z. Thou gh no im age artefacts associated w ith over -sp eed w ill occu r, you m ay notice that u nd er over-sp eed cond itions the im age w ill ap p ear com p ressed and the ap p arent d istance travelled w ill be red u ced .
Piranha4 2K and 4K Camera Color User's Manual Table 8: Line Rates vs AOI CL Clock Number Rate of AOI 85 MH z 85 MH z 85 MH z 03-032-20180-02 1 2 3 CL Configuration Line Rate Formula (Hz) Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Teledyne DALSA
Piranha4 2K and 4K Color Camera User's Manual 85 MH z CL Clock Rate 66 MH z Teledyne DALSA 4 Number of AOI 1 61 Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z CL Configuration Line Rate Formula (Hz) Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max:70KH z Deca RGB8 Max: 70KH z 03-032-20180-02
66 MH z 66 MH z 66 MH z 03-032-20180-02 Piranha4 2K and 4K Camera Color User's Manual 2 3 4 Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Deca RGB8 Max: 70KH z Base RGB8 Max: 70KH z Med iu m RGB8 Max: 70KH z Fu ll RGB8 Max: 70KH z Teledyne DALSA
Piranha4 2K and 4K Color Camera User's Manual 63 Deca RGB8 Max: 70KH z Set Exposure Time To set the cam era‘s exp osu re tim e, u se the Exposure Time p aram eter—a m em ber of the Sensor Controls set. This featu re is only available w hen the Exposure Mode p aram eter is set to Timed. The allow able exp osu re range is from 7 µs to 3,000 µs, d ep end ent on the valu e of the internal line rate. GenICam parameters: Sensor Controls > Exposure Time (Timed Exposure Mode) > 8 µs to 3,000 µs.
Piranha4 2K and 4K Camera Color User's Manual Set Baud Rate The bau d rate sets the sp eed (in bits p er second —bp s) of the serial com m u nication p ort and is available as p art of the Serial Port Control p aram eters.
Piranha4 2K and 4K Color Camera User's Manual 65 BINNING N ote: the binning featu re is u sed by the 4K m od el of cam era only. (This featu re d oes not ap p ly to the 2K m od els.) Binning is the com bining of tw o im age sensor p ixels to form a new com bined p ixel.
Piranha4 2K and 4K Camera Color User's Manual Camera Direction Control Fou nd in the I / O Control > D irection Control set of featu res. Direction Control Parameter Sensor Scan Direction Scan Direction Description This com m and lets you select the Internal or external direction control. Use this featu re to accom m od ate object d irection change on a w eb and to m ou nt the cam era "u p sid e d ow n." Read the cu rrent d irection.
Piranha4 2K and 4K Color Camera User's Manual 67 Calibrating the Camera Important Note: to ensu re best resu lts, the cond itions u nd er w hich you calibrate the cam era (e.g. tem p eratu re and illu m ination) shou ld be as close to the actu al op erating cond itions as p ossible. Figure 31: Flat Field Calibration in CamExpert Overview The follow ing d iagram and accom p anying d escrip tion exp lain the cam eras signal p rocessing chain.
Piranha4 2K and 4K Camera Color User's Manual 3. 4. 5. 6. 7. cam era to have a flat resp onse to a w hite target in the field of view . The ou tp u t target valu e for PRN U calibration can be set by the u ser. The w hite balancing gains are u sed set the red , green and blu e resp onse to equ al valu es w ith a w hite target in the field of view .
Piranha4 2K and 4K Color Camera User's Manual 69 u ser sets and au tom atically retrieved at p ow er u p or by u ser selection. If a color correction m atrix is d esired , the u ser can d ow nload and save a color correction file d erived from the p rocess d escribed above. Note: For the color correction to be effective, the cam era shou ld have a w hite balanced ou tp u t w hen color correction is off.
Piranha4 2K and 4K Camera Color User's Manual flatfield CalibrationTarget 1. flatfield CalibrationSam p leSize flatfield Calibration ROIOffsetX 1. 2. 1. After calibration all p ixels w ill be scaled to ou tp u t this level Range: 8 bit, 0 to 255 DN N u m ber of lines to average w hen calibrating 2048 or 4096 Together w ith ―flatfield Calibration ROIWid th‖ sp ecifies the range of p ixels to be calibrated . Pixel coefficients ou tsid e this range are not changed .
Piranha4 2K and 4K Color Camera User's Manual 71 Appendix A: GenICam Commands This ap p end ix lists the available GenICam cam era featu res. Access these featu res u sing the Cam Exp ert interface. Featu res listed in the d escrip tion table bu t tagged as Invisible are typ ically reserved for Teled yne DALSA Su p p ort or third p arty softw are u sage, and not typ ically requ ired by end u ser ap p lications.
Piranha4 2K and 4K Camera Color User's Manual Camera Information Feature Descriptions The follow ing table d escribes these p aram eters along w ith their view attribu te s and in w hich version of the d evice the featu re w as introd u ced . Ad d itionally the Device Version colu m n w ill ind icate w hich p aram eter is a m em ber of the DALSA Featu res N am ing Convention (u sing the tag D FN C), verses the GenICam Stand ard Featu res N am ing Convention (SFN C not show n).
Piranha4 2K and 4K Color Camera User's Manual Serial N u m ber DeviceID Pow er-u p Configu ration Selector UserSetDefau ltSelector Factory Setting UserSet1 Defau lt UserSet1 UserSet2 UserSet2 UserSet3 UserSet3 UserSet4 UserSet4 UserSet5 UserSet5 UserSet6 UserSet6 UserSet7 UserSet7 UserSet8 UserSet8 User Set Selector UserSetSelector Factory Setting Defau lt UserSet 1 UserSet1 UserSet 2 UserSet2 UserSet3 UserSet3 UserSet4 UserSet4 UserSet5 UserSet5 UserSet6 UserSet6 UserSe
Piranha4 2K and 4K Camera Color User's Manual UserSet8 UserSet8 Select the User-d efined Configu ration sp ace UserSet8 to save to or load from featu res settings p reviou sly saved by the u ser.
Piranha4 2K and 4K Color Camera User's Manual 75 Camera Configuration Selection Dialog Cam Exp ert p rovid es a d ialog box w hich com bines the featu res to select the cam era p ow er u p state and for the u ser to save or load a cam era state from m em ory. Camera Power-up Configuration The first d rop list selects the cam era configu ration state to load on p ow er-u p (see featu re UserSetDefaultSelector). The u ser chooses from one factory d ata set or one of tw o p ossible u ser saved states.
Piranha4 2K and 4K Camera Color User's Manual Camera Control Category The P4 cam era controls, as show n by Cam Exp ert, grou p s sensor sp ecific p aram eters. This grou p inclu d es controls for line rate, exp osu re tim e, scan d irection, and gain. Param eters in gray are read only, either alw ays or d u e to another p aram eter being d isabled . Param eters in black are u ser set in Cam Exp ert or p rogram m able via an im aging ap p lication.
Piranha4 2K and 4K Color Camera User's Manual 77 Camera Control Feature Descriptions The follow ing table d escribes these p aram eters along w ith their view attribu te and m inim u m cam era firm w are version requ ired . Ad d itionally the firm w are colu m n w ill ind icate w hich p aram eter is a m em ber of the DALSA Featu res N am ing Convention (DFN C), verses the GenICam Stand ard Featu res N am ing Convention (SFN C not show n).
Piranha4 2K and 4K Camera Color User's Manual Gain Selector GainSelector System Gain Red Green Ap p ly a d igital gain ad ju stm ent to the green channel only Blu e Ap p ly a d igital gain ad ju stm ent to the blu e channel only Ap p ly a d igital gain ad ju stm ent to the m ono channel only Sets the selected gain as an am p lification factor ap p lied to the im age. Controls the black level as an absolu te p hysical valu e.
Piranha4 2K and 4K Color Camera User's Manual Im age Distortion Correction Algorithm Im age Distortion Correction Line Selector Im age Distorition Parallax Correction Pixel Stretch 79 im ageDistortionCorrectionAlgori thm Read only – Parallax Correction 1.00 Beginner im ageDistortionCorrectionLineS elector Used to select betw een the green or red lines to be corrected 1.
Piranha4 2K and 4K Camera Color User's Manual CamExpert GUI In the Camera Control Set Parameter Value Exp osu re Tim e Color Selector All, Red , Green, Blu e, Mono (2k) Exp osu re Tim e Three-Letter Commands In the Camera Control Set Parameter Value scl (Select Exp osu re Tim e Color Selector) Select 0-ALL, 1-Red , 2-Green, 3-Blu e, 4-Mono (2k). set (Set Exp osu re Tim e) Execu tes the com m and .
Piranha4 2K and 4K Color Camera User's Manual 81 Digital I/O Control Feature Descriptions The P4 Digital I/ O control category, as organized by Cam Exp ert, grou p s together the sensor sp ecific p aram eters. This grou p inclu d es the controls for line rate, exp osu re tim e, scan d irection, and gain. Param eters in gray are read -only, either alw ays or d u e to another p aram eter being enabled or d isabled .
Piranha4 2K and 4K Camera Color User's Manual Flat Field Category The P4 Flat Field controls, as show n by Cam Exp ert, grou p p aram eters u sed to configu re cam era p ixel form at, and im age crop p ing. Ad d itionally a featu re control to select and ou tp u t a n internal test im age sim p lifies the p rocess of setting u p a cam era w ithou t a lens. Param eters in gray are read only, either alw ays or d u e to another p aram eter being d isabled .
Piranha4 2K and 4K Color Camera User's Manual On On Initialize Initialize ScanDirectionControlled ScanDirectionControlled Select flatfield Correction Scan Direction Reverse Set flatfield ScanDirectionReverseSet Calibration Algorithm flatfield CorrectionAlgorithm Basic Basic Low Pass Low Pass Calibration Target flatfield CalibrationTarget Calibration Sam p le Size flatfield CalibrationSam p leSize Lines_2048 Lines_4096 ROI Offset X Lines_2048 Lines_4096 flatfield CalibrationROIOffsetX RO
Piranha4 2K and 4K Camera Color User's Manual Balance White Au to BalanceWhiteAu to Initiates the p rocess of balancing the colors to p rod u ce a w hite balance 1.00 Beginner DFN C Region of Interest (ROI) The ROI featu re is related to flat field calibration.
Piranha4 2K and 4K Color Camera User's Manual 85 Image Format Control Feature Description The follow ing table d escribes these p aram eters along w ith their view attribu te and m inim u m cam era firm w are version requ ired . Ad d itionally the firm w are colu m n w ill ind icate w hich p aram eter is a m em ber of the DALSA Featu res N am ing Convention (DFN C), verses the GenICam Stand ard Featu res N am ing Convention (SFN C not show n).
Piranha4 2K and 4K Camera Color User's Manual Mu ltip le AOI Mod e Off Active m u ltip leAOIMod e Off Active Tu rns on an ou tp u t Area of Interest Area of interest is off Area of interest is on 1.
Piranha4 2K and 4K Color Camera User's Manual 87 1. Must be off to set up the AOI. 2. Set up the num ber of AOI d esired to m ax of 4. 3. Select area to set up. 4. Select beginning of selected area 5.
Piranha4 2K and 4K Camera Color User's Manual In order to initiate operation of the AOI once setup: 1. 2. The AOI m od e m u st be changed to Active. Be su re to set the fram e grabber im age w id th to the su m of all AOI w id ths set u p in the cam era. Once all AOI are set up change to active.
Piranha4 2K and 4K Color Camera User's Manual 89 Instructions on using the camera scan direction to control camera parameters The cam era is cap able of ad ju sting cam era p aram eters on-the-fly based on the scan d irection of the cam era. These p aram eters inclu d e gain, flat field coefficients, w hite balance and exp osu re tim e. 1. 2. The first step is to p u t the cam era in the reverse d irection.
Piranha4 2K and 4K Camera Color User's Manual Save to a user set choice. 4. 5. The next step is to p u t the cam era in the forw ard d irection. This can be d one u sing a forw ard signal throu gh CC3 and the Direction Sou rce set to external or by having the Direction Sou rce set to Internal and the Inter nal Direction set to forw ard . Set u p all the d esired p aram eters inclu d ing d oing a flat field . Setup param eters for forw ard d irection.
Piranha4 2K and 4K Color Camera User's Manual 6. 91 Save the cam era set to User Set other than the saved to for the reverse d irection. The forw ard d irection u ser set and the d efau lt u ser set m u st be the sam e. Forw ard d irection user set and d efault user set m ust be the sam e. Save to a d ifferent user set than the one selected for reverse d irection . Set the Flat Field m od e to Scan d irection Controlled . 7. In the Flat Field area change the m od e to Scan Direction Controlled .
Piranha4 2K and 4K Camera Color User's Manual A Note on External Direction, Direction Source, and User Sets If u sing external d irection control throu gh CC3 ensu re that the Direction Sou rce is both set to external and saved in the u ser set. Also ensu re that the p olarity on CC3 is set ap p rop riately for the d esired d irection. Transport Layer Control Category Param eters in gray are read only, either alw ays or d u e to another p aram eter being d isabled .
Piranha4 2K and 4K Color Camera User's Manual 93 Transport Layer Feature Descriptions The follow ing table d escribes these p aram eters along w ith their view attribu te and m inim u m cam era firm w are version requ ired . Ad d itionally the firm w are colu m n w ill ind icate w hich p aram eter is a m em ber of the DALSA Featu res N am ing Convention (DFN C), verses the GenICam Stand ard Featu res N am ing Convention (SFN C not show n).
Piranha4 2K and 4K Camera Color User's Manual Acquisition and Transfer Control Category The P4 Acqu isition and Transfer controls, as show n by Cam Exp ert, grou p s p aram eters u sed to configu re the op tional acqu isition m od es of the d evice. Param eters in gray are read only, either alw ays or d u e to another p aram eter being d isabled . Param eters in black are u ser set in Cam Exp ert or p rogram m able via an im aging ap p lication.
Piranha4 2K and 4K Color Camera User's Manual 95 Check Stream Valid ity DeviceRegistersCheck Press to check the valid ity of the cu rrent register set. Registers Valid DeviceRegistersValid States if the cu rrent register set is valid and consistent. 1.00 Beginner DFN C 1.00 Beginner DFN C Serial Port Control Category The Serial Port control in Cam Exp ert allow s the u ser to select an available cam era serial p ort and review its settings.
Piranha4 2K and 4K Camera Color User's Manual Bau d 9600 Bau d 19200 Bau d 57600 Bau d 115200 Bau d 230400 Bau d 460800 Serial Port Parity Bau d 9600 Bau d 19200 Bau d 57600 Bau d 115200 Bau d 230400 Bau d 460800 d eviceSerialPortParity N one Data Size Eight Bits N one d eviceSerialPortDataSize bp c8 Stop Bits d eviceSerialPortN u m berOf Stop Bits Stop bits1 Stop bits1 Bau d rate is 9600 Bau d rate is 19200 Bau d rate is 57600 Bau d rate is 115200 Bau d rate is 230400 Bau d rate is 460800 Sets
Piranha4 2K and 4K Color Camera User's Manual 97 File Access Control Feature Descriptions Display Name File Selector Feature FileSelector FPGA Cod e Firm w are1 Micro Cod e CCI XML User Set Factory FlatField coefficients User FPN ColorCorrectionMatrix Cam eraData File Op eration Selector FileOp erationSelector Op en Op en Close Close Read Read Write Write Delete Delete File Op eration Execu te FileOp erationExecu te File Op en Mod e FileOp enMod e Read Write File Access Bu ffer Read W
Piranha4 2K and 4K Camera Color User's Manual File Op eration Statu s FileOp erationStatu s Su ccess Su ccess Failu re Failu re File Unavailable FileUnavailable File Invalid FileInvalid File Op eration Resu lt FileOp erationResu lt File Size FileSize Disp lays the file op eration execu tion statu s. (RO). The last file op eration has com p leted su ccessfu lly. The last file op eration has com p leted u nsu ccessfu lly for an u nknow n reason.
Piranha4 2K and 4K Color Camera User's Manual 3. 4. 5. 6. 7. 99 From the File Selector d rop m enu , select the cam era m em ory location for the u p load ed d ata. This m enu p resents only the ap p licable d ata locations for the selected file typ e. Click the Brow se bu tton to op en a typ ical Wind ow s Exp lorer w ind ow . Select the sp ecific file from the system d rive or from a netw ork location. Click the Up load bu tton to execu te the file transfer to the cam era.
03-032-20180-02 Piranha4 2K and 4K Camera Color User's Manual Teledyne DALSA
Piranha4 2K and 4K Color Camera User's Manual 101 Appendix B: ASCII Commands The follow ing com m and s can be u sed to control the Teled yne DALSA Piranha4 cam eras. Accessing the Three Letter Commands (TLC) To access the TLC an ASCII-based com m u nications interface ap p lication, su ch as H yp er Term inal. Ad d itionally it is p ossible to u se the fu nctions of clserxxx.dll or clallserial.dll as d efined in the Cam era Link Sp ecification.
Piranha4 2K and 4K Camera Color User's Manual Notes on Using Alternatives to HyperTerminal If you are u sing interfaces other than H yp erTerm inal, th e ASCII character, ESC, is d ecim al 27 and need s to be issu ed . From the com m and line insert ESC by u sing ALT+2+7 of the activated N u m Pad . In som e cases this need s to be follow ed by a carriage retu rn or a linefeed to send this to the cam era. In ASCII the ESC character m ay look like this: “←”.
Piranha4 2K and 4K Color Camera User's Manual 103 Commands Full N ame Balance White Auto Mnemonic BWA Argument(s) D escription N otes Perform au tom atic w hite balance Gain each color su ch that the average of each is at the sam e level as the average of the m ost resp onsive. Full N ame Calibrate User FPN Mnemonic CCF Argument(s) # of lines to average D escription 2048 4096 Calibrate u ser FPN d ark flat field coefficients.
Piranha4 2K and 4K Camera Color User's Manual Full N ame Calibrate Flatfield Mnemonic CPA Argument(s) Algorithm D escription N otes 0. Basic 1. Low -p ass filter # of lines to average 2048 4096 Target 0 to 255 Calibrate u ser PRN U flat field coefficients Coefficients are saved and load ed w ith u ser set (e.g.
Piranha4 2K and 4K Color Camera User's Manual 105 Full N ame Mnemonic FCS Argument(s) File selector D escription N otes 1. 2. 3. 4. 5. 6. 7. 0. User Set 1. User PRN U 3. FPGA 4. Microcod e 5. CCI 6. XML 15. User FPN 16.
Piranha4 2K and 4K Camera Color User's Manual Full N ame D isplay Camera Configuration Mnemonic GCP Argument(s) D escription N otes Disp lay cu rrent valu e of cam era configu ration p aram eters USER>gcp Model Microcode CCI FPGA Serial # User ID BiST: DefaultSet Ext Trig Line Rate Meas L.R. Max L.R. Exp. Mode Exp. Red Time Exp. Gr. Time Exp. Bl. Time Exp. Mono Time Meas E.T. Max E.T.
Piranha4 2K and 4K Color Camera User's Manual 107 com m and .
Piranha4 2K and 4K Camera Color User's Manual Full N ame Help Mnemonic H Argument(s) D escription N otes Disp lay list of three letter com m and s 03-032-20180-02 USER>h P4 (03-081-20294-92): Command Line Interpreter Oct 18 2013, 10:49:07 bwa - Balance white auto ccf - Calibrate User FPN <2048|4096> cls - Camera Link Speed <0 - 85MHz, 1 - 66MHz> clm - Camera Link Mode <0:Base 1:Med 2:Full 3:Deca 4:Dual Base> cms - Color matrix selector cpa - Calibrate F
Piranha4 2K and 4K Color Camera User's Manual 109 Full N ame Load Pixel Coefficients Mnemonic LPC Argument(s) Set selector D escription N otes Load u ser set Load s FPN coefficients and PRN U coefficients from a u ser set ( only coefficeints, no other cam era p aram eters) Full N ame Reset Camera Mnemonic RC Argument(s) D escription 0. Factory set 1-8. User sets Resets the cam era to the saved u ser d efau lt settings. These settings are saved u sing the u sd com m and .
Piranha4 2K and 4K Camera Color User's Manual Full N ame Set AOI Count Mnemonic SAC Argument(s) D escription N otes N u m ber of AOI‘s Set AOI Cou nter Full N ame Set AOI Selector Mnemonic SAD Argument(s) D escription N otes Selector Offset Wid th Define an AOI Mu st not overlap w ith Full N ame Set AOI Mode Mnemonic SAM Argument(s) Mod e D escription N otes Set AOI m od e Full N ame Set Baud Rate Mnemonic SBR Argument(s) Bau d rate D escription N otes Set bau d rate Se
Piranha4 2K and 4K Color Camera User's Manual 111 Full N ame Select Exposure Time Color Selector Mnemonic SCL Argument(s) Color Selector D escription N otes 0. All 1. Red 2. Green 3. Blu e 4. Mono (2k m od el only) Select the color to ap p ly an exp osu re tim e valu e to.
Piranha4 2K and 4K Camera Color User's Manual Full N ame Set Horizontal Alignment Mode Mnemonic SHM Argument(s) Selector D escription N otes Enable the horizontal correction Full N ame Mirroring Mnemonic SMM Argument(s) Mod e D escription N otes Set m irroring m od e Full N ame Pixel Format Mnemonic SPF Argument(s) Selector 0. 1. Off On 0. 1. Off Im age is flip p ed on the vertical axis 0. 1. 2. RGB8 RGB10 RGB12 3. 5. BGR8 6. 7. 8. 9.
Piranha4 2K and 4K Color Camera User's Manual 113 Full N ame Offset Mnemonic SSB Argument(s) Offset D escription N otes Set offset Range changes d ep end ing on p ixel form at (SPF) Full N ame Internal Line Rate Mnemonic SSF Argument(s) D escription N otes Line rate 1 to 70,000 [H z] Set internal line rate Line tim e > ( Exp osu re tim e + 1,500 ns ) Full N ame Gain Mnemonic SSG Argument(s) Selector D escription N otes Gain Set gain Mu ltip lier m u st be im m ed iately p reced
Piranha4 2K and 4K Camera Color User's Manual Full N ame Test Pattern Mnemonic SVM Argument(s) Mod e D escription N otes Select test p attern When a test p attern is selected all d igital p rocessing (e.g. flat field , gain) is d isabled – it is re-enabled w hen sensor vid eo is selected Full N ame D efault User Set Mnemonic USD Argument(s) Set selector D escription N otes 0. 1. 2. Off – sensor vid eo Ram p Color Ram p 0. Factory set 1-8.
Piranha4 2K and 4K Color Camera User's Manual Full N ame Voltage Mnemonic VV Argument(s) D escription N otes Disp lay su p p ly voltage Teledyne DALSA 115 03-032-20180-02
Piranha4 2K and 4K Camera Color User's Manual Appendix C: Quick Setup and Image Acquisition If you are fam iliar w ith the op eration of Cam era Link cam eras and have an u nd erstand ing of im aging fu nd am entals, the follow ing step s w ill show you how to qu ickly set u p this cam era and begin acqu iring im ages. 1. On Power Up The color cam era has been calibrated and configu red at the factory to be read y for you r evalu ation w hen first p ow ered u p .
Piranha4 2K and 4K Color Camera User's Manual 117 3. Setting Up Your Optical Configuration Typ ically, the first thing you w ant to d o is to evalu ate the cam era‘s im age qu ality u nd er op erating cond itions sim ilar to those that you are likely to u se in you r ap p lication. In ord er to d o this, take the follow ing step s: The illu m ination, lens m agnification , and focu s shou ld be set u p as p er you ap p lication.
Piranha4 2K and 4K Camera Color User's Manual o If you m u st u se w hite p ap er, m ake su re it is m oving d u ring the calibration p rocess. If you d o not d o this, you r im age w ill have vertical strip es. Calibration is easily p erform ed u sing the TLC ‗cp a‘ com m and . The cp a com m and has tw o p aram eters. o The first is the nu m ber of lines you w ant to average over. Use a valu e of 4096* to achieve the best average.
Piranha4 2K and 4K Color Camera User's Manual 119 Appendix D: The Sensor Window Cleaning and Protecting Against Dust, Oil, and Scratches The sensor w ind ow is p art of the op tical p ath and shou ld be hand led like other op tical com p onents, w ith extrem e care. Du st can obscu re p ixels, p rod u cing d ark p atches on the sensor resp onse. Du st is m ost visible w hen the illu m ination is collim ated . The d ark p atches shift p osition as the angle of illu m ination changes.
Piranha4 2K and 4K Camera Color User's Manual Cleaning the Sensor Window Recommended Equipment Glass cleaning station w ith m icroscop e w ithin clean room . 3M ionized air gu n 980 (http :/ / solu tions.3m canad a.ca/ w p s/ p ortal/ 3M/ en_CA/ WW2/ Cou ntry/ ) Ionized air flood system , foot op erated . Sw ab (H UBY-340CA-003) (http :/ / w w w .cleancross.net/ m od u les/ xfsection/ article.
Piranha4 2K and 4K Color Camera User's Manual 121 Appendix E. Color Deca and Full Mode Acquisition Overview This section d escribes how to acqu ire im ages w ith the Piranha4 color cam era u nd er RGB 9.1 Deca m od e to achieve a 69 KH z line rate, and u nd er RGB 6.2 Fu ll m od e to achieve a 55 KH z line rate. Supported Sapera LT Sap era 7.10 or later is requ ired . Programming Deca Mode The RGB 9.1 Deca m od e u tilizes Cam era Link 10-tap , 8-bit m od e to achieve RGB form atting.
Piranha4 2K and 4K Camera Color User's Manual Line Valid CL Clock CL Port A Red 1 D0..D7 Green 4 D0..D7 Blue 7 D0..D7 Red 11 D0..D7 Blue 4087 D0..D7 Red 4091 D0..D7 Green 4094 D0..D7 CL Port B Green 1 D0..D7 Blue 4 D0..D7 Red 8 D0..D7 Green 11 D0..D7 Red 4088 D0..D7 Green 4091 D0..D7 Blue 4094 D0..D7 CL Port C Blue 1 D0..D7 Red 5 D0..D7 Green 8 D0..D7 Blue 11 D0..D7 Green 4088 D0..D7 Blue 4091 D0..D7 Red 4095 D0..D7 CL Port D Red 2 D0..D7 Green 5 D0..D7 Blue 8 D0..
Piranha4 2K and 4K Color Camera User's Manual 123 Acqu iring the above d ata as you w ou ld an 8-bit m ono cam era in 10-tap m od e creates the acqu isition bu ffer show n below . Adr+0 Red1 Adr+1 Green1 Adr+2 Blue1 Adr+3 Red2 Adr+4 Green2 Adr+5 Blue2 Adr+6 Red3 Adr+7 Green3 Adr+8 Blue3 Adr+9 Red4 First CLK Adr+10 Green4 Adr+11 Blue4 Second CLK On the other hand , the Sap Form atRGBR888 form at is show n below .
Piranha4 2K and 4K Camera Color User's Manual This tap arrangem ent allow s all fram e grabbers w ith 8-tap , 8-bit to grab im ages w ithou t requ iring ad d itional m od ifications. H ow ever, in ord er to correctly form at the im age for p rocessing and d isp lay p u rp oses, fram e grabbers need to su p p ort RGB 6.2 m od e natively. Until then, here are som e w orkarou nd s u sing Sap era LT. N otice, to su p p ort this p ixel form at in m em ory, the bu ffer m u st be set to RGB 24-bit p acked .
Piranha4 2K and 4K Color Camera User's Manual 125 Acqu iring the above d ata as you w ou ld an 8-bit m ono cam era in 8-tap m od e creates the acqu isition bu ffer show n below . Adr+0 Red1 Adr+1 Green1 Adr+2 Blue1 Adr+3 Red2 Adr+4 Green2 Adr+5 Blue2 Adr+6 Red3 First CLK Adr+7 Green3 Adr+8 Blue3 Adr+9 Red4 Adr+10 Green4 Adr+11 Blue4 Second CLK On the other hand , the Sap Form atRGBR888 form at is show n below .
Piranha4 2K and 4K Camera Color User's Manual Appendix F: Camera, Frame Grabber Communication Setting Up Communication between the Camera and the Frame Grabber Teled yne DALSA Cam era Link cam eras su p p ort the GenCP Cam era Link stand ard s. To configu re Teled yne DALSA GenCP Cam era Link Cam eras: 1. Install the Teled yne DALSA fram e grabber in the host com p u ter; refer to the hard w are installation m anu al. 2. Install Sap era LT and the Teled yne DALSA fram e grabber d river. 3.
Piranha4 2K and 4K Color Camera User's Manual 127 7. Start the Cam Exp ert ap p lication. In the D evice tab, select CameraLink Medium Color RGB #1. 8. Mod ify the cam era and fram e grabber p aram eter settings as requ ired . At p resent, w hen u sing GenCP cam eras, the cam era and fram e grabber p aram eters m u st be ad ju sted sep arately. Test the im age acqu isition by clicking the Grab bu tton. 9. Save the fram e grabber configu ration to a new *.ccf file.
Piranha4 2K and 4K Camera Color User's Manual Appendix C: Error and Warning Messages BiST: Bu ilt in Self Test The BiST error flags are binary flags w ith each bit being ind ep end ent from each other. The m essage from the BiST shou ld be ―Good ‖ m eaning everything is fu nctioning correctly bu t if a hard w are failu re d oes occu r in the cam era one or m ore these flags cou ld be set. Any of these errors w ill resu lt in the statu s light tu rning red .
Piranha4 2K and 4K Color Camera User's Manual 129 Operational Error Codes Code Description 0X8002 Invalid Param eter 0xC01C CPA_TOO_MAN Y_OUTLIERS 0x401E USER_FPN _CLIPPIN G 0x401F FLAT_FIELD_CLIPPIN G Teledyne DALSA 03-032-20180-02
Piranha4 2K and 4K Camera Color User's Manual EMC Declaration of Conformity We, TELEDYN E DALSA 605 McMurray Road Waterloo, Ontario CAN ADA N 2V 2E9 Declare und er sole responsibility that the cam eras: Brand N am e: Piranha4 Mod els: P4-CC-02K07T-00-R, P4-CC-02K04T-00-R, P4-CC-02K07Q-00-R, P4-CC-04K07T-00-R, and P4-CC04K04T-00-R Which are com p onents to be integrated into larger system s, w ere evalu ated accord ing to the CE Mark, FCC Part 15, VCCI, Israel, Korea, and Ind u stry Canad a ICES-003
Piranha4 2K and 4K Color Camera User's Manual 131 Revision History Revision 00 01 02 Teledyne DALSA Change Description Release of the initial m anual revision. - RGB10 and RGB12 pixel form ats ad d ed . - Trigger source and trigger mod e param eters rem oved from m anual. - RGB10 and RGB12 ad d ed to SPF com m and . - Full and Deca tim ing diagram s revised . - Form atting revisions. -2K resolution and Quad linear m od els ad d ed to the m anual. -QE graphs revised .
Piranha4 2K and 4K Camera Color User's Manual Index descriptions of, 54 exposure tim e set, 63 EXSYN C, 43 B baud rate, 64 binning (4k only), 65 BiST, 128 black level control, 63 C calibration, 67 flat field, 69 process chain, 67 cam era control signals, 31 cam era inform ation, 50 cam era interfacing tool, 46 Cam era Link cables, 42 input signals, 42 outputs, 43 Cam era Link connector, 30 Cam Expert, 47 certifications, 10 cleaning sensor window, 120 clock signals, 43 com pliance, 10 connectors, 29
Piranha4 2K and 4K Color Camera User's Manual 133 saving, 52 user, 53 setup overview, 27 shift d irection, 21 size image, 63 softw are required, 8 specifications mechanical, 8 performance, 8 precautions, 6 Q quantum efficiency graph, 10 R rebooting, 66 requirem ents PC, 27 responsivity graph, 10 revision history, 131 T tem perature verify, 51 test patterns, 49 trigger m od es, 54 S safety, 6 Sapera, 46 sensor controls, 76, 81, 84, 94 settings current, 53 default, 54 factory, 50, 54 loading, 52 Teled