background image

 

 

IEEE 1394 Camera Series (IM-30/IM-100) 

User’s Manual 

 
 

 

 
 
 
 
 
 
 

Manual Version: 2.1 

Revision Date: April 30, 2008 

 

ICP DAS CO., LTD. 

 

www.icpdas.com

 

Summary of Contents for MAVIS IM-30

Page 1: ...IEEE 1394 Camera Series IM 30 IM 100 User s Manual Manual Version 2 1 Revision Date April 30 2008 ICP DAS CO LTD www icpdas com...

Page 2: ...te Enabled Signal Timing 19 1 7 Benchmarks 20 2 Hardware Reference 21 2 1 MAVIS IM 30 IM 100 21 2 1 1 Camera Specification 21 2 1 2 Camera Interface 22 2 1 3 Standard Package Contents 22 2 2 Optional...

Page 3: ...mera Acquisition 59 6 5 Camera Configuration 67 6 6 Digital Input Output 75 6 7 External Trigger 82 6 8 Strobe Control 87 6 9 Lookup Table 93 6 10 AOI Area of Interest 97 6 11 Advanced Features 99 6 1...

Page 4: ...l resolution z Build in 8MB memory buffer z Flexible electric exposure control z Robust external trigger I O interface supported z Free SDK API for VC VB BCB and C NET z Compatible with NI IMAQ 1394 z...

Page 5: ...ng factors 1 The amount of time it takes to transfer a captured image from the CMOS sensor to the frame buffer 2 The amount of time it takes to transfer an image from the frame buffer to the PC via 13...

Page 6: ...at 269 frames per second 1 4 2Test Pattern The MAVIS IM 30 IM 100 series cameras offer an internal generated test pattern for testing camera transmission The test pattern will show a gray bar running...

Page 7: ...image is disabled and the order of transmission for the pixels in each line is pixel 1 pixel 2 pixel 3 to 640 When mirror image mode is enabled the order of transmission for each line is pixel 640 pi...

Page 8: ...light This condition is defined as 0dB of system gain for the camera As shown in the three graphs below increasing the gain setting to a value greater than 0 maps a smaller portion of the sensor s 10b...

Page 9: ...ing the 8bit value output from the camera for any given 10bit value from the sensor and also increasing the apparent brightness of the image The bottom graph illustrates the effects of setting the bri...

Page 10: ...alues Each value in the table represents the 8bit value that will be transmitted out of the camera when the sensor reports a particular 10bit value for a pixel The first number in the table represents...

Page 11: ...matted correctly The file must have 1024 lines with each line containing two comma separated values The first value on each line represents a 10 bit pixel reading from the sensor and the second value...

Page 12: ...ge from 20us to 81900us While user set the exposure time shutter speed longer then frame acquisition speed then camera frame rate will be reduced For example if user set the frame rate in 30fps but se...

Page 13: ...as Figure 1 9 Typical Input Circuit By default Input Port 0 is assigned to receive an external trigger Ex Trig signal that can be used to control the start of exposure Also you can change the Ex Trig...

Page 14: ...1 10 Typical Output Signal By default Output Port 0 is assigned to transmit an integration enabled Int En signal that indicates when exposure is taking place By default Output Port 1 is assigned to t...

Page 15: ...g described in 1 4 6 Shutter Exposure If the camera is set for rising edge triggering exposure starts when the Ex Trig signal rises If the camera is set for falling edge triggering exposure starts whe...

Page 16: ...t for rising edge When level control triggering exposure begins when the Ex Trig signal rises and continues until Ex Trig signal falls If the camera is set for falling edge triggering exposure begins...

Page 17: ...nated as Strobe 0 Strobe 1 Strobe 2 and Strobe3 Each strobe signal can be set to on or off and active high or low by logical value please refer to section 5 Function Library for comma Delay Strobe Del...

Page 18: ...1 5 Spectral Response Figure 1 11 MAVIS IM30 IM100 Camera Spectral Response The camera spectral response curve excludes Lens and lighting source characteristics 18...

Page 19: ...less than 10 nanoseconds The time between the end of exposure and the fall of Int En signal will also be less than 10 nanoseconds This is very good performance and is due to the design of the camera o...

Page 20: ...IS acquisition speed data rates When the IM 100 is at full speed image acquisition 100 frames per second the data rate will be up to 29 3MB per second When the IM 30 is at full speed image acquisition...

Page 21: ...power t Output connector GPIO connecto TL level tput and r T with 2 input 4 ou one 5VDC output Video mode Initial mode 640 x 480 at 30fps Initial mode 640 x 480 at 100fps Scalable mode by AOI Scalabl...

Page 22: ...TPB 3 Output 1 4 TPB Input 1 4 5 TPA 5 Output 2 6 TPA 6 NC 7 Output 3 8 NC 9 GND Camera rear view 10 NC Table 2 1 Camera In 2 1 3 e Content mera with ive terface Connector Pin Assignments Standard Pac...

Page 23: ...ica els Interface Protocol Bus Master DMA 1394 Bus Transfer Rate 100 200 400 Mbps Host Bus Burst Data Rate Up to 133 MB s burst rate IEEE 1394 to PCI Chip 2x Ti TSB43AB21 1394 Connector OHCI 1 FW 6p E...

Page 24: ...to 1394a Top Side View Left Side View Chip PHY TI TSB41AB3 1394 Bus Transfer Rate 100 200 400 Mbps Device Interface A V PHY 400 Mbps 2 port 3 3 Power Input Range DC 12V 30V Max 1 35A Connector 6 D Ja...

Page 25: ...1 Hardw Installation 3 1 1 IPC PC Platform z Some desktop PCs have a built in 1394 port with 6 pin 1394 connector if your system is one of these you will be able to use a 1394 cable connect to your sy...

Page 26: ...hor the board by replacing the screw 1394 card and GPIO cable wiring if necessary For image 8 Turn on the system and you will be able to find the 1394 Host controller device with Device Manager g dist...

Page 27: ...s repeater one 4 pin to 6 pin IEEE 1394 cable one 6 pin to 6 pin IEEE 1394 cable and one wal 2 Please use 4 pin to 6 pin IEEE 1394 cable and 4 pin connector to iLink S400 interface port and 6 pin con...

Page 28: ...cable and one walkman t power adapter first 2 Plug IEEE 1394 PCMCIA card to Notebook PCMCIA socket as below 3 Plug 6 pin connector to IEEE 1394 PCMCIA card and another 6 pin connected to IEEE 1394 re...

Page 29: ...Insert the MA D ROM drive 2 The MAVIS Support CD will start to prepare driver installation as below er Installation in any MAVIS IM 30 IM 100 cameras before he following inst g environment specific i...

Page 30: ...company name then click Next button se 5 The MAVIS series default path located at C MAVIS and you can click Change button to change driver installation path otherwise please click Next button for cont...

Page 31: ...6 Please click the Install button 7 Driver installing 31...

Page 32: ...nager and make sure you see the Generic IEEE 1394 digital camera in the list of ICP DAS MAVIS 10 If your system had install other vendor s 1394 camera driver then you may need to remove it and change...

Page 33: ...atible with NI IMAQ 1394 Please just select NI IMAQ IEEE 1394 IIDC Digital Camera driver for your installation and DO NOT install the MAVIS driver After installation is completed then you can use Meas...

Page 34: ...esolution higher than 1024 x 768 4 1 Overview View Utility hardware installation is complete ensure that cameras are configured correctly vice Manager before running the EZView utility This chapter ou...

Page 35: ...nt Description File The File menu offers the Enable Test Image Lookup Table Strobe Control Strobe Time Base External Trigger functions and About EZView for version control information as below Test Im...

Page 36: ...ble LUT function for The EzView utility has offer int inform Upload custom LUT information to MAVIS operation Strobe Control The EzView utility offer interface window for Strobe Control parameter sett...

Page 37: ...control Duration Time Base The Duration Time Base range from 1 85 and the time base denominator is 1 1024ms For example when Strobe Duration value is 600 and set the Duratio External Trigger External...

Page 38: ...r has offer two hardware trigger control by Input 0 and Input 1 and Software trigger control All External Trigger function parameters only effective when External Trigger function is setting to Active...

Page 39: ...er window lists the 1394 Host controller p MAVIS 1394 cameras are available at the local computer orts and how many Display Window The display window displays full and specifically requested AOI size...

Page 40: ...on A video frame will appear in the Display window Clic AOI Clicking the ROI icon will allow using the mouse to select the area of interest within the image Full Screen Clicking the Full Screen icon w...

Page 41: ...ghtness slider and drag the cursor to change its value Values range from Click and hold the left mouse button on 0 1023 Shutter Click and hold the left mouse button on change its value The shutter spe...

Page 42: ...tablish a vision w setting the correct functions and parameters for I trigger to verify correct operation Note EzVIEW_Fly is only available for Windows 2000 XP with a recommended screen resolution hig...

Page 43: ...ule products Please refer 5 2 1 and 5 2 2 for detail information Advanced Features The Advanced Feature included Test Image and Lookup Table functions of MAVIS and please refer Chapter 4 EZView utilit...

Page 44: ...ile user must to click Apply button for save your setting into the MAVIS The MAVIS Camera included MAVIS Main Feature ROI Setting and Trigge In this page the Enable External Trigger function of Trigge...

Page 45: ...PS400 for hardware trigger pulse operation For hardware installation please follow the description of ET_8194H_QuickStart or PISO PS400_Getting_Started for operation correctly Main Feature Setting of...

Page 46: ...Stop Read Status Logical Position Encoder Position Driving Speed G Home user sor for home operation When choose ET M8194H then please input your ET M8194H IP address and click Connection button for E...

Page 47: ...Click the SnapShot icon A single image will appear in the Display Window Video Capture Click the Video Capture icon A video frame will appear in the Display window Trigger Setting Click the Trigger S...

Page 48: ...r capture Selected the Trigger Mode and user can refer 1 4 8 for external trigger mode detail information Selected the Trigger Input port and ensure the wiring correctly Strobe Setting Selected output...

Page 49: ...Selected the output port of FRNET and ensure the wiring correctly Setting the trigger pulse frequency of FRNET Physical Trigger Note Please refer the Hardware Installation of P T M8194H for the wirin...

Page 50: ...can build own class as you need For example public class Mavis DllImport IMCAMERA DLL DllImport IMCAMERA DLL public static extern short IMC_Camera_Init int DllImport IMCAMERA DLL public static extern...

Page 51: ...MC_Brightness_Set IMC_OutputPort_Status IMC_OutputPort_Configure IMC_OutputPort_Write Digital Inp IMC_InputPort_Read ut Output 5 5 IMC_InputPort_ReadAll IMC_Trigger_Enable IMC_Trigger_Disable External...

Page 52: ...MC_Camera_Scan IMC_Camera_Init IMC_Camera_Close IMC_Camera_Scan IMC_Camera_Init IMC_FrameRate_Set IMC_Shutter_Set IMC_Gain_Set IMC_Brightness_Set IMC_Camera_Scan IMC_Camera_Init IMC_Shutter_Get IMC_Ga...

Page 53: ...n_Stop IMC_Camera_Scan IMC_Camera_Init IMC_AcquisitionFrame_Save IMC_ImageAcquisition_Stop IMC_Camera_Scan IMC_Camera_Init IMC_ImageAcquisition_Start IMC_Live_Acquire IMC_LiveAcquisition_Stop IMC_Acqu...

Page 54: ...ing z Camera test image IMC_StrobeTimeBase_SetDurationTime IMC_StrobeTimeBase_ReadConfiguration IMC_Camera_Scan IMC_Camera_Init IMC_InputPort_Read IMC_InputPort_ReadAll IMC_Camera_Scan IMC_Camera_Init...

Page 55: ...z Read camera Lookup Table z Modify camera Lookup Table IMC_Camera_Scan IMC_Camera_Init IMC_LUT_Read IMC_Camera_Scan IMC_Camera_Init IMC_LUT_SetStatus IMC_LUT_Write 55...

Page 56: ...Integer C NET 2003 Mavis IMC_Camera_Scan out IMC_DEVICE_DATA pCamera_List Description This function scans all available MAVIS cameras in system After this function returns this structure contains all...

Page 57: ...OR_DEVICE_INIT Fail to initialize the camera ERROR_VIDEOFORMAT_SET Fail to set the DEFAULT_VIDEO_FORMAT ERROR_VIDEOMODE_SET Fail to set the DEFAULT_VIDEO_MODE ERROR_FRAMERATE_SET Fail to set the DEFAU...

Page 58: ...a_Close ByVal Camera_Handle As Long As Integer C NET 2003 Mavis IMC_Camera_Close IntPtr Camera_Handle Description This function releases the allocated resources and closes the MAVIS camera Once the ca...

Page 59: ...quisition Acquisition IMC_ImageAcquisition_S tax Visual C 6 0 B short IMC_ImageAcquisition_Start HANDLE Camera_Handle Visual Basic 6 IMC_ImageAcquisition_Start ByVal Camera_Handle A C NET 200 avis IMC...

Page 60: ...C NET 2003 Mavis IMC_Image_Acquire IntPtr Camera_Handle ref IntPtr ppData Description This functio acquisition completes calling this function Parameters Camera_Handle pHandle parameter of IMC_Camera...

Page 61: ...IntPtr Camera_Handle Description This function stops the Image Acquisition that started with IMC_ImageAcquisition_Start Be aware that the buffer that contains the acquisition data will be destroyed P...

Page 62: ...ILABLE No Acquisition frame is available Syntax Visual C 6 0 Boland C Builder 6 0 short IMC_AcquisitionFrame_Copy HANDLE Camera_Handle PV Visual Basic 6 0 C_AcquisitionFrame_Copy ByVal Camera_Handle A...

Page 63: ...create the bitmap file ERROR_BITMAPFILE_WRITE Fail to write the data into bitmap file Visual C 6 0 Boland C Build short IMC_AcquisitionFrame_Save strFileName Visual Basic 6 0 IMC_AcquisitionFrame_Save...

Page 64: ...l C be declared as al Ba ule contains the Callback Syntax ual C 6 0 Boland C Builder 6 0 short IMC_ callbackAdd ual Basic 6 0 IMC_Live_Acqui Integer ET 2003 Mavis IMC_Live Description This function st...

Page 65: ...NINIT The specific camera has not been initialized ERROR_EVENT_CREA ERROR_THREAD_CREA e the thread ERROR_SUCCESSF ERROR_D ERROR_INVALID_CAMERA The handle is invalid ERROR_ACQUISITION_BUSY The camera i...

Page 66: ...ends the thread created by IMC_Live_Acquire and then stops the Image Acquisition Parameters Camera_Handle The handle for the MAVIS camera use the handle gotten from the pHandle parameter of IMC_Camera...

Page 67: ...o the para _Init he valid values are FRAME_RATE_30 FRAME_RATE_60 FRAME_RATE_100 bMirror Enable disable the Mirror mode This flag is active for FRAME_RATE_100 Frame Rate Configuration IMC_FrameRate_Set...

Page 68: ...size settings Fail to set the size ERROR_CORLOR_AOISET ACKAGE_AOI_SET Fail to set the bytes per package ERROR_SUCCESSFUL Successfu ERROR_INVALID_FRAMERATE ERROR_DEVICE_UNI ERROR_1 ERROR_VIDEOFORMAT_SE...

Page 69: ...parameter of IMC_Camera_Init pShutterValue The pointer to integer that contains the Shutter Time value Timing unit in microsecond Return ERROR_SUCCESSFUL Successfully ERROR_CAMERA_CREATE The Camera_Ha...

Page 70: ...tterValue Description This function updates the setting of Shutter Time The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle he handle for MAVIS camera use the handle gotten f...

Page 71: ...IntPtr Camera_Handle IntPtr pGainValue Description This function gets the current setting of Gain The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS cam...

Page 72: ...he camera needs be initialized with arameters e The handle for MAVIS camera use the handle gotten from the GainValue eturn UCCESSFUL Successfully NULL en initialized Mavis IMC D This function IMC_Came...

Page 73: ...ed Syntax Visual C 6 0 Boland C Builder 6 0 short IMC_Brightness_Get HANDLE Camera_Handle int pBrigh Visual Basic 6 0 IMC_Brightness_Get ByVal Camera_Handle As Long ByRef pBrightnessValue As Long As I...

Page 74: ...LUE The invalid Brightness value Description This function updates the Brightness Configuration The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle he handle for MAVIS camera...

Page 75: ...OutputPort 1 is configured to TRIGGER_READY_SIGNAL OutputPort 2 and OutputPort 3 are configured to USER_SET_SIGNAL tax Visual C 6 0 B short IMC_OutputPort_Status HANDLE Camera_Handle unsigned long pOu...

Page 76: ...Return lly The Camera_Handle is NULL ERROR_DEVICE_UNINIT The specific camera has not been initialized RA The handle is invalid ERROR_SUCCESSFUL Successfu ERROR_CAMERA_CREATE ERROR_INVALID_CAME 76...

Page 77: ...ource_Signal Description This function configures the hardware sources for specific Output Port The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS camer...

Page 78: ...lid source signal _Handle is NULL ERROR_INV RA The handle is invalid NOT_SUPPORT The source signal is not supported by that ERROR_SUCCESSFUL ERROR_I ERROR_CAMERA_CREATE The Camera ERROR_DEVICE_UNINIT...

Page 79: ...ra needs be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS camera use the handle gotten from the pHandle parameter of IMC_Camera_Init Output_Port The Output Port to be...

Page 80: ...LL T initialized T IMC_InputPort ByRef pValue As Boolean As Integer 3 Mavis IMC_ pValue Description This function reads the state for specific Input Port The camera needs be initialized with IMC_Came...

Page 81: ...hort IMC_InputPort_ReadAll HANDLE Camera_Handle unsigned long pValue Visual Basic 6 0 IMC_InputPort_ReadAll ByVal Camera_Handle As Long ByRef pValue As Long As Integer C NET 2003 Mavis IMC_InputPort_R...

Page 82: ...of bellowing Settings EXT_TRIGGER_MODE0 Programmable Mode EXT_TRIGGER_MODE1 Level Mode By default the Trigger Exposure Mode of iExpMode is EXT_TRIGGER_MODE1 IMC_Trigger_Enable al C 6 0 Boland C Builde...

Page 83: ...Return ERROR_SUCCESSFUL Successfully The Camera_Handle is NULL ERROR_DEVICE_UNINIT The specific camera has not been initialized ERA The handle is invalid ERROR_CAMERA_CREATE ERROR_INVALID_CAM 83...

Page 84: ...a_Handle Description This function disables the External Trigger The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS camera Use the handle gotten from th...

Page 85: ...e The setting of Trigger Exposure Mode The Exposure Mode can be one of bellowing Settings EXT_TRIGGER_MODE0 Programmable Mode EXT_TRIGGER_MODE1 Level Mode By default the Trigger Exposure Mode of iExpM...

Page 86: ...ERROR_SUCCESSFUL Successfully AMERA_CREATE The Camera_Handle is NULL ic camera has not been initialized Return ERROR_C ERROR_DEVICE_UNINIT The specif ERROR_INVALID_CAMERA The handle is invalid 86...

Page 87: ...function sets the state of specific Strobe Control This function is workable only for the Output Ports that are configured to STROBE_SIGNAL The camera needs be initialized with IMC_Camera_Init Parame...

Page 88: ...setting on 0 Successfully ATE The Camera_Handle is NULL invalid output port ERR ERR initialized AMERA The handle is invalid ERR lDuration The Return ERROR_SUCCESSFUL ERROR_CAMERA_CRE ERROR_INVALID_POR...

Page 89: ...be Control and allows value from 0 3 pOnOff Enable or Disable strobe function The value can be TRUE for enable strobe or FALSE for disable strobe pPolarity The signal pulse setting for active Strobe C...

Page 90: ...ic camera has not been ialized ERR ERR specific output port Return ERROR_SUCCESSFUL Successfu ERROR_CAMERA_CRE ERROR_DEVICE_UNINIT init OR_INVALID_CAMERA The handle is invalid OR_SOURCE_NOT_SUPPORT Th...

Page 91: ...s be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS camera Use the handle gotten from the pHandle parameter of IMC_Camera_Init Value The Duration Time of Strobe Control...

Page 92: ...Camera_Handle unsigned long pDurat Visual Basic 6 0 IMC_StrobeTimeBase_ReadConfiguration ByVal Camera_Handle As Long ByRef pDurationTime As In C NET 2003 Mavis IMC_StrobeTimeBase_ReadConfiguration In...

Page 93: ..._INVALID_CAMERA is invalid Table IMC_LUT_Read ax Visual C 6 0 B short IMC_LUT_Read HANDLE Camera_Handle unsigned long pStartAddr ual Basic 6 0 IMC_LUT_Read ByV Integer NET 2003 M Description This func...

Page 94: ...TRUE By default the status is setting on FALSE Return RROR_CAMERA_CREATE The Camera_Handle is NULL EVICE_UNINIT The specific camera has not been Visual C 6 0 Boland C Build short IM Visual Basic 6 0 I...

Page 95: ...Camera_Handle bool pStatu Description This function read the current status of camera Lookup Table The camera needs be initialized with IMC_Camera_Init Parameters Camera_Handle The handle for MAVIS c...

Page 96: ...can modify the content of camera Lookup Table The IMC_LUT_SetStatus should be called before calling this function The camera IMC_Camera_Init needs be initialized with Parameters Camera_Handle The han...

Page 97: ...tains angle define some limitations for member variable of pRectA 1 For the DWORD Alignment issue of BITMAP the width of the AOI had must be a multiple of four 2 The sum of start_x and width cannot be...

Page 98: ..._INQUIRE Fail to inquire the maximum size US Fail to get the current size settings ERROR_POSITION_AOISET ERROR_CORLOR_AOISET Fail to set the color mode ERPACKAGE_AOI_SET Fail to set the bytes per pack...

Page 99: ...handle gotten from the pHandle parameter of IMC_Camera_Init Return ERROR_SUCCESSFUL Successfully ERROR_CAMERA_CREATE The Camera_Handle is NULL ERROR_DEVICE_UNINIT The specific camera has not been ini...

Page 100: ...l Basic 6 0 IMC_TestImage_Disable ByVal Camera_Handle As Long As C NET 2003 Mavis IMC_TestImage_Disable IntPtr Camera_Handle Description This functio self testing The camera needs be in Parameters The...

Page 101: ...eted then you can find the sample program in MAVIS Samples path The sample program offers similar function modules as used in EZView and the r VC BCB C NET and VB language programming reference source...

Page 102: ...fer IMCamera bas modules which has offer similar functions definition as VC lib And use PictureBox OCX object for image r MAVIS will be released in the next revision VB sample program ar display need...

Page 103: ...7 Mechanical 103...

Page 104: ...h the limits for a computing device pursuant to Subpart J of Part 15 of FCC Rules For customers in Canada This apparatus complies with the Class A limits for radio noise emissions set out in the Radio...

Page 105: ...tors use both r than chips so they tend to be extremely inexpensive the trademark FireWire in reference to it NMOS negative polarity and PMOS positive polarity circuits Since only one of the circuit t...

Page 106: ...Pixel Size Most CCD and CMOS imagers con Each pixel is one sensor within the array and ha definite size which should be available by the cturer Sizes typically range from 8 20 t also s a manufa micr...

Page 107: ...6 and C NET Syntax add CE and FCC Certificated 2007 06 27 1 Add Programming Flowchart 2 Modify Function Library 3 EZView Utility revision 2008 04 30 1 Add EzVIEW_Fly Utility 2 Modify input circuit sam...

Page 108: ...y incorrect use which is not in line with instruction in user s manual 5 In case indirect additional consequential damages loss of expected interest suspension of business activities are incurred as r...

Page 109: ...TEL 886 2 2950 0655 FAX 886 2 2950 0807 icpdas com Germany TEL 0049 711 9 97 37 75 Tien Lane 235 Bao Chiao R Hsin wan 231 R O C 919 2216 info icpdas europe com China Branch Office Hsin 7F 2 No 137 Tie...

Reviews: