Page 2
Reprod uction of this manual in whole or in part, by any m eans, is prohibited w ithout prior perm ission having been obtained fr om Teled yne DALSA. About Teledyne Technologies and Teledyne DALSA, Inc. Teled yne Technologies is a lead ing provid er of sophisticated electronic subsystem s, instrum entation and com m unication prod uct s, engineered system s, aerospace engines, and energy and pow er generation system s.
Food , d ru g, and tobacco insp ection Wood , tile, and steel insp ection Postal sorting Recycling sorting 100% p rint insp ection (lottery tickets, stam p s, bank notes, p aychecks) General w eb insp ection Teledyne DALSA 03-032-20124-00...
Page 6
Model Number Description SG-34-02K80-00-R 2k resolution, 80 MH z d ata rate, 18 KH z line rate. SG-34-04K80-00-R 4k resolution, 80 MH z d ata rate, 9 KH z line rate. Table 2: Software Software Product Number / Version Number Sapera LT, includ ing Cam Expert GUI Version 7.1 or later.
±0.25 m m z ±0.2° Electrical Interface Input Voltage +12 V to +15 V Pow er Dissipation < 10.5 W Operating Tem perature 0 to 50 °C Bit Wid th 8 bit Output Data Configuration GigE Vision Teledyne DALSA 03-032-20124-00...
Page 8
8-bit valu es, Flat Field Correction (FFC) enabled . CCD Pixel Rate: 40 MH z p er sensor tap Line Rate: 5000 H z N om inal Gain setting u nless otherw ise sp ecified 03-032-20124-00 Teledyne DALSA...
Please note that interp olation p roced u re d oes not w ork on the first and last p ixels; as a resu lt, the nu m ber of effective fu ll color (RGB) p ixels for the 2k and 4k cam eras is red u ced by 2 to 2046 or 4094 resp ectively. Teledyne DALSA 03-032-20124-00...
H eat generated by the cam era m u st be allow ed to m ove aw ay from the cam era. Mou nt the cam era on the frontp late (u sing the p rovid ed m ou nting holes) w ith m axim u m contact to the area for best heat d issip ation. Figure 5: Spyder3 Mounting Example 03-032-20124-00 Teledyne DALSA...
Install Sapera LT w ith CamExpert to control the Sp yd er3. You can access Sap era d rivers, SDKs, and d em os from the follow ing link: http :/ / w w w .teled yned alsa.com / m v/ su p p ort/ d riverSDKlist.asp x Teledyne DALSA 03-032-20124-00...
5. Operate the Camera At this p oint you w il be read y to op erate the cam era in ord er to acqu ire and retrieve im ages, set cam era fu nctions, and save settings. 03-032-20124-00 Teledyne DALSA...
In the Start m enu u nd er ―Control Panel‖ select ―N etw ork Connections,‖ and configu re the netw ork card as follow s: Select the installed netw ork card and click on ―Change settings of this connection.‖ Enable the ―Internet Protocol (TCP/ IP)‖ op tion only. Figure 6. Internet Protocol Teledyne DALSA 03-032-20124-00...
Page 16
Enable ―Ju m bo Fram es‖ to greater than 9000 bytes. If you r N IC d oes not su p p ort ju m bo p ackets the im age transfer sp eed w ill be slow er. 03-032-20124-00 Teledyne DALSA...
Page 17
Spyder3 SG-34 GigE Vision Color Manual Figure 8. Jumbo Frames 10. Click ―OK‖ to save settings Teledyne DALSA 03-032-20124-00...
The cam era m eets all p erform ance sp ecifications u sing stand ard sw itching p ow er su p p lies, althou gh w ell-regu lated linear su p p lies p rovid e op tim u m p erform ance. 03-032-20124-00 Teledyne DALSA...
Fatal Error. For exam ple, cam era tem perature is too high and cam era therm al shutd ow n has occurred . Flashing Green Cam era initialization or executing a long com m and . Solid Green Cam era is operational and functioning correctly. Teledyne DALSA 03-032-20124-00...
(grou nd ) for the GPIO signals. The shell connection is attached to the cam era case. GPIO Configuration Refer to Ap pend ix C: GPIO Control for a d etailed d escription of the GPIO u se-cases and configu ration options. 03-032-20124-00 Teledyne DALSA...
Ou tp u t voltage: m axim u m of low 0.55 V @ 32m A; m inim u m of high 3.8 V @ 32m A. LVDS Inputs and Outputs (LVDS compliant) Figure 13: LVDS Input 100 Figure 14Figure 15: LVDS Output Teledyne DALSA 03-032-20124-00...
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 fram e rate and exp osu re tim es. 03-032-20124-00 Teledyne DALSA...
The central section of Cam Exp ert p rovid es access to the Sp yd er3 p aram eters. N ote: The availability of the p aram eters is d ep end ent on the Cam Exp ert u ser setting. CamExpert Panes Figure 16: CamExpert Example Teledyne DALSA 03-032-20124-00...
Page 24
Histogram / Profile tool: Select to view a histogram or line/column profile during live acquisition. Output Message pane: Disp lays m essages from Cam Exp ert or the d evice d river. 03-032-20124-00 Teledyne DALSA...
Using Cam Exp ert, select Image Format Control > Test Image Selector and choose one of the available test im ages. Select live grab to see the p attern ou tp u t. The follow ing test p atterns are available: Figure 17. Grey horizontal step Figure 18. Grey horizontal ramp Teledyne DALSA 03-032-20124-00...
Click to read the voltage from the cam era. In general, the tem perature read is 15 C Tem perature greater than the tem perature at the front plate. The tem perature should not exceed 80 °C. Input Voltage 03-032-20124-00 Teledyne DALSA...
A p reviou sly saved u ser setting (User Set 1) or the factory settings can be restored u sing the User Set Selector and User Set Load p aram eters. The relationship betw een these three settings is illu strated here and d escribed below : Teledyne DALSA 03-032-20124-00...
Please note that the follow ing p aram eters are not reset w hen you load / restore the factory settings: Debou nce selector Calibrate White Balance Target PRN U Calibration Target Color Correction Inp u t Channel Color Correction Ou tp u t Channel 03-032-20124-00 Teledyne DALSA...
-line acqu isition (Snap com m and ) since the latter m u st valid ate the acqu isition p aram eters and m od ify on -board bu ffer allocation if the bu ffer size has changed since the last acqu isition. Teledyne DALSA 03-032-20124-00...
Page 30
Sensor Size # Taps Readout Time 1024 25600ns 1024 12800ns 2048 51200ns 2048 25600ns 4096 Table 10: tOverhead Values tOVERHEAD Sensor Size # Tap s Read ou t Tim e 1024 725ns 1024 450ns 2048 1400ns 2048 725ns 03-032-20124-00 Teledyne DALSA...
N ote: When setting the cam era to external signal m od es EXSYN C m u st be su p p lied . Exposure Modes in Detail Mode A. Internally Programmable Line Rate and Exposure Time (Factory Setting): ExposureMode Timed and LineTriggerMode Off (Internal Teledyne DALSA 03-032-20124-00...
Page 32
Example 3: Trigger Period is Repetitive and Greater than Read Out Time. Line Period Line Period Readout Readout Exposure Time Waiting Exposure Time Waiting EXSYNC EXSYNC falling EXSYNC falling edge ignored edge ignored CR=Charge Reset during readout during readout 03-032-20124-00 Teledyne DALSA...
(Trigger Mod e off). Exp osu re Mod e is Tim ed and Line Trigger Mod e is ON . Line rates are in the following configurations: 2k 1 tap: 300-18500 Hz 2k 2 tap: 300-36000 Hz 4k 2 tap: 300-18500 Hz Teledyne DALSA 03-032-20124-00...
Sp ecifies w hether the external fixed length fram e trigger is on or off. If the Fram eTriggerActiveMod e is on then it takes p reced ence.To tu rn On, p lease DeviceScanTyp e to Linescan (Start 03-032-20124-00 Teledyne DALSA...
Line: N o connect, TTL, LVDS Line Connector Pin Enu m eration of the p hysical line (or p in) on the d evice connector. This featu re is not available w hen Line Form at is set to N ot Teledyne DALSA 03-032-20124-00...
Sp ecifies the ad ju stm ent to the color gain valu es for a given light sou rce. Uncorrected White LED H alogen Flu orescent Tu ngsten Selects the tap to control. Tap 1 Tap 2 03-032-20124-00 Teledyne DALSA...
Sp ecifies the color to correct u sing the color correction m atrix. Table 11: Gain Range by Camera Model Gain 1K /2K Cameras 4K Cameras Color Gain -20.0 d B to +20.0 d B (0 d B d efau lt) Teledyne DALSA 03-032-20124-00...
This featu re ind icates the typ e of color filter that is ap p lied to the im age. Bayer RG Bayer GB Bayer GR Bayer BG Sensor Color Typ e Monochrom e or color. Color typ es are: Bayer, CYGM, CYYM, RGBW, RGBE, RBGG 03-032-20124-00 Teledyne DALSA...
External. Read Sensor Shift Direction Read cu rrent d irection of the external signal that controls the sensor shift d irection. This featu re is available only w hen sensorScanDirection is set to External. Teledyne DALSA 03-032-20124-00...
Description Cam era Reset Reset the cam era and p u t it in its p ow er -u p state (either w ith the d efau lt factory settings or w ith saved u ser settings) 03-032-20124-00 Teledyne DALSA...
8-bit d ata bu t w ant to take ad vantage of the cam era’s 12 bit d igital p rocessing chain. For exam p le, if you find that you r im age is consistently betw een 128 and 255DN (8 Teledyne DALSA 03-032-20124-00...
PRN U( pixel) PRN U correction coefficient for this pixel FPN ( pixel ) FPN correction coefficient for this pixel Backgrou nd Su btract backgrou nd su btract valu e System Gain d igital gain valu e 03-032-20124-00 Teledyne DALSA...
Page 43
Correction resu lts are valid only for the cu rrent analog gain and offset valu es. If you change these valu es, it is recom m end ed that you recalcu lat e you r coefficients. Teledyne DALSA 03-032-20124-00...
The FPN and PRN U calibration p aram eters are available as m em bers of the Ad vanced Processing set and are only available to Gu ru u sers. Figure 25. Advanced Processing / Calibration Parameters 03-032-20124-00 Teledyne DALSA...
Page 45
Restores the cam eras p ixel coefficients to 0 for FPN and a PRN U factor of 1. This com m and d oes not reset saved coefficients. Calibration Resu lt Disp lays the resu lt from the flat field calibration. Read FFC Calibration Read FFC Calibrate Resu lt Resu lt Teledyne DALSA 03-032-20124-00...
Page 46
Set the PRN U target valu e u sing the Target to Calibrate PRN U com m and . The target valu e (alw ays cou nted as 12-bit) and is 1024 to 4055 DN . For exam p le, if you w ant to se t the target to 255 x 80% = 03-032-20124-00 Teledyne DALSA...
Use this com m and in conju nction w ith the Background Subtract com m and . 4k m od el lim ited to 12953 (0 d B effective at factory set analog gain of -10 d B). Teledyne DALSA 03-032-20124-00...
4096(/4096)*RED 0*GREEN 0*BLUE + Offset GREEN = 0*RED 4096(/4096)*GREEN 0*BLUE + Offset BLUE = 0*RED 0*GREEN 4096(/4096)*BLUE + Offset The d efau lt valu es in the color correction m atrix are: Color Correction: 4096 4096 4096 03-032-20124-00 Teledyne DALSA...
Page 49
4096 4096 OK>ColorCorrectionInputChannel Green OK>ColorCorrectionValueRaw 2048 Color Correction: Increase Green Input to 2048 8191 2048 (maintaining Red output) 4096 4096 End ing w ith an increase of red and green in the red ou tp u t. Teledyne DALSA 03-032-20124-00...
, the cam era u ser can control the cam era's behavior in ord er to m inim ize the d ark cu rrent artifact. The m od es of op eration selected by the Read ou t Mod e com m and are: Au to, On, or Off. 03-032-20124-00 Teledyne DALSA...
Page 51
When op erating in the d ark cu rrent clear m od e, there w ill be a slight d elay, equ ivalent to one read ou t tim e, before the actu al exp osu re is im p lem ented . The actu al exp osu re tim e w ill not be altered . Teledyne DALSA 03-032-20124-00...
Page 52
Max. Line Rate in Frequency Increasing Line Rate Dark Current Clear Immediate Frequency Mode Readout Mode ReadoutMode 0, Auto Mode. Operating Region Time Period Operating Mode Refer to the above figure Dark Current Dump state Immediate Readout state 03-032-20124-00 Teledyne DALSA...
Dark Current Dum p state Im m ed iate Read ou t state Dark Cu rrent Du m p to Im m ed iate Read ou t (T < #) IN T DUMP IMMEDIATE EXSYNC DUMP LVAL Valid Teledyne DALSA 03-032-20124-00...
Page 54
Dark Current Dum p state Im m ed iate Read ou t state Immediate Readout Mode. Operating Region Time Period Operating Mode Refer to Figure 26. Dark Current Dum p state Im m ed iate Read ou t state 03-032-20124-00 Teledyne DALSA...
Page 55
IN T > DUMP (MAX) DUMP EXSYNC DUMP VERT_TRANS LVAL Dark Cu rrent Du m p to Im m ed iate Read ou t (T > #) IN T > DUMP (MAX) DUMP EXSYNC DUMP VERT_TRANS LVAL Teledyne DALSA 03-032-20124-00...
Page 56
Dark Current Dum p state Auto Mode. Operating Region Time Period Operating Mode Refer to Figure 26. Dark Current Dum p state Im m ed iate Read ou t state Dark Current Dum p state EXSYNC DUMP VERT_TRANS LVAL 03-032-20124-00 Teledyne DALSA...
0 to 2) can be configu red as Off, LVDS (Low Voltage Differential Signal), or TTL (Transistor/ Transistor Logic). The rem aining inpu t and ou tpu t (i.e. 3), can be configu red as either Off or TTL. Figure 27: GPIO Pinout Teledyne DALSA 03-032-20124-00...
: Line0 – line trigger or rotary encod er phase A inpu t Line1 - Fram e trigger Line2 – Direction control or rotary encod er phase B inpu t 03-032-20124-00 Teledyne DALSA...
In the Line Trigger Fu nction Grou p > set the p aram eter Line Trigger Mod e valu e to Off, Figure 29: Line Trigger In the Direction Control Grou p > set the param eter Sensor Scan Direction > to Forw ard or Reverse, d epend ing on you r ap plication. Teledyne DALSA 03-032-20124-00...
Page 60
In the Rotary Encod er Grou p > set the valu e to False. Figure 31: Rotary Encoder Group In the Start Mod e > set the Fram e Start Trigger valu e Off. Figure 32: Start Mode 03-032-20124-00 Teledyne DALSA...
Page 61
In the Active Mod e > set the Fram e Active Trigger valu e Off. Figure 33: Active Mode In the Sensor Control Grou p > set the d esired exposu re m od e, exposu re tim e and line rate. Figure 34: Exposure Mode, Time, and Line Rate Settings Teledyne DALSA 03-032-20124-00...
Page 62
Set the Inpu t Direction Signal to Line 0 (as d escribed at the start to this section). Verify the line frequ ency valu e by clicking the Read External Line Frequ ency param eter in the Line Trigger Fu nction Grou p, as show n in the figu re above. 03-032-20124-00 Teledyne DALSA...
Page 63
6-5 if u sing TTL, or pin6-7 if u sing LVDS. In the Line Trigger Fu nction Grou p > Set the Line Trigger Mod e valu e to On. Set Rotary Encod er Mod u le to Tru e. Figure 38: Rotary Encoder Module Teledyne DALSA 03-032-20124-00...
Page 64
In som e situ ations, it is d esirable to only resp ond to one d irection, either forw ard or reverse, yEnable the Encod er Backlash Control fu nction and the Scan Direction to d esired d irection. 03-032-20124-00 Teledyne DALSA...
Page 65
To avoid this, increase the Rotary Encod er Debou nce Factor, as show n in the follow ing figu re. Figure 42: Rotary Encoder Debounce Factor Figure 43: Shaft Encoder Module Teledyne DALSA 03-032-20124-00...
Page 66
In the Active Mod e grou p > ensu re that the Fram e Active Trigger Mod e valu e is Off. Figure 45: Frame Trigger Mode In the Start Mod e grou p > set the Fram e Start Trigger Mod e valu e to ON . Figure 46: Frame Start Trigger Mode 03-032-20124-00 Teledyne DALSA...
Page 67
In the Start Mod e grou p > Make su re Fram e Start Trigger Mod e is Off. Figure 49: Frame Start Trigger Mode: Off In the Fram e Trigger Fu nction Grou p > Set the Device Scan type to Areascan. Teledyne DALSA 03-032-20124-00...
Page 68
. The fram e height length w ill be d eterm ined by the length of the fram e trigger . At this point you can enable fram e d elayer as w ell. Figure 52: Frame Active Delay 03-032-20124-00 Teledyne DALSA...
The signal to ou tpu t can be selected from the Signal Rou ting Block p aram eters. For exam ple, the follow ing figu res w ill ou tpu t line 0. Please note that the fram e valid (PLC_A4) is alw ays high since Spyd er3 is a line scan cam era. Teledyne DALSA 03-032-20124-00...
Page 70
Spyder3 SG-34 GigE Vision Color Manual Figure 54: Signal Routing Block Figure 55: Signal Q0 linked to the value of parameter PLC_10 03-032-20124-00 Teledyne DALSA...
GUI w ill d isconnect d u ring factory load . After Factory d efau lt settings are load ed , param eters w ill be configu red as follow s; PLC_Q7_Variable0 is set to line0, w hich is line trigger inp u t : Teledyne DALSA 03-032-20124-00...
Page 72
PLC_Q16 is set to Line1, w hich is fram e trigger: PLC_Q16 is fed into d elayer, so the fram e trigger signal can be d elayed : PLC_Q6 is d irection and is fed by line2: 03-032-20124-00 Teledyne DALSA...
Page 73
PLC_Q12_Variable0 can be PLC_I1 or PLC_I4 d epend ing on w hether or not the d elayer is enabled : PLC_Q14_Variable0 can be PLC_I1 or PLC_I4 d epend ing on w hether or not the d elayer is enabled : Teledyne DALSA 03-032-20124-00...
Delay Ind icates the nu m ber of cycles (also d eterm in ed by the granu larity) that the pu lse rem ains at a low level before rising to a high level. 03-032-20124-00 Teledyne DALSA...
Page 75
There is one clock cycle betw een the outpu t signal of a pu lse generator and the ou tpu ts of the GPIO Control Block. The labels for the inpu ts from the pu lse generators in the GPIO Control Block p rogram m ing langu ages are: I7, for pu lse generator 0 Teledyne DALSA 03-032-20124-00...
Page 76
The ―Min. Frequ ency‖ is a fixed m inim u m , otherw ise the incom ing signal period cou nter gets satu rated (reach the m axim u m cou nt). The ―Max. Freq.‖ is a recom m end ed m axim u m to get Error less than 1%. 03-032-20124-00 Teledyne DALSA...
Page 77
[31:0] = sig_in_period _cou nter[15:0] x Mu ltiplier_setting[15:0] d ivid er_ou t[27:0] = IN T ( m u ltiplier_ou t[31:0] / Divid er_setting ) Signal_Ou t_Period = MAX( d ivid er_ou t[27:0], 2 ) x Granu larity Teledyne DALSA 03-032-20124-00...
Page 78
Ind icates w hich label from the GPIO LUT that w ill be associated w ith the clear event inpu t of the cou nter. Make su re you select an inp u t label that is not being u sed for its d efau lt behavior. The possible valu es are: Q3, Q7, Q8, Q9, Q10, Q11, Q16, and Q17. 03-032-20124-00 Teledyne DALSA...
Ind icates the d ebou ncing valu e for inpu t 2. Each u nit is equ al to 16 clock cycles (30ns each), or 480ns. Input 3 Value Ind icates the d ebou ncing valu e for inp u t 3. Each u nit is equ al to 16 clock cycles (30ns each), or 480ns. Teledyne DALSA 03-032-20124-00...
Ind icates w hich label from the GPIO LUT that is associated w ith the ―set even t‖ inpu t of the tim estam p m od u le. Make su re you select an inpu t label that is not being u sed for its d efau lt behavior. The possible valu es are: 0: Q3 1: Q7 03-032-20124-00 Teledyne DALSA...
Page 81
When set to tru e, the operation is broad casted to all other d evices on the sam e netw ork as the cu rrent d evice. Set Value The valu e assigned is u sed w hen the ―set event‖ of the cou nter occu rs. Current Value Disp lays the tim estam p cou nter’s cu rrent valu e. Teledyne DALSA 03-032-20124-00...
PLC. N ote: the screenshots in this section are from the Cam Exp ert GUI. Other GUI’s shou ld contain a sim ilar arrangem ent to w hat is show n. 03-032-20124-00 Teledyne DALSA...
The PLC control block u ses a look u p table (LUT) to generate the ou tpu ts. This LUT contains eight d ifferent inpu ts, each of w hich can generate 18 d ifferent ou tpu ts, resu lting in 256 entries of 18 bits. Teledyne DALSA 03-032-20124-00...
Page 84
Inpu ts to Cam Exp ert are labeled In (w here n is an integer from 0 to 7) and ou tpu ts are labeled Q n (w here n is an integer from 0 to 15). 03-032-20124-00 Teledyne DALSA...
Trigger for p u lse generator 1. Used only w hen the p u lse generator is in triggered m od e. PULSE_TRIG1 If available, can be u sed by one of the follow ing m od u les: Rescaler 0 inpu t Teledyne DALSA 03-032-20124-00...
Page 86
The tim estam p valu e at the tim e of the interru pt. Trigger for the d ow n event of cou nter 0. CN T_DOWN If available, can be u sed by one of the follow ing m od u les: 03-032-20124-00 Teledyne DALSA...
Enhanced Fu nction Block back into the Looku p Table for fu rther p rocessing. Becau se m ost of the other blocks in the PLC u se preconfigu red inpu ts and ou tpu ts, the Signal Rou ting Block is the prim ary m ethod of rou ting a signal from one block to another. Teledyne DALSA 03-032-20124-00...
The Lookup Table lets you connect any input signal I0-I7 to any Lookup Table output signal Q0-Q17 You can manipulate your inputs using simple or complex Boolean expressions. The following expressions are both valid: Q0 = I6 Q6 = !(I4 & I6) & ((I2 ^ I5) | I1) 03-032-20124-00 Teledyne DALSA...
Page 89
Q2 = Q1 | I5 Q2 = (I7 & I8) | I5 Equ ations m u st be sep arated by Q3 = I7,Q15=I8 Q3 = I7 a carriage retu rn or an EOL Q15 = I8 sym bol. Teledyne DALSA 03-032-20124-00...
PLC need s only look u p the valu e of the resu lting ou tpu t (for each ou tpu t), rather than calcu late it. Thu s, the Looku p Table can achieve a propagation d elay of only one system clock cycle (30 ns), regard less of the com plexity or nu m ber of Boolean expressions. 03-032-20124-00 Teledyne DALSA...
Changes or m od ifications n ot exp ressly ap p roved by Teled yne DALSA cou ld void the u ser's au thority to op erate the equ ip m ent. N ame and Signature of authorized person H ank H elm ond Qu ality Manager, Teled ybe DALSA Inc. Teledyne DALSA 03-032-20124-00...
Spyder3 SG-34 GigE Vision Color Manual Revision History Rev Number Change Description Date Prelim inary release. February 1, 2012 03-032-20124-00 Teledyne DALSA...
22 specifications, 7 EMC Com pliance Stand ard s, 9 ethernet connector, 19 I / O connector, 20 ethernet card I/ O installation, 13 control, 35 exposure m od e I/ O cable timing, 32 installation, 14 Teledyne DALSA 03-032-20124-00...
Page 94
39 PLC control, 82 tim estam p counter, 80 pow er tim ing pinout, 18 mode 7, 33 pulse generator, 74 Tim ing, 30 triggers, 34 outputs, 21 read out m od e auto, 52 03-032-20124-00 Teledyne DALSA...
Need help?
Do you have a question about the Spyder3 SG-34-04k80-00-R and is the answer not in the manual?
Questions and answers