Home
1 virtual scope configuration tool
Contents
1. DAC 004 Commands Introduction The DAC 004 configuration tool allows many parameters to be configured for default use when the camera starts up This capability will accommodate most applications For those applications that are more demanding another level of programmability has been added to the DAC 004 Using a set of commands via FifeNet various parameters that are normally set statically through the configuration tool can be set dynamically under program control An example of this might be for a CDP 01 state machine program to specify a different edge count value when switching to a different guiding job Command Structure Commands are sent to the DAC 004 using the FifeNet configured parameter called DAC 004 Command Commands are all 16 bits in length with the upper 8 bits indicating the command and the lower 8 bits the associated data When a command is accepted and completed the command will be echoed back to FifeNet at the configured parameter DAC 004 Command Status An echoed value of OxFF in either the upper or lower 8 bits indicate an error in either the command or data respectively For example the DAC 004 Command Status value OxFFOO indicates an invalid command has been specified The value OxOOFF indicates the command is good but the parameter supplied in the lower 8 bits is out of range for this command 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 37 Company Acti
2. Configuration Shortcut Vertical Offset Control Vertical Scale Control Horizontal Pixels Div Control 06 04 04 CONFIGURATION TOOL 1 1 40 When running the PC will request and display video information according to the current horizontal settings Stopped retains the last captured video information je The link status LED indicates the state of the connection between the DAC 004 and the PC Opens the edit configuration screen directly After changes are made pressing OK sends the new settings directly to the camera and returns to the Scope screen Pressing Cancel returns to the Scope screen without transmitting any changes Offset This slider allows the entire scope video waveform to be moved up or down The associated horizontal cursors are automatically adjusted to display correct information according to the vertical offset setting The button places horizontal cursors on the scope screen to define the minimum and maximum range of the vertical signal ccale I This slider works similar to the vertical sensitivity setting on a typical oscilloscope The CCD signal is represented in digital form using 14 bits which provides a range from O to 16 383 The vertical scale control adjusts the scale of the vertical axis so the CCD signal can be amplified if needed All associated cursors are automatically adjusted to display correct information on any vertical scale setting The active setti
3. Start of Scan trigger is the default mode The delay control specifies the delay time starting from this point This mode should always be used during the initial camera setup so the entire video signal can be viewed When this trigger mode is active the A and B find buttons near the delay control are enabled Edge A trigger starts the scope at the pixel where Edge A has been reported This triggering option is useful for keeping the edge in view while performing the final focus adjustments If the camera is not aligned to the point that an edge can be detected the scope cannot display meaningful information Use default triggering until edges can be properly detected When this trigger mode is active the A and B find buttons near the delay control are disabled DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company CONFIGURATION TOOL 1 1 42 Edge B trigger starts the scope at the pixel where Edge B has been reported This triggering option is useful for keeping the edge in view while performing the final focus adjustments If the camera is not aligned to the point that an edge can be detected the scope cannot display meaningful information Use default triggering until edges can be properly detected When this trigger mode is active the A and B find buttons near the delay control are disabled Edge Triggering vs Edge Locating Pixel View Scope Grid 06 04 04 The
4. 1 19 Visti 1 19 Maximum WAS as 1 19 Edge SOU ts 1 19 Edge IPS o A As 1 19 Edge M IUe O A a 1 20 vet Signal A 1 20 Swap Width A and Outp t B 5 2 oi o A os 1 20 uie 1 20 Ye eese P 1 22 Transparent Mode ss oi aE tni intei ce ede alee uUi 1 23 BIB 1 23 FifeNet Configuration Dialog led 1 24 HEN Master 1 24 FITe Net Address ecesna E E 1 24 modorjgoMiium tt 1 25 Collapse 2 ce o ee 1 25 Aa A A A is 1 25 The DAC 004 Terminal ScreenN ccooonncccccnccccnnccocnnococonononnnononcnnnnnnonnnnnnnnnnonnnnnnnnnnnnnnnnnnannnonannnnanenes 1 30 DAG 004 Commands ii 1 36 IMTOdU CUM tia as 1 36 Command MU ai 1 36 Activating the New Configuration ccooocccccccnconccconnnccnonnnconnnnononannnnonannnnnnonronnnnnnnnnnnannnnannns 1 37 DAG 004 Virtual SCOPE scenar eon tesi Ree ee ee ES 1 39 Naito tol 0 ei c e perme ter terete cence 1 39 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E CONTENTS A Maxcess LO CORTO Sauer ect rach eet renes ME LL Mec UM MM UMEN CT due DU Ue MEL UE 1 39 PRUE LOD COMME Ol A Ee 1 39 Gontigquratlon Sonica REP Epp p 1 40 VertiCals OSE Colli olds tac use oo id 1 40 Venica Scal
5. 16 40 39 2003 7442 13584 10 17 Thu Sep 18 16 40 39 2003 7442 13696 10 18 Thu Sep 18 16 40 39 2003 7442 13680 10 19 Thu Sep 18 16 40 39 2003 7441 13680 10 20 Thu Sep 18 16 40 39 2003 7442 13616 10 Figure Sheet 1 873 A E ban Maxcess International Company Linearization Introduction Linearization Template Linearization Process 06 04 04 CONFIGURATION TOOL 1 1 10 All camera technologies including the DAC 004 suffer from nonlinear characteristics caused by the geometry interaction of the camera and lenses with respect to the web of interest The DAC 004 contains a compensation system to help reduce the effects of this non linearity By using a calibration template with evenly spaced lines the camera learns a correction factor that is applied to the pixel where each edge is reported This information is further processed to extrapolate the correction for all pixels between the calibrated edges The end result is a CCD pixel lookup table which translates the actual edge the CCD reports into the position that it should be if everything were linear A linearization template contains a series of 254 evenly spaced lines There are several sizes available depending on the expected FOV of the application The linearization templates are not standard issue and should be requested at the time of order Prior to performing the linearization the camera position must be locked and the lens zoom and focus adjustments compl
6. 7450 0 to 8191 0 to 8191 0 to 8191 1 27 Width in pixels of the difference between edge B and edge A This will always be a positive number Average value of the four highest CCD pixels Raw threshold value between 0 and 16128 Raw threshold value between 0 and 16128 The edge position in pixels for the configured edge 1 count relative to the start of scan The edge position in pixels for the configured edge 1 count relative to the end of scan The edge position in pixels for the configured edge 2 count relative to the start of scan The edge position in pixels for the configured edge 2 count relative to the end of scan Value written to Analog D A converter for output A Value written to Analog D A converter for output B Value written to Analog D A converter for Width output X Joker A Active Joker B Active CCD Intensity Below Thresholds CCD Exposure Limit Linearization Active DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 28 Company Active Joker The current joker settings 0000 0000 0000 00BA Setting Where B Joker setting for output B A Joker setting for output A INTB 30A B Joker The state of the Joker inputs from the INTB 30A and INTB 30B if attached The value is formatted the same as the Active Joker Setting above INTB 30 Exposure 0 to 255 The 8 bit analog value representing the analog value from the INTB 30A INTB 30A 0 to 255 The 8 bit analo
7. Exposur FiteNet Exposure 29794 FiteMet THald 1 Fisel THold 1 FiteNet THold 2 3738 Pixel THold 2 FifeMet 505 1 32442 Pinel 505 1 FifeNetEOS 1 32767 Pixel EDS 1 FifeNet SOS 2 Pixel 505 2 FifeNet EOS 2 Pixel EOS 2 INTB 304 B Joker nmn DAD Status 00010 INTE 30 Exposure DA Edge INTB 306 THold 1 04 Edge B 19 INTB 30B THold 2 D A Width Command Status Ox0000 Unit adjusted output Exposure ms 355 EE FPGA Exposure De4B 8 Edge Counters B 868 Log File Generation Update Speed 50ms a RECORD J Log growth rate 08 0 ar records FieNetTHoldle 32K FileNet THold2 32K FPGA Exposure 0x0000 FiteMet THoldl sx FiteWet T Hold s m Global Display Mode HEX INT UINT DFLT fe tend ALL NONE O Plbubeck m Ld Lag File Playback d Playback Delay ms Hm rese Gato Stat 0 Hata End Log Entries Variables Logged Log interval This screen has two functions one is to view the DAC 004 values over FifeNet with the option to record the values to a file and the second is to Playback a recorded file with the option of generating a text file Select the mode by choosing the desired option as shown below NOTE The Link has to be stopped to make this selection DAC O04 C Playback The variables dialog allows all the camera variables that are available for transmission or reception on F
8. configuring the DAC 004 exposure behavior and for activating linearization Some features presented are not available by default and require password activation these will be designated as NON ACTIVE Edit DAC 004 Configuration Mise Edges FifeNet VSP Version SW Number DAC 003 Mode Version Exposure a Auto Exposure Auto Exposure ETE Setpoint PID Gain Automatic ES 35 ES Proportional so Limit 45 00 ms Skip Windup Integral 20 Derivative 300 Comments 228 characters 7 Enable Video Mark Use linearization table if present Target units line 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Exposure Exposure Sources 06 04 04 CONFIGURATION TOOL 1 1 15 The exposure determines the amount of time light is allowed to collect on the CCD array between scans A faster response is generally desired and it is achieved by shorter exposure times The exposure sets the time of the clocking period The last 1 59ms of each period is for the CCD pixels to be clocked out of the array You can think of the exposure as Exposure Update Rate The exposure source defines the source of the exposure input The following exposure sources are supported INTB 30A F FifeNet 32k FifeNet ms x 1000 This mode is identical to the DAC 003 camera The INTB 30 sets the exposure value by providing an analog value to the DAC 0
9. determining the camera exposure time Applying a dead zone affects the following variables Start of Array Ignore first dead zone affects these variables FifeNet Edge A FifeNet Edge B FifeNet SOS1 FifeNet EOS1 FifeNet SOS2 FifeNet EOS2 D A Edge A D A Edge B D A Width End of Array Ignore last dead zone affects these variables FifeNet Edge A FifeNet Edge B D A Edge A D A Edge B D A Width DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E Yf A Maxcess International Company CONFIGURATION TOOL 1 1 24 FifeNet Configuration Dialog FifeNet Master FifeNet Address 06 04 04 Edit DAC 004 Configuration x Misc Edges Fife et Time Slice Allocation s E A T51 Transmit Realtime owl DWD DAC DO4 Command Statu Fifellet Address ls E 8 T52 Transmit Realtime o hea DWD FifeNet Edge A E 8 T53 Transmit Realtime i DWO FiteNet Edge B Expand All E Collapse All Clear All Cancel Help The Fifenet configuration dialog must be configured by Fife personnel for custom applications These parameters require additional knowledge beyond the scope of this document The FifeNet configuration tab is used to configure the time slice allocation used by the DAC 004 when participating in a FifeNet network v FifeMet Mast zd isses The DAC 004 can perform a subset of the FifeNet master capabilities for simple networks If a full featured master is available in the network
10. output 32767 to 32767 Analog width output scaled to FifeNet ranges 32767 to 32767 Average of the four highest CCD pixels scaled to FifeNet ranges 32767 to 32767 The current exposure setting scaled to FifeNet 32767 to 32767 Threshold value scaled to FifeNet 32767 to 32767 Threshold value scaled to FifeNet 32767 to 32767 The edge position scaled to FifeNet for the configured edge 1 count relative to the start of scan 32767 to 32767 The edge position scaled to FifeNet for the configured edge 1 count relative to the end of scan 32767 to 32767 The edge position scaled to FifeNet for the configured edge 2 count relative to the start of scan 32767 to 32767 The edge position scaled to FifeNet for the configured edge 2 count relative to the end of scan Pixel Edge A Pixel Edge B 06 04 04 0 to 7450 Pixel location of the edge assigned to Analog output A This will be the same as one of the SOS or EOS signals below depending on which edge is selected for output 0 to 7450 Pixel location of the edge assigned to Analog output B This will be the same as one of the SOS or EOS signals below depending on which edge is selected for output DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A rf A Maxcess C International Company s Status Register 06 04 04 CONFIGURATION TOOL 1 0 to 7450 0 to 16128 0 to 16128 0 to 16128 0 to 7450 0 to 7450 0 to 7450 0 to
11. signal Skip Windup NON ACTIVE Most systems will not have this feature turned ON NOTE This feature is only available via a password This option modifies the auto exposure behavior when the CCD intensity is saturated Under normal operation the exposure time will decrease from the current setting until the CCD intensity arrives at the set point If the skip windup option is set the exposure is set immediately to the fastest exposure time possible 1 585ms and searches for the set point from there This results in a quicker arrival at the set point when the CCD is recovering from a saturated condition Iv Enable Video Mark NON ACTIVE Most systems will not have this feature turned ON NOTE This feature is only available via a password The video marking signal is used to set the edge threshold levels when using an oscilloscope The video marking signal provides a mark on the scope waveform when the video signal is above the threshold value while the signal below the threshold appears normal This setting has no effect on the camera s normal operation The marking signal is only present on the signal that is output on the video test point which is typically available at the BNC connector on the INTB 30 The waveform shown by the Virtual Scope control in this tool is not affected by this setting Use linearization table if present The DAC 004 can be calibrated using special targets to linearize its output to compensate
12. transition 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E rf s Maxcess International C Company CONFIGURATION TOOL 1 1 39 DAC 004 Virtual Scope Introduction Controls Run Stop Control 06 04 04 The DAC Scope dialog enables the DAC 004 video information to be viewed in a format similar to using an oscilloscope Since the DAC 004 video data is available in digital form only a serial connection is needed to collect and view this information on a PC The serial link runs at a speed of 115K baud to provide reasonable response times The scope contains controls similar to those found on an oscilloscope such as vertical position and sensitivity horizontal time base sweep delay and trigger options All of the scope settings are saved and restored between sessions so they remain at their last setting until changed again DAC 004 Virtual Scope Trigger e al Bl Exposure 9 66 ms Edges ES Er E3 MN Fisel Info ges 3 D Adjust for linearity Edge A EdgeB Analog Outputs 0 8191 Pixel EE Edge A EAS m Threshold ERES MENA Numeric Mode Edge B EJ Uli g _ int hes width 1494 Avg Intensity 81 7 Press the RUN STOP button to toggle it between STOP and RUN The color of the button indicates the state of the communication RED stopped GREEN running DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company
13. 04 Manual or auto exposure with limiting is selected by the documented INTB 30 settings If this mode is selected and there is no INTB 30 connected the exposure will perform like Automatic exposure with a 45ms limit This setting is typically used when an INTB 30 is not connected to tell the camera to apply the auto exposure algorithm If an INTB 30 is present it can override the exposure setting The edit window below this control provides the upper limit for the auto exposure To provide full range to the auto exposure control set the limit to 45ms Enter a shorter duration to limit the exposure allowed The exposure is set to the fixed value specified in the edit control The INTB 30 if attached has no effect on exposure The exposure value is provided via FifeNet A FifeNet value of 32767 sets the exposure to 45ms slowest The value 32767 sets the exposure time to 1 585ms fastest An INTB 30 if attached will have no influence on exposure To determine the FifeNet value for a desired exposure time use the following equation FifeNet Value Desired Exposure ms 1509 48 35159 52 The exposure value is provided via FifeNet An INTB 30 if attached will have no influence on exposure when this option is specified This mode allows the exposure to be set from an external source in actual milliseconds For example the exposure time of 4 85ms corresponds to decimal 4850 12F2 hex DAC 004 DIODE LINE CAMERA Figure Sheet 1
14. 873 A E xf s International Company Maxcess CONFIGURATION TOOL 1 1 16 Auto exposure PID Gain Proportional Error and Gain Kp Integral Error and Gain Ki Derivative Error and Gain Kd 06 04 04 NON ACTIVE Most systems will not have this feature turned ON because appropriate gains for auto exposure have already been predetermined NOTE This feature is only available via a password Auto exposure operation seeks to maintain the CCD average intensity level around a programmable set point The DAC 004 provides an automatic method of adjusting the CCD exposure time using a common PID Proportional Integral Derivative control loop Several parameters are available on this dialog control to adjust the behavior of the auto exposure control loop Access to the three gain parameters allows custom auto exposure behavior to be implemented The Terminal Screen provides commands to temporarily set the three independent gains on the fly so tuning can be done easily Once the expected behavior is established the appropriate gains can be entered into this dialog and downloaded to the DAC 004 for normal use When tuning the PID loop the three gains are somewhat interactive but they each provide control of a particular characteristic of the exposure correction process These are described below The proportional error signal is the difference between the desired average intensity set point and the actual value As the
15. DRCP 20 DRDP 20 etc it should be used instead To enable the DAC 004 master check the FifeNet master box A DAC 004 reset or power cycle is required to activate changes in the FifeNet Master status FifeNet Address All FifeNet peripherals within the same network must have a unique FifeNet address between 1 and 31 Address 31 should not be used as it is reserved for network diagnostic capabilities Select a unique address either by typing it into the FifeNet Address edit control or by using the up down scroll buttons The Time Slice Allocation control provides the means to configure each time slice individually Left or right click on the tree control icons to activate a pop up menu DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Expand All Collapse All Clear All 06 04 04 CONFIGURATION TOOL 1 1 25 with the available options for that item The root items in this tree control provide the following options for each of the 14 available FifeNet time slices Time slice is not used by the DAC 004 The DAC 004 will transmit data to FifeNet in this time slice EFE The DAC 004 will receive data from FifeNet in this time slice Each transmit or receive time slice can be selectively configured for real time or multiplexed communication The multiplex options available are Realtime Multiplex 4 Multiplex 8 Multiplex 16 Multiplex 64 Under each time slice root entry configu
16. FIFE CORPORATION 222 W Memorial Road Oklahoma City OK 73126 0508 Post Office Box 26508 Oklahoma City OK 73114 2317 Phone 405 755 1600 800 639 3433 Fax 405 755 8425 www fife com E mail fife fife com Xcess International Company A Ma vf DAC 004 DIODE LINE CAMERA Configuration Software User Manual For Single Or Multi Edge Detection Using Virtual Scope Configuration Software DAC 004 Virtual Scope 2000 dr Trigger mn 4 5 Exposure 9 66 ms Edge 4 Edge E Threshold Mantia Em Humeric Made Markers v m EA int hes dis 1154 n Avg Intensity 81 7 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E COPYRIGHT xf s Maxcess International Company Copyright All rights reserved Any reproduction of this Instruction Manual in any form in whole or in part requires the prior written consent of FIFE The information given in this Instruction Manual is subject to change without notice We have compiled this Instruction Manual with the greatest possible care and attention however the possibility of error cannot be completely excluded FIFE accepts no legal liability for incorrect information given and the consequences arising there from Windows 0 is a trademark of Microsoft ThreadX is a trademark of Express logic All other trademarks are the property of their respective holders Copyright 2004
17. FIFE Corporation P O Box 26508 Oklahoma City OK 73126 U S A FIFE GmbH Postfach 1240 D 65762 Kelkheim Ts Germany 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E CONTENTS ban International Company Maxcess Table of Contents 1 VIRTUAL SCOPE CONFIGURATION TOOL 1 eeeeesieee nennen nnn n nnn nnn nnn n nnn a nnns 1 1 Sole lc P do 1 1 Main Dialog SN m 1 2 MENA Ella AAA nn A 1 5 RECO ra anos 1 6 PIayD OR 1 7 E a4Eoolil et c M 1 13 Edit COMM QUAM aise ai oe m T Tm 1 14 Mise Dialog pee 1 14 zoo ner ae eee ee eee 1 15 EXDOSUIE SOUICES c si 1 15 Auto exposure PID Gainicixciie 1 16 Auto exposure Set DOIN 20nd he taii eR pu S p UU MV Rs re eee 1 17 OKIP WINGU e 1 17 eren ANIKI tas open c 1 17 Linearizauon Table cti e t epa iim lee br essei PLU i D nes 1 17 Target Units LCine Seting ii ooi oto eate T cM Es M du De ned pd 1 18 Beci Io e 1 18 Edges Dial olaa 1 18 DAC 003 MOGG cito a cee e rura 1 19 Aand Al C
18. IDTH HIGH Ox0BOO 0 255 Set HIGH byte of the minimum width parameter SET MINIMUM WIDTH LOW 0x0c00 0 255 Set LOW byte of the minimum width parameter SET MAXIMUM WIDTH HIGH OXODOO 0 255 Set HIGH byte of the maximum width parameter SET MAXIMUM WIDTH LOW OXOEO0 0 255 Set LOW byte of the maximum width parameter SET IGNORE FIRST n OXOFOO 0 255 Set HIGH byte of the ignore first n pixels parameter PIXELS HIGH of the physical scan direction SET IGNORE FIRST n 0x1000 0 255 Set LOW byte of the ignore first n pixels parameter PIXELS LOW of the physical scan direction SET IGNORE LAST n 0x1100 0 255 Set HIGH byte of the ignore last n pixels parameter PIXELS HIGH of the physical scan direction SET IGNORE LAST n 0x1200 0 255 Set LOW byte of the ignore last n pixels parameter PIXELS LOW of the physical scan direction SET AUTOEXPOSURE SET 0x1300 0 100 Set Auto exposure set point value This value is POINT 26 specified as a percentage from O to 100 SET TRANSPARENT MODE 0x1400 0 1 Enable 1 or disables 0 the transparent mode STATE SET TRANSPARENT MODE 0x1500 1 255 Sets subtraction span value for use during transparent SUBTRACTION SPAN mode Set the edge transition types for both the A and B channels The lower byte of the command indicates the edge type fields for both edges As follows 0000 yyxx yy Output B edge type XX Output A edge type types are 01 Dark to light transition 10 Light to dark transition 11 Any
19. S3 TRANSMIT REALTIME DwO FifeNet width Edge Type Any Transition counting from Start of Scan SOS SOS Count 1 EOS Count 1 Edge Filter 20 Threshold Source Fixed at 50 0 Joker Source Fixed Value No web OmA Edge B Configuration Edge Type Any Transition counting from End of Scan EOS SOS Count 1 EOS Count 1 Edge Filter 20 Threshold Source Fixed at 50 0 Joker Source Fixed Value No web OmA Swap with width output NO Invert output YES Exposure Settings Exposure Source INTB 30A Auto exposure Setpoint 85 Auto exposure gain Proportional 80 Integral 20 Derivative 300 Skip windup NO Filtering Ignore pixels BEFORE pixel O Exclude from intensity average NO Ignore pixels AFTER pixel O Exclude from intensity average NO Minimum width 50 pixels Maximum width O pixels Mark Video YES Use linearization if present YES Target units line 4 600000 Transparent Mode NO Subtract Span O DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E CONFIGURATION TOOL 1 A Maxcess Lasa 1 14 Edit Configuration IX yes no Pressing the Edit configuration button displays a tabbed dialog control as shown below Various camera options are selected using the controls found on these screens Context sensitive online help is available for more details about the controls on each of the configuration screens Miscellaneous Dialog The Miscellaneous dialog contains the controls for
20. al Company Examine Modify Memory Examine memory allows memory to viewed and changed using one of four data sizes The data sizes supported are B BYTE 8 bit H HALFWORD 16 bit W WORD 32 bit E EEPROM 16 bit EEPROM memory CAUTION Modifications to the EEPROM memory are retained during power cycles Recovery from inadvertent modification of this memory can only be corrected by reloading a valid DAC 004 configuration The address and current value of the specified location are displayed on the console The contents can then be modified using hex entry The number of digits accepted depend on the data size indicated by the command Entering the maximum number of digits automatically writes the entered value to the specified memory location Non hex entries are ignored with the exception of the control keys described below Zero padding is not required on entries as the RETURN key may be used to enter the current value Control Keys gt Open next sequential location without modification of current location lt Open previous location without modification of current location Set auto incrementing mode without modification of current location Set auto decrementing mode without modification of current location SPACE Cancel auto incrementing decrementing mode without modification of current location ENTER Write value to current location and re open current location If no digits h
21. amount of error increases so does the correction error The proportional gain allows this influence to be limited or amplified The proportional gain can be set to zero to remove its effect on the auto exposure correction although this is not recommended Integral error is accumulated over time It is intended to reduce following error associated with arriving at the average intensity set point As the intensity approaches the set point the error signal eventually reduces to a point where it no longer has enough influence to cause correction When this occurs the integral error starts to accumulate these small errors to make an error signal large enough to force a correction The integral gain allows this influence to be limited or even eliminated To remove the influence of all integral correction set the integral gain to O The derivative error is used to amplify the error signal when the signal is far away from the set point This provides a way to effectively switch to a higher gain while the error signal is large and then use a less aggressive gain as the signal approaches the set point The derivative gain can be set to O to eliminate this effect As you can see the auto exposure contains a control loop in itself This allows a reasonably fast auto exposure control loop to be created by applying appropriate gains for all three parameters Setting the integral and derivative gains to O can create a slow linear response And of co
22. anually scroll through the playback file using the slider oo oN It also displays the following statistics about the log file 1 Number of log entries 2 How many variables were selected for recording 3 The capture interval that was in effect Playback step by step The following steps explain how to set up variable playback 1 Make sure the DAC 004 link is NOT running The Run Stop button should be red 2 Setthe display mode to Playback C DAC 004 Playback 3 Select the file to play using the file button C 4 The record number and time stamp indicate which record is currently displayed Record 1 Timestamp 5 Use the play pause stop buttons as needed to view the log file m Playback Features Space bar used to alternately start and pause playback Vertical Slider used to scroll to any area in the file Up and down arrow keys on keyboard used to step through by each record Goto button advances to start or end of file Playback delay speed up or slow down playback depends on the rate at which the log file was captured Record Limit Markers Right click on the vertical slider to set starting and or ending markers The markers are used by the play controls and the Generate Text button to limit the records played back DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 9 Company Generating Text Files Generate Test Bef
23. as Edge h 7 INTB 30A INTB 30A Edge Type e amp E x Edge e Dynamic Limit 20 Relative To SOS s EOS Y Invertsignal Swap with width output Transparent Mode CCD Active Pixels Transparent Mode Ignore first 5 pixels Exclude from autoexpo Subtract Span EX Ignore last 10 pixels Exclude from autoexpo 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company DAC 003 Mode A and B Filters Minimum Width Maximum Width Edge Source Edge Type 06 04 04 CONFIGURATION TOOL 1 1 19 The Edges configuration screen is used to control the DAC 004 edge detection behavior There are two output modes A amp B Each output mode can detect two edges one edge from the Start of Scan SOS and one from the End of Scan EOS Each output mode is tied to an analog output The analog outputs are configured to use either the SOS or EOS value Using the digital output over the FifeNet protocol makes all four edges available Configuration options are provided to control the source of each edge output as well as the source for threshold and joker inputs The DAC 004 can provide a basic DAC 003 emulation or support additional options as defined here eee This button is provided to configure all parameters on the current dialog window to settings that produce behavior that emulates the DAC 003 camera os Ft 20 Piele The A and B filters are used
24. ave been entered RETURN terminates the examine mode Auto increment decrement operation Pressing the or key sets the auto incrementing or decrementing mode respectively A or character will appear at the beginning of the line to indicate the auto step mode is active After the maximum number of digits have been entered or the return key is pressed with some digit s entered the value is written to the current location Either the previous or next sequential location is automatically opened for viewing editing Press the SPACE bar to cancel the auto stepping feature 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E Yf A Maxcess Company 06 04 04 International CONFIGURATION TOOL 1 1 33 Examine Modify Memory continued SYNTAX Ex address Examples ew 24400 00024400 00024400 00024404 00024400 00024400 00024404 00024400 00024404 00024408 00024404 00024400 00024404 00024408 00024404 00024400 OUOZ4S EC 000243FC 00024400 00024404 00024408 0002440C 03020100 0000AA55 07060504 0000AA55 0000AA55 07060504 0000000A 07060504 FF0A0908 DEADBEEF BABEFOOD DEADBEEF FF0A0908 DEADBEEF BABEFOOD 57760932 57760932 00000003 00000002 00000001 EEEEFEEF E Fill Memory AA55 gt lt A lt BABEFOOD DEADBEEF 00024408 FF0A0908 lt gt gt 1 2 3 gt gt gt gt Fill memory writes a specified data patt
25. be 1 Retrieve the current camera configuration by dragging the DAC 004 icon to the PC icon 2 Make the needed changes to the configuration 3 Sendit back to the DAC 004 by dragging the PC icon to the DAC 004 icon 4 View the results of the change using the Scope control Since dragging the configuration from one place to another is performed as a copy operation the configuration is not removed from the source With this in mind in the above example retrieving the DAC 004 configuration Step 1 would only need to be done once Subsequent edit and download cycles could then be performed without repeating Step 1 This is true as long the DAC 004 tool is not restarted When the program starts an empty default configuration is loaded into memory Once the configuration is complete the following steps are also recommended 1 Dragthe configuration to the floppy icon to make a copy of the configuration so that the file can be retrieved at a later time if needed 2 Create a text log file to document the configuration DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A fe CONFIGURATION TOOL 1 pes 1 5 Company View Variables View DAC 004 Variables Transmit Data Hecerved Data FiteMet Edge A 32442 Pixel Edge A DAC 004 Command 040000 FifeMet Edge B 32 Pixel Edge B Joker 1 040000 FiteN et Width 32504 Pixel width Joker 2 FifeNet Intensity 22300 Pixel Intensity 13552 FifeWet
26. e CON Ol er siete cp TD pM 1 40 Horizontal Pixels DIV COMMU OL soot db 1 40 Horizontal Resolution MGIC ALON ste dice oto toa ine Las o lv a seine tal aco Wolds ce naw gece dius 1 41 DEVE ndo MM DE DE 1 41 nao CODES sceau etos ee Stee ent RA Ten ron ME RD f MM ES tfe 1 41 Edge Triggering vs Edge Local side te cede Reda een Sea side Gui eim a a 1 42 miis ore eset TELLE 1 42 SCOPO GN RE T p EU ETE 1 42 Enean Compensate addas A ooo 1 43 PIKEN Onan a a a A 1 43 MAKOTO a O a EL Liu M Eu LL E 1 43 PAV CV AGS WES ISIC uade Oa natn ele tls ace ta cicuta egi seated E EUR e rinde Serata 1 43 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E ban Maxcess International Company CONFIGURATION TOOL 1 VIRTUAL SCOPE CONFIGURATION TOOL Connections 06 04 04 The Diode Array Camera DAC 004 adds another camera based sensor to Fife s arsenal of sensor technologies The camera is designed for use in the guiding industry to detect edges of a material or lines printed on the material The DAC 004 provides backward compatibility with its predecessor and contains many new features that can be activated by downloading configuration data into the camera using Virtual Scope configuration software Virtual Scope is a Windows based configuration software tool that provides various dialog screens to configure and download this information to the DAC 004 using a PC computer with a standard RS 232 serial port The tool provides a vi
27. e and ORing it with Joker 1 FifeNet Joker 1 can set both bits thus affecting the joker controls for both edge signals while joker 2 is confined to its configured signal To control both jokers with the same FifeNet variable simply configure the joker sources to be the same such as FifeNet Joker 1 In this case writing a 1 makes both signals assume 10ma with no web present For independent control configure the two signals to separate joker control sources In this case joker 1 can still control both of them but joker 2 can only control the configured signal DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Transparent Mode Dead Zones Ignore First Ignore Last 06 04 04 CONFIGURATION TOOL 1 1 23 Transparent Made Transparent Made Subtract Span i The transparent mode uses a differentiation algorithm to locate edge transitions The subtract span specifies which previous relative pixel number will be subtracted from the current pixel This permits various transition slopes to be detected more reliably CCD Active Pixels Ignore first 0 pixels Exclude from autoexpo Ignore last 0 pixels Exclude from autoexpo These options allow a programmable number of pixels to be eliminated from the edge selection logic Edges that occur in these zones are ignored The Exclude from autoexpo option prevents automatic exposure from using the intensity from any ignored pixels when
28. ern to the memory range using the data size implied by the command The data sizes supported are B BYTE 8 bit H HALFWORD 16 bit W WORD 32 bit E EEPROM 16 bit EEPROM memory CAUTION Modifications to the EEPROM memory are retained during power cycles Recovery from inadvertent modification of this memory can only be corrected by reloading a valid DAC 004 configuration SYNTAX Fx start_address end_address data DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A CONFIGURATION TOOL 1 r1 C A Maxcess ema Onil 1 34 Company Watch Memory Watch memory updates the display when a memory location changes The display data size depends on the implied data size present in the command The sizes supported are B BYTE 8 bit H HALFWORD 16 bit W WORD 32 bit E EEPROM 16 bit EEPROM memory SYNTAX Wx address TS Thread X Status ts Console USARTI Thread 0x000111B0 Command Processor Run Count 1219338 Timeslice 1 Priority 9 Stack range 0x0001D274 0x0001E273 4096 bytes Stack usage 1776 bytes FIFENET FifeNet Enable Disable This commands starts or stops FifeNet communication SYNTAX FIFENET ON OFF Set Proportional kp gain Use this command when manually tuning the auto exposure PID loop Enter the command with no parameters to view the current gain setting To change the gain enter this command followed by the new gain setting The gain takes effect immediately but i
29. es the e current pixel filtering settings E Light to dark transition that crosses the active threshold and satisfies ez the current pixel filtering settings Edge h Y stems Tm gS gy EG Specify an edge number from 1 to 255 to indicate which of the specified edges is to be used The edge count can be specified relative to the start of scan SOS or end of scan EOS For example To capture the first and last edges on output A and B respectively specify a count of 1 relative to SOS for output A and a count of 1 relative to the EOS on output B i Invertsignal Reverses the minimum and maximum values of the output B signal and affects the following variables FifeNet Edge B D A Edge B Analog Output on Scope Screen Swap with width output This swaps the analog width A output on port X1 and the analog B edge position on port X2 The X1 port will now have Edge A and Edge B output signals and the X2 port will now have two width output signals note both these widths represent the same distance between the Edge A and B signals This setting affects the following variables D A Edge B D A Width Note When viewing the variables screen and the scope screen the D A Edge B D A Width Analog Edge B and Analog Width labels do not change to reflect that the data has been swapped An edge detection is signaled when configured edge type transition occurs The point at which this signal triggers is controlled by the edge
30. eted Place a linearization template in the camera field of view The template must be placed at the same distance from the camera as the web will be no plane change All 254 lines on the template may not be visible by the camera depending on the lens settings however the template must be large enough to fill the entire field of view so that compensation can be created for the entire camera array Any portion of the field of view not covered by the template will not be compensated The more target lines the camera sees on the template the higher the resolution accuracy Initiate the Linearize command using the Virtual Scope tool The DAC 004 uses the light to dark transitions of all lines visible to perform the calibration The Virtual Scope tool or standard oscilloscope can be used to help position the linearization template Note There is a checkbox on the Misc configuration dialog to enable or disable the use of the linearization table if present The default condition for this setting is off unchecked If linearization is desired then this option should be enabled checked The table will be created and stored in the camera flash memory and will only be activated if configured DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A fa CONFIGURATION TOOL 1 pes 1 11 Company Linearization Controls CO This button invokes the linearization dialog The controls on this dialog are Plot collects the current active linearizat
31. for each edge output via FifeNet The range for this value is 32767 0 32767 16128 FPGA Exposure O to 36838 Raw exposure value that is written to the FPGA exposure register FifeNet Threshold 1 0 to 1000 This value is identical to FifeNet Threshold 1 except it is scaled to XXX X a percentage instead of the standard FifeNet ranges This allows threshold entry from O 0 0 to 1000 100 0 with a resolution of 0 1 FifeNet Threshold 2 0 to 1000 This value is identical to FifeNet Threshold 2 except it is scaled to XXX X a percentage instead of the standard FifeNet ranges This allows threshold entry from O 0 0 to 1000 100 0 with a resolution of 0 1 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 30 Company The DAC 004 Terminal Screen The terminal screen provides a console to communicate with the DAC 004 using typed commands The DAC 004 maintains a command processor running on one of the ARM processor serial ports This screen is only available via password for authorized personnel only NOTE This task runs concurrently with the normal DAC 004 operation As a result DAC 004 memory and peripherals can be observed during run time conditions As you might expect problems can arise from the inadvertent modification of system RAM peripheral registers etc Normal operation can usually be restored by a reset or power cycle unless modification to non volatile
32. for nonlinear behavior of camera based sensors due to parallax and lens aberrations Check this option to enable the use of a linearization table if it exists This option will have no effect unless the linearization process has been performed DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E CONFIGURATION TOOL 1 Yf A Maxcess International 1 1 8 Company Target Units Line Setting Te SE When linearization is active this setting can be used to provide unit adjusted outputs over the network By providing the distance between the calibration target lines the DAC 004 can output FifeNet values relative to the specified unit of measurement For example if the calibration target lines were 1mm apart the outputs would be displayed in mm By multiplying the supplied value by a factor of ten for example the output would be in 0 1mm increments DAC 003 Mode pee e This button is provided to configure all parameters on the current dialog window to settings that produce behavior that emulates the DAC 003 camera Edges Dialog Edit DAC 004 Configuration Misc Edges FifeNet VSP Edge Filtering A Filter 20 pixels Minimum Width o pixels B Filter 20 pixels Maximum Width o pixels Output A Signal Sources Edge heer Threshold End Joker bai Edge Type x e e INTB 30A INTB 30A Edge Sj 3 o EIE Relative To s SOS EOS Dynamic Limit ao on Output B Signal Sources Threshold FE DTI
33. g orientation and scan direction of the application dictates which setting is appropriate The joker source defines the source of the joker input The following joker sources are supported INTB 30A The INTB 30 attached to the DAC 004 X1 connector controls the Joker setting INTB 30B The INTB 30 attached to the DAC 004 X2 connector controls the Joker setting FifeNet Joker1 This allows the joker settings for both or a single output to be controlled via FifeNet In order to use FifeNet this option must be selected and the Joker Control 1 option must be configured on a FifeNet receive timeslice on the FifeNet configuration tab The FifeNet data specifies the following joker behavior 0 Oma with no web present 1 10ma with no web present FifeNet Joker2 This allows secondary control of the joker setting See NOTE description below for more information Fixed Value The joker polarity is controlled by the polarity buttons immediately below the joker source control Output is 10ma when no web present Output is Oma when no web present NOTE FifeNet Joker 1 and Joker 2 are provided in case FifeNet control is needed for each joker independently Here is the relationship between the two joker sources The active joker states for each edge output are contained in the least significant two bits of the Active Joker variable IE 0000 0000 0000 OOba b Joker 2 a Joker 1 This variable is created by shifting Joker 2 left onc
34. g value which corresponds to the threshold level set by Threshold the attached INTB 30A INTB 30B 0 to 255 The 8 bit analog value which corresponds to the threshold level set by Threshold the attached INTB 30B DAC 004 Command Status FPGA Exposure ms FPGA Exposure Edge Counters Unit Adjusted Edge A This value provides feedback when issuing commands to the DAC 004 See the section about DAC 004 Commands for more details This is the current exposure value in ms x 1000 format For example 6 123ms will be decimal 6123 This is the actual value written to the FPGA exposure register This number contains the number of edges of the configured type that are present The low byte contains the count for the number of edges that qualify for output A The high byte contains the number of edges that satisfy the B output settings This number represents the linear compensated position of Edge A It is calculated by multiplying a scale factor generated by the linearization process and a value entered into the Misc dialog Target units line field Unit Adjusted Edge A This number represents the linear compensated position of Edge B It is calculated by multiplying a scale factor generated by the linearization process and a value entered into the Misc dialog Target units line field Unit Adjusted Width This number represents the linear compensated Width value It is calculated by multiplying a scale factor generated by
35. gain in the edit control located on the MISC tab To provide the required precision without using floating point values the actual gain value is 00001 times the value entered For example 25 00025 Integral error is accumulated over time It is intended to reduce following error associated with arriving at the set point As the intensity approaches the set point the error signal eventually reduces to a point where it no longer has enough influence to cause correction When this occurs the integral error starts to accumulate these small errors to make an error signal large enough to force a correction The integral gain allows this influence to be limited or even eliminated To remove the influence of all integral correction set the integral gain to O SYNTAX KI n Set Derivative kd gain Use this command when manually tuning the auto exposure PID loop Enter the command with no parameters to view the current gain setting To change the gain enter this command followed by the new gain setting The gain takes effect immediately but is not stored in non volatile memory so a power cycle of the camera will restore the values to their configured values This command is intended to be used to find the desired gain Once the desired behavior is achieved enter the Derivative gain in the edit control located on the MISC tab To provide the required precision without using floating point values the actual gain value is 00001 times the
36. ifeNet to be viewed Right click on any variable to open a pop up window with display mode choices each variable can be viewed in 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Recording 06 04 04 CONFIGURATION TOOL 1 hex integer or unsigned modes To change all variables to the same format click a Global Display Mode button a list is provided Hex number format x3FCE Range 0x0000 to OxFFFF Integer number format Range 3276 to 32767 Unsigned Integer number format Range 0 to 65535 DFLT Sets all the variables to their default format Any or all variables can be selected for recording to a log file The data update rate is also adjustable The number of variables selected and the update rate determine the size of the log file The update rate is controlled by the slider control The Log Growth Rate is estimated for you based on the number of variables selected for recording and the update speed This is represented as Kbytes per hour Each entry into the log file is automatically time stamped If the recording computer has the correct time and date during recording an event can be located based on the time it occurred Log File Generation Update Speed 5 ms a RECORD J Log growth rate 88 0 Ar records Recording step by step The following steps explain how to set up variable recording 1 Make sure the display mode i
37. ion table from the DAC 004 and displays a graph of its correction characteristics Note You can only view the linearization plot if the linearization table is turned on Linearize invokes the linearization process and graphs the resulting correction characteristics This action replaces any existing linearization table An additional prompt will appear after pressing this button to provide an opportunity to abort because a deleted table cannot be recovered Linearize Delete removes the current linearization table The absence of a linearization table causes the DAC 004 to report non linearized Delete pixel information An additional prompt will appear after pressing this button to make sure you really want to delete it because a deleted table cannot be recovered An example of the correction characteristics graph is shown below DAC 004 Linearization DAC 004 compensation characteristics Linearize Delete Link ES Edges 93 Mir 9 ha ax j Pitelstanget line 79313040 2 Pizel 1 Pixel 7450 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 12 Company Additional information provided by the linearization includes Total number of edges that were used to generate the linearization table Edges q3 Min 8 Minimum correction applied Max 3 Maximum correction applied Fisels target line 785313040 The Pixels Target line value indicates the idea
38. is for a Pixel Resolution of 1 or 2 When the Adjust for linearity is ON the value reported by the Pixel A and Pixel B variables are not being affected by the linearity and the markers are located at the actual edge transitions When the linearization table is inactive this Adjust for linearity box does nothing Edge 4 Edge B Pue MESE MENE Threshold UA MEAR Indicates the Edge A and Edge B pixel location as well as the Edge A and Edge B threshold location Maker v L Allows the Edge A and Edge B pixel locations and threshold locations to be viewed on the scope as vertical and horizontal lines 817 Indicates the average intensity value of the four highest pixel values within the active range If dead zones are employed then the dead zones can be excluded from the average intensity calculation DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A
39. l number of pixels that would exist between each light to dark transition detected on the linearization template The Pixels Target line used in conjunction with the actual distance between each line on the linearization template is also useful for calculating FOV or as a scaling factor for translating pixels into actual position or true width FOV linewidth gapwidth PixelsPerTargetLine 7450 When the linearization table is turned on the values of the following variables are affected FifeNet Edge A FifeNet Edge B FifeNet Width FifeNet SOS1 FifeNet EOS1 FifeNet SOS2 FifeNet EOS2 Pixel SOS1 Pixel EOS1 Pixel SOS2 Pixel EOS2 Pixel Edge A Pixel Edge B Pixel Width D A Edge A D A Edge B D A Width Unit Adjusted Edge A Unit Adjusted Edge B Unit Adjusted Width 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E Yf A Maxcess International Company Text Log Files 06 04 04 CONFIGURATION TOOL 1 1 13 The text log file contains all the settings contained in the DAC 004 configuration software tool This is useful for documenting custom DAC 004 configurations A sample of a log file is shown below Version 1 04 File created Sat Jan 18 09 29 34 2004 Sw Number 123456 789 Sales Order 12345 Custom app for XYZ Corp FifeNet MASTER YES FifeNet Address 5 Transmit Mask 0x0007 Receive Mask 0x0000 TS1 TRANSMIT REALTIME DwO FifeNet Edge A TS2 TRANSMIT REALTIME DwO FifeNet Edge B T
40. l resolution indicator provides the pixel omission factor that is in effect for the current horizontal setting A setting of 8 indicates that every eighth pixel is collected The LED in this control turns on when the resolution is considered high enough to adequately perform focus operations As the horizontal control is increased the resolution improves and a smaller portion of the CCD array is viewed on the screen A horizontal delay control is also provided to go to a particular area of interest of the CCD array as displayed on the video waveform Al Dee e J This control is used to set the delay from the active trigger point to the first pixel displayed on the scope screen The delay value in pixels is displayed at the bottom of the scope screen The delay can be used to view detailed information about any point in the CCD video waveform The A and B buttons are short cuts that automatically set the delay to the value needed to capture Edge A and Edge B respectively The A and B buttons are only enabled when triggering at the start of scan When triggering on either edge the delay control is reset to a starting point where the signal can be seen on the scope screen The trigger controls provide different methods for synchronizing the scope to areas of interest on the CCD array This control in conjunction with the horizontal and delay controls allows any portion of the video signal to be viewed in detail
41. lied to alter the default dump ranges The default starting address is a continuation of the last dump The default ending address is the starting address 128 bytes SYNTAX Dx start address end address Examples db 24400 00024400 00 00 34 12 78 56 BC 9A FO 00 00 01 00 OB 00024410 64 61 63 30 30 34 2E 6E 63 64 00 62 00 32 73 00024420 31 30 30 65 74 71 31 34 34 00 63 00 OB 30 30 100etq144 c 200 00024430 32 2F 31 31 2F 31 33 00 64 00 09 31 36 35 38 2 11 13 d 16 58 00024440 3A 31 33 00 65 00 01 A5 CC FF FF FF FF DO 155 00024450 66 30 00 80 01 00 00 00 07 30 01 60 01 00 00 00024460 OD 30 01 20 01 20 80 SF 2D 30 00 CO 01 00 00 00024470 00 30 00 80 01 00 00 00 09 30 00 20 01 00 00 dh 24400 2442F 00024400 0000 1234 5678 SABC FOOF 0000 6101 OBOO 4 xV a 00024410 6164 3063 3430 6E2E 6463 6200 0C00 7332 dac004 ncd b 2s 00024420 3031 6530 7174 3431 0034 0063 320B 3030 100etq144 c 200 dw 24400 2442F 00024400 12340000 9ABC5678 0000F00F 0B006101 4 xV a 00024410 30636164 6E2E3430 62006463 73320C00 dac004 ncd b 2s 00024420 65303031 34317174 00630034 3030320B 100etgq144 c 200 de 0 1f 00000000 00CC 0001 4554 5453 0000 0000 0000 0000 00000008 3030 0031 0001 4E26 0403 FFOO 0100 0000 00 1 N 00000010 04D2 0014 0303 FFOO 0101 0000 03E8 0014 00000018 0032 0500 0003 8000 0000 0000 0000 0000 2 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A 0 CONFIGURATION TOOL 1 Y A Maxcess 4 32 Internation
42. memory occurred CAUTION Modifications to the EEPROM memory are retained during power cycles Recovery from inadvertent modification of this memory can only be corrected by reloading a valid DAC 004 configuration The following commands are supported COMMAND DESCRIPTION Display FPGA registers This command displays the memory area where the FPGA resides E 00600000 OF35 003B 598A 0002 1700 1000 0032 4B5E 5 Y 2 K 00600010 DOOR 44AD 1414 0101 0000 FFFF FFFF FFFF Ds is 00600020 0A57 0A57 0E98 0E98 0606 2E00 FFFF FFFF W W re 00600030 002D 0000 00CD 003C FFFF FFFF FFFF FFFF PEO 00600040 008D 0111 0240 0000 0000 0000 0000 0000 s s ded as 00000050 EFFE PEPE EFFEEF EEEF EFFE EEEE EFEFEF PERE eRe 006000607 EEEF FEEF PERE EFEFEF EEEF FEEF EEEE EEEE aaa 00 6000703 FEFE EEEE FEEF FEFEFE BEBE EEEE EEEF EEEE ss 00600080 0000 OBCB 8E98 8E98 8C66 ODFE 8E98 8E99 W Eara ay 00600090 8E98 8E97 0D40 8DDB SEES 1016 91F1 0000 2 a 006000A0 0000 0000 0000 0000 0000 0000 0000 8C66 aia aia aia ada 006000B0 0000 0000 0000 0000 0000 8E98 8E98 DUDO 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A O CONFIGURATION TOOL 1 mess 1 31 DB Dump Memory id Dump memory displays memory in one of four data sizes The four data sizes are DE B BYTE 8 bit H HALFWORD 16 bit W E WORD 32 bit EEPROM 16 bit EEPROM memory An optional starting and ending address may be supp
43. n viewing a web edge for the purpose of setting the camera lens focus The pixel view allows the exact number of pixels involved in an edge transition slope to be seen while setting the camera lens focus The grid button toggles the scope grid pattern on or off as desired DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Linearity Compensation Pixel Info Markers Average Intensity 06 04 04 CONFIGURATION TOOL 1 1 43 Affects the Pixel A amp Pixel B values and the location on the scope screen of the edge marker signals but only when the linearization table is active via check box on the Edit Misc screen The Adjust for linearity gives you the option of having the Pixel A amp B values report the actual edge transition or the compensated edge transition The scope screen waveform never changes and always locates the actual edge transition that the camera sees However the vertical markers on the scope screen are always located at the value reported by the Pixel A and Pixel B variables which are affected by the linearization table When the Adjust for linearity is OFF the value reported by the Pixel A and Pixel B variables are being adjusted thus affecting the edge marker locations Depending on the amount of correction at the position where the edge is located the edge markers may not be located on valid transitions as seen on the scope window You will only be able to see th
44. ng is displayed in the upper left corner of the scope screen as shown below This slider controls how many pixels are displayed on the scope screen horizontal axis It is equivalent to the time base controls on a normal scope The number of pixels division is displayed at the bottom of the scope screen With the slider at the leftmost position the maximum number of pixels 800 pixels division is displayed Since the CCD array contains 7 450 pixels this setting displays the entire CCD signal The slider in the rightmost position displays 5 pixels per division providing a close up view of 50 CCD pixels Even with 800 pixels division not all of the pixels are transferred from the camera to the scope The actual number of pixels transferred depends on the horizontal resolution of the scope DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Horizontal Resolution Indicator Delay Control Trigger Controls 06 04 04 CONFIGURATION TOOL 1 1 41 e1 pu to This indicator is unique to this scope as it would not be needed on a normal scope Due to the amount of data contained in a single CCD scan and since PC screens can not adequately render an accurate view of all the data a compromise was made to increase the update rate of the scope Depending on the horizontal control setting a number of pixels are omitted to reduce the amount of data that must be transmitted over the serial link The horizonta
45. ore clicking the Generate Text button select the variables you want included in the file Select the variables by left clicking yellow background will be included green background will be excluded The record number and time stamp can also be selected to be included or excluded from text file generation The button outputs the selected variables from the starting and ending marks to the column delimited text file of your choice Sample text file Here is an excerpt from a sample text file where the record number time stamp and three variables were selected The heading for each variable column contains a lower case letter to indicate the numeric format for the respective data i integer u unsigned x hex 06 04 04 DAC 004 DIODE LINE CAMERA iPixel iPixel xDAC Record Timestamp Width Intensity Status 1 Thu Sep 18 16 40 38 2003 7442 13600 10 2 Thu Sep 18 16 40 38 2003 7441 13664 10 3 Thu Sep 18 16 40 38 2003 7442 13584 10 4 Thu Sep 18 16 40 38 2003 7441 13696 10 5 Thu Sep 18 16 40 39 2003 7442 13600 10 6 Thu Sep 18 16 40 39 2003 7442 13648 10 7 Thu Sep 18 16 40 39 2003 7442 13568 10 8 Thu Sep 18 16 40 39 2003 7442 13648 10 9 Thu Sep 18 16 40 39 2003 7442 13552 10 10 Thu Sep 18 16 40 39 2003 7441 13664 10 11 Thu Sep 18 16 40 39 2003 7442 13648 10 12 Thu Sep 18 16 40 39 2003 7442 13584 10 13 Thu Sep 18 16 40 39 2003 7442 13648 10 14 Thu Sep 18 16 40 39 2003 7442 13680 10 15 Thu Sep 18 16 40 39 2003 7442 13664 10 16 Thu Sep 18
46. percent The time slice source of this value must also be configured on the FIFENET configuration tab The range of the FifeNet supplied value is 0 0 0 to 1000 100 0 Selecting this option enables the edit control immediately below 0 100 n 50 the Threshold Source control Dynamic Limit 20 s The threshold is set dynamically to the specified percentage of the average light intensity reaching the CCD The example above sets the threshold at 5096 of the average intensity This setting is dynamic in that it is constantly adjusted as the average intensity changes The range for this option is from 0 0 to 100 0 You can also set the Dynamic limit that will prevent the threshold from dropping below this absolute value in this case the minimum threshold limit will be 20 no of Avg Intensity Fixed at n 5 Selecting this option enables the A edit control immediately below li Ls E the Threshold Source control Dynamic Limit x The threshold is set to the fixed value specified The range of this variable is 0 0 to 100 0 Figure Sheet 1 873 A E AM Yf International Company Joker Source 06 04 04 CONFIGURATION TOOL 1 1 22 The joker control is used to control the polarity of the signal produced by the DAC 004 In some cases the signal will need to be full scale 10ma when no web is present Some applications will require the signal to be at Oma when no web is present The camera mountin
47. red for transmit or receive operation one or more icons depending on the multiplex option are present These icons represent each data word that can be sent or received The following icons are used Data word is disabled Click on this icon to assign it to a DAC 004 source or destination Data word transmitted to FifeNet Right click to disable this data word The following buttons control the view of the tree control Expand All mE Expands all entries in the time slice allocation tree control Lollapse All P Expands all entries in the time slice allocation tree control Clear All EEE The button erases ALL FifeNet time slice entries DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E Yf A Maxcess International Company CONFIGURATION TOOL 1 1 26 FIFENET TRANSMIT DATA Values must be configured for transmission only once SIGNAL FifeNet Edge A FifeNet Edge B FifeNet Width FifeNet Intensity FifeNet Exposure FifeNet Threshold 1 FifeNet Threshold 2 FifeNet SOS Edge 1 FifeNet EOS Edge 1 FifeNet SOS Edge 2 FifeNet EOS Edge 2 DESCRIPTION 32767 to 32767 Analog Edge A output scaled to FifeNet ranges This will be the same as one of the SOS or EOS signals below depending on which edge is selected for output 32767 to 32767 Analog Edge B output scaled to FifeNet ranges This will be the same as one of the SOS or EOS signals below depending on which edge is selected for
48. rs The estimate will generally be larger than the actual file created 6 Press the RECORD button and select a log file name to write over an existing file or to create a new one The number of records written will be maintained in the window next to the log growth rate as data is collected The RECORD button will indicate that it is in the recording mode as shown here M RECORDING 7 Press the Run Stop button to pause recording There will be a jump in the time stamp when communication is resumed Data is only updated on the screen and written to the log file while the communication link is running Press the RECORDING button again to stop This will close the log file and a new one will need to be created to start recording again Playback Playback allows the log file to be loaded and examined in detail or exported to a text file that can easily be imported to a spreadsheet for further analysis Lag File Playback L1 Playback Delay 50 ms MH mm Clear Marks Goto 5 tto 1 Goto End 398 Generate T ext Lag E ntries 98 Varnables Logged 1 Log interval BO ms 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company 06 04 04 CONFIGURATION TOOL 1 This section provides controls to Select log file Control playback speed Play pause and stop file playback Set starting and ending marks for playback Output playback to text file M
49. rtual oscilloscope to view raw camera pixel information edge locations and threshold settings that assist with camera installation calibration configuration and troubleshooting NOTE This configuration software user manual is to be used by servicing agents and operators to facilitate commissioning and operation of the configuration software The manual provides important information in the proper use and setup of camera system and must be read by any person before they perform adjustments Along with this manual use the Sensor Operating Manual Figure Sheet 1 864 for the proper operation and maintenance of the DAC 004 diode line camera Rear View of DAC 004 Camera Fife Tidland GmbH FifestraBe 1 D 65779 Kelkheim X1 Analog X2 Analog X3 FifeNet The DAC 004 can be powered from one of the three connectors located on the back of the camera The serial connection to a PC is accomplished using three pins on the X2 port If the X2 connection is being used in an application a Y cable can be used to provide access to the serial connection DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E ban Maxcess International Company Main Dialog Screen 06 04 04 CONFIGURATION TOOL 1 DAC 004 to PC serial connections are listed below X2 12 pin PC 9 pin Circular male D Sub female NOTE The FifeNet download tool FSIC 20 can also be used to connect to the DAC 004 camera It provides the capability
50. s not stored in non volatile memory so a power cycle of the camera will restore the values to their configured values This command is intended to be used to find the desired gain Once the desired behavior is achieved enter the Proportional gain in the edit control located on the MISC tab To provide the required precision without using floating point values the actual gain value is 00001 times the value entered For example 25 00025 The proportional error signal is the difference between the desired set point and the current actual value As the amount of error increases so does the correction error The proportional gain allows this influence to be limited or amplified The proportional gain can be set to zero to remove its effect on the auto exposure correction although this is not recommended SYNTAX KP n 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A CONFIGURATION TOOL 1 Mess 1 35 C Company Set Integral ki gain Use this command when manually tuning the auto exposure PID loop Enter the command with no parameters to view the current gain setting To change the gain enter this command followed by the new gain setting The gain takes effect immediately but is not stored in non volatile memory so a power cycle of the camera will restore the values to their configured values This command is intended to be used to find the desired gain Once the desired behavior is achieved enter the Integral
51. s set to DAC 004 as shown below Dac 004 C Playback 2 Press the Run Stop button and verify the screen is being updated 3 Select the variables to be recorded Do this by left clicking on individual variables The variable background will change color to indicate the recording state of each variable as follows 450 Variable will be logged yellow background r450 Variable will not be logged green background DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A La CONFIGURATION TOOL 1 pes 1 7 Company The ALL NONE buttons provide a shortcut for selecting all or no variables ALL Selects all variables non selects NO variables 4 Select the desired global or individual variable display modes integer hex etc The mode that is in effect when the RECORD button is pressed will be written to a header in the log file When this file is played back the variables will be displayed in the same mode in which they were recorded The display mode can still be changed while in the playback mode but will be reset to the stored mode when the file is loaded for playback 5 Set the update speed that will capture the event you are looking for Remember that the faster the update speed the faster the log file will grow Make sure that you have enough disk space to accommodate the anticipated log file The estimated log growth rate is only an estimate and can vary considerably among different compute
52. t View This dialog shows the currently loaded settings and allows them to be changed Generate Text Log File Create a text version of the loaded configuration for documentation purposes This can be useful to provide documentation about how the DAC 004 is configured Exit Closes the program Help Provides context sensitive help You may also press the F1 key This area of the screen is used for file transfer operations Left click on a device and drag it to the desired destination to copy configuration files between devices PC File This icon represents a file on the PC This can be used to save camera configurations and upload them as needed Current PC Configuration This is the current configuration loaded in the PC to be edited A default configuration is initially loaded when the program is started but attempting to drag this configuration anywhere will result in an error DAC 004 Camera This is the DAC 004 camera A serial connection is required to transfer files to or from this device DAC 004 Transfer Status This indicates the status of the last transfer attempt that involved the DAC 004 Green Light Transfer Successful Y Red Light Transfer failed DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E xf s Maxcess International Company 06 04 04 CONFIGURATION TOOL 1 If the camera already has a configuration loaded but it requires modification the recommended steps would
53. the linearization process and a value entered into the Misc dialog Target units line field 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A f CONFIGURATION TOOL 1 pes 1 29 Company FIFENET RECEIVE OPTIONS SIGNAL RANGE DESCRIPTION DAC 004 Command This data word can be used to issue commands to the DAC 004 See the section about DAC 004 Commands for more details Joker Control 1 If FifeNet is configured as a joker source for one d both of the output channels this data word can be used to set one or both joker controls Joker Control 2 This joker control is provided as a separate joker control in case each channel needs to be configured over FifeNet from different devices FifeNet Exposure 32767 to 32767 If the exposure source is configured for FifeNet this value is used to set the DAC 004 exposure The exposure range is 32767 1 585ms 132767 45 0ms FifeNet Threshold 1 32767 to 3276 The source for the edge threshold value can be configured to use a FifeNet value This is the first of two possible threshold sources so that independent thresholds can be provided for each edge output via FifeNet The range for this value is 32767 0 32767 16128 FifeNet Threshold 2 32767 to 32767 The source for the edge threshold value can be configured to use a FifeNet value This is the second of two possible threshold sources so that independent thresholds can be provided
54. threshold level The threshold source defines the source of this threshold level The following threshold sources are supported DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company 06 04 04 CONFIGURATION TOOL 1 INTB 30A INTB 30B FifeNet Threshold 1 32K FifeNet Threshold 2 32K FifeNet Threshold 1 XXX X FifeNet Threshold 2 XXX X n of Avg Intensity Fixed at n DAC 004 DIODE LINE CAMERA 1 21 Same as DAC 003 The INTB 30 attached to X1 sets the edge detection threshold The INTB 30 attached to X2 sets the edge detection threshold The threshold is set by the value received via FifeNet threshold 1 The source of FifeNet threshold 1 must also be configured on the FIFENET configuration tab The range of the FifeNet supplied value is 32767 to 32767 The threshold is set by the value received via FifeNet threshold 2 The source of FifeNet threshold 2 must also be configured on the FIFENET configuration tab The range of the FifeNet supplied value is 32767 to 32767 This setting allows the threshold to be set over the network using percentage format with a resolution of 0 1 percent The time slice source of this value must also be configured on the FIFENET configuration tab The range of the FifeNet supplied value is 0 0 0 to 1000 100 0 This setting allows the threshold to be set over the network using percentage format with a resolution of 0 1
55. to prevent spurious conditions from triggering an unwanted edge transition The filter setting indicates how many pixels the detected edge must remain above or below the active threshold before it is declared an actual edge Ma width 50 pisels The minimum width specifies the minimum number of pixels that must occur between Edge A and Edge B In other words Edge B transitions within N pixels of Edge A are ignored Setting this parameter to zero disables the minimum width filter Maximum Width O pixels The maximum width specifies the number of pixels after Edge A where Edge B can occur In other words Edge B transitions can only occur after N pixels of Edge A Setting this parameter to zero disables the maximum width filter 5 The edge source defines which edge will be used to generate the respective analog output Each of the analog outputs can be independently configured The parameters that define the selected edge are edge type and edge number relative to the start of scan SOS or end of scan EOS The following edge types are supported DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Edge Number Invert Signal Swap Width A and Output B Threshold Source 06 04 04 CONFIGURATION TOOL 1 1 20 Dark to light transition that crosses the active threshold and satisfies gt the current pixel filtering settings Any transition that crosses the active threshold and satisfi
56. to upload download files only The setup and troubleshooting tools are only available using this tool The main dialog window is shown below The controls are grouped into two main categories Testing and Configuration Explanations for each button are listed on the following pages DAC 004 Tool Testing Scope Vanables Linearization Terminal Configuration File Operations Use drag and drop operations to transfer configuration data between devices Edit Configuration nte Log File z TEE Ix yes er DiHC aa aD File received UK Transfer Status DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A fa CONFIGURATION TOOL 1 M Yf 06 04 04 A Maxcess International 1 3 Company Virtual Scope This provides an oscilloscope view of the DAC 004 pixel data It requires a serial connection to operate View Variables A dialog that displays all the variables that can be sent or received on FifeNet This is typically used for diagnostic and development support Linearization A dialog to control the DAC 004 linearization process This calibrates the pixels to compensate for lens aberations and parallax Also allows current linearization data to be viewed or deleted Terminal Mode A terminal emulator window that permits typed commands to be used to view and set camera parameters This is typically used for development support and is not available for unauthorized access Edi
57. trigger and delay controls can be used in different ways to effectively show the same signal It is important to note the difference between how these two controls work to avoid confusion Let s take an example where the scope is set to trigger on Edge A When Edge A triggering is selected the delay control is automatically set to a minimum value where edge A will be visible Because the scope is triggering on this edge it will stay visible even if it moves to another pixel on the CCD The scope will continue to adjust its starting pixel to keep the edge in view However pixels to the left of this edge will not be viewable on the scope If however triggering were set to the start of scan mode the scope would continue to display the same set of pixels even if the edge were to move This is where the A and B buttons on the Delay control can be used to automatically set the delay to a location where the respective edge can be seen The pixel mode button changes the scope graphing method so that each pixel can be identified The effect of this view can only be seen when the horizontal resolution is high enough for the pixel information to be seen When this view is active each pixel can be identified by its flat appearance When the normal view is active the scope draws a straight line between each point which has the effect of averaging the points in between the two samples With the pixel view on each pixel level can be seen This is most useful whe
58. urse as with all control loops instability and oscillation can result from improperly set gains The default values provide a fast response similar to the DAC 003 NOTE In order to provide fine control of the gain parameters without using floating point calculations the gain values are multiplied by 100 000 This provides a gain step resolution of 00001 per step For example a gain setting of 250 really equals the quantity 00250 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E AM Yf International Company Auto exposure Set Point Skip Windup Video Marking Linearization Table 06 04 04 CONFIGURATION TOOL 1 1 17 NON ACTIVE Most systems will not have this feature turned ON because an appropriate set point has already been predetermined NOTE This feature is only available via a password This option controls the set point for the auto exposure PID process The control accepts 0 to 100 however the extreme values do not make good set points The default value is 8596 NOTE Because the set point is typically in the 7096 to 9096 range the auto exposure control algorithm provides some artificial amplification of the CCD intensity when it is saturated This is to help compensate for the fact that the set point is not in the middle so the proportional error cannot reach the same magnitude in both directions Without this compensation the response speed can be different depending on the polarity of the error
59. value entered For example 25 00025 The derivative error is used to amplify the error signal when the signal is far away from the set point This provides a way to effectively switch to a higher gain while the error signal is large and then use a less aggressive gain as the signal approaches the set point The derivative gain can be set to 0 to eliminate this effect SYNTAX KD n Set Auto Exposure Set point Use this command to change the auto exposure intensity set point The auto exposure system adjusts the CCD exposure time to keep the average illumination intensity at the set point value This command accepts entry in percentage form so the valid range for the set point value is between 0 minimum and 100 saturated The default value is 85 Set points at or near the extremes are not very practical for auto exposure If an intensity in these ranges are needed manual exposure would likely be more effective SYNTAX SP new setpoint 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A CONFIGURATION TOOL 1 AM M xxemationa 1 36 D A Converter Loopback Test This command sends a test pattern to edge A edge B and Width outputs The DAC 004 analog loop back circuitry is employed to display the results of the values read back from each channel The DAC command can alternately be used to set an output channel to any value and read it back SYNTAX DAC DAC 0 4096 Reset processor Stop command processor
60. vating the New Configuration Since several commands will likely be needed to reconfigure the DAC 004 for the desired operation the DAC 004 buffers each of the commands until a special command is received Upon reception of this command all the configured changes are activated at the same time to provide a smoother transition to the new configuration Note This restarts the camera so it is recommended to activate changes when not guiding COMMAND VALUE PAPAMETER DESCRIPTION IDLE 0x0000 This indicates no command is being issued This is the normal state for the command variable when no commands are active This command holds the DAC 004 in reset ACTIVATE CHANGES 0x0100 Use this command to signal the DAC 004 to start using the previously downloaded parameters Restarts camera should be performed when not guiding 0x0200 l to 255 set sos1 Edge count FPGA register 0x0300 l to 255 set EOS1 Edge count FPGA register 0x0400 1 t0 255 set sos2 Edge count FPGA register 0x0500 1 to 255 Set EOS2 Edge count FPGA register SET FILTER A HIGH Set HIGH byte of Filter A pixel count SET FILTER A LOW Set LOW byte of Filter A pixel count SET FILTER B HIGH Set HIGH byte of Filter B pixel count SET FILTER B LOW Set LOW byte of Filter B pixel count 06 04 04 DAC 004 DIODE LINE CAMERA Figure Sheet 1 873 A E CONFIGURATION TOOL 1 Yf A Maxcess International 1 38 Company SET EDGETYPES 0x0AO0 See description SET MINIMUM W
Download Pdf Manuals
Related Search
Related Contents
User Guide and Hardware Maintenance Manual ZyXEL ZyAIR AG-220 User's Manual Copyright © All rights reserved.
Failed to retrieve file