background image

53 

 

 

response to a serial trigger command 

Bit 

Reserved. 

Bit 

Calibrate sensor.  This is a pulsed signal that schedules a calibration when this 
bit is written to 1.  Writing this bit to zero has no effect.  Actual calibration may 
happen much later, since the sensor control logic schedules calibration only 
between frames. 

Bit 

Sensor standby.  Setting this bit to one places the sensor in low-power 
standby mode 

Bit 

Dark offset enable.  Setting this bit allows the sensor to apply internal 
calibration factors to reduce fixed column noise. 

0

X

FB  A

DDRESS 

E

XTENSIONS

Bits 3 through 7 are reserved.  Other bits are: 

Bits 2, 1, 0 

Banking bits.  These bits form the two high address bits to the 1K byte data 

RAM, except during register access.  During register access the high bits are fixed at 6, 
thus register writes are always shadowed in the 7th of 8 banks, allowing read back of 
registers that don't have separate read functionality from the shadow RAM.  When bank 0 
is selected, sensor register write is enabled. 

0

X

FC  S

ERIAL TO 

FPGA

 AND 

S

ERIAL 

S

TATUS

When written, this register causes a byte of data to be transmitted to the Data FPGA.  On 
reads Bits 0 through 3 are reserved.  Other bits are: 

Bit 7  Transmitter to FPGA ready for data. 

Bit 6  Transmitter to FPGA overrun error.  Set if write was attempted when the transmitter 
wasn't ready for data.  Cleared when the next data is written when the transmitter is ready 
for data. 

Bit 5  Transmitter to USB host busy (transmit data available).  Set when the PicoBlaze 
writes to offset 0x61 in the USB shared area (page 7).  Cleared when the data is read by 
the USB host via I2C. 

Bit 4  Receiver from USB host has data available.  Set when the USB host writes to sub 
address 0x60 via I2C.  Cleared when the data is read by the PicoBlaze at offset 0x60 in 
the USB shared area. 

Summary of Contents for FC13

Page 1: ...1 FASTCAMERA USB USER S AND REFERENCE MANUAL FVM 00398...

Page 2: ...he information contained herein FastVision LLC retains the right to make changes to this manual at any time without notice Document Name FastCamera USB User s and Reference Manual Document Number FVM...

Page 3: ...3 FastVision LLC 131 Daniel Webster Highway 529 Nashua NH 03060 USA Telephone 603 891 4317 Fax 603 891 1881 Web Site http www Fast Vision com Email sales Fast Vision com or support Fast Vision com...

Page 4: ...t Camera Issues ___________________________________________________________26 Trade off between Frame Size and Frame Rate___________________________________________________ 26 Exposure________________...

Page 5: ...3GB of free space on the system s hard disk to install the program and depending on the amount of memory in the camera you may need more to store the results You need at least 256 MB of system memory...

Page 6: ...supply cable to the camera first by gently rotating the round connector until it finds the proper position and slides right in Plugging in the power cable connector is easy and doesn t require any si...

Page 7: ...he first time INSTALLING FAST VIEWER USB APPLICATION Run the setup exe program on the root of the Installation CD Take all the defaults but be sure to read the Readme page and the license page if you...

Page 8: ...all incoming video data are stored into the circular buffer located in the camera memory The preview images of the captured video are down sampled from their actual resolution to 640x480 pixels and di...

Page 9: ...video data that can be reviewed from that memory or moved downloaded to the computer memory 3 Downloading images from the camera s internal memory buffer moves video data into the host computer memory...

Page 10: ...10 Figure 4 FastCamera Operating modes and transitions...

Page 11: ...review display albeit it will wipe out any image data you have recorded The Full Check box will be marked first time when the camera memory has been filled by the incoming video data completely and im...

Page 12: ...a necessary background for adjustment of the camera video capture parameters to match requirements of the specific camera application The Video Preview display area open rectangle in the picture above...

Page 13: ...g at the middle 8 bits of the ten bit pixel 8 1 and if it is set to x4 you are looking at the lower eight bits 7 0 The image data is not clipped or saturated so you may see a kind of striping artifact...

Page 14: ...to memory The allowed widths go in steps of 10 pixels The Height combo box selects the number of lines in the image Make your change and click on the Apply button The new image size will be sent to t...

Page 15: ...40x480 pixels for that is all the USB 2 0 can support in real time The alternative to viewing only part of the ROI is to scale the image down so it fits in the Preview Window This is done by marking F...

Page 16: ...ow insert is brought about by clicking on the Histogram button above the Preview Window It displays the frequency plot of pixels values in the Preview Window with the lowest darkest values at the left...

Page 17: ...just exposure TRIGGER POSITION IN THE CAPTURE BUFFER The Trigger Settings button brings up the Trigger Settings dialog which allows you to choose and set the trigger mode of the camera See Figure 10 b...

Page 18: ...gger in the captured sequence of video frames The Trigger can mark beginning end or somewhere in the middle of the frames sequence depending on the user application Its edit box takes a number from ze...

Page 19: ...lable on the power up Figure 11 Saving and Restoring Camera Settings Triggered Mode to Complete Capture of a Video Sequence The Trigger button sends the manual software trigger input to the camera Whe...

Page 20: ...image The newest image has index 0001 and will increase as the images get older Note the date and time reflects the time that the image was written to the disk drive and not the time it was collected...

Page 21: ...Figure 13 Video sequence list stored as TIFF files The first step in this mode inquires operator about location to store camera images and attributes of the TIFF files as in the Figures 14 and 15 bel...

Page 22: ...22 Figure 14 Selecting location to download images from the camera memory Figure 15 Selecting image file properties and download type...

Page 23: ...sitive to micro variations in the semiconductor manufacturing process These variations cause small differences in sensitivity of each pixel sensor Collecting images of these imperfections FPN and subt...

Page 24: ...can time stop the action by use of the Frame number indicator that displays how many frames were downloaded already Clicking on the Stop Download button brings up the Cancel Download dialog box and t...

Page 25: ...l 9 2 if it is set to x2 you are looking at the middle 8 bits of the ten bit pixel 8 1 and if it is set to x4 you are looking at the lower eight bits 7 0 The image data is not clipped or saturated so...

Page 26: ...the image sensor specified limit The height of the image you select will determine the maximum frame rate that you can read from the sensor and write to memory For example if you select 1280x128 line...

Page 27: ...pecified this will go high at the beginning of the delay period thus it can be used as an advanced notification of exposure 4 Trigger input This TTL level input can be programmed to trigger the camera...

Page 28: ...ancements The raw test data also serve as the baseline comparison in monitoring image sensor and camera performance over time For the obvious reasons the test procedure and collected data set are some...

Page 29: ...29 Monochrome Sensor Color Sensor Master Test Master Test Co planarity Test Co planarity Test Darkfield Darkfield Graywedge 16 Graywedge 16 Grayfield White Balance Gretag Macbeth DC...

Page 30: ...30 SMPTE 130 fps 130 fps 450 fps 450 fps 500 fps 500 fps Figure 20 Fast Camera Test Suite...

Page 31: ...type and the ROI width When the Line Period setting exceeds the minimum period extra clocks are inserted between lines The Line Valid period only depends on the ROI width and sensor type The number o...

Page 32: ...n the fpga_ctl2 and fpga_ctl1 signals respectively The assertion edge of Frame Valid always leads Line Valid by at least one sysclk cycle Frame Valid also serially transmits status after the leading e...

Page 33: ...rogrammed in increments of 15 nsec up to the frame period There are gaps in the allowable exposure times due to interaction between the readout circuitry and pixel reset in the MV13 sensor In the MV40...

Page 34: ...es can be enabled or disabled They can also be active high positive going edge for edge triggering or high level for external exposure or active low negative going edge for edge triggering or low leve...

Page 35: ...ference voltage DAC s are updated from flash This causes the sensor to re calibrate with the new reference voltage settings After power on initialization the sensor is only calibrated on demand by the...

Page 36: ...to the Data FPGA The sensor is briefly reset to start another auto calibration cycle The embedded micro enters the command service loop Flash Memory Table 2 shows the layout of flash memory The first...

Page 37: ...his data should only be programmed by FastVision The camera GUI software must enforce this as there is no write protection built into the Control FPGA firmware Multibyte values are little endian Page...

Page 38: ...te is saved in a Block RAM Copies of the current state can be saved to the flash or uploaded to the host The current state can also be retrieved from flash or changed by the host Only the host has ran...

Page 39: ...20 2 Vbias3 50 00 22 2 Vln1 54 D9 24 2 Vbias4 60 00 26 2 Vlp 64 D9 28 2 Vunused1 70 00 30 2 Vclamp3 70 00 32 2 Vunused2 80 00 34 2 Vrstpix 8D 17 36 2 ROI Start Pixel 38 2 ROI End Pixel 40 2 ROI Start...

Page 40: ...gger Mode 2nd Byte is Data FPGA dependent 67 1 Frame count for Multi Trigger mode 68 1 CC Mode CC2 CC3 CC4 enable and edge select 69 59 Reserved for Control FPGA base system extension 128 2 Post Trigg...

Page 41: ...user restores state from one of the saved sets in flash In addition to the camera state storage pages some of the flash memory is available for Data FPGA storage requirements such as pixel defect maps...

Page 42: ...bytes of the command are command specific but most commands use hex characters 0 9 and a f or A F for the subsequent bytes For commands using the hex encoding all arguments are full bytes Thus an odd...

Page 43: ...the escaped carriage return in binary commands allows simple resynchronization after errors Sending two carriage returns will always reset the serial link to its default state waiting for new command...

Page 44: ...es which of the 8 flash storage areas to retrieve the camera settings from If the flash storage area is un initialized the camera will send a negative acknowledge Otherwise the camera responds with I...

Page 45: ...the FPGA code and to write to flash areas that need to be initialized at the factory The data is not interpreted by the serial control logic It is possible to use this command to directly upload camer...

Page 46: ...ting the command Subsequent flash operations check the busy state of the flash memory allowing overlap of serial communication and flash programming Theoretically a flash write command without initial...

Page 47: ...eptable to use with this command there is no error checking so make sure these are the only codes used Opcode Command Command Length D4 Buffer 1 read 5 D6 Buffer 2 read 5 E8 Continuous array read 8 D2...

Page 48: ...is mode any characters between the O and the cr are ignored Thus the total command length in characters can be used to determine the exposure time The camera responds with O followed by a carriage ret...

Page 49: ...te and can start up monitoring commands even before it receives the camera state data FLASH DATA In addition to forwarding commands from the host the Control FPGA also uses the FPGA_CTL3 wire to send...

Page 50: ...in the MV40 it runs at 25 MHz 1 2 the pixel clock rate The instructions run in a fixed 2 cycle period with essentially no pipelining This simplifies instruction sequence timing calculations The PicoBl...

Page 51: ...t as it can until it receives a carriage return When the PicoBlaze has finished the response it writes 0x00 to sub address 0x62 and returns to the host service loop FGET8 SPEED UP LOGIC Because the Pi...

Page 52: ...e In the MV13 the pixel clock runs at 66 667 MHz and the default setting for 9600 baud would be 6944 The last value written to the Baud Rate high 8 bits register can be read back from scratchpad locat...

Page 53: ...r writes are always shadowed in the 7th of 8 banks allowing read back of registers that don t have separate read functionality from the shadow RAM When bank 0 is selected sensor register write is enab...

Page 54: ...the UART is read Bit 4 DAC serial clock on write Receiver overrun error on read DAC serial clock runs directly to the DAC chips Receiver overrun indicates that a new character came in when the previou...

Page 55: ...hen the Fget8 sequencer is running In that case this bit enables Flash to FPGA data transfer if it is 1 Running Fget8 while this bit is 0 will not cause any changes to the FPGA DIN or CCLK signals Con...

Page 56: ...PIXEL LOW 8 BITS 0X27 END PIXEL HIGH 8 BITS This is the rightmost pixel in the ROI Pixels are numbered from 0 to the sensor width 1 This is different from the old ROI settings which worked in pixel c...

Page 57: ...7 0 0X33 FRAME PERIOD BITS 15 8 0X34 FRAME PERIOD BITS 23 16 0X35 FRAME PERIOD BITS 31 24 This is the desired frame readout period in pixel clocks 1 I e the actual period is one clock more than this...

Page 58: ...triggered mode 2 Single edge triggered mode 3 External exposure mode 0X43 TRIGGER COUNT Total number of frames to capture in multi frame edge triggered mode 0 to 255 program 0 to 255 frames 0X44 CC MO...

Page 59: ...as the Data FPGA can be programmed in the field via the serial port or USB the camera can be updated in the field DDR FPGA REVISION 1 0 LIMITATIONS This revision of the Memory FPGA only implements mem...

Page 60: ...will not continue until re enabled with another Z command If preview bit is enabled readout to the USB is from the most recent frame as in Direct Mode Otherwise reading only occurs when requested wit...

Page 61: ...as a raw stream by the host The readout is initiated by the Y command in one of two formats The first format has no argument just Y followed by a carriage return In this format the returned data star...

Page 62: ...cular buffer mode this indicates a wrap condition When this bit is set the oldest frame in memory can be found by scanning forward from the most recent frame If the bit is not set the oldest frame wil...

Page 63: ...nd one give you 1 frame for each command 2 through 255 give you more When the camera is reading out the images to write tiff files this is set to 16 The Vertical Blanking for USB time determine how ma...

Page 64: ...to the problem you are experiencing FASTVISION TECHNICAL SUPPORT FastVision offers technical support to any licensed user during the normal business hours of 9 a m to 5 p m EST We offer assistance on...

Page 65: ...RMA number This is the number assigned both to your returning product and to all records of your communications with Technical Support When a FastVision technician receives your returned hardware or...

Page 66: ...vise a work around that allows you to move forward with your project while we continue to work on the problem you ve encountered It is important that we are able to reproduce your error in an isolated...

Page 67: ...number and title of the manual and either FAX or mail the photocopy to FastVision Remember to include the name and telephone number of the person we should contact if we have questions FastVision LLC...

Reviews: